Display both rank and group below username?
2 posters
Page 1 of 1
Display both rank and group below username?
Is there anyway to display both the non special rank icons and the group icons (displayed in the forum group legend) under the avatar of a member's post?
I don't know if there is any script/HTML/java script but if there is to make this work, please post.
Sorry for the wrong section if this is.
I don't know if there is any script/HTML/java script but if there is to make this work, please post.
Sorry for the wrong section if this is.
Re: Display both rank and group below username?
Hello,
Please don't double/triple post. Your post need to be separated by 24 hours before bumping, replying or adding more information. Please use the edit button instead!
Please remember to read the rules
Thank you !
For phpbb3 if you want it to be automatic, you could do it through javascript.
Administration panel > Modules > Javascript codes management > Create a new script
Title : what you wish
Placement : In the topics
For each group you have to change the hex color of this selector to a different groups color :
Changing 0000FF to the color of your group will append a new field to the members of that group in the topics. The text content should be changed between the dd tags.
If you don't know the hex color of your group you can see it here :
Users and groups > group administration > edit your group
Look for color of group members and copy the hex.
Please don't double/triple post. Your post need to be separated by 24 hours before bumping, replying or adding more information. Please use the edit button instead!
Please remember to read the rules
Thank you !
For phpbb3 if you want it to be automatic, you could do it through javascript.
Administration panel > Modules > Javascript codes management > Create a new script
Title : what you wish
Placement : In the topics
- Code:
$(document).ready(function() {
// Group 1
$('.postprofile dt:has(span[style="color:#C26400"])').after('<dd>Group text</dd>');
// Group 2
$('.postprofile dt:has(span[style="color:#0000FF"])').after('<dd>Group text 2</dd>');
// ect..
});
For each group you have to change the hex color of this selector to a different groups color :
- Code:
span[style="color:#0000FF"]
Changing 0000FF to the color of your group will append a new field to the members of that group in the topics. The text content should be changed between the dd tags.
If you don't know the hex color of your group you can see it here :
Users and groups > group administration > edit your group
Look for color of group members and copy the hex.
Re: Display both rank and group below username?
What do I place between the dd tags? I don't quite understand group text. Thanks!
Re: Display both rank and group below username?
Your text is currently 'Group text'
The text between the dd tags above can be erased and changed to any texts you wish. Don't delete the dd tags though.
- Code:
<dd>Group text</dd>
The text between the dd tags above can be erased and changed to any texts you wish. Don't delete the dd tags though.
Re: Display both rank and group below username?
I think this is not what I wanted. Sorry. Sorry if I explained it wrong, it's close though. Here is an example of what I wanted.
This is the special group. (Just an example)
And below is the post ranks set up for post counts.
I want the special group icon over the post count icons.
And I only want the special group icon group text to be displayed.
This is the special group. (Just an example)
And below is the post ranks set up for post counts.
I want the special group icon over the post count icons.
And I only want the special group icon group text to be displayed.
Re: Display both rank and group below username?
It would have to be done like this then :
It's the same deal since we're using the group color again. You can change the image by editing the src url :
If you want also text you can write :
- Code:
$(document).ready(function() {
// Group 1
$('.postprofile dt:has(span[style="color:#0000FF"])').after('<dd><img src="http://img842.imageshack.us/img842/1231/v7vz.png" /></dd>');
});
It's the same deal since we're using the group color again. You can change the image by editing the src url :
- Code:
<dd><img src="http://img842.imageshack.us/img842/1231/v7vz.png" /></dd>
If you want also text you can write :
- Code:
<dd>Moderator<br/><img src="http://img842.imageshack.us/img842/1231/v7vz.png" /></dd>
Similar topics
» Help with group color and username
» How do I display a Special rank and a post based rank on all applicable users at the same time?
» Display current user's username
» Design username display with HTML\CSS ?
» Deleted user's quotes display username
» How do I display a Special rank and a post based rank on all applicable users at the same time?
» Display current user's username
» Design username display with HTML\CSS ?
» Deleted user's quotes display username
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum