Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
e-steki Referrer Statistics Details »»
e-steki Referrer Statistics
Version: 1.1, by Lea Verou Lea Verou is offline
Developer Last Online: Jul 2012 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 11-16-2005 Last Update: 11-28-2005 Installs: 323
Uses Plugins Template Edits
Additional Files  
No support by the author.

This hack displays the referrers and the members they referred in a separate page. Also for registered members it displays their referrer link.

Features:
-Fully phrased
-WOL location so that it doesn't show up as Unknown location
-Usergroup permissions
-Ability to count statistics from a specific date - great for referrer contests
-Highly customizable look of the page from the admincp
-Ability to exclude specific usergroups from the statistics (eg banned users)
-Pages in the results (results per page is customizable)
-Formatted nicknames
-Ability to display post count next to each username

Installation
1. Upload the file referrers.php to your forum root directory
2. Import the product product-michelle_referrers.xml
3. Done! The link for the page would be like www.yoursite.com/forum/referrers.php. Place it wherever you feel it fits.

Do not forget to click INSTALL!!!

Changelog
version 1.1
-bugfix (when there are no results)
-new feature(postcount next to username, can be turned off via admincp)


Credits
  • Psionic Vision
  • Conqsoft
Notice: The current hack attached in the right will cut both referrals AND referrers that have registered before the cut-off date. Most people seem to only want it to cut the referrals so, if you too want that, you can replace the referrers.php in the zip with the one attached here.

Show Your Support

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

Comments
  #92  
Old 11-30-2005, 12:25 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Psionic Vision
That definitely is mean. Come on, Boofo, give her a break... She put her efforts in. You are not obliged to always express your dislike for every person's work
It was not an expression of dislike. It just didn't suit my needs at the time and will probably do so in the future when the fix is added. Generalizations are not a good thing to get started.
Reply With Quote
  #93  
Old 11-30-2005, 12:53 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Then I sloud probably rush a bit more with it I guess
Yes, you should

Quote:
Oh, I just saw that! It sounds nice!
Ok, here's what you gotta do.

Somewhere in your file after inclusion of global.php put this:

PHP Code:
if (isset($vbulletin->userinfo['invites']))
// Psionic Vision's Invite Hack Installed, Adjust Template Settings
    
if ($canmanageinvites AND ($vbulletin->userinfo['invites'] > OR !$vbulletin->options['invites_reg_only_by_invite']))
    {
        
$show['invites_link'] = 'c_psi_inv_link';
        
$show['invites_left'] = ($vbulletin->options['invites_reg_only_by_invite'] ? true false);
    }
    else
    {
        
$show['invites_link'] = false;
        
$show['invites_left'] = false;
    }
}
else
// Psionic Vision's Invite Hack Not Installed, use e-steki link
    
$show['invites_link'] = 'c_def_link';
    
$show['invites_left'] = false;

And then, in template:

HTML Code:
<if condition="$show['invites_link'] == 'c_def_link'">
	YOUR CURRENT HTML CODE
<else />
	<if condition="$show['invites_link'] == 'c_psi_inv_link'">
	<!-- ############## INVITES LINK ##############  -->
	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
	<tr>
		<td class="tcat">$vbphrase[invites_issue_new_invite] <if condition="$show['invites_left']"><phrase 1="$bbuserinfo[invites]">($vbphrase[invites_x_left])</phrase></if></td>
	</tr>
	<tr>
		<td class="alt1"><span class="smallfont"><a href="invites.php?$session[sessionurl]">$vbphrase[invites_click_here_to_invite_new_users]</a></span></td>
	</tr>
	</table>
	<br />
	<!-- ############## END INVITES LINK ##############  -->
	</if>
</if>
P.S. Just noticed - nice threadid I put that ID in my hack so that it is linked to yours (listed in add-ons in your top post). If you put my ID in, you hack will be listed on my page.
P.P.S. If you are confused, don't worry about variables in my code. They are defined in global_start by one of the plugins that make up the Invite System.
Reply With Quote
  #94  
Old 11-30-2005, 01:35 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If she adds that, are we going to have to have both hacks installed then?
Reply With Quote
  #95  
Old 11-30-2005, 01:36 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope. It simply detects whether my hack is installed and adjusts the template link+text accordingly. Both hacks remain independent from each other.
Reply With Quote
  #96  
Old 11-30-2005, 09:50 PM
lazytown lazytown is offline
 
Join Date: Feb 2004
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you!! Awesome mod!

I removed the word "posts:" from displaying because I thought it made things look messy. My next thought is to have it re-rank the display or remove the count for users that never posted (or posted less than a certain amount). Example, if a user posted less than 5 times, then it doesn't count as a referral, etc.

-vissa



Quote:
Originally Posted by Michelle
I am going to upload shortly a version with a bugfix and the postcount that vissa requested but I was too bored to think how to do that
It will be included in the next version.
Reply With Quote
  #97  
Old 11-30-2005, 09:55 PM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vissa
Thank you!! Awesome mod!

I removed the word "posts:" from displaying because I thought it made things look messy. My next thought is to have it re-rank the display or remove the count for users that never posted (or posted less than a certain amount). Example, if a user posted less than 5 times, then it doesn't count as a referral, etc.

-vissa
if you want to remove the post count for the referrers that haven't voted you can change
<if condition="$vboptions[showposts]">
to
<if condition="$vboptions[showposts] && referrerposts[$key]">
but if you want to change it for the listed referrals you'll have to edit the php file (not a difficult edit though )

BTW Psionic Vision I thought about it and I think it's better that we release that as an addon/modification for it and not the original product
Reply With Quote
  #98  
Old 11-30-2005, 10:03 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You know what, you're right. Assuming that my product might change with time, there is a chance that the code I gave you will stop working. Is that you reason?

I will release the modification separately.
Reply With Quote
  #99  
Old 11-30-2005, 10:10 PM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's not the only reason, I just feel that way is the most suitable one
Reply With Quote
  #100  
Old 11-30-2005, 11:14 PM
Moya's Avatar
Moya Moya is offline
 
Join Date: May 2004
Posts: 356
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks man
Reply With Quote
  #101  
Old 12-01-2005, 12:39 AM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Michelle
It's not the only reason, I just feel that way is the most suitable one
kk..
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 08:07 PM.


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.09131 seconds
  • Memory Usage 2,330KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_html
  • (1)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete