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
  #102  
Old 12-01-2005, 03:10 PM
Annie^.^ Annie^.^ is offline
 
Join Date: Sep 2005
Location: Canada
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ConqSoft
It has a setting already that may help you with that:

Thank you for your reply to my post and sorry for the long reply back to yours....

I didn't noticed that it was there. Ok today I tried it and I set it to 01-12-2005 and if there is no refferal then I get this error on the top of the page.

Quote:
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
I will try to update it to the latest version and see if it fix the problem.
Reply With Quote
  #103  
Old 12-01-2005, 03:15 PM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Annie (hopefully) that bug is fixed in the last version
Reply With Quote
  #104  
Old 12-01-2005, 03:18 PM
Annie^.^ Annie^.^ is offline
 
Join Date: Sep 2005
Location: Canada
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Michelle
Annie (hopefully) that bug is fixed in the last version

I just installed the newer version and the error doesn't show up anymore. Thank you so much for this hack!!! You have been wonderfull support and a great coder.
Reply With Quote
  #105  
Old 12-01-2005, 03:19 PM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Annie^.^
I just installed the newer version and the error doesn't show up anymore. Thank you so much for this hack!!! You have been wonderfull support and a great coder.
Thank you so much Annie!!!
Reply With Quote
  #106  
Old 12-02-2005, 07:39 PM
Annie^.^ Annie^.^ is offline
 
Join Date: Sep 2005
Location: Canada
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Me again. I know is not your responsibility but you might could help. I thought I give it a try.
I installed an invitation addon to your addon.
https://vborg.vbsupport.ru/showthread.php?t=101801
I get this error if noone has been reffered.

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

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

Warning: Invalid argument supplied for foreach() in /referrers.php on line 174
This is my site http://www.bikerstalkonline.com/forum/referrers.php
Reply With Quote
  #107  
Old 12-02-2005, 07:48 PM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I merely had noticed the addon listed here, lol.

Psionic Vision will help you better with that since I have never looked at his code. :nervous:

Perhaps adding a @ before each function will supress error messages, although I've never tried this myself, I have only read it in a book
Reply With Quote
  #108  
Old 12-02-2005, 07:51 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Uh.. Michelle, I believe that it a problem with your hack.
You need to check whether your referrer array is empty before you do a foreach(). Otherwise PHP will complain that you are working on a non-array.

Quote:
I installed an invitation addon to your addon.
It is not an "addon for addon". It's a separate hack. It's not listed anymore, I removed it.
Reply With Quote
  #109  
Old 12-02-2005, 07:55 PM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Psionic Vision that bug with my hack was fixed at the new version, as Annie admitted above.

I have no clue of that addon system and I don't understand a thing you ever told me about it to be honest :nervous:
Reply With Quote
  #110  
Old 12-02-2005, 08:04 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As you can see, referrer.php still gives out errors. So there is a problem with your hack. I could just assure you that my hack doesn't affect yours in any way.

Quote:
I have no clue of that addon system
When you edit your hack, there is field which says "addon for thread", where you can specify the ID of the original thread. Then your hack will be listed in that thread. It's kind of stupid, because sometimes two hacks are linked by theme, but they are not add-ons, and them being listed as "addons" is a misconception... I am going to post about it in site feedback, too.

Quote:
Perhaps adding a @ before each function will supress error messages
Yes, althought it will, it is recommended that a software would have some kind of error prevention.
Reply With Quote
  #111  
Old 12-02-2005, 08:10 PM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes but Annie said that after installing your hack the problem occured

Thanks about the addon thing and I agree with you for the "addon" misconception.
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 03:35 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.08123 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
  • (8)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