vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - UserCP Referral ID and Count (https://vborg.vbsupport.ru/showthread.php?t=202533)

Phaedrus 01-24-2009 01:49 AM

Quote:

Originally Posted by C138 Kaysone (Post 1722749)
Well imma put mine on disable and see what yours is like different from the one i have

Cool. :up:

paintballer.ie 01-24-2009 06:48 PM

Quote:

Originally Posted by Phaedrus (Post 1720046)
I haven't added that one, it just counts it doesn't show who you referred. Hmm... An idea...

I'll see what I can do.

Installed. Nice mod.

Allowing people to see who they have refferred indeed would be a great feature :)

SVTCobraLTD 01-24-2009 06:53 PM

Works on 3.6.11! Thank you.

Phaedrus 01-25-2009 01:43 AM

Quote:

Originally Posted by paintballer.ie (Post 1723565)
Installed. Nice mod.

Allowing people to see who they have refferred indeed would be a great feature :)

Yeah, I've just got to get some time to really dig in and start adding to it. I'll work on it.

Phaedrus 01-25-2009 01:44 AM

Quote:

Originally Posted by SVTCobraLTD (Post 1723572)
Works on 3.6.11! Thank you.

That's great! I'm glad there's somebody using it on that version.

veenuisthebest 01-27-2009 03:50 PM

I remember Boofo's mod (in grave now) that does and look the same. It had a bug of showing 1 extra referral count.

This one's good. Thanks :)

veenuisthebest 01-28-2009 06:11 PM

Your mod will show incorrect referral count as vbulletin also block usergroups 3 and 4 to not to be included. Change the query to this:-

[sql]$refcount = $db->query_first("SELECT COUNT(*) AS count FROM " . TABLE_PREFIX . "user WHERE referrerid = '".$vbulletin->userinfo['userid']."' AND usergroupid NOT IN (3,4)");[/sql]

Phaedrus 01-28-2009 07:48 PM

Quote:

Originally Posted by veenuisthebest (Post 1727439)
Your mod will show incorrect referral count as vbulletin also block usergroups 3 and 4 to not to be included. Change the query to this:-

LOL. I didn't think of people who hadn't gone through verification.

Danke, and updated.

Julie 02-02-2009 07:21 PM

Very nice, installed! :)

lasto 02-02-2009 09:35 PM

Installed on 3.8 seems fine so far


All times are GMT. The time now is 04:59 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.01025 seconds
  • Memory Usage 1,732KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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