BbCodes & Buttons Manager

BbCodes & Buttons Manager 3.3.5

No permission to download
When clicking "Bb Codes Manager" resulting The requested page could not be found. This only happens if i am enabling cache :
Code:
$config['cache']['enabled'] = true;
$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions']['cache_id_prefix'] = 'xf_';
$config['cache']['cacheSessions'] = true;
How to fix this?, already rebuilding caches with the same results.

I am on 1.4.3
 
Last edited:
The bugs seems not always happens, it's hard to reproduce bug, it doesn't happened anymore after reinstall.
 
The bugs seems not always happens, it's hard to reproduce bug, it doesn't happened anymore after reinstall.
I've tried on my dev board, I don't have any problem. May be you were using a former version of the addon which had a bug.
 
Installed this on XF 1.4, but it just doesn't seem to work?

If I want to disable IMG, URL, Media for registered usergroup, how do I do that?
 
Hence, it's not working as I stated. For example, I included my admin group in the disable media, img bbcodes under the BB Codes Options (XEN) area. Hard refreshed the page on the forum side, both bbcodes still appear.
 
Hence, it's not working as I stated. For example, I included my admin group in the disable media, img bbcodes under the BB Codes Options (XEN) area. Hard refreshed the page on the forum side, both bbcodes still appear.
I've added a 12th paragraph to the FAQ. Be sure to read it first please ; thanks. If it still doesn't work, contact me by pm.
 
I've added a 12th paragraph to the FAQ. Be sure to read it first please ; thanks. If it still doesn't work, contact me by pm.

Doesn't work for me still. See attached my settings. Tested on admin group as you can see, the buttons still appear in XF's default rich text editor.
 

Attachments

  • xf-1.webp
    xf-1.webp
    69.1 KB · Views: 5
  • xf-2.webp
    xf-2.webp
    46.3 KB · Views: 5
  • xf-3.webp
    xf-3.webp
    46.5 KB · Views: 5
  • xf-4.webp
    xf-4.webp
    46.8 KB · Views: 5
  • xf-5.webp
    xf-5.webp
    67.3 KB · Views: 5
  • xf-6.webp
    xf-6.webp
    44.2 KB · Views: 5
  • xf-7.webp
    xf-7.webp
    65.4 KB · Views: 5
  • xf-8.webp
    xf-8.webp
    69 KB · Views: 5
@Chad
I don't understand, you want to configure Bb Codes or Buttons ? For buttons, simply use the Buttons Manager and take out the buttons you want from the editor.
 
Yes, but I want to set this per usergroup not globally.
For buttons, this feature is only available for Bbm Bb Codes, not default buttons, but I guess I could add it: once the Bb Code is disabled (combination of parsing permissions with the visitor objet), the button will be hidden too. I need to check the code to see if it doesn't interfere with other functions.
 
Last edited:
Thanks man I'd appreciate if you add the per usergroup posting bbcode feature.

Basically, for posting, I want certain usergroups to have certain bbcodes disabled, therefore missing from the default XF toolbar.
 
Thanks man I'd appreciate if you add the per usergroup posting bbcode feature.
Actually it's already there, but what you want is to hide XenForo official buttons by usergroups.

I've published a commit on Github based on some of the XenForo Parsing permissions:
Hide XenForo button when its XenForo Bb Code parsing permission (based on the Visitor object) is disabled. Only works with the following Bb Codes : email, url, img & media. The "targeted nodes" option is ignored (can get node information in this part of the script).

It makes sense (If someone is not allowed to parse a Bb Code, then he shouldn't see this Bb Code button when he is connected and writes a message), but I'm not fond of it: it only targets a few XenForo official buttons (email, url, img & media) and it might create confusion for some admin ("Why don't I see anymore this button ?"), which means extra support for me. No time for this, so I let this code on Github, I've tested it, it's working both with the stock editor and TinyMCE Quattro.

I don't plan to add more relations between XenForo official Bb Codes and their Buttons at the moment, because It would require to add many options, which would make the interface more complex with a third level of permissions only for the XenForo buttons.
 
Hey thinks for the update. Still doesn't seem to work though? I updated the php file with your new version and then disabled img, email, media for admin group. When back, hard refreshed page and the icons are still there in the toolbar.
 
Hey thinks for the update. Still doesn't seem to work though? I updated the php file with your new version and then disabled img, email, media for admin group. When back, hard refreshed page and the icons are still there in the toolbar.
It's probably because your buttons config is blanked, try to edit the Redactor config (even without modifying anything) and save it. It should work. I will look at this later.
 
hey is it possible to introduce the marquee HTML tag using this?

cozz i seen other sites have it in there posts, threads, user status bar with custom images as well...

im not sure how to code it in but is there any support for this? - i read somewhere on TinyMCE forums it has some support for it...

and the BBCODE tags wold be like [moving]ur scrolling text here[/moving]
 
I don't understand, could you rephrase your question please ? Thanks.

i meant is it possible to introduce the marquee with BBM? like when you add a new BBCODE (i never made 1 my self b4) is there a way to introduce the marquee, its also known as scroll text animation

such as found here: http://www.quackit.com/html/codes/html_marquee_code.cfm
http://www.tagindex.net/html/text/marquee_option.html

by default in HTML it would be like this

<marquee behavior="scroll" direction="left">Your scrolling text goes here</marquee>

but how to turn that into a BBCODE

so instead of typing in that code u just type in [moving]Your scrolling text goes here[/moving]

and 3rd would it work the the TinyMCE editor? i know that xenforo only supports so many HTML tags but does it support this one as well? - or is there a way to introduce it?
 
Back
Top Bottom