vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Reputation layout (https://vborg.vbsupport.ru/showthread.php?t=138831)

Bratz-Designs 02-07-2007 10:00 PM

Reputation layout
 
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
Code:

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

Replace with
Code:

                                                        <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

PHP Code:

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

With


PHP Code:

<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....


All times are GMT. The time now is 03:50 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01063 seconds
  • Memory Usage 1,742KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete