vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Referral links? (https://vborg.vbsupport.ru/showthread.php?t=152381)

Tanabe 07-16-2007 03:32 AM

Referral links?
 
I'm looking for a hack on 3.6.7 that lets users know what their referral link is. Instead of my trying to explain it in a thread I think it would be more use full to just make a thread stating where they can find their referral link. Is there anything like this?

I rather have a hack like this instead of repeating answers to repeated questions :S

I know how the referral links work such as mine would be

http://forum.captainluffy.com/register.php?referrerid=1

Just looking for a hack that can show members how to find the link instead of telling how create one ><

Dismounted 07-16-2007 04:30 AM

Where do you want the link displayed?

Tanabe 07-16-2007 04:51 AM

Any where is fine. Just so I don't have to keep telling people how to make one and what their user id is :S

Dismounted 07-16-2007 04:59 AM

Put this anywhere in a template:
Code:

http://forum.captainluffy.com/register.php?referrerid=$bbuserinfo[userid]

Tanabe 07-16-2007 06:21 AM

Thank you very much! I wanted to put it on my User CP

with the My Referral Link text in the <td class="tcat" colspan="2"> My Referral Link </td>

and the actuall refferal link in a box. Yet I can't figure out how to do that :S

This is what I came up with so far ><

Code:

<!-- ############## MY REFERRAL LINK ##############  -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> My Referral Link
<thead>

<td class="tcat" colspan="2">
http://forum.captainluffy.com/register.php?referrerid=$bbuserinfo[userid]

                </td>
        </tr>
</tbody>
</table>
<br />
<!-- ############## END MY REFERRAL LINK ##############  -->


Dismounted 07-16-2007 06:47 AM

Where in your User CP? Could you do a screenshot?

Tanabe 07-16-2007 09:18 PM

1 Attachment(s)
I was wondering if it could be like the New Subscribed Threads box

Where it says "New Subscribed Threads" there would be My Referral Link

and in the box would be the actual user referral link.

Dismounted 07-20-2007 12:21 PM

Try
HTML Code:

<!-- ############## MY REFERRAL LINK ##############  -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
    <tr><td class="tcat">My Referral Link</td></tr>
</thead>
<tbody>
    <tr><td class="alt1">http://forum.captainluffy.com/register.php?referrerid=$bbuserinfo[userid]</td></tr>
</tbody>
</table>
<br />
<!-- ############## END MY REFERRAL LINK ##############  -->


Alfa1 07-21-2007 09:37 PM

Many thanks.

Fireproof 07-21-2007 10:24 PM

I just installed this hack:
https://vborg.vbsupport.ru/showthrea...hlight=referal

Seems to do what you want. Just add the XML product and you are done.


All times are GMT. The time now is 01:17 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.01296 seconds
  • Memory Usage 1,734KB
  • 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_code_printable
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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