vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Removing reputation_*.gif in postbit? (https://vborg.vbsupport.ru/showthread.php?t=267717)

slobra 07-31-2011 06:35 AM

Removing reputation_*.gif in postbit?
 
Hey everyone, I don't want the reputation images to show up in the postbit. But, when I remove this code from the postbit_reputation template...

Code:

<img class="inlineimg" src="$stylevar[imgdir_reputation]/reputation_$posneg.gif" alt="$post[username] $post[level]" border="0" />

...the reputation system breaks. So, since I don't want an image to show I put this back...

Code:

<img class="inlineimg" border="0" />

...and the reputation functions correctly. Only problem is, Firefox doesn't care that there's no "src" specified but IE displays the missing image placeholders. I was going to put a transparent image in place of no image but then there is an ugly space in my postbit. How can I remove these images from the reputation system completely and still have it function correctly? Thanks! :D

Konstantinos 07-31-2011 07:06 AM

if u remove the image, how are ur members going to give rep to the others ?

Frosty 07-31-2011 09:43 AM

@Konstantinos
With the link?

slobra 08-01-2011 11:31 AM

What he said ^^^, with the link, just don't want the red/green dots involved. Internet Explorer gets angry if I remove the src from the img tag and the vBulletin gets angry if I remove the whole img tag. So I'm not sure what to do.

kiradotee 08-01-2011 11:43 AM

Maybe you can try this?

Code:

<div style:visibility="hidden">
<img class="inlineimg" src="$stylevar[imgdir_reputation]/reputation_$posneg.gif" alt="$post[username] $post[level]" border="0" />
</div>


:trollface:

Konstantinos 08-04-2011 05:53 PM

If you want to remove the green red bars then remove this from postbit

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></div></if>


All times are GMT. The time now is 05:24 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.01045 seconds
  • Memory Usage 1,716KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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