![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| Replacing default Pligg search with Google Site search
Has anyone implemented this? Is this doable? Any issues that I need to be aware of?
|
| |||
|
I'd love to know if this is possible too. Or is there any known way to refine the Pligg search engine more. maybe "Advanced Search" option
|
| |||
|
I think AshDigg is working on adding advanced search for Pligg v1.0 I thought I read that somewhere. BTW, ThePortlander glad to meet you. My site was made a featured site a day after yours in Aboutus.org |
| |||
| Google Search
Mathcv, Thanks for sharing your code. Just one question: Don't you think that with Google search feature installed, the page will open on Google site rather than my own site? Is there any working demo url that you know? This is just to get a view of the search page. Thanks again |
| ||||
| Google Search with result in the template
If you want the result appear in your site... then: 1- This is the code for the SearchBox: <!-- Google CSE Search Box Begins --> <form id="searchbox_007890414620772450188:gspq1fajlug" action="YOURURL.COM/RESULT.HTML" target="_blank"> <input type="hidden" name="cx" value="007890414620772450188:gspq1fajlug" /> <input name="q" type="text" size="40" /> <input type="submit" name="sa" value="Search" /> <input type="hidden" name="cof" value="FORID:9" /> </form> <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=searchbox_007890414620772450188%3Agspq1 fajlug"></script> <!-- Google CSE Search Box Ends --> 2- And this is Code for a Box Result: <!-- Google Search Result Snippet Begins --> <div id="results_007890414620772450188:gspq1fajlug"></div> <script type="text/javascript"> var googleSearchIframeName = "results_007890414620772450188:gspq1fajlug"; var googleSearchFormName = "searchbox_007890414620772450188:gspq1fajlug"; var googleSearchFrameWidth = 450; var googleSearchFrameborder = 0; var googleSearchDomain = "www.google.com"; var googleSearchPath = "/cse"; </script> <script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"></script> <!-- Google Search Result Snippet Ends --> >> For edit size of Box Result, edit this line "var googleSearchFrameWidth = 450;" >> I think that the page to insert the results is user_template/yget/center.tpl, near the line 69 >> Also I think that my English caveman is graceful… jajaj I extracted some codes of here: BuscaVina en tu sitio Greetings! |
| |||
|
Mathcv, Thank you very much. Appreciate your kindness. |
| |||
|
hi matchcv "think that the page to insert the results is user_template/yget/center.tpl, near the line 69" still don't know how to do. Is that mean put the "result code" into the user_center.tpl @ line 69, and what is the next step? could u describe the process how to build the search result in own site |
| ||||
|
This will be included in the next release. A list of changed files is here. If you use the list, run install/upgrade.php after making the changes and then in the admin_config section, change 'Search method' to 4.
__________________ - Ash |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Alexa & Google Rank #5 | 3dKiller | My Pligg Site | 34 | 03-11-2008 08:53 AM |
| Upgrade from 5.10 to 9 | bizdiggers | Installation and Upgrade Help | 19 | 02-11-2007 03:21 AM |
| Installation - Tables never created | julientarta | Installation and Upgrade Help | 28 | 02-02-2007 10:04 PM |
| Page titles & breadcrumbs | AshDigg | Core Development | 11 | 06-30-2006 06:35 PM |




Linear Mode

