The Arcive of vBulletin Modifications Site. |
|
vB REFERRER 1.0 Details »»
|
|||||||||||||||||||||||||
This modification is made for vBulletin 3.5 RC2, but probably also works for RC3.
Very simple to install. =========================== DEMO BOARD =========================== You can see a demo at: http://www.forumfreedom.net/forum =========================== DESCRIPTION =========================== This will add a link to the UserCP that tells every user what his/her reffering link is so that they can invite friends. Later version will include ability to send the e-mail from the forum itself. This hack is very simple. =========================== INSTALL =========================== Time: Less than a minute Difficulty: Easy =========================== Let me know what you think. It's nothing advanced, just thought it could come in handy for some people. PLEASE CLICK INSTALL! UPDATE: NO LONGER TAKES ANY FILE EDITS! Supporters / CoAuthors Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
I'd love to use this hack, but is there any way to do it without editing the php files directly? How about just a template edit? Is it possible?
|
|
#3
|
||||
|
||||
|
Yeah, a Template Edit would do as well:
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_subthreads')"><img id="collapseimg_usercp_subthreads" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_subthreads].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_subthreads" style="$vbcollapse[collapseobj_usercp_subthreads]">
<tr>
<td class="alt1" align="center" colspan="7">Invite your friends to our forum by sending them to: <a href="register.php?referrerid=$bbuserinfo[userid]">http://www.yourforum.com/forum/register.php?referrerid=$bbuserinfo[userid]</a></td>
</tr>
</tbody>
</table>
<br />
<!-- ############## END REFERRER BY ADAM GESSEL #################### -->
|
|
#4
|
||||
|
||||
|
I've been using this one on v3.5 and it seems to work pretty well: https://vborg.vbsupport.ru/showthread.php?t=90849 (sorry, not to take away from this modification, I'm willing to bet they could be combined for an update.)
|
|
#5
|
||||
|
||||
|
There is no reason for a code edit at all on this one.. Good idea though.
|
|
#6
|
|||
|
|||
|
Was this that hack I requested in the other thread?
|
|
#7
|
|||
|
|||
|
Yeah, I could've done it without any file edits. I'll update it and make it so that there aren't any.
|
|
#8
|
|||
|
|||
|
Alright... hack was updated. Now there aren't any file modifications.
|
|
#9
|
||||
|
||||
|
Quote:
|
|
#10
|
|||
|
|||
|
I could use a hack like this, thanks!
|
![]() |
|
|