SMFHacks.com

SMF Gallery Pro => Support => Bugs => Topic started by: Vincent Volmer on November 13, 2008, 05:17:39 am

Title: v2.0.4 Regenerate thumbnails
Post by: Vincent Volmer on November 13, 2008, 05:17:39 am
 
With: "Use point total instead of stars for ratings" unchecked I get an error;

Code: [Select]
Fatal error: Call to undefined function GetStarsByPrecent() in /shared/usr/xxxxxxxxxx/DOMAIN/HTML/2/Sources/Load.php(1938) : eval()'d code on line 5051

Sometimes also when viewing an image in the gallery.

Regards,
Vincent.
 
Title: Re: v2.0.4 Regenerate thumbnails
Post by: SMFHacks on November 14, 2008, 08:29:07 pm
Fixed for 2.0.5
Title: Re: v2.0.4 Regenerate thumbnails
Post by: Pegasys on March 23, 2010, 01:23:48 pm
In a slightly related subject... exactly what file is the GetStarsByPrecent function located in?



Title: Re: v2.0.4 Regenerate thumbnails
Post by: SMFHacks on March 23, 2010, 01:47:07 pm
SMF 1.1.x Gallery.php
SMF 2.0.x Subs-Gallery2.php
Title: Re: v2.0.4 Regenerate thumbnails
Post by: Pegasys on March 23, 2010, 02:37:24 pm
Opps!  I guess not so related...

Same question... but for Downloads.

Thanks.


EDIT:  DOH!!  Never mind. Found it. If it was a snake, it would have bit me.

Thanks!!

Title: Re: v2.0.4 Regenerate thumbnails
Post by: SMFHacks on March 23, 2010, 02:44:53 pm
Would be in the Downloads.php file.
Title: Re: v2.0.4 Regenerate thumbnails
Post by: Pegasys on March 23, 2010, 04:25:25 pm
Version 2...  its actually in the downloads2.template.php file.

Thanks again.     [insert salute smiley here]


* Reason I asked is, by default, it uses the same star.gif image as the forum ranks badges. If you change that icon, it changes it also for the Downloads section. Of course, only after I recode the downloads template to use a different icon, do I realize that I could just have changed the rank badge icon in the admin panel.   DOH !!