Chadi
04-23-2009, 10:00 PM
Postbit Mini Box: Member Info Icons
This added a nice little white box in postbit_legacy displaying 5 mini icons that link to the members profile areas:
view profile
view album
add to contacts
view social groups
See screenshot for a preview.
Installation
Step #1 Edit postbit_legacy
Find:
<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>Above that code, add
<div align="center" class="postbit-mini-box">
<a href="member.php?$session[sessionurl]u=$post[userid]" title="View Public Profile">
<img src="images/buttons/folder_user.png" alt="View $post[username]'s Profile" style="border:0" /></a>
<a href="album.php?u=$post[userid]" title="View $post[username]'s Album" rel="nofollow">
<img src="images/buttons/add_album.png" alt="View $post[username]'s Photo Album" style="border:0" /></a>
<a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]" title="Add $post[username]'s to Your Contacts" rel="nofollow">
<img src="images/buttons/heart_add.png" alt="Add $post[username]'s to Your Contacts" style="border:0" /></a>
<a href="http://www.talkjesus.com/groups/" title="Social Groups">
<img src="images/buttons/social.png" alt="View Social Groups" style="border:0" /></a>
</div>
Step #2: Add CSS Info
Go to style manager > main css > Additional CSS Definitions (2nd box).
Add this:
.postbit-mini-box {
border:1px dotted #E0E0F6;
font-size:11px;
color:#4D528C;
background-color:white;
padding:3px;
margin-left: auto;
margin-right: auto;
}
Step #3:
Upload the the 4 icons found inside the attached image.zip file to your /forum-path/images/buttons folder
Philippians 3:7
"But what things were gain to me, those I counted loss for Christ."
Check out my other mods:
Mods
Thread Listing by Letter with ABC Navigation Menu (https://vborg.vbsupport.ru/showthread.php?t=211939)
Text Background Highlight (https://vborg.vbsupport.ru/showthread.php?t=211940)
ESV Bible Verse with Audio (https://vborg.vbsupport.ru/showthread.php?t=211936)
My Shelfari Bookshelf Profile Tab (https://vborg.vbsupport.ru/showthread.php?t=212050)
Postbit Mini Box: Member Info Icons (https://vborg.vbsupport.ru/showthread.php?t=212052)
MixPod Playlist MP3 Player in Profile (https://vborg.vbsupport.ru/showthread.php?p=1801014)
Styles
Green Earth Admin Style (https://vborg.vbsupport.ru/showthread.php?p=1801526)
Purple Element Admin Style (https://vborg.vbsupport.ru/showthread.php?t=212035)Please show your appreciation by voting and clicking install :up:
This added a nice little white box in postbit_legacy displaying 5 mini icons that link to the members profile areas:
view profile
view album
add to contacts
view social groups
See screenshot for a preview.
Installation
Step #1 Edit postbit_legacy
Find:
<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>Above that code, add
<div align="center" class="postbit-mini-box">
<a href="member.php?$session[sessionurl]u=$post[userid]" title="View Public Profile">
<img src="images/buttons/folder_user.png" alt="View $post[username]'s Profile" style="border:0" /></a>
<a href="album.php?u=$post[userid]" title="View $post[username]'s Album" rel="nofollow">
<img src="images/buttons/add_album.png" alt="View $post[username]'s Photo Album" style="border:0" /></a>
<a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]" title="Add $post[username]'s to Your Contacts" rel="nofollow">
<img src="images/buttons/heart_add.png" alt="Add $post[username]'s to Your Contacts" style="border:0" /></a>
<a href="http://www.talkjesus.com/groups/" title="Social Groups">
<img src="images/buttons/social.png" alt="View Social Groups" style="border:0" /></a>
</div>
Step #2: Add CSS Info
Go to style manager > main css > Additional CSS Definitions (2nd box).
Add this:
.postbit-mini-box {
border:1px dotted #E0E0F6;
font-size:11px;
color:#4D528C;
background-color:white;
padding:3px;
margin-left: auto;
margin-right: auto;
}
Step #3:
Upload the the 4 icons found inside the attached image.zip file to your /forum-path/images/buttons folder
Philippians 3:7
"But what things were gain to me, those I counted loss for Christ."
Check out my other mods:
Mods
Thread Listing by Letter with ABC Navigation Menu (https://vborg.vbsupport.ru/showthread.php?t=211939)
Text Background Highlight (https://vborg.vbsupport.ru/showthread.php?t=211940)
ESV Bible Verse with Audio (https://vborg.vbsupport.ru/showthread.php?t=211936)
My Shelfari Bookshelf Profile Tab (https://vborg.vbsupport.ru/showthread.php?t=212050)
Postbit Mini Box: Member Info Icons (https://vborg.vbsupport.ru/showthread.php?t=212052)
MixPod Playlist MP3 Player in Profile (https://vborg.vbsupport.ru/showthread.php?p=1801014)
Styles
Green Earth Admin Style (https://vborg.vbsupport.ru/showthread.php?p=1801526)
Purple Element Admin Style (https://vborg.vbsupport.ru/showthread.php?t=212035)Please show your appreciation by voting and clicking install :up: