vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Top referrer + top referrer website in forumhome. How? (https://vborg.vbsupport.ru/showthread.php?t=35456)

Aaow AnD wHiTe 02-26-2002 03:35 AM

Top referrer + top referrer website in forumhome. How?
 
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:

Quote:

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/showthrea...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

Quote:

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?:

Quote:

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

This way, you would see something like this in your forumhome:

--
Our Top Referrer is Lesane from The Various Elements Board!!
--

Thanx again for your help, Lesane! ^^

Lesane 02-27-2002 09:28 AM

U can find more info about the index here

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:

PHP Code:

<a href="$ref[homepage]">$ref[usernameWebsite</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

Quote:

Originally Posted by Aaow AnD wHiTe
Thanx Lesane! :) But we really need to get Top Referrer's WebSite displayed also :)

Anyone?

https://vborg.vbsupport.ru/showthread.php?t=105220


All times are GMT. The time now is 07:28 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01003 seconds
  • Memory Usage 1,732KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete