![]() |
e-steki Referrer Statistics
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
|
Very nice! Installed!
http://www.fireblades.org/forums/referrers.php Found two problems though: If you are using the File System for avatars, you get a broken link at the top left. Also, on the right, it looks like their needs to been 1 added to the colspan in the header. Keep up the good work! |
Quote:
I see no problem with the colspan. Maybe you are referring to the welcome panel? Cause guests can't see that... Maybe a test login would be useful :) Also feel free to suggest any ideas that come to mind! :) |
Yes, the Welcome Panel.
It had: Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> |
And the above could have just been caused by the image not being displayed, since I use the file system for avatars. Any ideas on that part?
|
Oh, did I forget the rowspan there? :o
I was planning to add another line but I didn't and the rowspan remained there. I'm going to fix it thanks :) I'll see what I can do about the avatar. Any help from a coder is really appreciated on that part. Do you also have usernames that should be formatted but aren't? I was trying to find what causes that the whole night but no luck... :( |
Usernames seem to be formatted correctly from what I can tell.
|
I've been waiting for this :D Thanks, going to install!!
|
Quote:
|
Quote:
|
Also, I added this above the table:
Code:
<if condition="$pagenav"> Code:
<br/> Code:
<if condition="$pagenav"> |
Ah yes I hadn't thought of adding it above the table as well :)
Thanks a lot. I think I also found a solution for the avatar problem! :) |
I decided to just pull the avatar out of the display anyway, so I'm all set.
|
Product updated:
-Applied Conqsoft's fixes -Removed the avatar To update just re-import the product XML |
zip file updated. The problem with the formatted usernames in the referrer column is fixed! Hooray!!! :D
Just overwrite the php file :) |
Yep, that fixed it on mine.
Thanks |
Kinda related to this, has any seen a hack to allow users to edit the referral field via their User CP? A lot of my users were brought over from another system, so they weren't able to give credit to the person that referred them.
|
I don't think there exists one cause only those like us who have switched from another forum system need it and I don't think that's the majority :(
|
Thank you very much! :D
|
Thanks much.
Clicked Install |
Quote:
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 :) |
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.
|
It has a setting already that may help you with that:
Quote:
|
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. :) |
I gave it a try, works perfectly. Great stuff, thanks, not a man :D
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. |
Yep it's working all good. Looks like there aren't any bugs to report so far. ;)
|
Nice hack Michelle!thanks!i click install!!
Ελλαδαρα ρε!!!! |
Quote:
nestoras χεχε, φχαριστώ :D Ελλαδάρα, ελλαδάρα αλλά μόνο εγώ κι άλλος ένας έλληνας, φτιάχνουμε hacks εδώ. Οι περισσότεροι έλληνες είναι εγωιστές και τα κρατάνε για τον εαυτό τους :( :mad: Guys when do you think that I should get it out of beta if no other bugs are found? |
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 :D |
im getting this:
Quote:
what i did wrong?????? |
Well I suppose you can do it right now as the mod is working just fine. ;)
|
Quote:
Tygertyger: Hmmm I could possibly trim the whitespace and use as a separator the commas to store the values in the array! I knew the function trim but I just thought of that! I could also use str_replace for that... Thanks for the idea :D It will be included in the next version. Popular mod already?? It only has 19 installs :( Aftermath, then probably the next version will be Gold of no errors are found till then :) |
ok!i get it!
|
Lovely hack.
Thanks a lot^^ /me clicks install |
This Hack Was Already Created... Michelle Changed Some Of The Layouts And Coding Then Turn Around And Called It Hers... But Cant Give Credit...
Good Job U Sooo Called Coder.... I Hate People Like You.... Stay In Greece.... |
This hack looks NOTHING like the one you did.
|
gspot, this hack is completely different. If you can't determine if a code is or is not similar to yours then that's not my problem.
I got my idea from ExtProof's thread in Modification Requests some months ago, and when I learned php I made it. Simple as that. Do you really think your idea was soooo unique that it is not possible that someone else made the same thing without being aware of your hack? ;) Btw how is "Stay In Greece...." an insult? :p Oh and about the title "Coder" that I have: I never said that I'm a php expert. I have been learning php for only some days (or weeks) and I have to struggle most of the times to make something that an advanced coder would make in minutes. And because of this I am so certain that my code has nothing to do with yours, even before I looked at yours. Cause my code does not "comply to standards" as I don't know how to make it to do so. My code is not super-optimized cause I can't make it super-optimized. In fact my code is quite messy -as I said before- but, it works and that's enough for me to publish it :) . But if the vb.org admins have decided that someone like me should have a Coder title, well, I won't deny it :) PS: Look at my other hacks. I always give credit when I have to. But I will NEVER give credit when I don't have to. Being a spoiled brat is not a reason to receive credits. |
Hack out of beta.
Added Tygertyger's suggestion and the usergroupids are now separated by commas. :) To upgrade overwrite the product XML and the php file. :) |
The date cutoff does not seem to be working right for me.
I am running a contest and you can see the referrer numbers generated from the ACP and the numbers with the same cutoff displaying nothing like it. See attached. I entered the format correctly and stuff. I am running v3.5.1 on a Linux box. Any ideas? |
That's really strange...
Do you have any other hacks installed? Especially any that have to do with referrals? PS: Wow, you must have a really active community!! So many referrals in just one week! Wow!! |
All times are GMT. The time now is 06:30 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|