vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   vB REFERRER 1.0 (https://vborg.vbsupport.ru/showthread.php?t=95950)

bi11i 09-11-2005 05:06 PM

Quote:

Originally Posted by Brinnie
Which is better?

I think they're both identical...?

adamgessel 09-12-2005 02:03 AM

That other one is for 3.0.7, isn't it? This one is for RC2 & RC3...

adamgessel 09-12-2005 02:05 AM

Yeah... if you're referring to the one at https://vborg.vbsupport.ru/showthread.php?t=90849, this is for a different version of vbulletin. This hack I made completely by myself, I didn't use anybody else's code, and as far as I know, nothing has been made like this for vbulletin 3.5. Correct me if I'm wrong...

bi11i 09-12-2005 02:59 AM

Quote:

Originally Posted by adamgessel
That other one is for 3.0.7, isn't it? This one is for RC2 & RC3...

They both accomplish the same thing and I'm 99% that they'll both work in either version. This one involves less work, as there are no phrase additions, only a template edit.

Neutral Singh 09-12-2005 04:40 AM

In the hack information, please uncheck the Code Changes checkbox, as that would discourage many people from installing this mod. ;) Thanks

Brinnie 09-13-2005 07:52 AM

Quote:

Originally Posted by adamgessel
Yeah... if you're referring to the one at https://vborg.vbsupport.ru/showthread.php?t=90849, this is for a different version of vbulletin. This hack I made completely by myself, I didn't use anybody else's code, and as far as I know, nothing has been made like this for vbulletin 3.5. Correct me if I'm wrong...

Oh cool. :)
Hey, I'm not sure if this would would be just a template modification or take a new plugin, but it's just one of those ideas that pops into my head. Would it be easy to have group promotions based on referrals?

That way, you could give entice users to referr people to get custom titles or something. :)

Boofo 09-13-2005 08:18 AM

Quote:

Originally Posted by Brinnie
Oh cool. :)
Hey, I'm not sure if this would would be just a template modification or take a new plugin, but it's just one of those ideas that pops into my head. Would it be easy to have group promotions based on referrals?

That way, you could give entice users to referr people to get custom titles or something. :)

Sure. You could just do some conditionals in the template and have it call phrases you set up for each usergroup. Is that what you meant? ;)

KuRi 09-13-2005 09:33 PM

there was a bit of a conflict in this template mod whereby the collapse button was conflicting with the collapse button for subscribed threads preventing that one from working...(both buttuns would collapse the referrals bit)

allso where the link is and you have www.yourforum.com/forum this could be reaplaced with $vboptions[bburl]

Code:

<!-- ############## START REFERRER BY ADAM GESSEL ####################  -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="7">
<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>
<a href="register.php?referrerid=$bbuserinfo[userid]">Refer Friends URL</a><span class="normal"></span>
</td>
</tr>
</thead>
<tbody id="collapseobj_usercp_reflink" style="$vbcollapse[collapseobj_usercp_reflink]">
<tr>
<td class="alt1" align="center" colspan="7"><b>Invite your friends to join our forum by linking them here via the following link:</b> <br /><a href="register.php?referrerid=$bbuserinfo[userid]">$vboptions[bburl]/register.php?referrerid=$bbuserinfo[userid]</a></td>
</tr>
</tbody>
</table>
<br />
<!-- ############## END REFERRER BY ADAM GESSEL ####################  -->


adamgessel 09-14-2005 12:55 AM

Thanks, KuRi, I thought I sorted that out but I guess not... I'll update it now.

KuRi 09-14-2005 01:07 AM

no problem at all!! :):)


All times are GMT. The time now is 06:16 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.01336 seconds
  • Memory Usage 1,741KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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