![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| Hi gang, When I set my Pligg Beta 9.8 install to use Google Site Search, the search.php pages comes up, but it doesn't find any results (Google says "Your search - new york - did not match any documents. .") And yes, I've tried several words that I know have been in the db a long time. The URL is like this: HTML Code: http://www.mysite.com/news/search.php?cx=010213779252248883968%3A3qxlljo_6tg&cof=FORID%3A10&sitesearch=%2Fnews&q=new+york&sa=Go#428 HTML Code: &sitesearch=%2Fnews HTML Code: &sitesearch=http://www.mysite.com/news * SOLVED AS I WAS TYPING THIS * Here's a fix for anyone else having this problem: Open header.tpl and change: HTML Code: <input type="hidden" name="sitesearch" value="{$my_pligg_base}" checked="checked" /> HTML Code: <input type="hidden" name="sitesearch" value="http://www.mysite.com/myinstallationfolder" checked="checked" /> |
| The Following User Says Thank You to doctorgirlfriend For This Useful Post: | ||
| Sponsored Links |
| ||||
| You may want to use the following files /yget/search_center.tpl /yget/header.tpl From the 9.8.1 release. It has this fix plus allows the search to show google ads.
__________________ - Ash |
| ||||
| Why would you want google ads when they are not associated with you or your account and therefor make no $ from them? How do I remove the google ads and just use google search?
__________________ ------------------------------------------------------ http://www.neweasyrecipe.com http://www.feedthebull.com |
| ||||
| Hey Ash, I don't see where in the header... i see the code if vote method == 4, but don't see it... Can you be a little more specific?
__________________ ------------------------------------------------------ http://www.neweasyrecipe.com http://www.feedthebull.com |
| ||||
| Should be line 22. PHP Code:
__________________ - Ash |
| The Following User Says Thank You to AshDigg For This Useful Post: | ||
| |||
| Testing 9.8.2 on a sub-folder..does the site need to be indexed by Googlebot first? as this doesn't seem to work :-/ |
| ||||
| where i put my google adsense code, please reply me and bold that text where i replace my adsense code. <!-- Google CSE Search Box Begins --> <form id="searchbox_010213779252248883968:3qxlljo_6tg" action="{$my_pligg_base}/search.php"> <input type="hidden" name="cx" value="010213779252248883968:3qxlljo_6tg" /> <input type="hidden" name="cof" value="FORID:10" /> <input type="hidden" name="sitesearch" value="{$my_pligg_base}" checked="checked" /> <input name="q" type="text" size="15" value="{$searchboxtext}" onfocus="if(this.value == '{$searchboxtext}') {ldelim}this.value = '';{rdelim}" onblur="if (this.value == '') {ldelim}this.value = '{$searchboxtext}';{rdelim}" /> <input type="submit" name="sa" value="{#PLIGG_Visual_Search_Go#}" /> </form> <!-- Google CSE Search Box Ends --> |
| ||||
| where to put this code in the google search method . <input type="hidden" name="client" value="pub-7688534628068296"></input> where to put this code .... and if i put it , where google can read it ???? i mean is it working . btw i searched 9.8 but there is no code like this !!! |
| ||||
| As an update... If I change the search option to something like option 3, and then I switch it back to URL method 4, the search works the first time, and then subsequent searching return no results... untill I switch to 3 and then back to 4 agian. I cleared the cache, and the templates_c folder, what else could be happening here?
__________________ ------------------------------------------------------ http://www.neweasyrecipe.com http://www.feedthebull.com Last edited by Iceburg : 10-23-2007 at 11:58 PM. |
![]() |
« 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 |
| Custom Google Widget For Your Pligg Site | chuckroast | Pligg Mods | 7 | 02-29-2008 12:57 PM |
| Replacing default Pligg search with Google Site search | aaronpais | General Help | 8 | 08-20-2007 01:27 PM |









Linear Mode

