how to add an extra image to postbit

dj_slim

New Member
hi all can you please help me out with this

how can i add an extra image to the bottom of postbit legacy just for one user group under rep as i need this for my vip members

thanks in advance :confused:
 
katnip said:
there r a mod 4 it
<< ROFL

try addin this to ur postbit legacy:

Code:
<if condition="($bbuserinfo[usergroupid]=='X')">
<img blah blah>
</if>

the usergroupid == X, X is whichever usergroup ur group is in.
 
Well what i found was this:

http://www.vbulletin.org/forum/showthread.php?t=125600

Staff / User ranking for postbit!

What this does is enable a staff or user rank via template modifications, its so simple that it doesnt require no plugin and anybody can do it! For a live demo visit;

Link: http://forum.ragezone.com/outerworld...mg-167121.html

########################################

installation guide

Login to your admin panel and go to your postbit template (or legacy)

Find:

Code:
<div class="vb_postbit_info">$vbphrase[posts]: $post[posts]</div>

add above:

Code:
<!-- MentaL -- Ranking -->
<if condition="$post[usergroupid] == 6"><div class="vb_postbit_info"><b>Rank:</b> Administrator</div></if>
<if condition="$post[usergroupid] == 7"><div class="vb_postbit_info"><b>Rank:</b> Moderator</div></if>
<if condition="$post[usergroupid] == 5"><div class="vb_postbit_info"><b>Rank:</b> Super Moderator</div></if>
<! -- MentaL -- Ranking -->

Then you can just edit the vip usergroup, and add image instead of text.



------

And this:

http://www.vbulletin.org/forum/showthread.php?t=143152

What it does:
Adds a second user selected image to the postbit which is just like an avatar but appears at the bottom of the postbit. Great fun for larger communities with expressive users.

Concerns:
This doesnt have the same restrictions as an avatar, so giant images could be placed inside the area given, which means you'll have to do some moderation to keep people inline and if needed - restrict access to sidebars for some members.


Instructions:
Step 1:
User Profile Fields > Add New User Profile Field - Single Line Text Box

Title: Sidebar
Description: Enter the URL of your sidebar image here

Keep the default values the same.

Now record the value given to this profile field! (Example: Field15) You'll need it for the template edit.


Step 2:
Edit Template: postbit_legacy & postbit

Find:
Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>

Below add:
Code:
<!-- SIDEBAR -->
<if condition="$post[field14]"><div style="padding:$stylevar[cellpadding]px"><img class="inlineimg" src="$post[field14]" border="0" padding="2" /></div></if>
</-- SIDEBAR -->
 
Back
Top