View Full Version : reputation images in postbit
The Wise One 30th December 2003, 07:25 AM the little icons that appear next to reputation...when more than one icon is displayed next to each other...there is a space between them...i dont like how this looks. i was looking thru the postbit template trying to find out a way to eliminate that space but am not having any luck...all i can find is $post[reputationdisplay]...
how can i eliminate this space between the little green icons?
himerus 30th December 2003, 08:44 AM You could probably create a new image, with flat sides, and no bevel or image enhancements, and upload it to images/reputation/reputation_pos.gif
They should appear side by side, it's just the way the design of the image that gives it the "space".
The Wise One 30th December 2003, 02:51 PM You could probably create a new image, with flat sides, and no bevel or image enhancements, and upload it to images/reputation/reputation_pos.gif
They should appear side by side, it's just the way the design of the image that gives it the "space".
thank you for the reply...but this is not the case. i have compared the image from here with the image included with the vb3g download. they are identicle...
Hoffi 30th December 2003, 03:19 PM Thats a good Question. In my Boards the Green Icons have more Space between them like here.
Floris 30th December 2003, 03:54 PM They are very tight to eachother by default.
If they appear different on your postbit, then you must have modified some code. check the default template to see which values are used to display the icons with css (for div/span/td/tr/table) and trace back where it went wrong on your modded postbit.
The Wise One 30th December 2003, 04:18 PM They are very tight to eachother by default.
If they appear different on your postbit, then you must have modified some code. check the default template to see which values are used to display the icons with css (for div/span/td/tr/table) and trace back where it went wrong on your modded postbit.
thanks for the reply. :)
i cant seem to track down the mistake...tho im not all that good at html/css.
i am using your modded "left align" postbit pretty much unaltered and still see the same thing...
i have included an attachment of the relevent chunk of my "top aligned" postbit. if you wouldnt mind...i would appreciate it if you could take a look to see where i am going wrong...
edit: i tried viewing it with a default style (no mods at all) and it still shows with that space...
Boofo 30th December 2003, 04:50 PM Chances are the space you are seeing is the background of the little image there. Most images gave at least a tiny space around them or they wouldn't look quite right and end up looking chopped off. All vBulletin buttons have always been link that. And being the images are so small, there's really no way around it without it looking really bad. You might try do a percent bar for the reputation. With a little calculating, it can be done. ;)
The Wise One 30th December 2003, 04:58 PM Chances are the space you are seeing is the background of the little image there. Most images gave at least a tiny space around them or they wouldn't look quite right and end up looking chopped off. All vBulletin buttons have always been link that. And being the images are so small, there's really no way around it without it looking really bad. You might try do a percent bar for the reputation. With a little calculating, it can be done. ;)
its not the image as noted in one of my previous posts...i have just installed a new (default) style and the images still have that space between them so im not so sure it is something i did in the postbit template...but im not sure where else to look.
Boofo 30th December 2003, 05:05 PM Did you change anything in this template?
reputation_reasonbits
I would think it almost has to be one of the reputaion templates, but I could be wrong. I usually am. ;)
The Wise One 30th December 2003, 05:09 PM Did you change anything in this template?
reputation_reasonbits
I would think it almost has to be one of the reputaion templates, but I could be wrong. I usually am. ;)
i checked in the user rep templates but couldnt find anything that would cause this. all the user rep templates are default.
thanks for the suggestion tho :)
Boofo 30th December 2003, 05:14 PM Can you post an image of what it is doing? That might help. (Or did you already do that and I missed it?)
The Wise One 30th December 2003, 05:26 PM Can you post an image of what it is doing? That might help. (Or did you already do that and I missed it?)
no...i havent posted one but am including one in this post.
The Wise One 30th December 2003, 05:33 PM if im reading the postbit right...
$post[reputationdisplay]
is the code responsible for displaying the images...where is that? what template does that call to?
Boofo 30th December 2003, 05:55 PM They have a brand new feature in Gamma 3. It's called "search templates". :D
Both postbits (postbit and postbit_legacy) is what you need. That's where the problem is. Looks to me like the cell might be messing things up, if that is a cell you have it in.
Boofo 30th December 2003, 05:58 PM Change:
<fieldset class="fieldset">
to this:
<fieldset>
and see if that solves the problem.
Boofo 30th December 2003, 06:01 PM Also, change this:
<div class="smallfont" valign="top">
<div valign="top">
to this:
<div class="smallfont" valign="top">
You don't need both of them right on top of each other.
The Wise One 30th December 2003, 06:24 PM thanks for the suggestions but none of them solved the problem...:(
where does the information come from when the script calls this?
$post[reputationdisplay]
where is that info?
Boofo 30th December 2003, 07:02 PM That postbit.txt file you posted isn't your whole postbit, is it?
The Wise One 30th December 2003, 07:19 PM That postbit.txt file you posted isn't your whole postbit, is it?
no its not...i can post it if need be.
Boofo 30th December 2003, 07:26 PM pm it to me and I will see if I can spot it.
The Wise One 30th December 2003, 08:01 PM pm it to me and I will see if I can spot it.
too long to send via PM. attaching it here.
i gotta step out for awhile but ill be back. thanks a bunch for the help :)
The Wise One 31st December 2003, 12:57 AM never mind...i fixed it...but ill be damned if i could tell you what i did...:o
thanks for all the help :D
now...if i could only figure out how to get my "Posts" column, in forum home, to align...ill be all set :cool:
|