1.0.1 Update
Download link in first post updated
Download 1.0.1 ZIP
I included some extra star graphics (blue, green, and red) along with the original yellow star.gif. I also reduced the color depth, cutting the file size by 70% or more.
I also now use the template path and user selected style name as part of the image path. So you must now put the star.gif within the template folder. The copy command has been changed to
Code: Select all
#
#-----[ COPY ]-------------------------------------
#
copy star.gif to templates/subSilver/images/star.gif
Once this has been done, each of the php files must be edited to include the new location. A text file with update instructions from 1.0.0 to 1.0.1 is included in the download, shown here as well.
Code: Select all
# Update instructions 1.0.0 -> 1.0.1
# No template changes are required
# No admin panel code changes are required
# The changes involve adding the template path +
# the user selected theme name to the image path
# location, also a new location for the star.gif
#
#-----[ COPY ]-------------------------------------
#
copy star.gif to templates/subSilver/images/star.gif
#
#-----[ OPEN ]-------------------------------------
#
viewtopic.php
#
#-----[ FIND ]-------------------------------------
#
<img src="' . $board_config['annual_stars']
#
#-----[ IN-LINE FIND ]-------------------------------------
#
img src="
#
#-----[ IN-LINE AFTER, ADD ]-------------------------------------
#
templates/' . $theme['template_name'] . '/
#
#-----[ OPEN ]-------------------------------------
#
memberlist.php
#
#-----[ FIND ]-------------------------------------
#
<img src="' . $board_config['annual_stars']
#
#-----[ IN-LINE FIND ]-------------------------------------
#
img src="
#
#-----[ IN-LINE AFTER, ADD ]-------------------------------------
#
templates/' . $theme['template_name'] . '/
#
#-----[ OPEN ]-------------------------------------
#
includes/usercp_viewprofile.php
#
#-----[ FIND ]-------------------------------------
#
<img src="' . $board_config['annual_stars']
#
#-----[ IN-LINE FIND ]-------------------------------------
#
img src="
#
#-----[ IN-LINE AFTER, ADD ]-------------------------------------
#
templates/' . $theme['template_name'] . '/
Each of the IN-LINE AFTER, ADD commands adds the template path and the theme name to the image location. Each line should go from
Code: Select all
<img src="' . $board_config['annual_stars']
to
Code: Select all
<img src="templates/' . $theme['template_name'] . '/' . $board_config['annual_stars']
instead.