View Full Version : I broke my ratings.
When I started playing with new styles, I seem to have broken the ratings on the thread listing page. I just get a "missing image" icon now, instead of the picture of stars.
I tried copying the 0-5stars.gif files into my new image/button directory, but that did not help.
A small clue should get me on my way.
Steve Machol
03-28-2002, 02:30 PM
I'm not familiar with that hack, but have you checked to make sure the images are world-readable, i.e., at least chmod the files to 644 and the directory to 775.
Issvar
03-28-2002, 03:07 PM
What you should do is go to your website, find a page that displays ratings, right click and do view source and find some text near a rating, like a username, so you don't have to search the whole file. Near that should be the image tag for your rating, something like: <img src="http://www.mysite.com/forum/images/5stars.gif" border="0" alt="1 votes - 5.00 average"> or <img src="images/5stars.gif" border="0" alt="1 votes - 5.00 average"> check if what you have actually points to an image, and you can more easily see what you should fix.
smachol, nice try. I forget about Linux security settings all the time. But that was not the problem.
Issvar, I did as you suggested, and I swore at you the whole time. Looking at vBulletin code is not like looking at any code a normal person would write. I would be shocked I could even find a plain old ordinary image tag. And looking for "5stars.gif" is just as useless, since the "5" is really a variable too. Everything is concatenated and variablized to the point that it almost encrypted (but not quite). It is certainly not childs play to dig into it, and from my perpective should be avioded as much as possible.
On my journey thru the source code, what my old wize eyes saw was a reference to an image file called "clear.gif" So besides copying over the stars files, I needed to copy over the clear.gif file. as well. So for you buttonset makers out there, please include some stars and a clear.gif in the zip file to make the images a complete set.
Now this becomes a thread with a clear and posted solution. I hope someday it helps some else who is searching thru the archives. Thank you both for your effort and nudging.
Issvar
03-30-2002, 02:44 PM
Searching can be done in any texteditor (menu edit, then find usually), even notepad... I tried it on this forum before I suggested it, and I didn't have problems then.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.