Version: 1.1, by Lea Verou
Developer Last Online: Jul 2012
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.
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.
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.
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.
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
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.
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.