MyBB Community Forums
[How To?] Change stars on a special theme. - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html)
+------ Thread: [How To?] Change stars on a special theme. (/thread-133251.html)



Change stars on a special theme. - zakoschris - 2013-01-22

How do I change the user's star image If I'am using a special theme. The theme I'am using is searching for the default stars for some reason and I'am looking for the area to change where the theme looks for stars. Any kind of help would make my day. Thanks!


RE: Change stars on a special theme. - WebDevandPhoto - 2013-01-22

Suggestion.
This is what I do to quickly find things in my theme to change:
Export theme to XML file.
Search XML file for every line of code that references the item in question (in your case the default star rating image).
Then simply change the item to what you want it to be (in your case a new image and image sprite).

Good luck.


RE: Change stars on a special theme. - zakoschris - 2013-01-22

Its not there. I'am looking for the stars the are under our username. I know how to change them for the defualt theme but for a diffent theme no.


RE: Change stars on a special theme. - effone - 2013-01-22

Use the variable {theme} to make user stars theme specific.
Then the path of star will be set to the theme's image directory only.

Say if you are using the theme "mytheme" with the theme image path set to "images/mytheme" and you place this in your "User Stars" field:

{theme}/star.png

The user star path will be set to:
http://yoursite.com/images/mytheme/star.png


RE: Change stars on a special theme. - zakoschris - 2013-01-22

(2013-01-22, 08:36 AM)effone Wrote: Use the variable {theme} to make user stars theme specific.
Then the path of star will be set to the theme's image directory only.

Say if you are using the theme "mytheme" with the theme image path set to "images/mytheme" and you place this in your "User Stars" field:

{theme}/star.png

The user star path will be set to:
http://yoursite.com/images/mytheme/star.png
Thank you this worked. Big Grin


RE: Change stars on a special theme. - effone - 2013-01-22

Lol. you've marked the wrong post as solving answer Big Grin


RE: Change stars on a special theme. - zakoschris - 2013-01-22

(2013-01-22, 08:46 AM)effone Wrote: Lol. you've marked the wrong post as solving answer Big Grin
Fixed