Go Back   vBulletin Setup > vBulletinSetup Information > vBulletin Skins, Styles and Templates

Reply 
 
LinkBack Thread Tools Display Modes
Old 02-04-2008, 04:32 AM   #1
vBulletin Owner
 
Join Date: Jul 2007
Posts: 18
dtommy79 will become famous soon enough
Help with postbit

Hi,

I have a theme called smartbrown installed.
I installed vbcredits and when I modify the postbit template the text "Kredit" is not in the small brown box as, for example the number of posts or location etc.

See picture:


How do I have to modify the code so the phrase "Kredit" would appear in the brown box?

Here is the code I have to add to the postbit:

PHP Code:
<if condition="$show['credits_post']">
                        <
div>
                            
$vbphrase[credits]: <span id="cdt_$post[postid]_$post[userid]">$post[credits]</span> <if condition="$show['credits_donate']">[<a href="credits.php?$session[sessionurl]do=manage&amp;u=$post[userid]#donate">$vbphrase[donate]</a>]</if> <if condition="$show['credits_check']">[<a href="credits.php?$session[sessionurl]do=banking&amp;u=$post[userid]">$vbphrase[check]</a>]</if>
                        </
div>
                    </if> 
Here is the code for the rest of the userdeatailes from the postbit template:

PHP Code:
<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
                <if 
condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
                
$template_hook[postbit_userinfo_left]
                
            </
td>
            <
td width="100%">&nbsp;</td>
            <
td valign="top" nowrap="nowrap">
                
                <
div class="smallfont">
                    <if 
condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
                    <if 
condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
                    <if 
condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
                    <
div>
                        
$vbphrase[posts]: $post[posts]
                    </
div>

<if 
condition="$show['credits_post']">
                        <
div>
                            
$vbphrase[credits]: <span id="cdt_$post[postid]_$post[userid]">$post[credits]</span> <if condition="$show['credits_donate']">[<a href="credits.php?$session[sessionurl]do=manage&amp;u=$post[userid]#donate">$vbphrase[donate]</a>]</if> <if condition="$show['credits_check']">[<a href="credits.php?$session[sessionurl]do=banking&amp;u=$post[userid]">$vbphrase[check]</a>]</if>
                        </
div>
                    </if>
                    
$template_hook[postbit_userinfo_right_after_posts]
                    <if 
condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if> 
Tell me if you need something else.

Any help is appreciated.
Thank you
dtommy79 is offline   Reply With Quote

Advertisement [Remove Advertisement]

Old 02-05-2008, 04:18 PM   #2
vBulletin Owner
 
valdet's Avatar
 
Join Date: Jan 2008
Location: Kosova
Posts: 282
valdet is a jewel in the rough
Send a message via Yahoo to valdet
It looks like you need to add the smallfont class around the conditional

Try this one.
Code:
<div class="smallfont">
<if condition="$show['credits_post']">
<div>
$vbphrase[credits]: <span id="cdt_$post[postid]_$post[userid]">$post[credits]</span> <if condition="$show['credits_donate']">[<a href="credits.php?$session[sessionurl]do=manage&amp;u=$post[userid]#donate">$vbphrase[donate]</a>]</if> <if condition="$show['credits_check']">[<a href="credits.php?$session[sessionurl]do=banking&amp;u=$post[userid]">$vbphrase[check]</a>]</if>
</div>
</if>
</div>
Good luck,
Val.
valdet is offline   Reply With Quote
Old 02-08-2008, 08:25 AM   #3
vBulletin Owner
 
Join Date: Jul 2007
Posts: 18
dtommy79 will become famous soon enough
Re: Help with postbit

Hi,

Thanks for the answer.
I tried the above solutions but none worked.
So what should I do?
dtommy79 is offline   Reply With Quote
Reply 
vBulletin Setup > vBulletinSetup Information > vBulletin Skins, Styles and Templates

Tags
postbit

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
postbit link this hollyboy vBulletin Services 3 08-06-2009 02:23 PM
How can this be accomplished? Postbit GregS Troubleshooting vBulletin Problems 1 01-21-2009 02:52 AM
Need postbit help trumpetmaster vBulletin Skins, Styles and Templates 6 07-16-2008 03:06 AM
Postbit View IzNChar vBulletin Modifications 2 04-23-2008 07:31 PM
Postbit Question ARKphoenix Troubleshooting vBulletin Problems 2 09-25-2007 09:51 AM


All times are GMT -8. The time now is 07:26 PM.