Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
I broke my ratings. Details »»
I broke my ratings.
Version: , by galt galt is offline
Developer Last Online: May 2009 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 03-28-2002 Last Update: Never Installs: 0
 
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 03-28-2002, 02:30 PM
Steve Machol's Avatar
Steve Machol Steve Machol is offline
 
Join Date: Nov 2001
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 03-28-2002, 03:07 PM
Issvar Issvar is offline
 
Join Date: Mar 2002
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 03-29-2002, 12:49 AM
galt galt is offline
 
Join Date: Mar 2002
Location: USA
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 03-30-2002, 02:44 PM
Issvar Issvar is offline
 
Join Date: Mar 2002
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:22 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.03900 seconds
  • Memory Usage 2,229KB
  • Queries Executed 18 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete