The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Threaded view in flat view solution
According to my suggestions earlier, I am happy to share with you the code of this modification which I consider as very important. Simply, after you start using it, you'll never want to stop using it! No more worries to know which post a message is in reply to - a link will show the post and a post number will show it too. It's easy to look at the author of the message a reply is posted to when reading it. No need to quote message ever. And all this while using flat view.
The code: Go to Plugins & Products - Plugin manager and add a new plugin: Location is "postbit_display_complete" with any title. Paste this code: Code:
$parent = $this->registry->db->query_first("SELECT username FROM " . TABLE_PREFIX . "post WHERE postid='" . $this->post['parentid'] . "'"); Go to your postbit template and find <!-- / status icon and date --> </div> Between these two lines insert: Code:
<if condition="$post[postcount]!=1">      Re: <a href="showpost.php?$session[sessionurl]p=$post[parentid]&postcount=0" target="new" rel="nofollow" id="post$post[parentid]">$parent[username]</a> </if> Code:
<if condition="$show['messageicon'] OR $post['title']"> Code:
<if condition="$post['title']"> Currently there is a little known glitch - Announcement also show "Re:" but I hope it can be fixed easily. This code works great but could be improved additionally. It was made by me and webmazter who took the money but never finished the code according to the requirements. I suggest that you don't do business with him - he is now hiding and not reading his PM's. Anyway, the idea was to add the post number (parent message postcount) like that: Re User (#xx). It has been agreed that the best way to do this was to add an array where postcount increases by one and the array would match the current message id with its postcount. This should be very easy to be done and I would be happy to see if someone makes it. Okay, if you like this mod, and I'am sure you will, you can donate 5 $/?/€ or 1 $/?/€ or 10 $/?/€ or more or whatever other amount you consider fair because I paid for this mod. You can do so by e-gold to 2688581.e-gold.com or moneybookers to line848-cc AT yahoo.com or by ecocard: 1009122413 USD 1044223645 GBP 1088447290 EUR Paypal does not like me and I don't like them either (see paypalsucks.com) so these are the payment methods. Thanks and enjoy the improvement. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|