Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by Afterburner Afterburner is offline
Developer Last Online: Oct 2003 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 08-25-2001 Last Update: Never Installs: 9
 
No support by the author.

English:

With this hack normal members can show the referrals of all members.

sample page:
http://216.40.240.19/vbulletin/ref.php?s=

and click on the username to see the referrals


Deutsch:

Mit diesem Hack k?nnen jetzt auch die normalen Mitglieder sehen wer wem geworben hat.

Beispiel:
http://216.40.240.19/vbulletin/ref.php?s=

und klickt auf einen Usernamen um die Referrals zu sehen

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 08-26-2001, 02:52 PM
joecrow
Guest
 
Posts: n/a
Default

thanks for a another good hack.
Reply With Quote
  #3  
Old 10-25-2001, 08:25 PM
Lesane's Avatar
Lesane Lesane is offline
 
Join Date: Oct 2001
Location: The Netherlands
Posts: 1,149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A very nice hack, thnx.
Reply With Quote
  #4  
Old 11-05-2001, 09:55 AM
Afterburner's Avatar
Afterburner Afterburner is offline
 
Join Date: Nov 2001
Location: 53?36'08"N 13?18'22"E
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works also in vB 2.2.0
Reply With Quote
  #5  
Old 07-23-2002, 06:41 AM
Marshalus's Avatar
Marshalus Marshalus is offline
 
Join Date: Nov 2001
Location: Lawrence, KS
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent hack! Probably far too unnoticed.
Reply With Quote
  #6  
Old 07-23-2002, 08:15 AM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very good...

Just a Q Afterburner...

Whats up with the number 11 position?

Satan
Reply With Quote
  #7  
Old 07-23-2002, 08:31 AM
Afterburner's Avatar
Afterburner Afterburner is offline
 
Join Date: Nov 2001
Location: 53?36'08"N 13?18'22"E
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

isn't there a username ? than you deleted this user
Reply With Quote
  #8  
Old 12-15-2002, 10:44 AM
alkatraz alkatraz is offline
 
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 384
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack!

Couple of small bugs I found:

In ref_for_user, Profile is typed "Profil" instead of "Profile"
Code:
<td bgcolor="{categorybackcolor}" align="center" nowrap><smallfont color="{categoryfontcolor}"><b>Profile</b></smallfont></td>
and in ref_for_user1 I was getting some crappy fonts for all the data so I added smallfont tags to it
Code:
<tr>
<td align="center" bgcolor="{secondaltcolor}"><smallfont>$zaehlen</smallfont></td>
<td align="center" bgcolor="{firstaltcolor}"><smallfont><a href="ref.php?s=$session[sessionhash]&action=showreferrals&referrerid=$user[userid]&startdate=$startdate&enddate=$enddate">$user[username]</a><br><smallfont>($user[usertitle])</smallfont></smallfont></td>
<td align="center" bgcolor="{secondaltcolor}"><smallfont>$user[count]</smallfont></td>
<td align="center" bgcolor="{firstaltcolor}"><smallfont>$user[posts]</smallfont></td>
<td align="center" bgcolor="{secondaltcolor}"><smallfont>
<a href="private.php?s=$session[sessionhash]&action=newmessage&userid=$user[userid]"><img src="{imagesfolder}/sendpm.gif" border="0" alt="PM"></a></smallfont></td>
<td align="center" bgcolor="{firstaltcolor}"><smallfont>
<a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$user[userid]"><img src="{imagesfolder}/profile.gif" border="0" alt="Profil"></a></smallfont></td>
<td align="center" bgcolor="{secondaltcolor}"><smallfont>$userdate <font color="{timecolor}">$usertime</font></smallfont></td>
<td align="center" bgcolor="{firstaltcolor}"><smallfont>$userlastdate <font color="{timecolor}">$userlasttime</font></smallfont></td>
</tr>

Thanks!!
Reply With Quote
  #9  
Old 12-15-2002, 10:46 AM
alkatraz alkatraz is offline
 
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 384
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

also in ref_for_user2

Code:
<tr>
<td align="center" bgcolor="{firstaltcolor}"><smallfont>$zaehlen1</smallfont></td>
<td align="center" bgcolor="{secondaltcolor}"><smallfont>$profile</smallfont><br><smallfont>($user[usertitle])</smallfont></td>
<td align="center" bgcolor="{firstaltcolor}"><smallfont>$user[posts]</smallfont></td>
<td align="center" bgcolor="{secondaltcolor}"><smallfont>
<a href="private.php?s=$session[sessionhash]&action=newmessage&userid=$user[userid]"><img src="{imagesfolder}/sendpm.gif" border="0" alt="PM"></a></smallfont></td>
<td align="center" bgcolor="{firstaltcolor}"><smallfont>$userdate <font color="{timecolor}">$usertime</font></smallfont></td>
<td align="center" bgcolor="{secondaltcolor}"><smallfont>$userlastdate <font color="{timecolor}">$userlasttime</font></smallfont></td>
</tr>
Reply With Quote
  #10  
Old 06-30-2003, 02:13 PM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was pleasantly surprised to see that the hack still works for vB 2.3.0, since this is EXACTLY what I have been wanting and it barely strains the database at all. I've been editing the file and templates all day to give a more "complete" feel to it.

My changes can be viewed here:
http://www.umbrellaonline.co.uk/forums/ref.php

Features include:
- Cleaner templates
- 100% English translation, including code
- Who's Online Status - "Viewing Top Referrerals List"

With your permission Afterburner, I will share the code..


[high][EDIT][/high]
I've recieved permission from Afterburner to post the updated code, so here it is..

All credit to him for originally creating the modification.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:17 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04269 seconds
  • Memory Usage 2,289KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete