Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Username HTML Markup 4.2.x Details »»
Username HTML Markup 4.2.x
Version: 4.2.x, by Hasann Hasann is offline
Developer Last Online: Jun 2021 Show Printable Version Email this Page

Category: Major Additions - Version: 4.2.x Rating:
Released: 11-29-2009 Last Update: 03-07-2014 Installs: 666
Uses Plugins
Re-useable Code Translations  
No support by the author.

Username HTML Markup by Hasann

This Product brought to you by
www.vbulletin-TR.com

Description: This Add-On will showing the Usergroups Username HTML Markup in EVERYWHERE Espacially in

FORUMINDEX / FORUMHOME / FORUMLIST / FORUMDISPLAY / SUBFORUMS

Installation: Import the product-username_html_markup.xml product file via admincp -> product manager -> import/export products

Tested on:
  • vBulletin 4.0.1
  • vBulletin 4.2.2

Download Now

File Type: zip Username_Html_Markup_v4.0.1.zip (1.0 KB, 4477 views)
File Type: zip Username_Html_Markup_v4.2.x.zip (1.1 KB, 974 views)

Screenshots

File Type: jpg UserName_HTML_MarkUp_ForumHome.jpg (39.9 KB, 1 views)
File Type: jpg UserName_HTML_MarkUp_ForumDisplay.jpg (111.2 KB, 1 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
9 благодарности(ей) от:
Life Revived, nacaruncr, Skaut, sodasusu, SᴩiDᴇЯ, Teascu Dorin, X-or

Comments
  #392  
Old 02-12-2012, 04:40 AM
shea is cool shea is cool is offline
 
Join Date: Jan 2012
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Learn to code... So many errors
Reply With Quote
  #393  
Old 02-12-2012, 05:25 AM
BlueCheri's Avatar
BlueCheri BlueCheri is offline
 
Join Date: Jul 2009
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Indeed very nice, works great.

Many thanx friend.

G!

Quote:
Originally Posted by Hasann View Post
your is wrong use this

PHP Code:
<span style='font-weight: bold; color: red;'
PHP Code:
</span
Reply With Quote
  #394  
Old 03-28-2012, 05:04 AM
BlueCheri's Avatar
BlueCheri BlueCheri is offline
 
Join Date: Jul 2009
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's is not working for few usergroup (Moderator and VIP), they have a different color

Attaching the image



Kindly let us know the solution.

Thanx and rgds,

G!
Reply With Quote
  #395  
Old 03-28-2012, 09:10 AM
initiald initiald is offline
 
Join Date: Mar 2012
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work 100% with vbulletin 4.1.11, anyone please confirm? especially if it can used with multiple customize usergroups, VIP, Troll, etc...
Reply With Quote
  #396  
Old 03-28-2012, 02:26 PM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BlueCheri View Post
It's is not working for few usergroup (Moderator and VIP), they have a different color
As I remember, this works only with primary, not display usergroups. If you have your system set in way that primary usergroup stays unchanged, it will not show users' display usergroup.
Reply With Quote
  #397  
Old 03-29-2012, 05:30 AM
BlueCheri's Avatar
BlueCheri BlueCheri is offline
 
Join Date: Jul 2009
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanx for tip, let me check it.

Edit: Yes you are right.

Can you please tell me what is the difference for making them primary member ?, what can the the technical or other problem by doing this?

G!

Quote:
Originally Posted by Alan_SP View Post
As I remember, this works only with primary, not display usergroups. If you have your system set in way that primary usergroup stays unchanged, it will not show users' display usergroup.
Reply With Quote
  #398  
Old 03-29-2012, 05:51 PM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, this and https://vborg.vbsupport.ru/showthread.php?t=254373 have problems with this. Advanced You code also looks for primary users.

Anyway, core vBulletin doesn't make difference if primary usergroup allows that it has member (secondary) usergroups.

I too tried to make changes to this mod by myself, but didn't managed to figure it out how to do this.
Reply With Quote
  #399  
Old 03-29-2012, 11:16 PM
initiald initiald is offline
 
Join Date: Mar 2012
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

NVM, it works 100% on vbulletin 4.1.11

You have to change double quote to single quote in each usergroup to display properly. best to change it first, then upload this mod.
Reply With Quote
  #400  
Old 03-30-2012, 04:24 PM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is not real solution, but just a workaround, as you'll loose some information. This may be a big problem for you, or may not be a problem at all, you decide.

I'm talking about this problem, when you go to user's name in last post section and hover mouse over it, you see this:



It is link title associated with this link. To remove this, you just need to remove title. And remove it completely. If someone knows how to really solve this problem, please post it here.

To remove title, find template memberaction_dropdown

At the beginning you have this code (at least with vB4.1.2, as I'm still on it, but it should look very similar to this on other versions, if not the same):

HTML Code:
<a class="username {vb:raw memberinfo.online} popupctrl" href="{vb:link member, {vb:raw memberinfo}}" title="{vb:rawphrase {vb:raw memberinfo['onlinestatusphrase']}, {vb:raw memberinfo.username}}"><strong><vb:if condition="$memberinfo['musername']">{vb:raw memberinfo.musername}<vb:else />{vb:raw memberinfo.username}</vb:if></strong></a>
You need to remove title part from it and remove it completely. Title part is this:

HTML Code:
title="{vb:rawphrase {vb:raw memberinfo['onlinestatusphrase']}, {vb:raw memberinfo.username}}"
After you remove it, it should look like this:

HTML Code:
<a class="username {vb:raw memberinfo.online} popupctrl" href="{vb:link member, {vb:raw memberinfo}}"><strong><vb:if condition="$memberinfo['musername']">{vb:raw memberinfo.musername}<vb:else />{vb:raw memberinfo.username}</vb:if></strong></a>
Save template and check your forum home. Everything else should work (dropdown menu when you click on user name), except there's no more title with html code shown. Also, when I'm mentioning title, for some reason online status was wrong for me. From picture you could read that I'm offline (in Croatian), but I'was online when I took this picture. Just to mention it.
Reply With Quote
  #401  
Old 04-30-2012, 06:06 PM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Guys,

This mod didn't work for me on 4.1.11 or 4.1.12. Easy fix:

1) Disable this mod.
2) Add a new plugin to vBulletin on the memberaction_dropdown hook with the following:
PHP Code:
$memberinfo['musername'] = fetch_musername($memberinfo); 
This should force vBulletin to use the musername (username + markup) of a user everywhere on the forum. As always, use at your own risk. This isn't very heavily tested.

-Nick, SEOvB Developer
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 03:57 PM.


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.10801 seconds
  • Memory Usage 2,356KB
  • Queries Executed 29 (?)
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
  • (3)bbcode_html
  • (3)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (7)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete