Back to vBulletin 3.7 Template Modifications

MyBB Style Postbit
Mod Version: 1.00, by Hasann

This modification is in the archives.
vB Version: 3.7.x Rating: (4 votes - 5.00 average) Installs: 37
Released: 03 Aug 2008 Last Update: 03 Aug 2008 Downloads: 132
Supported Template Edits Re-usable Code Translations  

[phpBB] MYBB STYLE POSTBIT by Hasann

This Product brought to you by
http://www.vbulletin-tr.com

Description: this is a very small postbit template modification

DEMO: http://www.vbulletin-tr.com/forum/1-post1.html

This modification add some (5) buttons to your postbit and it looks like MyBB Postbit

Added Buttons:
  1. Add x to Your Contacts button
  2. Send a PM to X button
  3. Send an E-Mail to x button
  4. Visit x's Homepage! button
  5. Find all posts by x button

Install:

Find in Postbit Template this code

HTML Code:
        <div style="margin-top: 10px" align="$stylevar[right]">            <!-- controls -->            <if condition="$post['editlink']">                <img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />                <a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>            </if>            <if condition="$post['forwardlink']">                <a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>            </if>            <if condition="$post['replylink']">                <a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>            </if>            <if condition="$show['multiquote_post']">                <a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>            </if>            <if condition="$show['quickreply'] AND !$show['threadedmode']">                <a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>            </if>            <if condition="$show['moderated']">                <img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />            </if>            <if condition="$show['spam']">                <img src="$stylevar[imgdir_misc]/spam_detected.png" alt="$vbphrase[spam_post]" border="0" />            </if>            <if condition="$show['deletedpost']">                <if condition="$show['managepost']">                    <a href="postings.php?$session[sessionurl]do=managepost&amp;p=$post[postid]"><img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[manage]" border="0" /></a>                <else />                    <img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />                </if>            </if>            <if condition="$show['redcard']">                <a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>            <else />                <if condition="$show['yellowcard']">                    <a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>                </if>            </if>            $template_hook[postbit_controls]            <!-- / controls -->        </div>    <!-- message, attachments, sig -->    </td></tr></table>$template_hook[postbit_end]
Than replace this code

HTML Code:
<br /><tr><td class="alt1"><span style="float:$stylevar[left]"><if condition="$show['pmlink']">    <a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/sendpm.gif" alt="<phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase>" border="0" /></a></if>                <if condition="$show['emaillink']">            <a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/email.gif" alt=" <phrase 1="$post[username]">$vbphrase[send_message_via_email_to_x]</phrase>" border="0" /></a></if><if condition="$show['homepage']"><a href="$post[homepage]" target="_blank" dir="ltr"> <img class="inlineimg" src="$stylevar[imgdir_button]/home.gif" alt="<phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase>" border="0" /></a></if><if condition="$show['search']"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/find.gif" alt="<phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase>" border="0" /></a></if><if condition="$post['userid'] AND $show['member']"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><img class="inlineimg" src="$stylevar[imgdir_misc]/skype_addcontact.gif" alt="<phrase 1="$post[username]">$vbphrase[add_x_to_contacts]</phrase>" border="0" /></a></if></span><span style="float:$stylevar[right]">            <!-- controls -->            <if condition="$post['editlink']">                <img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />                <a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>            </if>            <if condition="$post['forwardlink']">                <a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>            </if>            <if condition="$post['replylink']">                <a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>            </if>            <if condition="$show['multiquote_post']">                <a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>            </if>            <if condition="$show['quickreply'] AND !$show['threadedmode']">                <a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>            </if>            <if condition="$show['moderated']">                <img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />            </if>            <if condition="$show['spam']">                <img src="$stylevar[imgdir_misc]/spam_detected.png" alt="$vbphrase[spam_post]" border="0" />            </if>            <if condition="$show['deletedpost']">                <if condition="$show['managepost']">                    <a href="postings.php?$session[sessionurl]do=managepost&amp;p=$post[postid]"><img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[manage]" border="0" /></a>                <else />                    <img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />                </if>            </if>            <if condition="$show['redcard']">                <a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>            <else />                <if condition="$show['yellowcard']">                    <a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>                </if>            </if>            $template_hook[postbit_controls]            <!-- / controls --></span></td></tr>    <!-- message, attachments, sig --></td></tr></table>$template_hook[postbit_end]
Enjoy it
Hasann
http://www.vbulletin-turkey.com

Download

This modification is archived, downloads are still allowed.

File Type: %1$s MyBB_Style_Postbit.zip (94.3 KB, 132 downloads)

Supporters / CoAuthors

  • Hasann

Screenshots

Click image for larger version
Name:	Postbit.jpg
Views:	1818
Size:	47.7 KB
ID:	84961  

Similar Mods

[MyBB] MyvBulletin Admin CP Style vBulletin 3.7 Admin CP Styles

vblts.ru supports vBulletin®, 2022-2024