vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   End-User Options - Individual Username HTML Markup (https://vborg.vbsupport.ru/showthread.php?t=184426)

Opserty 07-04-2008 10:00 PM

Individual Username HTML Markup
 

/*================================================= =====================*\
|| # -------------- 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

Opserty 07-05-2008 10:56 AM

Known issues
  1. FIXED (v1.0.1): Wrong filename in README 'functions_opserty_prefix_ugps.php' should read 'functions_op_user_html_markup.php'
  2. FIXED (v1.0.1): (as best possible) Text overhangs background when using italics
  3. FIXED (v1.0.1): Text Decoration (underline, overline, strikethrough) does not save
  4. FIXED (v1.0.1): Markup does not show on Who's online list
  5. QUICK FIX Strikethrough does not work
    • Type: CSS Error
    • Priority: High
  6. Markup not show on Users browsing forum/thread
    • Priority: Low
    • Notes: No query hooks available for use, which would mean the addition of an extra query for each user. May include an on/off option in future release

BigDog56 07-05-2008 11:18 AM

Clicks installed! Thank you. One minor proplem with it, when using Italics, the name hangs over the background on the right. Other then that, looks great!

Opserty 07-05-2008 11:21 AM

Quote:

Originally Posted by BigDog56 (Post 1567289)
Clicks installed! Thank you. One minor proplem with it, when using Italics, the name hangs over the background on the right. Other then that, looks great!

Thanks. That is more of a browser problem but I'll see if I can figure out a way of getting around it.

BigDog56 07-05-2008 11:34 AM

Quote:

Originally Posted by Opserty (Post 1567292)
Thanks. That is more of a browser problem but I'll see if I can figure out a way of getting around it.

Thanks! It's no biggie, either way I'll still use this!

SwollenCranium 07-05-2008 11:39 AM

# Upload Files

* Upload functions_opserty_prefix_ugps.php


Your instructions do not match the downloaded files. No such file in the download.

I figured it out anyway .. just thought you would want to know.

srkrocks 07-05-2008 11:54 AM

Installed..
Thanks

Opserty 07-05-2008 11:58 AM

Quote:

Originally Posted by SwollenCranium (Post 1567301)
# Upload Files

* Upload functions_opserty_prefix_ugps.php



Your instructions do not match the downloaded files. No such file in the download.

I figured it out anyway .. just thought you would want to know.

Thanks

~ Corrected in modification post. Will be updated in README in next release.

dannykilla 07-05-2008 12:14 PM

will this show up on the last post column on forum home?

Opserty 07-05-2008 12:59 PM

It is only applied where the Usergroup Markup is usually shown (as it modifies that function).


All times are GMT. The time now is 02:46 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01375 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete