PDA

View Full Version : Reputation layout


Bratz-Designs
02-07-2007, 10:00 PM
Change your reputation layout

Hey all,

This is a very simple modification of the reputation layout. For more info simply look at the screenshot that is attached.

V 1.0.0

In postbit or postbit_legacy

Find
<div class="info"><if condition="$show['reputation']">
<if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower] </if>
$post[reputationdisplay]
</if></div><br />

Replace with
<div class="info"><strong>Reputation:</strong> $post[reputation]
<a href="reputation.php?$session[sessionurl]p=$post[postid]" onclick="return reputation($post[postid])"><img src="$stylevar[imgdir_reputation]/neg.gif" border="0" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" /></a>
<a href="reputation.php?$session[sessionurl]p=$post[postid]" onclick="return reputation($post[postid])"><img src="$stylevar[imgdir_reputation]/pos.gif" border="0" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" /></a></div><br />

Now upload the images into you reputation directory.

Bratzer

romanticyao
02-09-2007, 04:56 AM
looks good

Mudvayne
02-09-2007, 05:50 AM
Why should I delete the reppower & the if condition?

stigz
02-10-2007, 07:04 PM
it dont matter anyway you can always get it back by clickin on the default

Ahsin1
02-11-2007, 05:54 PM
How abut replacing it with this

<div class="info"><if condition="$show['reputation']">
<if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower] </if>
$post[reputationdisplay]
</if></div><br />

With


<if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span>

<a href="reputation.php?$session[sessionurl]p=$post[postid]" onclick="return reputation($post[postid])"><img src="$stylevar[imgdir_reputation]/pos.gif" border="0" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" /></a></div><br />



</div></if>




:)

ktutorials
03-18-2007, 06:16 AM
bratzer its cool man.... thanks a lot... can u post some battle mods... i need few...

Bratz-Designs
03-18-2007, 08:13 AM
If you will press the installed button :P

Bratzer

ktutorials
03-18-2007, 12:50 PM
yeah mate... don't worry... i am ur fan... here after all i get here i wil make as mark as installed...

Bratz-Designs
03-25-2007, 01:57 PM
ok, thanks :)

Atakan KOC
03-26-2007, 06:31 AM
Thanks....