PDA

View Full Version : Show Thread Enhancements - MyBB Style Postbit


Hasann
08-02-2008, 10:00 PM
[phpBB] MYBB STYLE POSTBIT by Hasann

This Product brought to you by
www.vBulletin-TR.Com (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 :p

Added Buttons:


Add x to Your Contacts button
Send a PM to X button
Send an E-Mail to x button
Visit x's Homepage! button
Find all posts by x button


Install:

Find in Postbit Template this 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

<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
www.vbulletin-turkey.com (http://www.vbulletin-turkey.com)

Hasann
08-03-2008, 06:06 AM
you can see a live demo click here (http://www.vbulletin-tr.com/forum/1-post1.html) :)

luffy
08-03-2008, 07:39 AM
good jobs , Instelled

Cornie
08-03-2008, 08:07 AM
Instelled :D

kaptanblack
08-03-2008, 08:12 AM
Installed, thanks hasann.

Cornie
08-03-2008, 08:34 AM
for german user with tms-xml :D

Hasann
08-03-2008, 09:15 AM
Installed, thanks hasann.
sag ol ?zg?r?m eksik olma :)
for german user with tms-xml :D

danke f?r den tms plugin :D

iBlazee
08-03-2008, 04:59 PM
Nice. But, can you make one like phpBB3 postbit style?

Hasann
08-04-2008, 01:34 AM
Nice. But, can you make one like phpBB3 postbit style?

OKay buddy I'll make for you :D

bxbigt
08-04-2008, 02:59 AM
what am i missing looks the same as vb

Hasann
08-04-2008, 03:13 AM
what am i missing looks the same as vb

read the Description above :D

EagleNick
08-04-2008, 03:19 AM
Are there options to set which of those buttons we want to show?

If so, this is fantastic and I will be using it! :D

iBlazee
08-04-2008, 04:45 AM
OKay buddy I'll make for you :D

Sweet. Thanks a lot man, I really appreciate it. :)

Pcwolfx?
08-04-2008, 05:15 PM
Perfect. İnstalled.

RotasızKaptan
08-05-2008, 07:14 PM
Teşekk?rler Hasan. Emeğine Sağlık :)

kaptanblack
08-05-2008, 07:41 PM
Teşekk?rler Hasan. Emeğine Sağlık :)

Kaptan T?rk?e yazma istersen, kızıyolar :D

Thank you very much again :D:D

RotasızKaptan
08-06-2008, 07:41 AM
Kaptan T?rk?e yazma istersen, kızıyolar :D

Thank you very much again :D:D

Oke kaptanblack. Sorry :)
Hasann thank you. İnstalled.

dreads
08-07-2008, 05:17 PM
very nice :D

soundbarrierpro
08-07-2008, 07:20 PM
Yes, very nice. Nice little add.

**Marked Installed**

eTiKeT?
09-01-2008, 05:14 AM
Vire Nice Thanks ;) İnstalled

Teşekk?rle Hasan Ellerine Saglık :D

mesdar
12-12-2008, 05:28 AM
thanks

installed

Graphictr
01-20-2009, 05:27 PM
thanks hasann.

Emrah Kaya
01-20-2009, 06:33 PM
Teşekkürler Hasann .

Thanks Hasann.

GSeybold
01-23-2009, 02:27 AM
Works great on my defaults! Thank so much!

Gabby

Coleccromos
01-30-2009, 04:43 PM
How could this change in time under the top post to avoid having to move it in case of a very long post.

Thanks

eTiKeT?
02-16-2009, 05:24 AM
edit....

zombietom
03-29-2009, 01:23 AM
thanks!