Author |
Topic |
Bodacious
Starting Member
United Kingdom
30 Posts |
Posted - 10 September 2003 : 11:31:41
|
How can I get a picture to come up instead of the stars for the ranks.
I wanted to use smiles instead of the stars for high posters. |
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 10 September 2003 : 12:07:23
|
The easiest way to do this would be to edit inc_iconfiles.asp and change the URIs and dimensions of the strIconStarXXX constants to those of the images you want to use.
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
|
|
Ryan
Average Member
USA
858 Posts |
Posted - 10 September 2003 : 13:49:15
|
Another way would be to simply rename all your images (if they are about the same size as the stars) the exact same names that the stars have. eg name one picture icon_star_green.gif. Upload that to your forum file. That will change the green stars to the image you like. |
The Poultry Link - "Serving the best of the fancy with the best of the web" Forum Setup Help |
|
|
Bodacious
Starting Member
United Kingdom
30 Posts |
Posted - 13 September 2003 : 09:41:30
|
Okay thanks guys will try that |
|
|
Bodacious
Starting Member
United Kingdom
30 Posts |
Posted - 13 September 2003 : 10:10:29
|
Okay I tried renaming the files, which did kinda work, but the picture was to small.
So How do I edit the size ect and also so that the image dosnt appear mulitple times? |
|
|
Ryan
Average Member
USA
858 Posts |
Posted - 13 September 2003 : 11:49:09
|
quote: Originally posted by Bodacious
Okay I tried renaming the files, which did kinda work, but the picture was to small.
Well, I said that:
quote: Originally posted by reducks87
Another way would be to simply rename all your images (if they are about the same size as the stars) the exact same names that the stars have. eg name one picture icon_star_green.gif. Upload that to your forum file. That will change the green stars to the image you like.
|
The Poultry Link - "Serving the best of the fancy with the best of the web" Forum Setup Help |
|
|
Bodacious
Starting Member
United Kingdom
30 Posts |
Posted - 13 September 2003 : 12:59:03
|
I know that is what you said, the problem is the multiple image that is associated with the stars. How do you make it to show just ONE image |
|
|
Roland
Advanced Member
Netherlands
9335 Posts |
Posted - 13 September 2003 : 16:03:22
|
if the problem is that there are more than one images, just raise the amount of posts a member must make before (s)he gets the second star/image to an absurd number. That way you won't have to make any changes to the codes |
|
|
CtotheJ
Starting Member
49 Posts |
Posted - 14 September 2003 : 13:55:06
|
I see what you're saying, but could you tell me where the code is? I would like to do something simmiler, but need to change the code. I know what to change, but just need to know where it is.
|
|
|
Nikkol
Forum Moderator
USA
6907 Posts |
|
Roland
Advanced Member
Netherlands
9335 Posts |
Posted - 14 September 2003 : 16:08:37
|
the code for displaying the stars is in topic.asp, as Nikkol said, but the code that "calculates" how many stars are displayed is in inc_func_members.asp if I'm not mistaken. |
|
|
Bodacious
Starting Member
United Kingdom
30 Posts |
Posted - 15 September 2003 : 10:42:36
|
I will try that
What I am wanting to do is that when a member gets to 1000 post they then get a smile rather than stars. So multiple stars per posting up to 1000 then change to a gif. |
|
|
Bodacious
Starting Member
United Kingdom
30 Posts |
Posted - 15 September 2003 : 10:45:10
|
have found the mentioned file, what chagnes will I have to make to the code???? |
|
|
Bodacious
Starting Member
United Kingdom
30 Posts |
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 17 September 2003 : 11:36:25
|
Have a look in the Mod forum for additional ranks mods, you could customise it to acheive what you want. If you can't find this mod, post back and I'll give you some code.
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
|
|
jfitz
Junior Member
USA
345 Posts |
Posted - 17 September 2003 : 11:44:19
|
I use a little routine that I wrote which calculates and returns the member level but does not create the corresponding icons like getStar_Level does. Then, with that information you can do whatever you like.
I would start with the User Level Moderation mod, even if you don't use it, because it includes code to keep the current number of member posts accessible in memory all the time, so you don't have to go retrieve it whenever you want to do a calculation. |
--Jördan It's a wasted day if you don't spend at least part of it flying upside down. |
|
|
Topic |
|