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)
-   -   Referrer Statistics (https://vborg.vbsupport.ru/showthread.php?t=102452)

akanevsky 12-06-2005 10:00 PM

Referrer Statistics
 
I no longer support my hacks. Please feel free to update them and release new versions elsewhere as long as I get the credit for the original modification.

/*==================================*\
|| Referrer Statistics
||
|| Author : Anton Kanevsky
|| Works on : vBulletin 3.5 / 3.6
|| Released : Nov 22, 2006
||
|| Time required to install: 30 seconds
|| Difficulty: easy
\*==================================*/

DESCRIPTION

The modification enchances your vBulletin community with a sophisticated listing of referrers and users they have referred.

STATISTICS

File Uploads: 1
Template Changes: 1
Products to Install: 1


FEATURES
  • Referrers are sorted first by the amount of referred users and then by username.
  • Referred users are sorted by username.
  • On top of the page, there is a message offering to invite more users, which is helpful in terms of expanding your community.
  • Automatic integration with vS-Invites System.
  • Graphical representation of the amount of users referred by each referrer as a percentage of total referred users.

VERSION HISTORY

1.3.1
[+] The modification is now officially compatible with vBulletin 3.6.0 and above.
[+] Internal optimization of code: the script now finishes loading twice as fast compared to the previous version.

1.3.0
[+] Corrected a bug, which caused numerous error messages on a board with no referrers.
[+] Corrected a bug, which caused bar widths to be displayed incorrectly at 100%.

1.2.0
[+] Separate phrasegroup for the phrases used solely by this modification.
[+] Redesigned visual look.

1.1.0
[+] Corrected a minor template bug.

1.0.0
Initial Release

The installation manual is contained within the attached file.

IF YOU LIKE MY HACK, PLEASE CLICK INSTALL

Boofo 12-07-2005 09:25 PM

Didn't Michelle already release a hack that does this same thing?

Lea Verou 12-07-2005 09:26 PM

I can't believe this... This is almost identical to mine!!
Even the graphcal represenatation!!
And no credit at all... :(

Ok... I get it that it's due to your age... I hope you grow up to maturity in a few years... :(

Daniel 12-07-2005 10:25 PM

Because he made the same type of hack as you he is immature? Never heard that one before.

akanevsky 12-07-2005 10:59 PM

I do apologize for forgetting to put in the credits. That kind of missed my attention as I was concentrating on my homework :) The credits have been put in :)

I cannot say I agree on the immaturity part... Nice invention though.

Anyway, this is just an alternative. You didn't accept my code and I wanted to share it. Considering the fact that I gave you an opportunity to use this code as your own hack before you ever released it, I don't think it's such a big deal :)

Oh, and not that it is of a big importance, but my graphical formula is a bit different than yours.

Dead End Society 12-07-2005 11:49 PM

Wow this one works for me perfect, thanks! *Clicks Install*

The Chief 12-08-2005 01:21 AM

Installed but where is this supposed to show?? Where do we click to see this?

RMS-Chef 12-08-2005 04:17 AM

Any options on this?
For some reason I could not get Michelle's date range option to work properly and was hoping this one would. But it does not seem to have any options. Are there any plans to add any options to this?

Snake 12-08-2005 03:58 PM

Seems to be a copy of Michelle's hack but I'll check this out soon. Thanks!

lazyseller 12-08-2005 05:05 PM

Psionic Vision Thanks alot exactly what i was looking for...

clicked installed....

akanevsky 12-08-2005 08:35 PM

Quote:

Seems to be a copy of Michelle's hack but I'll check this out soon.
Won't seem that way after you compare the code :)

lazytown 12-09-2005 05:08 PM

Nice, but I still like Michelle's better. Plus you shouldn't really be copying her template without getting her permission first. Credit alone is not enough.

-vissa

akanevsky 12-09-2005 05:16 PM

Ok, then template will be changed to something else.

Injektilo 12-09-2005 10:12 PM

people register when i invite them... i am the referrer but, it doesnt show up in the statistics. why?

akanevsky 12-09-2005 10:22 PM

You must have mis-installed something in one of the hacks.

Injektilo 12-09-2005 10:25 PM

Quote:

Originally Posted by Psionic Vision
You must have mis-installed something in one of the hacks.


i just skipped the step for the navbar edit "<if condition="$show['registerbutton']">" because i found 2 of entries of this code, and didnt know which one to use :)

Snake 12-10-2005 12:00 PM

Quote:

Originally Posted by Psionic Vision
Ok, then template will be changed to something else.

And probably add more features & additions?

akanevsky 12-10-2005 12:00 PM

Like what?

Snake 12-10-2005 12:09 PM

You know...

akanevsky 12-10-2005 12:19 PM

Strangely enough, I do not...

Snake 12-10-2005 12:39 PM

Ever thought of guessing? :p

akanevsky 12-10-2005 12:45 PM

No...

akanevsky 12-10-2005 01:40 PM

<u>UPDATE: 1.2.0</u>

Changes: See First Post (and the screenshot)
To Upgrade:
1. Overwrite the Product XML
2. Re-upload the referrers.php file
3. Do the navbar template change described in the manual

Snake 12-10-2005 01:58 PM

That's more I like it! :)

Injektilo 12-10-2005 07:32 PM

Psionic Vision : any ideas for my problems please?

akanevsky 12-10-2005 07:36 PM

Quote:

Originally Posted by Injektilo
people register when i invite them... i am the referrer but, it doesnt show up in the statistics. why?

Did they specify you as a referrer?

Injektilo 12-10-2005 07:38 PM

Quote:

Originally Posted by Psionic Vision
Did they specify you as a referrer?


yes, they are also added automaticaly as my friends... the only thing is that it doesnt count in statistics

akanevsky 12-10-2005 07:44 PM

OK I'll check

akanevsky 12-10-2005 08:32 PM

Just checked, it does work for me... Try reinstalling the invites hack.

Injektilo 12-10-2005 11:29 PM

Quote:

Originally Posted by Psionic Vision
Just checked, it does work for me... Try reinstalling the invites hack.

still the same :(

VB-STYLE 12-11-2005 02:21 PM

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

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

any ideas for my problems please?

akanevsky 12-11-2005 02:25 PM

Hmm... Will the following fix the problem?

In referrers.php, find

PHP Code:

unset($refusercache); 

add above:

PHP Code:

if (!is_array($a_refusercache))
{
    eval(
standard_error(fetch_error('sorry_but_there_are_no_referrers_on_this_board')));



VB-STYLE 12-11-2005 04:12 PM

It's working fine now thanks. :)

akanevsky 12-11-2005 05:11 PM

UPDATE: Version 1.3.0

See changelog for details.
To upgrade, overwrite product XML and re-upload referrers.php.

LBSources 12-11-2005 05:46 PM

works great! thanks..

INSTALLED clicked

harry1951 12-12-2005 11:04 AM

Seems that it is not working correctly. I invited some people with your inviteshack. I see in my UCP that they accepted and registered, but I don't see them in the stats...

akanevsky 12-12-2005 05:44 PM

It is working fine for me..

harry1951 12-14-2005 11:12 AM

*clicks uninstall*

akanevsky 12-14-2005 08:37 PM

Since you clicked uninstall, you won't receive any support from now on.
Even though I know what the cause of the problem is. :)
You might want to check out the last item in the FAQ post of invite system hack though.

harry1951 12-14-2005 08:51 PM

Don't need your support anymore as I uninstalled it...


All times are GMT. The time now is 06:26 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.01436 seconds
  • Memory Usage 1,792KB
  • 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
  • (2)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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