![]() |
|
Mod Options |
![]() |
|||||||||||||||||||
Use Google Custom Search In Navbar - Step By Step
![]() Developer Last Online: Jan 2016 ![]() ![]() ![]()
This mod will replace vb search in navbar with google custom search.. you can still use advance search from navbar. google search provide much better result when you try to search word under 4 letters..
1. First download google.php upload in your forum root 2. Go to your AdminCP Go to Styles & Templates -> Style Manager select Style then click Create New Template rename Template to GOOGLE Paste this code in google Template :
3. Then Open Navigation / Breadcrumb Templates Click Collapse button click navbar Template find <div id="globalsearch" class="globalsearch"> and <ul class="navbar_advanced_search"> remove all code between this with
Note : Replace http://www.mobilephonetalk.com with your won website name Replace partner-pub-8038994048300561:7c8fy7cujxg with your won adsense code... Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
|
#16
|
|||
|
|||
Maybe you need to revert that template. o.o
No members have liked this post.
|
#17
|
|||
|
|||
i reverted the navbar page. now i did everything fine, but get a google error
Your client has issued a malformed or illegal request. No members have liked this post.
|
#18
|
|||
|
|||
i've got the same problem. and the search page layout is messed up (footer not visible).
No members have liked this post.
|
#19
|
||||
|
||||
Footer is visible in my case.
No members have liked this post.
|
#20
|
||||
|
||||
Originally Posted by temsamane
Footer visible but same error on 4.1.4![]()
400. That’s an error. Your client has issued a malformed or illegal request. That’s all we know. Shame ![]() No members have liked this post.
|
#21
|
|||
|
|||
Works fine on 4.1.4
BUT is there a way, how and where to change/remove the "google custom search gif" in the search field. Users THINK that its ONLY a regular google search.... I would like my own text like "Search the forum" "<input type="text" class="textbox" name="q" value="" style="border: 1px solid rgb(126, 157, 185); padding: 2px; background: url("[url]http ://www.google.com/cse/intl/en/images/google_custom_search_watermark.gif" ) no-repeat scroll left center rgb(255, 255, 255);">" No members have liked this post.
Last edited by bosken; 17 Jun 2011 at 15:04. |
#22
|
|||
|
|||
Error:
404. That’s an error. The requested URL /cse?cx=partner-pub-xxxxxxxxxxxxxxxxxxx was not found on this server. That’s all we know. what can i do now....? No members have liked this post.
|
#23
|
|||
|
|||
another error:
400. That’s an error. Your client has issued a malformed or illegal request. That’s all we know.
__________________
No members have liked this post.
|
#24
|
|||
|
|||
did you activate AdSense for search from www.google.com/adsense ?
No members have liked this post.
|
#25
|
||||
|
||||
Originally Posted by rajubd
How do you do this, this is not mentioned in the modification, if you mean do I have adsense set up then yes I do, but I wasn't aware that you had to activate AdSense for search?.![]()
TIA. No members have liked this post.
Last edited by synseal; 22 Jun 2011 at 12:12. |
#26
|
|||
|
|||
in AdSense main dashboard you will find AdSense for content
AdSense for search AdSense for feed etc go to AdSense for search complete all step then do this modification The following members like this post: synseal
|
#27
|
||||
|
||||
Done all that now, thanks for your help but this unfortunatley does not work with 4.1.4.
All I get is this (pic). the closest I get is if I replace the pub ID with the actual snippit from google but then I have 2 search boxes. I am pretty good when it comes to installing template mods so I dont know why this isn't working for me?. No members have liked this post.
|
#28
|
||||
|
||||
Got it working, I was putting the wrong pub id in.
I was using the one in the top right hand corner when signed into adsense instead of the one in the code given ![]() Installed. No members have liked this post.
|
#29
|
||||
|
||||
While looking at your site as a demo (http://www.mobilephonetalk.com), I did a search but results on pages past the first tended to have buggy results.
I'm using Google Chrome, and there were gaps and white spaces between results but then I highlighted the text and it appeared. kinda wonky? No members have liked this post.
|
#30
|
|||
|
|||
the search result should be blend in with forum style, not as a google page.
cheers No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 03:21.