vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   e-steki Referrer Statistics (https://vborg.vbsupport.ru/showthread.php?t=101000)

Lea Verou 11-16-2005 10:00 PM

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
  • 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.

ConqSoft 11-17-2005 12:46 PM

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!

Lea Verou 11-17-2005 12:52 PM

Quote:

Originally Posted by ConqSoft
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!

Thanks a lot Conqsoft! I had started to get disapointed cause there were no replies and this hack is the one I put most effort in than all my other hacks :o

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! :)

ConqSoft 11-17-2005 12:54 PM

Yes, the Welcome Panel.

It had:
Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_reflink')"><img id="collapseimg_usercp_reflink" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_reflink].gif" alt="" border="0" /></a> <phrase 1=$bbuserinfo[username] 2=$vboptions[bbtitle]>{$vbphrase[refstats_welcome]}</phrase></td>
</tr>
</thead>
<tbody id="collapseobj_usercp_reflink" style="$vbcollapse[collapseobj_usercp_reflink]">
<tr>
<td rowspan="2" class="alt2">
<img src="image.php?u=$bbuserinfo[userid]" border="0"></td>
<td class="alt1" align="center" colspan="7">$bbuserinfo[avatar] <b>$vbphrase[refstats_invite]</b> <br />
  <a href="register.php?referrerid=$bbuserinfo[userid]">$vboptions[bburl]/register.php?referrerid=$bbuserinfo[userid]</a></td>
</tr>
</tbody>
</table>

Removing the bold parts seems to have corrected it.

ConqSoft 11-17-2005 12:56 PM

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?

Lea Verou 11-17-2005 12:59 PM

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... :(

ConqSoft 11-17-2005 01:00 PM

Usernames seem to be formatted correctly from what I can tell.

trancetopia 11-17-2005 01:27 PM

I've been waiting for this :D Thanks, going to install!!

Lea Verou 11-17-2005 01:27 PM

Quote:

Originally Posted by ConqSoft
Usernames seem to be formatted correctly from what I can tell.

shouldn't yours for example be red?

ConqSoft 11-17-2005 01:29 PM

Quote:

Originally Posted by Michelle
shouldn't yours for example be red?

Ah yes, I was only looking in the other column. :D


All times are GMT. The time now is 11:24 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
  • Page Generation 0.01402 seconds
  • Memory Usage 1,742KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete