QUOTE |
Excellent...worked like a charm...you're a Godess! Would you by any chance know the variables, or whatever the code would be to add Custom User Titles and a persons stars to their profile? I'll be glad to get you any code that you may need. I've tried severial variables but can't seem to get anything to come up in profile.pl other than plain HTML. |
Here is the Custom Users Title mod. This should be all you need but if you require something else please let me know.
custom_user_titles_sp11.zip
As for getting the users stars (or other image) I'm not sure what code you would need. Since I have Add More Membergroups I am not sure if that is going to make a difference as far as the variables are concerned on what images (stars or other) appear. I originally looked at Display.pl and found all kinds of stuff in there, but I am still trying to learn how YaBB is coded so I am extremely slow with it.
Thanks Ashley! (I'm Alex BTW)
OoOk Alex here we go again....
in profile.pl
Search for
CODE |
sub ViewProfile { |
CODE |
sub ViewProfile { require "$sourcedir/Title.pl"; |
CODE |
fopen(FILE, "$memberdir/$INFO{'username'}.dat"); @memsettings= fclose(FILE); chomp @memsettings; |
CODE |
fopen(FILE, "$memberdir/$INFO{'username'}.title"); @titlesettings= fclose(FILE); chomp @titlesettings; if($titlesettings[0] ne "") { $tittletext = qq~ $titlesettings[0] ~; } else { $tittletext = ""; } |
CODE | |
$txt{'87'}: | $memberinfo |
CODE | |
$titletxt{'01'}: | $tittletext |
I continue to worship the ground you float upon!
Worked like a charm...thank you very much...any idea on maybe adding a user's stars/custom image?
If I may, do you still have the original images you used to make the zodiac mod? The color of my forums is blue and they aren't blending very well. I was going to try some different color schemes but the current images are too small and I am afraid they would be degraded too much if I worked with them.
Thank you again for all of your help
QUOTE |
I continue to worship the ground you float upon! |
QUOTE |
Worked like a charm...thank you very much...any idea on maybe adding a user's stars/custom image? |
QUOTE |
If I may, do you still have the original images you used to make the zodiac mod? The color of my forums is blue and they aren't blending very well. I was going to try some different color schemes but the current images are too small and I am afraid they would be degraded too much if I worked with them. |
QUOTE |
Thank you again for all of your help |
I did look in the Boardmod thread. What I was referring to was the original images that you used to make the signs from. Unless those are the originals?
As for the code you requested...I think the code is located in several places. Instead of me guessing, here is my current Display.pl file.
Display.zip
I am thinking to make the voting process for members who want to vote for a particular member as member of the month to be easier or more unique than just postibng a thread. I was thinking of having some sort of table that just showed the results after a form was filled, but the key would be making sure that the username was attached and that the user could only use the form once until reset by admin. I think something like:
Welcome, (username), please fill the form to vote for user of the month:
1. Who should be user of the month: [ ]
2. Who has the best avatar: [ ]
[SUBMIT]
This would then display the results with username. I know I can do this using outside scripts, but would like it yabb based.