by Ange Tuteur Sat Jan 25, 2014 9:09 pm
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
- 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.