Thread: Add-On Releases - Yilmaz - Username HTML Markup vB5
View Single Post
  #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
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01195 seconds
  • Memory Usage 1,812KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete