|
Thread Rating CSS Issue - How To Fix
|
|
09-09-2008, 10:21 PM
(This post was last modified: 09-19-2008 09:35 PM by MattRogowski.)
Post: #1
|
|||
|
|||
|
Thread Rating CSS Issue - How To Fix
I have seen many questions asking how to fix this problem when viewing a subforum or a thread:
![]() This is caused by the CSS (Cascading Style Sheet) for the thread ratings not being included in your theme. Basically the ratings show as plain HTML as there is no style for them, and we all need a bit of style. This is a very simple fix, and now, I will show you how to do it. First, you must go to your ACP. Choose Templates and Styles from the top menu, and then Themes. Click your theme, and then on the new page that you see, click 'Add Stylesheet'. You will then see this page (click to enlarge): Type in the name box, 'star_ratings.css'. Make sure the 'Globally' option is selected. Click 'Write my own content', and paste in the CSS found here: http://community.mybboard.net/cache/them...atings.css Then save the stylesheet. You should now see your thread ratings displaying properly. I hope this is helpful - if anyone has any problems, please post in this thread rather than making a new one, and I, or someone else, will assist you. I would also appreciate it if I am not PM'd about this - I will check this thread regularly to see if anyone is having any problems. Also post in here if you feel anything should be explained better or something's missing.
My Personal Site - Twitter MyBB Support Team Ille qui nos omnes servabit. |
|||
|
09-10-2008, 06:01 PM
Post: #2
|
|||
|
|||
|
RE: Thread Rating CSS Issue - How To Fix
well done mate..
thanks for the fix.
الدعم العربى تطوير منتديات MyBB - كتب ودروس وملحقات الـ Php - دروس وكتب الـ XHTML - تطوير المواقع والمنتديات - ارسال الموقع الى محركات البحث - اشهار المواقع - برامج كمبيوتر - العاب كمبيوتر - برامج الجوالات وتعريبها Cheap Web Hosting |
|||
|
09-10-2008, 08:21 PM
Post: #3
|
|||
|
|||
|
RE: Thread Rating CSS Issue - How To Fix
Excellent m8 just what the doctor ordered
|
|||
|
09-10-2008, 08:40 PM
Post: #4
|
|||
|
|||
|
RE: Thread Rating CSS Issue - How To Fix
Thank you
My Personal Site - Twitter MyBB Support Team Ille qui nos omnes servabit. |
|||
|
09-11-2008, 01:39 AM
Post: #5
|
|||
|
|||
|
RE: Thread Rating CSS Issue - How To Fix
Thanks Matt
If like me, you had 'star_ratings.css' missing, you may be missing other files. I only had global.css listed in "Stylesheets in MyBB Default" modcp.css http://community.mybboard.net/cache/them.../modcp.css showthread.css http://community.mybboard.net/cache/them...thread.css usercp.css http://community.mybboard.net/cache/them...usercp.css star_ratings.css http://community.mybboard.net/cache/them...atings.css Follow same procedure as in Matt's first post with each file. I hope I am not missing any ![]() Regards Gordon Surface Engineering Forum
|
|||
|
09-11-2008, 02:54 AM
(This post was last modified: 09-14-2008 05:12 PM by scylla.)
Post: #6
|
|||
|
|||
|
RE: Thread Rating CSS Issue - How To Fix
To get rid of the rating completely here's what you have to do:
Step 1: Goto Admin CP --> Templates & Style --> Templates --> Default Templates Now expand Show Thread Templates --> showthread_ratethread Choose full edit, delete everything in there and paste this in it's place: After you pasted this, move on to step 2 in this post. Code: <!--Step 2: Now open Forum Display Templates --> forumdisplay_thread_rating And again choose full edit and replace all of the coding in it with this: Code: <!--One last step that I just worked out to completely remove it: open --> forumdisplay_threadlist and copy & paste this Code: <div class="float_left">And here is what the end result will look like: http://codeshq.site88.net/cheat-codes-f-32.html VGChat Hosting | Watch over 10,000 videos of free streaming anime! |
|||
|
09-11-2008, 07:48 AM
(This post was last modified: 09-11-2008 08:08 AM by MattRogowski.)
Post: #7
|
|||
|
|||
RE: Thread Rating CSS Issue - How To Fix
(09-11-2008 01:39 AM)Gordone Wrote: Thanks Matt You're completely right. I have seen a few User CPs and Mod CPs with the menu on the left showing as just plain links - if you have this problem, like Gordone said, use the procedure in the first post, but change the name and the actual CSS you use ![]() (09-11-2008 02:54 AM)scylla Wrote: To get rid of the rating completely here's what you have to do:True, nice fix. I have, however, found one small error (click to enlarge): To fix, remove the --> from the very end of the second piece of code. Code: <!--<td align="center" class="{$bgcolor}" id="rating_table_{$thread['tid']}"> <ul class="star_rating{$not_rated}" id="rating_thread_{$thread['tid']}"> <li style="width: {$thread['width']}%" class="current_rating" id="current_rating_{$thread['tid']}">{$ratingvotesav}</li> </ul> <script type="text/javascript"> <!-- Rating.build_forumdisplay({$thread['tid']}, { width: '{$thread['width']}', extra_class: '{$not_rated}', current_average: '{$ratingvotesav}' }); // --> </script></td>My Personal Site - Twitter MyBB Support Team Ille qui nos omnes servabit. |
|||
|
09-11-2008, 02:47 PM
(This post was last modified: 09-11-2008 03:17 PM by scylla.)
Post: #8
|
|||
|
|||
|
RE: Thread Rating CSS Issue - How To Fix
Hmm. I don't see that error on my boards. Are you sure you followed the directions closely? And also, is this when your viewing a forum, or when your viewing threads?
Hmm... I found another error that needs fixing. When adding an announcement it adds another column to the right of the last post column when viewing forums.... VGChat Hosting | Watch over 10,000 videos of free streaming anime! |
|||
|
09-11-2008, 04:05 PM
Post: #9
|
|||
|
|||
|
RE: Thread Rating CSS Issue - How To Fix
I saw that when I was viewing threads, as far as I can remember.
Yeah I just noticed that too, wondered what that was
My Personal Site - Twitter MyBB Support Team Ille qui nos omnes servabit. |
|||
|
09-11-2008, 04:23 PM
(This post was last modified: 09-11-2008 04:23 PM by Dennis Tsang.)
Post: #10
|
|||
|
|||
RE: Thread Rating CSS Issue - How To Fix
(09-11-2008 02:47 PM)scylla Wrote: Hmm... I found another error that needs fixing. When adding an announcement it adds another column to the right of the last post column when viewing forums.... That's probably an issue with your theme. Do you have any customized templates in the Forum Display Templates group? Please post this issue in a new thread if are still having problems. MyBB is on Facebook and Twitter |
|||
|
« Next Oldest | Next Newest »
|
Search
Member List
Calendar
Help
![[Image: threadratingtk1.jpg]](http://img166.imageshack.us/img166/654/threadratingtk1.jpg)





![[Image: arcanim2.gif]](http://www.gordonengland.co.uk/img/arcanim2.gif)

