vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=134)
-   -   Referral ID in User CP (https://vborg.vbsupport.ru/showthread.php?t=90849)

noppid 12-07-2005 05:31 PM

Quote:

Originally Posted by ResaleBroker
A great big "Thank You" to Noppid for working out the hack that makes the number of referrals display properly in the UserCP. :up:

Glad to help. I take it you will post the 3.0.x fix I showed you since mine above was for 3.5.x? :rolleyes:

ResaleBroker 12-07-2005 05:39 PM

Quote:

Originally Posted by noppid
Glad to help. I take it you will post the 3.0.x fix I showed you since mine above was for 3.5.x? :rolleyes:

Yes, I have already revised the code in the original mod to reflect your changes. Thanks again! :)

zendiver 12-07-2005 05:51 PM

You said to add a hook at 'user_complete'. Not sure where you mean to add it. Sorry for the stupidity.

noppid 12-07-2005 05:54 PM

Quote:

Originally Posted by zendiver
You said to add a hook at 'user_complete'. Not sure where you mean to add it. Sorry for the stupidity.


I mistakenly thought this was a vB 3.5 hack. You don't have hooks in vB 3.0.x which this hack is for.

The instructions to fix this hack on vB 3.0.x are in the hack description at the top of this thread.

zendiver 12-07-2005 06:12 PM

So you can't use this in 3.5? Even if you go into and add a new hook?

zendiver 12-07-2005 06:36 PM

Well, I answered my own question. I went ahead and went to Add new plugin, chose 'usercp_complete', referenced with the text "Referral Amount", copied/pasted the php code, and it worked like a charm. Thanks noppid and thanks for the hack RB.

noppid 12-07-2005 06:39 PM

Quote:

Originally Posted by zendiver
Well, I answered my own question. I went ahead and went to Add new plugin, chose 'usercp_complete', referenced with the text "Referral Amount", copied/pasted the php code, and it worked like a charm. Thanks noppid and thanks for the hack RB.


Ok, Great, glad it worked out. I got confused, again. :surprised:

zendiver 12-07-2005 06:42 PM

So RB, now you can say that this actually works on vb 3.5.1 now, not just 3.0.7. :D

noppid 12-07-2005 06:55 PM

Quote:

Originally Posted by zendiver
So RB, now you can say that this actually works on vb 3.5.1 now, not just 3.0.7. :D

I have this packaged and ready to release as a vB 3.5 product when RB is ready. ;)

I have modified the phrase and USERCP Template add in code a bit as well. The box is still collaspable, but when collapsed, it still shows the referrer link for the member.

I also made the link just text. When the link was live, it was too easy to click and activate it while trying to copy and paste it.

zendiver 12-07-2005 06:59 PM

Same here...all packaged and ready, but I modified my results to not have all that text. Just what you see in the screen capture that I already posted.

Thanks for the work on this, both of you.


All times are GMT. The time now is 09:37 AM.

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.03046 seconds
  • Memory Usage 1,739KB
  • 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)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