Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
Individual Username HTML Markup Details »»
Individual Username HTML Markup
Version: 1.0.1, by Opserty Opserty is offline
Developer Last Online: Apr 2009 Show Printable Version Email this Page

Category: End-User Options - Version: 3.7.x Rating:
Released: 07-04-2008 Last Update: 07-08-2008 Installs: 188
DB Changes Uses Plugins Auto-Templates
Additional Files  
No support by the author.


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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #72  
Old 07-31-2008, 11:17 PM
xXLeighXx2008 xXLeighXx2008 is offline
 
Join Date: Jul 2008
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #73  
Old 08-01-2008, 12:41 AM
DarkGizmo DarkGizmo is offline
 
Join Date: Apr 2008
Location: NYC
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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
  #74  
Old 08-01-2008, 10:01 AM
xXLeighXx2008 xXLeighXx2008 is offline
 
Join Date: Jul 2008
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #75  
Old 08-01-2008, 04:21 PM
Opserty Opserty is offline
 
Join Date: Apr 2007
Posts: 4,103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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?

Quote:
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?
Quote:
- 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
  #76  
Old 08-01-2008, 04:28 PM
Opserty Opserty is offline
 
Join Date: Apr 2007
Posts: 4,103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
    PHP Code:
    $user['musername'] = str_replace('{OP_USERNAME}'$username$user['op_markup']); 
  4. Replace it with:
    PHP Code:
    $user['musername'] = str_replace(array('{OP_USERNAME}''strikethrough'), array($username'line-through'), $user['op_markup']); 
  5. Hit Save.
Reply With Quote
  #77  
Old 08-01-2008, 04:57 PM
xXLeighXx2008 xXLeighXx2008 is offline
 
Join Date: Jul 2008
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Opserty View Post
Why don't you create a new default vBulletin style and get it from there?
What's the point of me creating a new style that im not going to use for 1 link?
Someone must know what the link to the page is.

As you created the mod, I am posting it in the mod thread.
Reply With Quote
  #78  
Old 08-01-2008, 08:25 PM
DarkGizmo DarkGizmo is offline
 
Join Date: Apr 2008
Location: NYC
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Op: Yes it works on online.php, but you only see YOUR colors at the following url:
http://zeroboards.net/forums/online.php

You see everyone's on the INDEX, but not at that uRL, that URL only shows YOURS, the others are seen as the group-defined markup (in usergroups)
Reply With Quote
  #79  
Old 08-01-2008, 09:01 PM
Opserty Opserty is offline
 
Join Date: Apr 2007
Posts: 4,103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by xXLeighXx2008 View Post
What's the point of me creating a new style that im not going to use for 1 link?
Someone must know what the link to the page is.

As you created the mod, I am posting it in the mod thread.
I prefer to let people figure it out for themselves, rather then spoon feeding them the answer. :P

Creating a New Style will take you just a few seconds in the AdminCP, you can work it out in just a few minutes. You don't even need to do that... you could even get it from another page. User CP > Edit Options is the page it is on. Now figure out the rest.

Quote:
Op: Yes it works on online.php, but you only see YOUR colors at the following url:
http://zeroboards.net/forums/online.php

You see everyone's on the INDEX, but not at that uRL, that URL only shows YOURS, the others are seen as the group-defined markup (in usergroups)
Yes I browsed the page as guest (so its not me...) and the username still has the markup, unless I maybe have file edits I haven't removed. I'll have another look when I get a chance.
Reply With Quote
  #80  
Old 08-01-2008, 09:08 PM
DarkGizmo DarkGizmo is offline
 
Join Date: Apr 2008
Location: NYC
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, i'm talking about other staff members who can use the mod, not regular users....
Reply With Quote
  #81  
Old 08-01-2008, 09:59 PM
xXLeighXx2008 xXLeighXx2008 is offline
 
Join Date: Jul 2008
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Opserty View Post
I prefer to let people figure it out for themselves, rather then spoon feeding them the answer. :P

Creating a New Style will take you just a few seconds in the AdminCP, you can work it out in just a few minutes. You don't even need to do that... you could even get it from another page. User CP > Edit Options is the page it is on. Now figure out the rest.
In all fairness, I don't believe you are supporting your mod as coders do. Its a simple question about YOUR mod. I dont have time to be doing this and that.

Not installed, due to POOR SUPPORT
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 08:40 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08683 seconds
  • Memory Usage 2,321KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete