MyBB Community Forums

Full Version: 1.6.7 Thread Rating and Stars dont show
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
My forum is of a clan.
When I upgrade to version 1.6.7, I had the following problem:
You do not see Thread Rating and Stars
what happened???
thanks.
http://xtremers.tk/
example:
http://xtremers.tk/Forum-FAQs
http://xtremers.tk/Thread-translate-to-english-american
NOTE: I do the update using SOFTACULOUS

...
<link type="text/css" rel="stylesheet" href="http://xtremers.tk/cache/themes/theme4/star_ratings.css" />
...

but doesnt show the next

		<!-- start: forumdisplay_threadlist_rating -->
	<td class="tcat" align="center" width="80">
		<span class="smalltext"><strong><a href="dfdfdsdsdf...fdfsdfsdf">PuntuaciĆ³n</a> </strong></span>
		<script type="text/javascript" src="jscripts/rating.js?ver=1400"></script>
		<script type="text/javascript">
		<!--
			lang.stars = new Array();
			lang.stars[1] = "1 estrella de 5";
			lang.stars[2] = "2 estrellas de 5";
			lang.stars[3] = "3 estrellas de 5";
			lang.stars[4] = "4 estrellas de 5";
			lang.stars[5] = "5 estrellas de 5";
		// -->
		</script>
	</td>

<!-- end: forumdisplay_threadlist_rating -->

In the forumdisplay_threadlist_rating (templates) say
<td class="tcat" align="center" width="80">
		<span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=rating&amp;order=desc">{$lang->rating}</a> {$orderarrow['rating']}</strong></span>
		<script type="text/javascript" src="jscripts/rating.js?ver=1400"></script>
		<script type="text/javascript">
		<!--
			lang.stars = new Array();
			lang.stars[1] = "{$lang->one_star}";
			lang.stars[2] = "{$lang->two_stars}";
			lang.stars[3] = "{$lang->three_stars}";
			lang.stars[4] = "{$lang->four_stars}";
			lang.stars[5] = "{$lang->five_stars}";
		// -->
		</script>
	</td>
Have you disabled the thread rating via phpMyAdmin?

If so trying doing this:
(2008-12-03, 11:40 AM)MattRogowski Wrote: [ -> ]In PHPMyAdmin, run this query:

UPDATE mybb_forums SET allowtratings = '1' WHERE allowtratings = '0'

Make sure your table prefix, mybb_ here, is correct. Now, if you look in the settings for each forum, the option to allow threads to be rated will be unticked... but, the thread ratings column still shows in forums.

Exclamation

To fix that, go to 'ACP > Tools & Maintenance > Cache Manager' find forums and click Rebuild Cache.
(2012-04-16, 02:21 AM)Known Wrote: [ -> ]Have you disabled the thread rating via phpMyAdmin?
No, I dont disabled the thread rating via phpMyAdmin.
The problem is after upgrading MyBB.
And I was look in ACP/ Forum Settings /Display Options forum
This part has disappeared.
----------------------------------
Use Thread Ratings?
Allow users to rate threads?
Yes No
----------------------------------
view the picture.
[Image: attachment.php?aid=25952]

And in the database mybb_forums, allowratings for all is 1
Please help me, please.
Huh
Check that your css stylesheets are correctly updated. I had this on a couple of themes - I saw what the name of the missing style sheet was and then created a new stylesheet (with the correct name) in that theme and it fixed it.

So go to your theme and check that you have a star_ratings.css. If you dont, then just add a style sheet, call it star_ratings.css and hit save. Don't worry about the other options.
I'm having this same issue... could you give a step by step on what to do?
Sometimes the star images path is set wrong check your global css
The star_ratings.css cache already exists so that's not the problem.

Check that Yes, allow threads to be rated is checked in the forum settings.
Check whether stars are located in images folder?
(2012-04-16, 07:58 AM)Leefish Wrote: [ -> ]Check that your css stylesheets are correctly updated. I had this on a couple of themes - I saw what the name of the missing style sheet was and then created a new stylesheet (with the correct name) in that theme and it fixed it.

So go to your theme and check that you have a star_ratings.css. If you dont, then just add a style sheet, call it star_ratings.css and hit save. Don't worry about the other options.

Thank you for your answer. But that's not the problem, I have such stylesheets star_ratings.css

[Image: egs4zt.gif]

(2012-04-16, 01:37 PM)Alan Shepperson Wrote: [ -> ]The star_ratings.css cache already exists so that's not the problem.

Check that Yes, allow threads to be rated is checked in the forum settings.

in the forum settings, that option does not exist.
[Image: attachment.php?aid=25952]
I mean the individual forum settings:

ACP >> Forums & Posts >> Forum Management >> Options > Edit Forum >> Miscellaneous Options
Pages: 1 2