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.
  #61  
Old 16 Jul 2008, 13:30
Stoebi Stoebi is offline
 
Join Date: Apr 2006
Real name: Peter
Originally Posted by DiageoLiam View Post
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...?
Yes, please fix this.

If the user was saving the form without any changes he did, the user have no chance to return to the default vbulletin option for his username. If saved without any setting the look for this username was nevertheless changed. Please fix this.

Although the hack has been disabled, all options the user has done are viewable by other users. Please fix this.

We are also missing a global (backend) and per user (frontend) reset option.


Regards,

Stoebi
Reply With Quote
  #62  
Old 19 Jul 2008, 17:40
DarkGizmo DarkGizmo is offline
 
Join Date: Apr 2008
Real name: Anthony
Any updates on the borders and stuff man? Thanks...
Reply With Quote
  #63  
Old 20 Jul 2008, 00:42
Bl4z3 Bl4z3 is offline
 
Join Date: Oct 2007
Real name: Rey Z
Originally Posted by GriZzm0 View Post
Could you create a similar script which let the users change font/color etc in their usertitle? Basically a script that let the users use BBCode in their usertitles and where you can enable/disable it on a usergroup basis.
Now THAT would be great.

But nice hack, I might use it in the near future, so I'll mark it as installed in case I forget later.
Reply With Quote
  #64  
Old 20 Jul 2008, 14:26
Captain Tycoon's Avatar
Captain Tycoon Captain Tycoon is offline
 
Join Date: Jan 2008
Does this work for all browsers?
Reply With Quote
  #65  
Old 20 Jul 2008, 17:41
Thelonius Beck's Avatar
Thelonius Beck Thelonius Beck is offline
 
Join Date: Jan 2008
Cool hack. I've been looking for this for a while.

The strikethrough also doesn't work for me, and a 'Reset Default' option would be a wonderful addition.
Reply With Quote
  #66  
Old 20 Jul 2008, 21:25
Opserty Opserty is offline
 
Join Date: Apr 2007
Yes I have been busy lately, as such the next update may be a bit of a wait.

I'll post a quick-fix for the strikethrough bug when I get a chance.
Reply With Quote
  #67  
Old 26 Jul 2008, 03:06
Lady Azriel Lady Azriel is offline
 
Join Date: Jan 2008
Originally Posted by Captain Tycoon View Post
Does this work for all browsers?
ya

Just wondering. Any plans to make this work on the online list when people other than yourself view your name?
Reply With Quote
  #68  
Old 27 Jul 2008, 18:20
DarkGizmo DarkGizmo is offline
 
Join Date: Apr 2008
Real name: Anthony
Originally Posted by Lady Azriel View Post
ya

Just wondering. Any plans to make this work on the online list when people other than yourself view your name?
You mean when you're viewing online.php? Where it shows what everyone is doing?

Yeah that's a great idea! Get that in the next version also Op!
Reply With Quote
  #69  
Old 27 Jul 2008, 18:27
Lady Azriel Lady Azriel is offline
 
Join Date: Jan 2008
Well not just online.php, but on the forum index too, where the online list is included. It shows for you on these things, but only when you're logged in. Anybody else can only see the markup on your profile or your posts. Also, perhaps also using the markup on the last poster areas too.
Reply With Quote
  #70  
Old 27 Jul 2008, 18:34
DarkGizmo DarkGizmo is offline
 
Join Date: Apr 2008
Real name: Anthony
I believe he fixed that in the update Lady. I see my staff member's mark-ups on the forum index just fine....

Where it doesn't show their markup is and i'd like to see fixed are:
- Online.php (viewing online.php)
- Forumdisplay.php (Who's viewing forum/thread
-Thread starter & last poster in forum display
- Last poster on forum index.

Everywhere else is fine.

also the border option of course.
Reply With Quote
  #71  
Old 01 Aug 2008, 00:17
xXLeighXx2008 xXLeighXx2008 is offline
 
Join Date: Jul 2008
I don't have the defualt usercp, so I dont have the link

What is the link the page so I can add it manually?
Reply With Quote
  #72  
Old 01 Aug 2008, 01:41
DarkGizmo DarkGizmo is offline
 
Join Date: Apr 2008
Real name: Anthony
Originally Posted by xXLeighXx2008 View Post
I don't have the defualt usercp, so I dont have the link

What is the link the page so I can add it manually?
It's under edit options.
Reply With Quote
  #73  
Old 01 Aug 2008, 11:01
xXLeighXx2008 xXLeighXx2008 is offline
 
Join Date: Jul 2008
This is what im saying, I dont have the default navbar, usercp or forumhome. I am using a totally custom code..
I just need a link so I can add a manual link =]
Reply With Quote
  #74  
Old 01 Aug 2008, 17:21
Opserty Opserty is offline
 
Join Date: Apr 2007
This is what im saying, I dont have the default navbar, usercp or forumhome. I am using a totally custom code..
I just need a link so I can add a manual link =]
Why don't you create a new default vBulletin style and get it from there?

Well not just online.php, but on the forum index too, where the online list is included. It shows for you on these things, but only when you're logged in. Anybody else can only see the markup on your profile or your posts.
I've tested this with being a guest and viewing the "Who's Online" page and I can see the markup just fine?
- Online.php (viewing online.php) This was fixed last time I checked
- Forumdisplay.php (Who's viewing forum/thread There isn't an efficient way of doing this as there are no query hooks, therefore a query would be required to fetch every peice of markup
-Thread starter & last poster in forum display Not a place where usergroup markup is shown by default so it won't be done yet.
- Last poster on forum index. Same as above
Reply With Quote
  #75  
Old 01 Aug 2008, 17:28
Opserty Opserty is offline
 
Join Date: Apr 2007
A quick fix for the strikethrough:
  1. AdminCP > Plugins & Products > Plugin Manager > Find the Plugin Titled: "Opserty: (6) Apply Markup"
  2. Click the Title or click on [Edit]
  3. In the "PHP Code:" text box. Find:

    Block Disabled:      (Update License Status)  
    Suspended or Unlicensed Members Cannot View Code.

  4. Replace it with:

    Block Disabled:      (Update License Status)  
    Suspended or Unlicensed Members Cannot View Code.

  5. Hit Save.
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 19:41.

Layout Options | Width: Wide Color: