Author |
Topic |
|
spyderuk
Junior Member
United Kingdom
211 Posts |
Posted - 01 February 2006 : 08:26:49
|
I have a small problem with my own google. I had it all working with no problem and it still does on my test forum. This is located in /forum2/. However when I implement it into my live forum /forum/ i get an error. "YOU MUST ENTER KEYWORDS" I have tried getting another key from google and using this but still the problem persists. The new key works in the test forum but not in the live forum. Tested with IE 6.0 & FF 1.0.7. I've also downloaded all files from my live forum and from my test forum and they only differences between them when all files have been checked WITH beyond compare is the database filename in config.asp. I have also tried renaming my live database to the name of the test database to eliminate a database issue. I have re downloaded the file and tried both keys in both directories and still the same results. I'm now lost. I have my own google selected via the portal mod.
Thanks to anyone who has any ideas.
EDIT... I have discovered that if forum search is enabled in the portal mod the google search has problems. Wish I could get both working though. |
Snitz 3.4.05. Mods Installed, Additional Smilies, Poll's, PM's, Email All Users, Today/Yesterday, Active Users 4, Portal Mod, My Own Google, Referer Mod, Avatars, Intergrated Conqueror Chat, Usergroups, IPGate, File Attachment Mod & Image Resize Mod. Next Mod? My Snitz Forum
|
Edited by - spyderuk on 01 February 2006 10:28:16 |
|
spyderuk
Junior Member
United Kingdom
211 Posts |
Posted - 06 February 2006 : 18:34:46
|
I have done some testing on this tonight and discovered that if forum search and google search are active the search button for google is actually activating the forum search, hence no text in the forum search input and the error message? Could this be an error in the code I copied and pasted anywhere? I would like to have both searches enabled on the portal page. |
Snitz 3.4.05. Mods Installed, Additional Smilies, Poll's, PM's, Email All Users, Today/Yesterday, Active Users 4, Portal Mod, My Own Google, Referer Mod, Avatars, Intergrated Conqueror Chat, Usergroups, IPGate, File Attachment Mod & Image Resize Mod. Next Mod? My Snitz Forum
|
|
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
|
spyderuk
Junior Member
United Kingdom
211 Posts |
Posted - 10 February 2006 : 21:33:48
|
Try it here on my test forum this has the forum search enabled to create the problem. It works without forum search enabled. It's like the google search button is linked to the forum search. Type a search in forum search then hit google search button.
Also can't understand why the forum search shows up to big on my test forum but it displays ok on the live forum? |
Snitz 3.4.05. Mods Installed, Additional Smilies, Poll's, PM's, Email All Users, Today/Yesterday, Active Users 4, Portal Mod, My Own Google, Referer Mod, Avatars, Intergrated Conqueror Chat, Usergroups, IPGate, File Attachment Mod & Image Resize Mod. Next Mod? My Snitz Forum
|
|
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
|
spyderuk
Junior Member
United Kingdom
211 Posts |
Posted - 11 February 2006 : 13:12:00
|
quote: Originally posted by OneWayMule
First of all close the <form> tag of the forum search. Can't find anything else, so this is probably causing you problems.
I'm a copy n paste coder, not 100% sure on your advice but i will give it a go. Thanks for your help. Edit.. Close the form tag in which file. Sorry I am a copy n paste coder.!! |
Snitz 3.4.05. Mods Installed, Additional Smilies, Poll's, PM's, Email All Users, Today/Yesterday, Active Users 4, Portal Mod, My Own Google, Referer Mod, Avatars, Intergrated Conqueror Chat, Usergroups, IPGate, File Attachment Mod & Image Resize Mod. Next Mod? My Snitz Forum
|
Edited by - spyderuk on 11 February 2006 13:15:20 |
|
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
|
spyderuk
Junior Member
United Kingdom
211 Posts |
Posted - 12 February 2006 : 06:53:30
|
quote: Originally posted by OneWayMule
Where did you paste the code to? You can also post a link to a .txt version of that file, and I'll take a look.
I'm using the my own google mod with the portal mod. Only pasted the google key into my own google script. Maybe my pasting when installing the portal mod |
Snitz 3.4.05. Mods Installed, Additional Smilies, Poll's, PM's, Email All Users, Today/Yesterday, Active Users 4, Portal Mod, My Own Google, Referer Mod, Avatars, Intergrated Conqueror Chat, Usergroups, IPGate, File Attachment Mod & Image Resize Mod. Next Mod? My Snitz Forum
|
Edited by - spyderuk on 12 February 2006 06:54:04 |
|
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
|
spyderuk
Junior Member
United Kingdom
211 Posts |
Posted - 13 February 2006 : 06:44:33
|
Here it is. Thanks for taking a look |
Snitz 3.4.05. Mods Installed, Additional Smilies, Poll's, PM's, Email All Users, Today/Yesterday, Active Users 4, Portal Mod, My Own Google, Referer Mod, Avatars, Intergrated Conqueror Chat, Usergroups, IPGate, File Attachment Mod & Image Resize Mod. Next Mod? My Snitz Forum
|
|
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
Posted - 13 February 2006 : 07:07:35
|
Find the following code:
sub DisplayForumSearch(byval Width)
call StartTable(Width, "Forum Search")
Response.Write " <form method=""post"" action=""search.asp?mode=DoIt"">" &vbCrLf &_
" <option type=""hidden"" name=""SearchMessage"" value=""0"">" &vbCrLf &_
" <option type=""hidden"" name=""Forum"" value=""0"">" &vbCrLf &_
" <option type=""hidden"" name=""andor"" value=""1"">" &vbCrLf &_
" <option type=""hidden"" name=""SearchMember"" value=""0"">" &vbCrLf &_
" Search For<br><input type=""text"" name=""Search"" style=""width:100%"" maxlength=""40""><br>" &vbCrLf &_
" By Date<br><select name=""SearchDate"" style=""width:100%"">" & vbNewLine & _
" <option value=""0"">Any Date</option>" & vbNewLine & _
" <option value=""1"">Since Yesterday</option>" & vbNewLine & _
" <option value=""2"">Since 2 Days Ago</option>" & vbNewLine & _
" <option value=""5"">Since 5 Days Ago</option>" & vbNewLine & _
" <option value=""7"">Since 7 Days Ago</option>" & vbNewLine & _
" <option value=""14"">Since 14 Days Ago</option>" & vbNewLine & _
" <option value=""30"">Since 30 Days Ago</option>" & vbNewLine & _
" <option value=""60"">Since 60 Days Ago</option>" & vbNewLine & _
" <option value=""120"">Since 120 Days Ago</option>" & vbNewLine & _
" <option value=""365"">In the Last Year</option>" & vbNewLine & _
" </select><br>" & vbNewLine & _
" <input type=""submit"" name=""btnSubmit"" value=""Search""></form><br>" &vbCrLf &_
" <a href=""search.asp"">more options</a><br>" &vbCrLf
call EndTable()
end sub and add the blue code. Let me know if that helps. |
My MODs: Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch
Useful stuff: Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
|
|
|
spyderuk
Junior Member
United Kingdom
211 Posts |
Posted - 13 February 2006 : 08:05:35
|
Thank's for the speedy response. I'll try it now.
EDIT.. It work's a charm. Thank's for that |
Snitz 3.4.05. Mods Installed, Additional Smilies, Poll's, PM's, Email All Users, Today/Yesterday, Active Users 4, Portal Mod, My Own Google, Referer Mod, Avatars, Intergrated Conqueror Chat, Usergroups, IPGate, File Attachment Mod & Image Resize Mod. Next Mod? My Snitz Forum
|
Edited by - spyderuk on 13 February 2006 08:09:35 |
|
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
|
spyderuk
Junior Member
United Kingdom
211 Posts |
Posted - 13 February 2006 : 09:25:28
|
if only the portal mod would allow you to choose which side you wanted each seperate search to be displayed in the cms setup. I can live with it though. Thanks again for your help OWM. |
Snitz 3.4.05. Mods Installed, Additional Smilies, Poll's, PM's, Email All Users, Today/Yesterday, Active Users 4, Portal Mod, My Own Google, Referer Mod, Avatars, Intergrated Conqueror Chat, Usergroups, IPGate, File Attachment Mod & Image Resize Mod. Next Mod? My Snitz Forum
|
Edited by - spyderuk on 13 February 2006 09:26:12 |
|
|
Nertz
Junior Member
Canada
341 Posts |
Posted - 13 February 2006 : 12:02:06
|
quote: Originally posted by spyderuk
if only the portal mod would allow you to choose which side you wanted each seperate search to be displayed in the cms setup. I can live with it though. Thanks again for your help OWM.
Look here. In the addons, there's a post by RWilliams that will allow you to set portal elements on either left or right.
cheers, Nat |
Sadly, most Family Court Judges wrongfully reward opportunistic gold diggers that use our children unjustly as "instruments" of power.
www.fathers-4-justice-canada.ca |
|
|
spyderuk
Junior Member
United Kingdom
211 Posts |
Posted - 14 February 2006 : 18:09:46
|
Cheers Nat, I'll have a look at the in the morning. There's not enough hours in a day no more |
Snitz 3.4.05. Mods Installed, Additional Smilies, Poll's, PM's, Email All Users, Today/Yesterday, Active Users 4, Portal Mod, My Own Google, Referer Mod, Avatars, Intergrated Conqueror Chat, Usergroups, IPGate, File Attachment Mod & Image Resize Mod. Next Mod? My Snitz Forum
|
|
|
|
Topic |
|
|
|