Back to vBulletin 3.7 Template Modifications

Affiliate links for each user on first post
Mod Version: 0.01, by cosy

This modification is in the archives.
vB Version: 3.7.x Rating: (0 vote - 0 average) Installs: 3
Released: 27 Aug 2008 Last Update: Never Downloads: 0
Not Supported Uses Plugins Template Edits Re-usable Code Is in Beta Stage  

i know that is not big deal but n00bs like me need some time to make this things

first u have to make a new plug-in to get user names
Hook Location: global_complete
Title: bla bla
Execution Order: 5

Code:
$output = str_replace('[123username321]', $vbulletin->userinfo['username'], $output);
this will replace [123username321] whit user names, u can put a random number just encase someone post that
this work on any version but 3.7.3 have ad_showthread_firstpost_sig and ad_showthread_firstpost_start
on this templates u add
Code:
[123username321] this thread: $thread[title] is sponsored by<a href="http://www.xnamex.com">xnamex</a>
if u just need clicks u can use this trick
Code:
[123username321] u can read more about $thread[title] <a href="http://www.site.com">here</a>
if want to display only to some user groups use this
Code:
<if condition="  is_member_of($bbuserinfo,array(6,5))">

u can see on the second foto it look very "natural"
&stc=1&d=1219851057
&stc=1&d=1219851057

Download

No files for download.

Screenshots

Click image for larger version
Name:	template.gif
Views:	319
Size:	6.6 KB
ID:	86114   Click image for larger version
Name:	test.jpg
Views:	345
Size:	31.9 KB
ID:	86115  


vblts.ru supports vBulletin®, 2022-2024