View Full Version : Top referrer + top referrer website in forumhome. How?
Aaow AnD wHiTe
02-26-2002, 03:35 AM
Hello everyone!
We already asked this @ vbulletin.com, and it seems that it would need some kind of hacking, so we'll just copy-paste the thread we created there :) Here it is:
Hello everyone! :)
We would like to know if there is any way to show the top referrer in forumhome, and also top referrer's homepage :)
We are encouraging our users to post their referrer link in their websites, so we would love to thank them by placing something like this in our forumhome:
Our top referrer is xxxx from www.theirurl.com!!
Where www.theirurl.com would be the url this user has in his/her profile :)
Would it be possible without hacking?
Thanx in advance!!
Lesane
02-26-2002, 08:33 AM
This hack will show the top referrer on your forumhome:
https://vborg.vbsupport.ru/showthread.php?s=&threadid=25170
Aaow AnD wHiTe
02-27-2002, 01:43 AM
Thanx Lesane! :) But we really need to get Top Referrer's WebSite displayed also :)
Anyone?
Saiyan XL
02-27-2002, 01:45 AM
ya thnx man
Lesane
02-27-2002, 08:41 AM
Originally posted by Aaow AnD wHiTe
Thanx Lesane! :) But we really need to get Top Referrer's WebSite displayed also :)
Anyone?
I guess u can use this: $ref[homepage] to show the website of that user aswell .....in your forumhome template
Aaow AnD wHiTe
02-27-2002, 09:08 AM
Yipeeee! Thanx!! :) BTW, how can we do this?:
3. Add an index to field referrerid in table user.
Can't wait to try this :)
And just to make it totally perfect. Would it be possible to allow the user to specify the name of his site so in his/her profile it would be something like this:
Homesite: My homesite (www.blahblahblah.com)
This way, you would see something like this in your forumhome:
--
Our Top Referrer is Lesane (https://vborg.vbsupport.ru/member.php?s=&action=getinfo&userid=345) from The Various Elements Board (http://www.lesane-crooks.com/board/)!!
--
Thanx again for your help, Lesane! ^^
Lesane
02-27-2002, 09:28 AM
U can find more info about the index here (http://www.vbulletin.com/forum/showthread.php?s=&threadid=24946)
About the name of the website, u cant display it with that hack. U have 2 make some modifications in the register.php file and add a new row into the user table and more..
U can also easily link it like:
<a href="$ref[homepage]">$ref[username] Website</a>
So its like: Lesane's Website <- with a link to lesane's website.
Optional ofcourse ;)
Aaow AnD wHiTe
02-27-2002, 09:34 AM
OK Lesane :) Gonna try it right away ;) We'll let you know how it goes ^__^
Thx!!
payamix1
01-13-2006, 02:06 PM
Thanx Lesane! :) But we really need to get Top Referrer's WebSite displayed also :)
Anyone?
https://vborg.vbsupport.ru/showthread.php?t=105220
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.