vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - Username Markup In Threadbits (https://vborg.vbsupport.ru/showthread.php?t=324753)

MarkFL 03-16-2017 10:00 PM

Username Markup In Threadbits
 
1 Attachment(s)
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:

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

https://vborg.vbsupport.ru/attachmen...1&d=1489724871

Support for this product can be found here:

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

Quote:

Originally Posted by ia7 (Post 2583992)
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

Quote:

Originally Posted by Flipfloptrader (Post 2586375)
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:

PHP Code:

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




All times are GMT. The time now is 09:30 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02452 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete