| We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| [ ! ] Custom style usernames based on group permission | |
|---|---|
| Tweet Topic Started: Jun 6 2015, 05:00 PM (655 Views) | |
| Revillution.com | Jun 6 2015, 05:00 PM Post #1 |
|
Who ate all the pecan sandies?
![]() ![]() ![]() ![]()
|
Board Address: http://s15.zetaboards.com/revillution/index/ Board Software: (ZetaBoards or zIFBoards) ZetaBoards Description: Individual Username markup based on group permissions. Allows permitted groups to change the foreground, background,border colors & stylings of their username as well as use CSS if they have the know-how. I assume this can be done via custom profile fields but there needs to be a way to either hide the fields if the user doesn't have permission to edit them or prevent their choices from being displayed across the board if they do not have access/permission to use the feature. Here's 2 codes that accomplish something similar to what I want but would like them combined and with group permissions as I stated: Code that will show the styling across the entire board:
Code that uses custom profile fields and can be edited by user but doesn't support highlight/background color, border color or style: Code by Ferby:
If anyone can assist with getting these done, that would be great!
Edited by Revillution.com, Jun 6 2015, 11:08 PM.
|
![]() |
|
| Cory | Jun 12 2015, 10:57 PM Post #2 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
So, you're basically looking for this code, only for usernames instead of posts? |
![]() |
|
| Revillution.com | Jul 1 2015, 03:21 PM Post #3 |
|
Who ate all the pecan sandies?
![]() ![]() ![]() ![]()
|
Yes, but also include border & background coloring and have it set based on group permissions so only selected groups can use it. |
![]() |
|
| Cory | Jul 2 2015, 05:30 PM Post #4 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Not really practical for styling usernames across the board since the information is always stored in the users profile and it would require way too much AJAX to grab that information for every user. It is practical to only apply this option to usernames in topics though, since the mini profile that stores this information is attached to each post a user creates in a topic. |
![]() |
|
| Revillution.com | Jul 3 2015, 11:32 AM Post #5 |
|
Who ate all the pecan sandies?
![]() ![]() ![]() ![]()
|
The first code i've posted basically displays it wherever the username is a link so logged in as, last post, topic starter, in posts, memberlist & things like active topic list. Would that be possible? |
![]() |
|
| Cory | Jul 3 2015, 07:52 PM Post #6 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
So, you don't mind it being a manual process for the administrator, as opposed to a manual process for the user? |
![]() |
|
| Revillution.com | Jul 3 2015, 10:33 PM Post #7 |
|
Who ate all the pecan sandies?
![]() ![]() ![]() ![]()
|
I want the users in a permitted group to be able to change their name styling at will. The first code I posted is a manual process via admin. If this code can be modified to include border color, style & highlight/background color and have it set so it's got a permission set so only specified groups can use it, that'd be good: User styling v3.1 by Ferby Edit: I realize this code is the same as the 2nd code that I posted in this topic. here is a demo of ferby's code Edited by Revillution.com, Jul 3 2015, 10:34 PM.
|
![]() |
|
| Cory | Jul 4 2015, 05:25 PM Post #8 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
To affect all areas of the board like you are wanting, the code can be made where the administrator has to manually style usernames via the Board Template. Due to AJAX restrictions, the members will have no control over their username style, only users with access to the Board Template. |
![]() |
|
| Revillution.com | Jul 5 2015, 06:32 AM Post #9 |
|
Who ate all the pecan sandies?
![]() ![]() ![]() ![]()
|
So to style their own usernames, where would it be able to show up? Just in posts? or is there other areas it would work just not as many? |
![]() |
|
| Cory | Jul 9 2015, 12:46 AM Post #10 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Posts is really just about it. |
![]() |
|
| Moonface | Aug 12 2015, 02:43 PM Post #11 |
![]()
|
This request has gone a lengthy period of time without any new activity, therefore it is being marked as expired. This means that the request was typically too time-consuming or irritating for coders (who provide this service voluntarily in their free time) to complete. Thank you. |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Closed Requests · Next Topic » |
| Track Topic · E-mail Topic |
8:18 PM Jul 10
|


![]](http://b1.ifrm.com/0/1/0/p601690/pipright.png)



8:18 PM Jul 10