Author |
Topic |
|
aspwiz
Junior Member
250 Posts |
Posted - 19 October 2004 : 04:09:36
|
Hi all....
Here is details of a MOD I have in place on my own forums.
Whilst it is not perfect for every forum, it works very well for us.
To see the mod, go to google or yahoo or some other main search engine. Type in:- webforumz and submit .... We should be top (webforumz.com).
Click through on the result to see the MOD in action.
NOTE: This does not work for visitors running a firewall that blocks the referrer (ie. norton)
Let me know what ya'll think and if pleaded with and hounded enough, I may even post the code. |
|
PeeWee.Inc
Senior Member
United Kingdom
1893 Posts |
|
MarcelG
Retired Support Moderator
Netherlands
2625 Posts |
|
aspwiz
Junior Member
250 Posts |
Posted - 19 October 2004 : 08:08:13
|
I should point out it works for any search (eg. Yahoo for: web design forums
It works on most major search engines and has increased our member sign ups by around 100%
The thing is, we receive between 2 to 5 hits per minute from search engines with varying search phrases.... this MOD gives them a short welcome and an immediate call to action (Register) regardless of what page they enter the site on, or what they have searched for to reach us.
It is still in trial, but I'll let people know how it goes. |
Edited by - aspwiz on 19 October 2004 08:11:55 |
|
|
aspwiz
Junior Member
250 Posts |
Posted - 21 October 2004 : 07:00:19
|
It's going well....... so far!!
Still round about a 100% increase in new member sign-ups per day. |
|
|
Etymon
Advanced Member
United States
2385 Posts |
Posted - 23 October 2004 : 00:56:09
|
quote: Originally posted by aspwiz
It's going well....... so far!!
Still round about a 100% increase in new member sign-ups per day.
Ok! Enough already!! I've got to have it! Where's the download link??!! Me want the MOD! Me want the MOD! Me want the MOD! |
|
|
Gargoyle
Junior Member
USA
280 Posts |
|
MarkJH
Senior Member
United Kingdom
1722 Posts |
|
aspwiz
Junior Member
250 Posts |
Posted - 25 October 2004 : 09:08:57
|
Wait till I finished testing... lol |
|
|
MarkJH
Senior Member
United Kingdom
1722 Posts |
|
aspwiz
Junior Member
250 Posts |
Posted - 15 November 2004 : 04:47:30
|
Ok all.... this is very rough and dirty as I have not had time to convert it into a mod package and research the snitz variables it could use for colors, etc.
All you have to do is open up inc_header.asp and insert this code just before the line that begins:- sub sForumNavigation() Here's the code:-
'##################################################################
'##################################################################
'# BEGIN SEARCH ENGINE USER WELCOME MOD ... by Rob Collyer
'# www.webforumz.com
'##################################################################
'##################################################################
xxxQuery = request.servervariables("HTTP_REFERER")
If instr(xxxquery,"?") <> 0 then
xxxQueryString = Split(xxxquery,"?")(1)
xxxQueryArray = Split(xxxQueryString,"&")
for xxxi = 0 to ubound(xxxQueryArray)
If lcase(left(xxxQueryArray(xxxi),2)) = "q=" then
If xxxSearchString <> "" Then
xxxTempSearchString = replace(lcase(xxxQueryArray(xxxi)),"q=","")
If len(xxxTempSearchString) > xxxSearchString Then
xxxSearchString = xxxTempSearchString
end If
else
xxxSearchString = replace(lcase(xxxQueryArray(xxxi)),"q=","")
end if
End If
If lcase(left(xxxQueryArray(xxxi),2)) = "p=" then
If xxxSearchString <> "" Then
xxxTempSearchString = replace(lcase(xxxQueryArray(xxxi)),"p=","")
If len(xxxTempSearchString) > xxxSearchString Then
xxxSearchString = xxxTempSearchString
end If
else
xxxSearchString = replace(lcase(xxxQueryArray(xxxi)),"p=","")
end if
End If
If lcase(left(xxxQueryArray(xxxi),6)) = "query=" then
If xxxSearchString <> "" Then
xxxTempSearchString = replace(lcase(xxxQueryArray(xxxi)),"query=","")
If len(xxxTempSearchString) > xxxSearchString Then
xxxSearchString = xxxTempSearchString
end If
else
xxxSearchString = replace(lcase(xxxQueryArray(xxxi)),"query=","")
end if
End If
If xxxSearchString = "" Then
If lcase(left(xxxQueryArray(xxxi),3)) = "qt=" then
xxxSearchString = replace(lcase(xxxQueryArray(xxxi)),"qt=","")
end if
End If
If xxxSearchString = "" Then
If lcase(left(xxxQueryArray(xxxi),7)) = "search=" then
xxxSearchString = replace(lcase(xxxQueryArray(xxxi)),"search=","")
end if
End If
Next
If xxxSearchString <> "" Then
xxxEngine = lcase(Split(xxxquery,"?")(0))
If Instr(xxxEngine,".msn.") <> 0 then xxxSE = "MSN"
If Instr(xxxEngine,".google.") <> 0 then xxxSE = "Google"
If Instr(xxxEngine,".altavista.") <> 0 then xxxSE = "Altavista"
If Instr(xxxEngine,".lycos.") <> 0 then xxxSE = "Lycos"
If Instr(xxxEngine,".alltheweb.") <> 0 then xxxSE = "AllTheWeb"
If Instr(xxxEngine,".yahoo.") <> 0 then xxxSE = "Yahoo!"
If Instr(xxxEngine,".aol.") <> 0 then xxxSE = "AOL Search"
If Instr(xxxEngine,".hotbot.") <> 0 then xxxSE = "HotBot"
If Instr(xxxEngine,".teoma.") <> 0 then xxxSE = "Teoma"
If Instr(xxxEngine,".gigablast.") <> 0 then xxxSE = "GigaBlast"
If Instr(xxxEngine,".netscape.") <> 0 then xxxSE = "Netscape"
If Instr(xxxEngine,".dmoz.") <> 0 then xxxSE = "DMOZ"
end if
If xxxSE = "" Then xxxSearchString = ""
If xxxSearchString <> "" Then
xxxSearchString = Replace(xxxSearchString,"%20"," ")
xxxSearchString = Replace(xxxSearchString,"%22","'")
xxxSearchString = Replace(xxxSearchString,"+"," ")
xxxWelcomeHTML = "<div style=""background-color:#ffffe1; border:1px black solid; font-weight:900; color:darkblue; padding:3px;"">" _
& "Welcome <span style=""background-color:#FFFF00; font-size:16px; color:#000000; font-weight:900; padding:2px;"">" & xxxSE & "</span> User.<br/ ><br />You have reached our website by searching " _
& "for the term <span style=""background-color:#FFFF00; font-size:16px; color:#000000; font-weight:900; padding:2px;"">" & xxxSearchString & "</span>.<br /><br />As well as offering you information below for your search term, we also offer you FREE HELP with " _
& "Web design, Web Development and Search Engine Optimisation(SEO). This help is available 24 hours a day in our forums!<br />" _
& "You can also request a free website critique or SEO overview of your website.<br /><br />" _
& "<span style=""font-size:16px;"">Registration is FREE, why not <a style=""color:red;"" href=""register.asp"">register now</a></span></div>"
end if
end if
If xxxWelcomeHTML <> "" then
response.Write xxxWelcomeHTML & "<br /></td></tr><tr><td>"
end if
'##################################################################
'# END SEARCH ENGINE USER WELCOME MOD
'################################################################## |
|
|
MarkJH
Senior Member
United Kingdom
1722 Posts |
Posted - 15 November 2004 : 12:21:43
|
Tested in Google, Altavista and DMOZ and it works like a charm, Rob!
One slight error to report. This line:
& "<span style=""font-size:16px;"">Registration is FREE, why not <a style=""color:red;"" href=""register.asp"">register now</a></span></div>"
should be:
& "<span style=""font-size:16px;"">Registration is FREE, why not <a style=""color:red;"" href=""policy.asp"">register now</a></span></div>" |
Bandlink.net - http://www.bandlink.net/ Bandlink Music Forums - http://www.bandlink.net/forum/ |
Edited by - MarkJH on 15 November 2004 12:21:59 |
|
|
serritzlev
Junior Member
Denmark
291 Posts |
Posted - 16 November 2004 : 12:20:20
|
Only to say THANKS. |
|
|
|
sr_erick
Senior Member
USA
1318 Posts |
Posted - 17 November 2004 : 22:22:51
|
I was thinking of using this as well. I'd change it a bit though, adding a link to do a direct search on my site with the search terms they used on google so the user could possibly get more detailed results. I'd leave the link for registration too. Yesterday I had google refer about 1000 people to my site, I think this would have potential. |
Erick Snowmobile Fanatics
|
|
|
aspwiz
Junior Member
250 Posts |
Posted - 06 December 2004 : 08:14:22
|
Can anyone report their success / failure of this mod's effect on signups? |
|
|
serritzlev
Junior Member
Denmark
291 Posts |
Posted - 06 December 2004 : 09:29:43
|
I have not sen any fault to that code. |
|
|
|
|
Topic |
|