Extra Image in Postbit for Users
This modification is in the archives.
Add a 'sidebar' image to your postbit.
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> 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 --> <<<REMEMBER TO CHANGE $post[fieldX] TO THE PROPER PROFILE FIELD NUMBER!!>>> REMEMBER TO CLICK INSTALL Download No files for download. Screenshots |