Go Back   vb.org Archive > vBulletin Modifications > vBulletin 5.x Modifications > vBulletin 5.x Products & Extensions

Reply
 
Thread Tools
Yilmaz - Username HTML Markup vB5 Details »»
Yilmaz - Username HTML Markup vB5
Version: 1.0.1, by yilmaz yilmaz is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Category: Add-On Releases - Version: 5.5.5 Rating:
Released: 01-17-2021 Last Update: 09-11-2022 Installs: 32
Supported Uses Plugins Auto-Templates
Additional Files  

Description:
========================================
Displays a colored user group indicator below the list of users in the online users widget.
and plus
Usergroup Color Bar Legend
This hack shows the user group tags under the name of the active users.

========================================
Installation and Demo:
========================================
Upload the content of "Yilmaz - Username HTML Markup vB5" to your root.
that's all it.
enjoy..

Mark as installed = get support.
========================================
How to uninstall:
========================================
1. Remove the package "yilmazunamemarkup" that located in /core/packages/
2. Delete the yilmazunamemarkup.php file in the core/admincp/ folder
3. Go to "Manage Products" in the admincp and delete the product named "Yilmaz - Username HTML Markup vB5"

In this video he shows how it's done.
https://www.youtube.com/watch?v=lEnWA8P7N3k

Download Now

File Type: zip Yilmaz - Username HTML Markup vB5.zip (104.0 KB, 55 views)

Screenshots

File Type: png screenshot-www.vbyilmaz.com-2021.01.18-13_01_30.png (43.3 KB, 0 views)
File Type: png screenshot-www.vbyilmaz.com-2021.01.18-13_54_04.png (52.4 KB, 0 views)
File Type: png screenshot-www.vbyilmaz.com-2021.01.18-13_56_42.png (71.1 KB, 0 views)
File Type: png screenshot-www.vbyilmaz.com-2021.01.18-13_57_30.png (48.8 KB, 0 views)
File Type: png screenshot-www.vbyilmaz.com-2021.01.18-13_57_55.png (48.2 KB, 0 views)
File Type: png screenshot-www.vbyilmaz.com-2021.01.18-13_58_54.png (49.0 KB, 0 views)
File Type: png screenshot-www.vbyilmaz.com-2021.01.18-13_59_25.png (67.2 KB, 0 views)
File Type: png screenshot-www.vbyilmaz.com-2021.01.18-13_59_55.png (50.7 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
5 благодарности(ей) от:
Chicoynano, hafid36, ka99, leha, Troll123

Comments
  #12  
Old 02-14-2021, 04:25 PM
yilmaz's Avatar
yilmaz yilmaz is offline
 
Join Date: Sep 2004
Posts: 751
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Troll123 View Post
the color bar of the mods is not displayed on version 5.6.4 I made a request for help to my skin developer they did not find anything of are rated would you have an idea ?
Is the widget_onlineusers template content of the style you use original or edited?

HTML Code:
<vb:if condition="empty($widgetConfig) AND !empty($widgetinstanceid)">
	{vb:data widgetConfig, widget, fetchConfig, {vb:raw widgetinstanceid}}
</vb:if>
<vb:if condition="!empty($widgetConfig)">
	{vb:set widgetid, {vb:raw widgetConfig.widgetid}}
	{vb:set widgetinstanceid, {vb:raw widgetConfig.widgetinstanceid}}
</vb:if>

<vb:if condition="!$widgetConfig['thisPageOnly']">
	{vb:rawdata onlineUsers, wol, fetchAll, '', 'members', 1, {vb:raw widgetConfig.maxUsers}}
	{vb:rawdata onlineUserCounts, wol, fetchCounts, ''}
<vb:else />
	{vb:rawdata onlineUsers, wol, fetchAll, {vb:raw page.pageKey}, 'members', 1, {vb:raw widgetConfig.maxUsers}}
	{vb:rawdata onlineUserCounts, wol, fetchCounts, {vb:raw page.pageKey}}
</vb:if>

{vb:set title, {vb:if "!empty($widgetConfig['title'])", {vb:raw widgetConfig.title}, {vb:phrase whats_going_on}}}

<div class="b-module{vb:var widgetConfig.show_at_breakpoints_css_classes} canvas-widget default-widget wol-widget" id="widget_{vb:raw widgetinstanceid}" data-widget-id="{vb:raw widgetid}" data-widget-instance-id="{vb:raw widgetinstanceid}">

	{vb:template module_title,
		widgetConfig={vb:raw widgetConfig},
		title={vb:raw title},
		show_title_divider=1,
		can_use_sitebuilder={vb:raw user.can_use_sitebuilder}}

	<div class="widget-content<vb:if condition="$widgetConfig['displayAvatars'] AND $onlineUsers AND $user['showavatars']"> display-avatar</vb:if>">
		<vb:if condition="isset($onlineUsers['errors']) OR isset($onlineUserCounts['errors'])">
			<div>{vb:phrase no_permission}</div>
		<vb:else />
			<vb:if condition="!empty($widgetinstanceid)">
				<vb:if condition="empty($widgetConfig['hide_text'])">
				<p><vb:if condition="$onlineUserCounts['total'] > 1">{vb:rawphrase there_are_x_online, {vb:raw onlineUserCounts.total}, {vb:url 'online_details'}}<vb:else />{vb:rawphrase there_is_x_online, {vb:raw onlineUserCounts.total}, {vb:url 'online_details'}}</vb:if> {vb:rawphrase x_members_and_y_guests, {vb:raw onlineUserCounts.members}, {vb:raw onlineUserCounts.guests}}.</p>
				<p>{vb:rawphrase most_users_ever_online_was_x_y_at_z, {vb:raw onlineUserCounts.recordusers}, {vb:datetime {vb:raw onlineUserCounts.maxonlinedate}, date}, {vb:datetime {vb:raw onlineUserCounts.maxonlinedate}, time}}</p>
				</vb:if>
				<vb:if condition="$onlineUsers">
					<ul class="onlineuserlist h-clearfix">
						{vb:set onlineCount, 0}
						<vb:each from="onlineUsers" value="onlineUser">
							<vb:if condition="$onlineUser['invisible']">
								{vb:set onlineUser.invisibleMarker, '*'}
							<vb:else />
								{vb:set onlineUser.invisibleMarker, ''}
							</vb:if>
							<li class="h-left">
								<vb:comment>If the widget is set to display avatars and the current viewing user wants to see avatars</vb:comment>
								<vb:if condition="$widgetConfig['displayAvatars'] AND $user['showavatars']">
									<a href="{vb:url 'profile', {vb:raw onlineUser}}" class="avatar h-left<vb:if condition="!empty($onlineUser['invisible'])"> onlineuserlist-invisible</vb:if>">
										<vb:if condition="!empty($onlineUser['avatarpath'])">
											<img title="{vb:raw onlineUser.username}{vb:var onlineUser.invisibleMarker}" alt="{vb:raw onlineUser.username}{vb:var onlineUser.invisibleMarker}" src="{vb:raw baseurl_corecdn}/{vb:raw onlineUser.avatarpath}" />
										<vb:else />
											<img title="{vb:raw onlineUser.username}{vb:var onlineUser.invisibleMarker}" alt="{vb:raw onlineUser.username}{vb:var onlineUser.invisibleMarker}" src="{vb:raw baseurl_corecdn}/images/default/default_avatar_medium.png" width="64" height="64" />
										</vb:if>
									</a>
								<vb:else />
									<a href="{vb:url 'profile', {vb:raw onlineUser}}"<vb:if condition="$onlineUser['invisible']"> class="username-invisible-user"</vb:if>><vb:if condition="!empty($onlineUser['musername'])">{vb:raw onlineUser.musername}<vb:else />{vb:raw onlineUser.username}</vb:if></a><vb:if condition="++$onlineCount < count($onlineUsers)">,&nbsp;</vb:if>
								</vb:if>
							</li>
						</vb:each>
					</ul>
				</vb:if>
			<vb:else />
				<vb:if condition="$user['can_use_sitebuilder']">
					<span class="note">{vb:phrase click_edit_to_config_module}</span>
				</vb:if>
			</vb:if>
		</vb:if>
	</div>
</div>
Reply With Quote
  #13  
Old 02-14-2021, 04:31 PM
migratoria migratoria is offline
 
Join Date: Oct 2011
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yilmaz in the next upgrade it is possible to implement this function for additional groups?
Reply With Quote
  #14  
Old 02-14-2021, 04:53 PM
Troll123 Troll123 is offline
 
Join Date: Mar 2015
Location: France
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yilmaz View Post
Is the widget_onlineusers template content of the style you use original or edited?

HTML Code:
<vb:if condition="empty($widgetConfig) AND !empty($widgetinstanceid)">
	{vb:data widgetConfig, widget, fetchConfig, {vb:raw widgetinstanceid}}
</vb:if>
<vb:if condition="!empty($widgetConfig)">
	{vb:set widgetid, {vb:raw widgetConfig.widgetid}}
	{vb:set widgetinstanceid, {vb:raw widgetConfig.widgetinstanceid}}
</vb:if>

<vb:if condition="!$widgetConfig['thisPageOnly']">
	{vb:rawdata onlineUsers, wol, fetchAll, '', 'members', 1, {vb:raw widgetConfig.maxUsers}}
	{vb:rawdata onlineUserCounts, wol, fetchCounts, ''}
<vb:else />
	{vb:rawdata onlineUsers, wol, fetchAll, {vb:raw page.pageKey}, 'members', 1, {vb:raw widgetConfig.maxUsers}}
	{vb:rawdata onlineUserCounts, wol, fetchCounts, {vb:raw page.pageKey}}
</vb:if>

{vb:set title, {vb:if "!empty($widgetConfig['title'])", {vb:raw widgetConfig.title}, {vb:phrase whats_going_on}}}

<div class="b-module{vb:var widgetConfig.show_at_breakpoints_css_classes} canvas-widget default-widget wol-widget" id="widget_{vb:raw widgetinstanceid}" data-widget-id="{vb:raw widgetid}" data-widget-instance-id="{vb:raw widgetinstanceid}">

	{vb:template module_title,
		widgetConfig={vb:raw widgetConfig},
		title={vb:raw title},
		show_title_divider=1,
		can_use_sitebuilder={vb:raw user.can_use_sitebuilder}}

	<div class="widget-content<vb:if condition="$widgetConfig['displayAvatars'] AND $onlineUsers AND $user['showavatars']"> display-avatar</vb:if>">
		<vb:if condition="isset($onlineUsers['errors']) OR isset($onlineUserCounts['errors'])">
			<div>{vb:phrase no_permission}</div>
		<vb:else />
			<vb:if condition="!empty($widgetinstanceid)">
				<vb:if condition="empty($widgetConfig['hide_text'])">
				<p><vb:if condition="$onlineUserCounts['total'] > 1">{vb:rawphrase there_are_x_online, {vb:raw onlineUserCounts.total}, {vb:url 'online_details'}}<vb:else />{vb:rawphrase there_is_x_online, {vb:raw onlineUserCounts.total}, {vb:url 'online_details'}}</vb:if> {vb:rawphrase x_members_and_y_guests, {vb:raw onlineUserCounts.members}, {vb:raw onlineUserCounts.guests}}.</p>
				<p>{vb:rawphrase most_users_ever_online_was_x_y_at_z, {vb:raw onlineUserCounts.recordusers}, {vb:datetime {vb:raw onlineUserCounts.maxonlinedate}, date}, {vb:datetime {vb:raw onlineUserCounts.maxonlinedate}, time}}</p>
				</vb:if>
				<vb:if condition="$onlineUsers">
					<ul class="onlineuserlist h-clearfix">
						{vb:set onlineCount, 0}
						<vb:each from="onlineUsers" value="onlineUser">
							<vb:if condition="$onlineUser['invisible']">
								{vb:set onlineUser.invisibleMarker, '*'}
							<vb:else />
								{vb:set onlineUser.invisibleMarker, ''}
							</vb:if>
							<li class="h-left">
								<vb:comment>If the widget is set to display avatars and the current viewing user wants to see avatars</vb:comment>
								<vb:if condition="$widgetConfig['displayAvatars'] AND $user['showavatars']">
									<a href="{vb:url 'profile', {vb:raw onlineUser}}" class="avatar h-left<vb:if condition="!empty($onlineUser['invisible'])"> onlineuserlist-invisible</vb:if>">
										<vb:if condition="!empty($onlineUser['avatarpath'])">
											<img title="{vb:raw onlineUser.username}{vb:var onlineUser.invisibleMarker}" alt="{vb:raw onlineUser.username}{vb:var onlineUser.invisibleMarker}" src="{vb:raw baseurl_corecdn}/{vb:raw onlineUser.avatarpath}" />
										<vb:else />
											<img title="{vb:raw onlineUser.username}{vb:var onlineUser.invisibleMarker}" alt="{vb:raw onlineUser.username}{vb:var onlineUser.invisibleMarker}" src="{vb:raw baseurl_corecdn}/images/default/default_avatar_medium.png" width="64" height="64" />
										</vb:if>
									</a>
								<vb:else />
									<a href="{vb:url 'profile', {vb:raw onlineUser}}"<vb:if condition="$onlineUser['invisible']"> class="username-invisible-user"</vb:if>><vb:if condition="!empty($onlineUser['musername'])">{vb:raw onlineUser.musername}<vb:else />{vb:raw onlineUser.username}</vb:if></a><vb:if condition="++$onlineCount < count($onlineUsers)">,&nbsp;</vb:if>
								</vb:if>
							</li>
						</vb:each>
					</ul>
				</vb:if>
			<vb:else />
				<vb:if condition="$user['can_use_sitebuilder']">
					<span class="note">{vb:phrase click_edit_to_config_module}</span>
				</vb:if>
			</vb:if>
		</vb:if>
	</div>
</div>
I confirm you that widget_Onlineusers of my style and origin and not modify
Reply With Quote
  #15  
Old 02-14-2021, 06:15 PM
yilmaz's Avatar
yilmaz yilmaz is offline
 
Join Date: Sep 2004
Posts: 751
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by migratoria View Post
Yilmaz in the next upgrade it is possible to implement this function for additional groups?
Should additional groups show in postbit and user profile?
Reply With Quote
  #16  
Old 02-14-2021, 06:35 PM
Troll123 Troll123 is offline
 
Join Date: Mar 2015
Location: France
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is what it gives me
it misses the legend of the groups finally of account ... otherwise everything works
Attached Images
File Type: jpg Probl?me 1.jpg (27.2 KB, 0 views)
Reply With Quote
  #17  
Old 02-15-2021, 03:05 AM
yilmaz's Avatar
yilmaz yilmaz is offline
 
Join Date: Sep 2004
Posts: 751
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Troll123 View Post
This is what it gives me
it misses the legend of the groups finally of account ... otherwise everything works
You need to do this part in settings => https://youtu.be/lEnWA8P7N3k?t=165
Reply With Quote
  #18  
Old 02-15-2021, 03:12 AM
yilmaz's Avatar
yilmaz yilmaz is offline
 
Join Date: Sep 2004
Posts: 751
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by migratoria View Post
Yilmaz in the next upgrade it is possible to implement this function for additional groups?
Hello migratoria,
This plugin is sufficient for additional User Groups.

Yilmaz - Usergroups Username Colors Everywhere vB5

Reply With Quote
  #19  
Old 02-15-2021, 03:37 PM
Troll123 Troll123 is offline
 
Join Date: Mar 2015
Location: France
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm doing exactly the same thing as you and still no legend bar an idea?
Reply With Quote
  #20  
Old 02-15-2021, 05:44 PM
yilmaz's Avatar
yilmaz yilmaz is offline
 
Join Date: Sep 2004
Posts: 751
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Troll123 View Post
I'm doing exactly the same thing as you and still no legend bar an idea?
Have you applied the marked places after the change?

Attached Images
File Type: png screenshot-www.vbulletin.org-2021.02.15-20_42_43.png (32.3 KB, 0 views)
Reply With Quote
  #21  
Old 02-17-2021, 04:12 PM
Troll123 Troll123 is offline
 
Join Date: Mar 2015
Location: France
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry I'm doing exactly the same manipulations as you are doing it doesn't work for 5.6.4 of Vbulletin (doesn't work)

Yours sincerely,
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 09:19 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.04561 seconds
  • Memory Usage 2,391KB
  • Queries Executed 26 (?)
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_html
  • (6)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (5)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
  • (11)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_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