vb.org Archive

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

Bratz-Designs 02-08-2006 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

Smiry Kin's 02-09-2006 08:20 PM

hmm i don't like the way this is set out - sorry, but if you could help! how do i make it go below i can't find where to put a <br>

Bratz-Designs 02-09-2006 08:22 PM

Hey,

Sorry i didnt understand what you ment :) Plz try to rephrase and ill try to awnser :)

bashy 02-09-2006 08:31 PM

installing

Snake 02-09-2006 08:48 PM

Excellent!

LincolnForums 02-09-2006 09:33 PM

Quote:

Originally Posted by Bratz-Designs
Hey,

Sorry i didnt understand what you ment :) Plz try to rephrase and ill try to awnser :)


i think he wants the reputation squares below the rep

The Chief 02-10-2006 12:32 AM

I love it, and it really looks like the Gamerenders.com one :)

Bratz-Designs 02-10-2006 05:27 AM

Quote:

Originally Posted by Smiry Kin's
hmm i don't like the way this is set out - sorry, but if you could help! how do i make it go below i can't find where to put a <br>

Then use this code ;)

Code:

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


bashy 02-12-2006 07:52 AM

Thats the original code is it not...
Your idea is good but it does wipe out the rep pips :(

Thanks anyway...reverting back

Quote:

Originally Posted by Bratz-Designs
Then use this code ;)

Code:

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



Bratz-Designs 02-17-2006 05:27 AM

Quote:

Originally Posted by bashy
Thats the original code is it not...
Your idea is good but it does wipe out the rep pips :(

Thanks anyway...reverting back

If you want it to show the rep pines let me know and ill try to make that work.

ubblite 02-28-2006 02:45 AM

I like this modification because my postbit is already long enough as it is & this eliminates another line. Nice job in my book!

ubblite 02-28-2006 06:57 AM

One thing I just noticed that's missing in this are the reputation comments when hovering your mouse over the old Pip display. Could you put this back in so when a user hovers their mouse over the bold text which says "Reputation" it will display a comment? That would really finish off this Mod perfectly.

I've included an attached .jpg just to make it clear.

Killer_Charge 03-09-2006 02:24 PM

lol, i probbaly sound like a noob here, but i cannot get this to work. my site is www.neronix.com, plz help bratz!

Bratz-Designs 03-10-2006 05:26 PM

Quote:

Originally Posted by ubblite
One thing I just noticed that's missing in this are the reputation comments when hovering your mouse over the old Pip display. Could you put this back in so when a user hovers their mouse over the bold text which says "Reputation" it will display a comment? That would really finish off this Mod perfectly.

I've included an attached .jpg just to make it clear.

Ill work on it :)

oninuva 05-15-2006 07:34 PM

great post... installed :D

rjmjr69 02-07-2007 05:13 AM

ok this is most likely a dumb question but With the new arrows that get installed does a member click say the green one to increase a rep and the red to lower it? I would love the pips below as well

Xplorer4x4 02-08-2007 08:55 AM

Quote:

Originally Posted by rjmjr69 (Post 1176571)
ok this is most likely a dumb question but With the new arrows that get installed does a member click say the green one to increase a rep and the red to lower it? I would love the pips below as well

If you want pips below (not tested) but try this:
FIND:
PHP Code:

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

And REPLACE with:
PHP 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 />
$post[reputationdisplay

That should put the pips below. If you want to move the pips around try moving $post[reputationdisplay] around in that code.


All times are GMT. The time now is 06:07 AM.

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.01240 seconds
  • Memory Usage 1,775KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (17)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