![]() |
Quote:
Code:
<form method="get" action="{$vboptions['google_forum_path']}" target="_top"> |
Mine is working now, thanks to david for his help -my GALT number had a character missing at the end :)
|
Quote:
|
What do you have for your GALT and what do you have for "Your Forum's Path" in the AdminCP?
The example I use, which a lot of people have, is this: Code:
GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:11 |
GALT:
Code:
GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:E6E6E6;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;LH:45;LW:100;S:http://forum.psychlinks.ca;LP:1;FORID:1 Code:
http://forum.mydomain.com/searchresults.php |
Change your galt to what I have (previous post) and test that.
Also try it with these forum paths Code:
.searchresults.php Code:
./searchresults.php |
OK. I don't know exactly why but it is a GALT problem. I took mine from the code Google gave me. I just substituted your string instead and if I use yours, it works.
Is the GALT string unique to a specific publisher? Or can I use yours as a generic string? |
Mine is generic. You can play with the hex codes and see the different outcomes, but the one I supply is generic for multiple use. The one that google supplies a lot of times is specifically for one specific purpose (notice it has your domain in the GALT) and not meant to be altered cosmetically (breaks it).
|
Thanks, David. Working fine now. :)
|
Is it possible to have a different cof code for each skin? Since it doesnt blend well with my other skin.
|
is any posible way to integrate to vbadvance workk like a charm in the forum but in my index is not show any idea?
|
Quote:
|
Quote:
What you'd have to do is go into each template (for each child style or alternate style) Admincp => Styles & Templates => Style Manager => Edit Templates (on your style) => google Templates => google_navadsearch => Find: Code:
{$vboptions['google_cof']} Code:
Your new code This should work. I am not 100% because I've not tested it, but in theory it makes sense. |
I am confused by your instructions as to template edits. I have uploaded the xml and I am looking at the navbar template - what exactly do I need to add/change in my templates?
Quote:
|
OK I added $google_siteadsearch under $navbar in the search_forums template and now I get the integration into the advanced search page.
The results page, however, throws the following error: Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/talkwhat/public_html/searchresults.php on line 8 Also it is not showing in the dropdown on the navbar though I added "$google_navadsearch" |
OOPS - I fixed the line 8 issue - still can't figure out how to get this integrated into the dropdown, though. Anyone?
|
By default you shouldn't have to change anything in the templates. The only thing you should have to edit is in the admincp options. What version of vb do you have? If you are using the legacy version and you have follow the instructions and you are showing the searchresults.php page correctly (without results) when you go to http://www.. ..com/searchresults.php but it is not showing up at all in the drop-down then there is a very good chance that another hack is interfering with this one. This is possible.
I will be back on Monday. |
Quote:
|
Quote:
|
Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/iogamesc/public_html/searchresults.php on line 8
Warning: main(./global.php) [function.main]: failed to open stream: No such file or directory in /home/iogamesc/public_html/searchresults.php on line 19 Fatal error: main() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/iogamesc/public_html/searchresults.php on line 19 :( |
Quote:
From your errors above, it seems that line 8 reads Code:
chdir('/home/iogamesc/public_html/'); Code:
http://chat.iogames.com/ Code:
chdir('/home/iogamesc/public_html/chat/'); |
iogames, any news?
|
Quote:
|
I am going to be working on a newer version that, if successful, lets you have full and complete control on the CSS of the outcome.
If anyone has any requests or ideas of what they'd like to see in future releases, let me know - this mod has much potential :) |
Anyway to change the frame height? I have tons of white space after the results. I tried adding an FrameHeight var but that doesn't work.
|
Unfortunately, no - I have tried this myself and have found that adding a height value will not work. There are other scripts out there that do not work like this that do have an adjustable height, but I do not know why Google has disallowed it here. However, keep in mind, as soon as I find a way to allow different heights or if there is a change from Google, I will let everyone know.
|
What about adding a css for the iframe? Won't that override it?
|
That's something I've played with, but haven't had any luck.
Theoretically, and its only a theory, an iframe within an iframe would work, but wouldn't necessarily be visually pleasing (its possible), but its a stab. |
Hiya, i'm having some problems with 1.2. It works fine from the search.php page but when i use it from the drop down box in the navbar it always says "Please specify some words or valid user names to search on. There were no matches for those that you specified."
|
That's really weird considering google has nothing to do with the site's search system. Do you have a demo link I can view this on? Also, please don't forget to click install.
|
Quote:
user:mod pass:mod http://www.mdcdeve.com/forums/ http://www.mdcdeve.com/forums/search.php |
Ok, that's really weird - which version of 1.2 are you using? search or legacy? if legacy, can you post a snippet where you've added the code?
|
I am running 3.6.8., also having a prob with the searchresults file, when trying to search I get the error below.
The file searchresults.php and global.php is in the same directory, both in /forum on the domain. Quote:
|
Did you edit the searchresults.php file and mark the location in your admincp options?
|
Quote:
Hiya, i'm using the legacy version. Here's where i placed the code. Navbar Code:
<label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label> Code:
<title>$vboptions[bbtitle] - <if condition="$show['searchthread']">$vbphrase[search_thread]<else />$vbphrase[search_forums]</if></title> |
Quote:
Hi I think I am missing you somewhere. I have entered the 3 values in AdminCP for PUB, COF and Frame width. I placed a copy of the searchresults.php in the same directory as the forum (/forum on my domain), but I noticed now that it was looking for it in root. I now edited the search results page to change the path for the global.php file to ./forum/global.php but still getting the same error. You mention "mark the location in AdminCP", how do you mean? Where must this be marked? |
I'm sorry but I am extremely confused. The installation instructions for this are very hard to follow and there are a lot of files.
Assuming I want to install version 1.2 on a 3.6.8 site: 1. Which file(s) should I download? 2. Should I generate my own cof information from Adsense? 3. After I've installed and configured the 1.2 site, are there any templates I should modify or is that for the legacy version? |
Quote:
Quote:
2. You can try generating your own cof information but some have success, other have not. If yours does not work, use what I have supplied, that will work - and you should still be able to play with the hex colors to change it to your desire. 3. The templates to modify are only for the legacy version. |
Which version should I install on 3.6.7? I tried 2 different versions. One I got a blank page and the other I got an error 406 page.
|
I got it to work. The GALT code google is generating does not have two "1" at the end of the code like yours does. Its ony producing one "1" and not two "1"'s. I placed an addition 1 on the end and it works. You can see it here if you wanna check it out. Custom Golf Carts
Thanks for the great MOD. Clicked installed. 3.6.7 |
All times are GMT. The time now is 01:04 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|