Log in

View Full Version : Mini Mods - Username Markup In Threadbits


MarkFL
03-16-2017, 10:00 PM
Overview:

This simple product adds username HTML markup associated with usergroups to threadbits on forum home,forum display and search results threadbits. That's it!

Compatibility:

Tested and working on VB 4.2.x and may work on all 4.x versions of vBulletin.

Backup/Warning:

This product does not alter your database, however it is always good practice to make regular backups and you should make a backup before installing ANY new mod.

As always, products are USE AT YOUR OWN RISK. I will provide support and do my best to help but no absolute guarantee is offered.

To Install:


Download and extract the attached .zip file.
Follow AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product.
Click on "Choose File" and browse to the product .xml file that was packaged in the .zip file.
Click "Import."
You MUST enable the product in the settings before it will function.


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

Support for this product can be found here:


MHB - Username Markup In Threadbits (http://mathhelpboards.com/vbulletin-products-61/username-markup-threadbits-21761.html)
TAZ - Username Markup In Threadbits (https://theadminzone.com/threads/username-markup-in-threadbits.144975/)

Flipfloptrader
03-17-2017, 10:48 AM
Installed and working, many thanks!

seb5594
03-17-2017, 01:07 PM
Installed and works as expected on vB 4.2.4, thank you!

ia7
03-17-2017, 03:35 PM
Nice little addition. Is it possible to get it working in Blocks too do you think?

MarkFL
03-17-2017, 04:47 PM
Nice little addition. Is it possible to get it working in Blocks too do you think?

Custom forum blocks can be written to use username markup. :)

I don't think there are any plugin hooks for the default forum blocks, but I could be wrong.

maupassant
03-18-2017, 04:13 AM
Another nice one. Thanks a lot for your work.:)

Forcemu
03-20-2017, 09:51 PM
what is the difference between this and e360 markup?

MarkFL
03-20-2017, 10:04 PM
I have no idea...I never used anything but my own. I've seen similar mods used on other sites, but there were always HTML issues (which mine does not suffer from). I recently saw issues being reported for a similar product, so I thought I would offer mine as an alternative.

Flipfloptrader
05-11-2017, 05:03 AM
Hi Mark,

I think this mod is causing this error for me?

11-May-2017 06:41:01 UTC] PHP Strict Standards: Only variables should be passed by reference in /home/flipflop/public_html/includes/functions.php(3273) : eval()'d code on line 5

It's the only plugin using the memberaction_dropdown hook.

Any ideas what I need to change?

Thanks.

MarkFL
05-11-2017, 04:05 PM
Hi Mark,

I think this mod is causing this error for me?

11-May-2017 06:41:01 UTC] PHP Strict Standards: Only variables should be passed by reference in /home/flipflop/public_html/includes/functions.php(3273) : eval()'d code on line 5

It's the only plugin using the memberaction_dropdown hook.

Any ideas what I need to change?

Thanks.

Try changing that plugin so that its code reads:

global $vbulletin;

if ($vbulletin->options['markfl_umitb_active'] AND !$memberinfo['musername'] AND $memberinfo['userid'])
{
$user_info = fetch_userinfo($memberinfo['lastposterid']);
$memberinfo['musername'] = fetch_musername($user_info);
}