Author |
Topic |
AnhLong
Starting Member
23 Posts |
Posted - 14 September 2003 : 20:58:41
|
I only have one server but didn't work@ |
|
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
|
samyot
Junior Member
Canada
242 Posts |
|
vmplanet
Junior Member
112 Posts |
Posted - 29 October 2003 : 19:19:04
|
Nice mod thanks. I like it and i put it to use. Here is it on my test forum:
http://www.vmplanet.net/bomforum/search.asp
I only one minor thing. It would be nice if i click on a result and it would open in a new window. That way they stay on my forum.. |
|
|
kwhipp
Junior Member
USA
407 Posts |
Posted - 30 October 2003 : 09:28:53
|
quote: Originally posted by vmplanet
I only one minor thing. It would be nice if i click on a result and it would open in a new window. That way they stay on my forum..
Around line 174 find the following.
SearchResults=SearchResults & "<li><p><a href=" & strResultURL & ">" & strResultTitle & "</a><br />" & strSearchDescription & "<br /><font size=2><b>" & strResultURL & "</b>" & strResultSize & "</font>" & strResultRelated & strResultCategory & "</li><br /><br />"
Then replace it with this code.
SearchResults=SearchResults & "<li><p><a href=" & strResultURL & " target=""blank"">" & strResultTitle & "</a><br />" & strSearchDescription & "<br /><font size=2><b>" & strResultURL & "</b>" & strResultSize & "</font>" & strResultRelated & strResultCategory & "</li><br /><br />"
|
- Kevin |
|
|
vmplanet
Junior Member
112 Posts |
Posted - 30 October 2003 : 14:20:59
|
quote: Originally posted by kwhipp
quote: Originally posted by vmplanet
I only one minor thing. It would be nice if i click on a result and it would open in a new window. That way they stay on my forum..
Around line 174 find the following.
SearchResults=SearchResults & "<li><p><a href=" & strResultURL & ">" & strResultTitle & "</a><br />" & strSearchDescription & "<br /><font size=2><b>" & strResultURL & "</b>" & strResultSize & "</font>" & strResultRelated & strResultCategory & "</li><br /><br />"
Then replace it with this code.
SearchResults=SearchResults & "<li><p><a href=" & strResultURL & " target=""blank"">" & strResultTitle & "</a><br />" & strSearchDescription & "<br /><font size=2><b>" & strResultURL & "</b>" & strResultSize & "</font>" & strResultRelated & strResultCategory & "</li><br /><br />"
Thanks!! Now it's perfect!!! |
|
|
IG-88
Starting Member
8 Posts |
Posted - 08 November 2003 : 04:38:25
|
quote: Originally posted by AnhLong
how come my doesn't work! http://www.vn203.com/myowngoogle.asp?q=fs&page=1
Microsoft VBScript runtime error '800a0005'
Invalid procedure call or argument: 'Left'
/myowngoogle.asp, line 119
Any resolution to this one yet? I get the same thing, error on line 122 though:
Microsoft VBScript runtime error '800a0005'
Invalid procedure call or argument: 'Left'
/forums/myowngoogle.asp, line 122
Line 22:
strSearchResults = left(strResponsePage,inStr(strResponsePage,"</estimatedTotalResultsCount>")-1)
I have a feeling after "left" is fixed I'll have a problem with "right".
|
|
|
eauxvives
Junior Member
Bhutan
145 Posts |
Posted - 15 December 2003 : 03:57:37
|
quote: Originally posted by OneWayMule
quote: Where can I get this sitesearch.asp file?
The site search feature will be available in the next update.
would be great if we could have it... any idea as to when this will be available? |
|
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
|
eauxvives
Junior Member
Bhutan
145 Posts |
Posted - 15 December 2003 : 09:51:01
|
ohohoh, here comes santa :-) |
|
|
Mr Pink
Junior Member
United Kingdom
387 Posts |
Posted - 20 January 2004 : 17:03:56
|
quote: Originally posted by mortioli
I get this error
quote:
msxml3.dll error '800c0005'
The system cannot locate the resource specified.
/forum/myowngoogle.asp, line 112
Has anybody managed to fix this problem? My google search has never worked and I always get this message.
Before anyone asks, yes I have entered my Google key. |
Martin Leyland Forum Leyland Lancashire UK |
|
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
|
Mr Pink
Junior Member
United Kingdom
387 Posts |
Posted - 02 February 2004 : 08:55:41
|
quote: Originally posted by OneWayMule
or anything that might block access to the Google servers (I had once a firewall block it). Have you tried it on another server?
I can't do that because I only have one hosting package. |
Martin Leyland Forum Leyland Lancashire UK |
|
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
|
titanium
Starting Member
6 Posts |
Posted - 13 March 2004 : 15:38:32
|
I was having this error too ...
quote: Microsoft VBScript runtime error '800a0005'
Invalid procedure call or argument: 'Left'
/myowngoogle.asp, line 122 ]
Fixed it by changing line 122 from:
strSearchResults = left(strResponsePage,inStr strResponsePage,"</estimatedTotalResultsCount>")-1)
to ...
strSearchResults = left strResponsePage,"</estimatedTotalResultsCount>")-1 Not sure what this does, but it works now!
|
|
|
Topic |
|