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
  #22  
Old 11-18-2005, 01:11 PM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by G-Force 199
Thanks much.
Clicked Install
Thank you!

Btw I don't see any bugs reported... Is that because there aren't any ore because you don't post them? Please, all of you, post any bugs here so that it eventually gets out of beta
Thanks a lot
Reply With Quote
  #23  
Old 11-18-2005, 02:21 PM
Annie^.^ Annie^.^ is offline
 
Join Date: Sep 2005
Location: Canada
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

GreaT Job!!!!! Now for addon someone could make a stat for top refferal in a 30 days , 7day, 24 hour and over all that way we could have a contest.
Reply With Quote
  #24  
Old 11-18-2005, 02:23 PM
ConqSoft's Avatar
ConqSoft ConqSoft is offline
 
Join Date: Jul 2003
Location: Raleigh, NC
Posts: 686
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It has a setting already that may help you with that:

Quote:
Date cutoff
This is useful for referral contests. Any referrers or referrals that joined before this date will be excluded from the Statistics. The date must be entered in format DD-MM-YYYY. If you set it to 0 it will display all results.
Reply With Quote
  #25  
Old 11-18-2005, 02:53 PM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Exactly what Conqsoft is saying
If you want I could make the setting to accept hour as well and not only date. It's very easy, I just thought it is pointless and this is why I didn't incorporate it.
Reply With Quote
  #26  
Old 11-18-2005, 04:28 PM
TygerTyger TygerTyger is offline
 
Join Date: Aug 2005
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I gave it a try, works perfectly. Great stuff, thanks, not a man

But since I always try to offer a suggestion when using someone's mods, perhaps when you're changing permissions for the mod in the AdminCP, usergroups should be separated with a comma (,) not a space in keeping with how it's done elsewhere in vBulletin.
Reply With Quote
  #27  
Old 11-18-2005, 05:27 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep it's working all good. Looks like there aren't any bugs to report so far.
Reply With Quote
  #28  
Old 11-18-2005, 05:38 PM
nestoras's Avatar
nestoras nestoras is offline
 
Join Date: Aug 2005
Location: Greece
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack Michelle!thanks!i click install!!

Ελλαδαρα ρε!!!!
Reply With Quote
  #29  
Old 11-18-2005, 05:50 PM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TygerTyger
I gave it a try, works perfectly. Great stuff, thanks, not a man

But since I always try to offer a suggestion when using someone's mods, perhaps when you're changing permissions for the mod in the AdminCP, usergroups should be separated with a comma (,) not a space in keeping with how it's done elsewhere in vBulletin.
I thought that but it would require much more code for no reason cause you don't know if a user leaves a space or not after the comma. So I'd have to make my code check whether or not there is a space and then put the userids in the array. So much more code for no actual reason as the functionality will be the same

nestoras χεχε, φχαριστώ Ελλαδάρα, ελλαδάρα αλλά μόνο εγώ κι άλλος ένας έλληνας, φτιάχνουμε hacks εδώ. Οι περισσότεροι έλληνες είναι εγωιστές και τα κρατάνε για τον εαυτό τους

Guys when do you think that I should get it out of beta if no other bugs are found?
Reply With Quote
  #30  
Old 11-18-2005, 05:58 PM
TygerTyger TygerTyger is offline
 
Join Date: Aug 2005
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I only mentioned it because it's very easy to do, stripping whitespace is a common form function.

http://uk2.php.net/trim

I just think consistency is helpful *shrug*

Seems a popular mod already by the way
Reply With Quote
  #31  
Old 11-18-2005, 06:01 PM
nestoras's Avatar
nestoras nestoras is offline
 
Join Date: Aug 2005
Location: Greece
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im getting this:
Quote:
Warning: Invalid argument supplied for foreach() in /referrers.php on line 93

Warning: Invalid argument supplied for foreach() in /referrers.php on line 100

Warning: Invalid argument supplied for foreach() in /referrers.php on line 113

Warning: Invalid argument supplied for foreach() in /referrers.php on line 120

Warning: Invalid argument supplied for foreach() in /referrers.php on line 133

Warning: Invalid argument supplied for foreach() in /referrers.php on line 149

Warning: Invalid argument supplied for foreach() in /referrers.php on line 156

Warning: arsort() expects parameter 1 to be array, null given in /referrers.php on line 162

Warning: Invalid argument supplied for foreach() in /referrers.php on line 163

what i did wrong??????
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:04 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.09406 seconds
  • Memory Usage 2,312KB
  • 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
  • (4)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