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:	3012
Size:	65.2 KB
ID:	83535   Click image for larger version

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

Name:	admin_opts.jpg
Views:	1557
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.
  #16  
Old 05 Jul 2008, 17:40
Opserty Opserty is offline
 
Join Date: Apr 2007
I have tested in on 3.6.8 the functionality is there, however the colour picker in the UserCP does not function (as its based on the 3.7 clientscript).

If you can go without the colour picker then yes it does work (note: its only made to accept hex color codes).
Reply With Quote
  #17  
Old 05 Jul 2008, 21:21
Amm0 Amm0 is offline
 
Join Date: May 2008
Is there an option to set this for specific usergroups?
Reply With Quote
  #18  
Old 05 Jul 2008, 21:42
Opserty Opserty is offline
 
Join Date: Apr 2007
The 2nd screenshot is from the usergroup permissions page. So yes.
Reply With Quote
  #19  
Old 05 Jul 2008, 23:31
GriZzm0 GriZzm0 is offline
 
Join Date: Apr 2006
Originally Posted by Opserty View Post
This would require something different as well as editing existing vBulletin fields, I currently have no plans to create such a modification.
Aight. Thanks anyway.
Reply With Quote
  #20  
Old 06 Jul 2008, 03:14
GraNdMaStEr-B GraNdMaStEr-B is offline
 
Join Date: Jun 2008
Real name: dave
I get this error when I go to my edit option in my usercp

Warning: require_once([path]/includes/functions_op_user_html_markup.php) [function.require-once]: failed to open stream: No such file or directory in [path]/profile.php(1799) : eval()'d code on line 1

Fatal error: require_once() [function.require]: Failed opening required '/home/rawtalen/public_html/forum/includes/functions_op_user_html_markup.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/rawtalen/public_html/forum/profile.php(1799) : eval()'d code on line 1
Reply With Quote
  #21  
Old 06 Jul 2008, 07:02
pooker pooker is offline
 
Join Date: Dec 2007
I tried it out but my users were not able to use multiple instances of it, like if they chose bold and a yellow name it would only show a color change not the bold.
Reply With Quote
  #22  
Old 06 Jul 2008, 11:19
Opserty Opserty is offline
 
Join Date: Apr 2007
Originally Posted by GraNdMaStEr-B View Post
I get this error when I go to my edit option in my usercp

Warning: require_once([path]/includes/functions_op_user_html_markup.php) [function.require-once]: failed to open stream: No such file or directory in [path]/profile.php(1799) : eval()'d code on line 1

Fatal error: require_once() [function.require]: Failed opening required '/home/rawtalen/public_html/forum/includes/functions_op_user_html_markup.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/rawtalen/public_html/forum/profile.php(1799) : eval()'d code on line 1
You haven't uploaded the functions_op_user_html_markup.php file (or you've uploaded it to the incorrect directory). Sorry I wrote the wrong file name in the README file see the first post for corrected instructions.
Reply With Quote
  #23  
Old 06 Jul 2008, 11:21
Opserty Opserty is offline
 
Join Date: Apr 2007
Originally Posted by pooker View Post
I tried it out but my users were not able to use multiple instances of it, like if they chose bold and a yellow name it would only show a color change not the bold.
I haven't had any such problems, what version of vBulletin are you running? (Can you provide a link to your board? Either by PM or post it here)
Reply With Quote
  #24  
Old 06 Jul 2008, 13:50
nebu nebu is offline
 
Join Date: Sep 2006
is it possible to make the name everywhere shines red/blue ......?
in "forumhome", in "who is online", in "visited last 24 hours"

thx
Reply With Quote
  #25  
Old 06 Jul 2008, 16:24
Opserty Opserty is offline
 
Join Date: Apr 2007
Markup is only applied in cases where the Usergroup Markup is typically applied.
You have to find a modification that enables usergroup markup in the places you want, then this code will be applied automatically (dependant on settings).
Reply With Quote
  #26  
Old 06 Jul 2008, 16:41
GraNdMaStEr-B GraNdMaStEr-B is offline
 
Join Date: Jun 2008
Real name: dave
I've done everything you ask and it still hasnt fixed this. This has mess up my ALL my usergroups in my adminCP. I need to get this fix
Reply With Quote
  #27  
Old 06 Jul 2008, 17:15
Opserty Opserty is offline
 
Join Date: Apr 2007
Originally Posted by GraNdMaStEr-B View Post
I've done everything you ask and it still hasnt fixed this. This has mess up my ALL my usergroups in my adminCP. I need to get this fix
PM'd
Reply With Quote
  #28  
Old 06 Jul 2008, 18:15
GraNdMaStEr-B GraNdMaStEr-B is offline
 
Join Date: Jun 2008
Real name: dave
Hey this dude is good ppl man. Was on top of everything. Even went out of his way and fix it for me.

**Installed**

thankyou!
Reply With Quote
  #29  
Old 06 Jul 2008, 19:01
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Real name: Christian
just tagged, nice job Opserty
Reply With Quote
  #30  
Old 07 Jul 2008, 09:51
Opserty Opserty is offline
 
Join Date: Apr 2007
Thanks KURTZ

Update for the two bugs posted in post #2 should be here in a few days.
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:05.

Layout Options | Width: Wide Color: