Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Individual Username HTML Markup Details »
Individual Username HTML Markup
Mod Version: 1.0.1, by Opserty (Member) Opserty is offline
Developer Last Online: Apr 2009 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.7.x Rating: (18 votes - 4.67 average) Installs: 187
Released: 05 Jul 2008 Last Update: 09 Jul 2008 Downloads: 996
Not Supported DB Changes Uses Plugins Auto-Template Additional Files  


/*======================================================================*\
|| # -------------- USER SPECIFIC USERNAME HTML MARKUP -------------- # ||
|| # ---------------------- CREATED BY OPSERTY----------------------- # ||
|| # This modification may not be redistributed without prior consent # ||
\*======================================================================*/

What does this modification do?
This modification allows users to specify their 'own' HTMLwhich surrounds their username. It is similar to that which is used for the Usergroup HTML Markup, however this modification is more restrictive. (Note: Markup is only applied in cases where the Usergroup Markup is typically applied).

Features:
  • Users can choose:
    • Italics
    • Bold
    • SmallCaps
    • Text Decoration
      • Underline
      • Overline
      • StrikeThrough
    • Font Color
    • Background Color
    • Font Family/Face
  • Admins can choose to:
    • Global Enable/Disable
    • Ban Certain Users
    • Ban Certain Font Colors
    • Enable/Disable each Option globally
    • Enable/Disable each Option Per Usergroup
    • Choose whether User HTML Markup overrides Usergroup HTML Markup
To install:
  1. Upload Files
    • Upload functions_op_user_html_markup.php to the '/includes/' directory of your forum
    • Upload bitfield_op_user_html_markup.xml to the '/includes/xml/' directory of your forum
  2. Import Product
    • Import the product as normal through the AdminCP. AdminCP > Plugins & Products > Manage Products
  3. Accessing Product
    • To use this product the user can find the options listed on the UserCP > Edit Options page.
Troubleshooting & Common Problems
  • If you forget to upload the files before importing the product, simply upload the files and then visit the AdminCP > Usergroups > Usergroup Manager page. (This is required to rebuild the bitfield cache after uploading a file). This only needs to be done if you do not upload the files before the import.
Modification History
  • 09/07/08
    • Version: 1.0.1
    • Type: Bug Fix
    • Fixed bugs: #1 #2 #3 #4
    • Added current username markup example to Edit Options Page
  • 05/07/08
    • Version: 1.0
    • Type: Initial Release
(Please post suggestions for addition HTML/CSS tags and I will consider them for future releases)

Mark As Installed


Nominate For Modification of the Month

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	usercp_opts.jpg
Views:	3011
Size:	65.2 KB
ID:	83535   Click image for larger version

Name:	ugp_opts.jpg
Views:	1334
Size:	34.3 KB
ID:	83536   Click image for larger version

Name:	admin_opts.jpg
Views:	1556
Size:	106.6 KB
ID:	83537  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #46  
Old 10 Jul 2008, 09:00
Opserty Opserty is offline
 
Join Date: Apr 2007
Originally Posted by verino View Post
to update, I can just re-upload the file and overwrite the product ? or i have to uninstall 1st ?
Only XML was changed so you just need to [Add/Import Product] again. Make sure "Allow Overwrite" is set to Yes
Reply With Quote
  #47  
Old 10 Jul 2008, 19:21
Lady Azriel Lady Azriel is offline
 
Join Date: Jan 2008
Hey, this is a great mod. I've installed it and I love it. Nice work, man.

I wanna make a suggestion that you can maybe bat around. I think a good idea for a hack like this is to give an option where users can edit the HTML markup of their name in a little text input form. For examle: "<font color="blue">Bl</font><font color="red">ah</font>".

Thanks again.
Reply With Quote
  #48  
Old 10 Jul 2008, 22:01
DarkGizmo DarkGizmo is offline
 
Join Date: Apr 2008
Real name: Anthony
Originally Posted by Lady Azriel View Post
Hey, this is a great mod. I've installed it and I love it. Nice work, man.

I wanna make a suggestion that you can maybe bat around. I think a good idea for a hack like this is to give an option where users can edit the HTML markup of their name in a little text input form. For examle: "<font color="blue">Bl</font><font color="red">ah</font>".

Thanks again.
Doing that creates a security risk.
Reply With Quote
  #49  
Old 11 Jul 2008, 08:20
verino verino is offline
 
Join Date: May 2008
Originally Posted by Opserty View Post
Only XML was changed so you just need to [Add/Import Product] again. Make sure "Allow Overwrite" is set to Yes
now it's working fine, thank's
Reply With Quote
  #50  
Old 11 Jul 2008, 15:09
Opserty Opserty is offline
 
Join Date: Apr 2007
Originally Posted by Lady Azriel View Post
I wanna make a suggestion that you can maybe bat around. I think a good idea for a hack like this is to give an option where users can edit the HTML markup of their name in a little text input form. For examle: "<font color="blue">Bl</font><font color="red">ah</font>".
As previously stated, doing so would make your board less secure. For this reason, I have no plans (to ever) introduce the option of a HTML input box in which users can add whatever they want. (This is the reason there are check boxes e.t.c., to restrict what users can input).
Reply With Quote
  #51  
Old 11 Jul 2008, 19:57
Lady Azriel Lady Azriel is offline
 
Join Date: Jan 2008
Originally Posted by Opserty
As previously stated, doing so would make your board less secure. For this reason, I have no plans (to ever) introduce the option of a HTML input box in which users can add whatever they want. (This is the reason there are check boxes e.t.c., to restrict what users can input).
I was referring to this as an admin-only option. Something in the admincp under a given user's edit profile screen that can override the user's choice or the user's respective usergroup markup. I would never suggest something that involved user-inputted HTML.
Reply With Quote
  #52  
Old 12 Jul 2008, 00:42
DarkGizmo DarkGizmo is offline
 
Join Date: Apr 2008
Real name: Anthony
Originally Posted by Lady Azriel View Post
I was referring to this as an admin-only option. Something in the admincp under a given user's edit profile screen that can override the user's choice or the user's respective usergroup markup. I would never suggest something that involved user-inputted HTML.
You weren't specific in your initial post so one would assume you mean't user-inputted HTML.

Really all i want is the border, and Opserty, the decoration still kinda buggy, overline & underline/strike through doesn't work still...for me anyway.
Reply With Quote
  #53  
Old 12 Jul 2008, 09:39
harlita harlita is offline
 
Join Date: Dec 2006
Oh my...

You just solved a major issue for my staff and my members. We wanted to be able to give our Senior Members the ability to have custom colored names, while still somehow retaining the difference between Staff and member.

I installed your product and set it up.

We've set all the staff to SMALLCAPS and made BOLD + a staff color unavailable to anyone else. We definitely stand out from the Senior Members who also now have their colorful names.


Seriously! THIS IS EXACTLY what I was looking for, AND MORE.

Works PERFECTLY on 3.7.2 and install took maybe... 20 seconds?

Awesome. Just awesome. 5 stars. Thanks!
Reply With Quote
  #54  
Old 12 Jul 2008, 11:50
Opserty Opserty is offline
 
Join Date: Apr 2007
Lady Azriel: Ok I will consider your request and see what I can do then.

NegativeSmoke: I'm pretty sure I fixed this error, make sure you imported the XML and selected "Allow Overwrite".

harlita: Glad I could be of help
Reply With Quote
  #55  
Old 13 Jul 2008, 04:08
EagleNick's Avatar
EagleNick EagleNick is offline
 
Join Date: Dec 2007
Real name: Nick
Would it be possible for you to create in the future, a MOD that allows Administrators to specify a user's username HTML markup on an individual-user-basis? Rather than having to move the user into a whole new group with the username markup settings?

Thanks
Reply With Quote
  #56  
Old 13 Jul 2008, 04:14
DarkGizmo DarkGizmo is offline
 
Join Date: Apr 2008
Real name: Anthony
Originally Posted by EagleNick View Post
Would it be possible for you to create in the future, a MOD that allows Administrators to specify a user's username HTML markup on an individual-user-basis? Rather than having to move the user into a whole new group with the username markup settings?

Thanks
You can do that now via admin CP > Edit user....


Edit: wait, nvm, doesn't work, yeah this would be a good idea.
Reply With Quote
  #57  
Old 13 Jul 2008, 19:38
Koushukei Koushukei is offline
 
Join Date: Jun 2007
I think it shoud give users a choice of already made colors. Cause they could always pick a color code really close to an admin color. Even if you ban the direct color
Reply With Quote
  #58  
Old 14 Jul 2008, 09:43
Opserty Opserty is offline
 
Join Date: Apr 2007
EagleNick I think if you set the usergroup permissions for that usergroup "Can use Username Markup" to yes. Yet leave the rest of the options disabled you should be able to edit the markup via. the "Edit User" option in the AdminCP.

Koushukei
That would probably be a very long list though. I guess I could look into it.
Reply With Quote
  #59  
Old 14 Jul 2008, 22:02
EagleNick's Avatar
EagleNick EagleNick is offline
 
Join Date: Dec 2007
Real name: Nick
Originally Posted by Opserty View Post
EagleNick I think if you set the usergroup permissions for that usergroup "Can use Username Markup" to yes. Yet leave the rest of the options disabled you should be able to edit the markup via. the "Edit User" option in the AdminCP.

Koushukei
That would probably be a very long list though. I guess I could look into it.
I didn't think of that, but yeah I'm assuming it should work, too.
Thanks!
Reply With Quote
  #60  
Old 15 Jul 2008, 20:09
DiageoLiam DiageoLiam is offline
 
Join Date: Mar 2008
How do I reset the usernames back to original, default mark-up?
For instance, my forum administrators have an ADM- prefix, however, this is removed when they customize their mark-up and I can't figure out how to reset it...?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 22:57.

Layout Options | Width: Wide Color: