PDA

View Full Version : 2 fairly quick questions in postbit_legacy


DJDynasty239
02-10-2013, 12:38 AM
I am using the vertical postbit_legacy

The 2 questions I have is how do I make boxes around the other stats that make it look all the same?

http://imageshack.us/photo/my-images/801/postbitscreen.jpg/ <---- screen shot of my current postbit

The second question is, I have tried the search in phrases but I wanna change "vCash" to "Fan Cash" and I'm not sure how to do that.

Thanks to anyone who can help out because I am having a hard time figuring this out!

LifesGreatestGift
02-10-2013, 12:52 AM
you need to open the templates(or plugins) that those mods use to insert the code into the postbit and wrap the 'stats' in the same DOM element that the default style (your custom postbit style) uses.

DJDynasty239
02-10-2013, 01:10 AM
you need to open the templates(or plugins) that those mods use to insert the code into the postbit and wrap the 'stats' in the same DOM element that the default style (your custom postbit style) uses.

The problem is that I can't find the coding. I was able to do it when I was using vBulletin 3 back in the day, but vB 4 is foreign to me which is hurting my progress lol

I'm scrolling through the coding of the postbit_legacy and I don't see anything like "cells" or anything like it would show in the older vBulletins.

Any advice you can give me?

LifesGreatestGift
02-10-2013, 01:25 AM
For starters

open template blog_postbit_entries_link

REPLACE ALL WITH
<div class="eti_postbit">
{vb:rawphrase blog_entries} : <a href="{vb:link blog, {vb:raw post}, null, 'userid', 'blog_title'}">{vb:raw post.entries}</a>
</div>

--------------- Added 1360463392 at 1360463392 ---------------

Then go to

AdminCP->Plugins and Products->Plugin Manager->

edit the file with the
Title: vBookie: Add Cash to Postbit
Hook Location: postbit_display_complete


REPLACE ALL WITH
if (($this->registry->options['vbookieactive']) && ($this->registry->options['vbookiecash']=="vCash") && ($this->registry->options['vbookiecashon']))
{
$template_hook[postbit_userinfo_right_after_posts] .= "<div class='eti_postbit'>" . $vbphrase['vbookie_vcash'] . " : " . $post['vbookie_cash'] . "</div>";
}