![]() |
Post Body CSS For Specified Users
1 Attachment(s)
Overview: This product will allow you to specify users by usergroup and/or username to be given CSS to their postbit post body content. You may also select active forums in which the product is active. https://vborg.vbsupport.ru/attachmen...1&d=1491375360 Updates: Version 1.1:
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:
https://vborg.vbsupport.ru/attachmen...1&d=1491500000 Support for this product can be found here: |
Very nice Mark, is there a way not to change the quote message from other user in the post? that is included. As i see it effect the quotes to.
|
Update - Version 1.1:
|
Now it only needs to have the ability to let a user choose a picture to use as background and permission checks to see if their group has that option available.
|
Quote:
|
Is it possible to make the same thing for Borders? I have the issue, that the text gets a border aswell.
https://vborg.vbsupport.ru/external/2017/07/1.png |
What about CMS posts? Only for Showthread?
|
Quote:
Quote:
|
1 Attachment(s)
Minor bug...
Code:
all|5,6,9|background:rgba(18, 18, 18, 0.90) url('https://forum-cdn.domain.tld/BackgroundFade1.png') Attachment 156735 Couple other things... 1) Is there a way to add in a user-selectable toggle on reply/post to show/hide said markup? 2) Possible for a third input row in the ACP for direct CSS tagging? Essentially, rather inline CSS like the addon does, it would add in a blurb to the class="" element within the html div called 'postbody'. In the ACP, would end up with something like this as a third input row: all|5,6,9|flare_moderator. Where flare_moderator is taken as literal text and injected to the <div class="postbody" section, to the right of postbody, and left of the double quote. Attachment 156736 |
Quote:
PHP Code:
Quote:
|
Small report, this seems to be an issue with activity.php and how it's polling for forum data with the addon active.
template_render_output hook is causing the Forum Name text, and the forum ID to not render on activity.php. It's completely stripped out, everything else is displayed. Adding in Code:
AND !in_array(THIS_SCRIPT, array('activity', 'usercp') Script effectively becomes this... Code:
($vbulletin->options['markfl_pbsu_active'] AND ($vbulletin->options['markfl_pbsu_usergroups'] OR $vbulletin->options['markfl_pbsu_users']) AND in_array(THIS_SCRIPT, array('editpost', 'newreply')) AND array_intersect(explode(',', $foruminfo['parentlist']), explode(',', $vbulletin->options['markfl_pbsu_forums'])) AND in_array($this->template, array('postbit', 'postbit_legacy')) AND !in_array(THIS_SCRIPT, array('activity', 'usercp')) |
1 Attachment(s)
Those scripts have no issues with this product active for me. The condition:
PHP Code:
On reviewing the difference between the current version and the version here, I now see what is likely the issue. I have updated the product at the sites on which I offer support (in my signature). I am attaching this update here to this post. |
Version 1.2 introduced a new issue, which I have resolved in version 1.2.1 and can be found on the sites on which I actively provide support.
|
All times are GMT. The time now is 07:14 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|