PDA

View Full Version : Add-On Releases - Yilmaz - Username HTML Markup vB5


yilmaz
01-17-2021, 10:00 PM
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 (https://youtu.be/lEnWA8P7N3k):
========================================
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

Troll123
01-18-2021, 11:58 AM
just a huge thank you for the time that I'm looking for a mods update for Vbulletin 5.6 it's just awesome what you're doing thanks again.

Mboora
01-18-2021, 03:55 PM
Thanks for this fantastic mod.

Keep up the great work.

napy8gen
01-18-2021, 09:09 PM
Hi Brother.
Is this for vb5.6.4?
The add on is not working even on default style vb5.6.4

The css seems not working but I can see fontawesome added in head tag. There is no extra css (css_yilmazunamemarkup.css) for the usergroup added in head tag. I can see this css in CSS Templates group.

Under usergroup there is "coloring usergroup", I added the span code in between empty field box for administrator.
There is also nothing happens in the username custom span added in the code.

I added the add-on here in my demo forum https://www.sultantheme.com/vb5connectforum/

yilmaz
01-19-2021, 05:12 AM
Hi Brother.
Is this for vb5.6.4?
The add on is not working even on default style vb5.6.4

The css seems not working but I can see fontawesome added in head tag. There is no extra css (css_yilmazunamemarkup.css) for the usergroup added in head tag. I can see this css in CSS Templates group.

Under usergroup there is "coloring usergroup", I added the span code in between empty field box for administrator.
There is also nothing happens in the username custom span added in the code.

I added the add-on here in my demo forum https://www.sultantheme.com/vb5connectforum/

Apply the marked places, css will be effective

You need to do this part in settings => https://youtu.be/lEnWA8P7N3k?t=165

https://vborg.vbsupport.ru/attachment.php?attachmentid=158436&stc=1&d=1611040336

napy8gen
01-19-2021, 06:31 PM
Apply the marked places, css will be effective

You need to do this part in settings => https://youtu.be/lEnWA8P7N3k?t=165

https://vborg.vbsupport.ru/attachment.php?attachmentid=158436&stc=1&d=1611040336


Thank you it is working now!:up:

hafid36
01-25-2021, 05:40 AM
Apply the marked places, css will be effective

You need to do this part in settings => https://youtu.be/lEnWA8P7N3k?t=165

https://vborg.vbsupport.ru/attachment.php?attachmentid=158436&stc=1&d=1611040336
i have problemme with mods

https://up.badr-sat.net/do.php?img=35 (https://up.badr-sat.net/)
https://up.badr-sat.net/do.php?img=36 (https://up.badr-sat.net/)

simonbirch73
01-28-2021, 03:50 PM
Hi yilmaz,

Is there any way to change the usergroup colours on the forum?
so it shows on the front of the website under the topic?

migratoria
01-29-2021, 07:24 AM
It is possible to implement this function for additional groups?

Troll123
02-14-2021, 03:21 PM
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 ?

yilmaz
02-14-2021, 04:25 PM
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?


<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>

migratoria
02-14-2021, 04:31 PM
Yilmaz in the next upgrade it is possible to implement this function for additional groups?

Troll123
02-14-2021, 04:53 PM
Is the widget_onlineusers template content of the style you use original or edited?


<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

yilmaz
02-14-2021, 06:15 PM
Yilmaz in the next upgrade it is possible to implement this function for additional groups?

Should additional groups show in postbit and user profile?

Troll123
02-14-2021, 06:35 PM
This is what it gives me
it misses the legend of the groups finally of account ... otherwise everything works

yilmaz
02-15-2021, 03:05 AM
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

yilmaz
02-15-2021, 03:12 AM
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 (https://vborg.vbsupport.ru/showthread.php?t=328552)

https://vborg.vbsupport.ru/attachment.php?attachmentid=158572&d=1613364701

Troll123
02-15-2021, 03:37 PM
I'm doing exactly the same thing as you and still no legend bar an idea?

yilmaz
02-15-2021, 05:44 PM
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?

https://vborg.vbsupport.ru/attachment.php?attachmentid=158588&stc=1&d=1613418269

Troll123
02-17-2021, 04:12 PM
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,

DamasGate
03-21-2021, 04:17 PM
Works %100 on vb 6.5.4

Thank you so much-loved.

Troll123
05-08-2021, 08:18 AM
Hello, already thank you I finally succeeded in making the mods work ^^ moreover I have a question and is it possible to translate (Usergroup Color Bar Legend) in French? if yes how to do? What file to modify?

Seven Skins
05-10-2021, 11:18 AM
^^ it should be in phrases, search for "Usergroup Color Bar Legend" in phrases.

Troll123
06-21-2021, 04:19 AM
Hello,
I have a small problem it's been a while that I have your extension is since I install my bar on the right is found all below the forum do you have an idea? how to solve the problem? https://wolf-organisation.com/wolf/probl%c3%a9me%20Script.png

Paquele
08-26-2021, 10:23 AM
Hi Yilmaz

I´ve some Problems with the Yilmaz - Advanced Forum Statistics (AJAX) and Yilmaz - Username HTML Markup vB5.....

Yilmaz - Username HTML Markup vB works fine only in Yilmaz - Advanced Forum Statistics (AJAX) not realy

Amibay
10-15-2021, 03:17 PM
When I install this and load the forum home page I just get this message "That action could not be completed. Please try again, and if this occurs again please contact the system administrator and tell them how you got this message." instead of the body of the forum. All that loads is this error and the header and footer of the forum.

If I disable it the forum loads correctly. I'm on the latest 5.6.4 PL1

BaB0N
01-17-2022, 12:06 PM
Hey,
I have a bug - the legend doubles the user group names. How can it be resolved?
And how can I translate or remove the "user group color legend bar" part?
vB5.5.6, Hebrew (RTL).
https://i.imgur.com/A7Y0tXr.png

yilmaz
01-17-2022, 08:34 PM
It looks like it's not closing the html tag.

you-site/admincp/yilmazunamemarkup.php?do=usergroup&
Go to this page from the settings, check them one by one, close tag.

https://i.postimg.cc/RhpYZJ3q/screenshot-vbyilmaz-com-2022-01-17-23-29-54.png

geosharing
01-20-2022, 06:02 PM
I have problem when i enable this plugin my forum is down please help

74v
07-16-2022, 12:32 PM
vb nin son versiyonunda çalışmıyor

Dex7
09-12-2022, 06:56 AM
How can I add other colors to groups?

yilmaz
09-12-2022, 01:42 PM
How can I add other colors to groups?

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

Dex7
11-28-2022, 07:27 PM
I see these error spamming in webserver error logs
Got error 'PHP message: PHP Notice: Undefined index: widget_onlineusers in /vb/core/packages/yilmazunamemarkup/api/template.php on line 23PHP message: PHP Notice: Undefined index: widget_onlineusers in /vb/core/packages/yilmazunamemarkup/api/template.php on line 23PHP message: PHP Notice: Undefined index: widget_onlineusers in /vb/core/packages/yilmazunamemarkup/api/template.php on line 23PHP message: PHP Notice: Undefined index: widget_onlineusers in /vb/core/packages/yilmazunamemarkup/api/template.php on line 23'

ezchtu
12-12-2022, 05:12 AM
I see these error spamming in webserver error logs
Got error 'PHP message: PHP Notice: Undefined index: widget_onlineusers in /vb/core/packages/yilmazunamemarkup/api/template.php on line 23PHP message: PHP Notice: Undefined index: widget_onlineusers in /vb/core/packages/yilmazunamemarkup/api/template.php on line 23PHP message: PHP Notice: Undefined index: widget_onlineusers in /vb/core/packages/yilmazunamemarkup/api/template.php on line 23PHP message: PHP Notice: Undefined index: widget_onlineusers in /vb/core/packages/yilmazunamemarkup/api/template.php on line 23'

You need to add the online users widget.
If you read your errors it usually will tell you the problem it is having.

jeremystcyr69
03-16-2023, 11:02 AM
Excellent mod my man! Installed and works great!

dualiTy
03-25-2023, 06:53 PM
Hello there i have this error after i upload the Core/admincs and packages

"That action could not be completed. Please try again, and if this occurs again please contact the system administrator and tell them how you got this message."