View Full Version : Advanced BBCode Permissions
I had problem suddenly pop up with another addon (username request). For some reason the PM data manager (class_dm_pm.php) was clashing with class_bbcode.php of all things. It was happening at the hook location in that file.
I isolated it to this addon's bbcode_parse_start hook code.
The error given by PHP is this:
Fatal error: Cannot use object of type vB_DataManager_PM as array in /var/www/includes/class_bbcode.php(360) : eval()'d code on line 41
Still trying to debug this one. If anyone has any information it would be a big help.
Pcwolfx®
21 Aug 2009, 22:20
we want only dont show in signature.
This installed find, seemed to be working. I have one selected group that i wanted to be able to use a custom bbcode. So i went in and turn this freature on in all the groups and left that custom code set to no. the only group it is set to on is the group i wanted. Now, I have only a few code options on the Post Menu.
Dosn't seem to be working right. Is it somthing i am over looking is the settings or is the hack broken?
3.6.8
Im using vBulletin 3.8.3 and it throws alot of warning and errors. :/
This addon is great! Please update it. thx anyway and good work.
DariuS7
27 Oct 2009, 00:33
Agreed, I'd really like to have this but I'm afraid to install it because knowing me I'd render my forum unusable in a matter of minutes if I started getting a bunch of errors.
BadgerDog
20 Nov 2009, 11:45
Uninstalled .... :(
Interferes complete with vBClassifieds advertisement system and disables all vBCodes that appear in those members ads.
Thanks anyway for the effort to program this .... :)
Regards,
Badger
Emmmmrz
05 Jan 2010, 04:07
:( Had to disable due to some interesting clashing with Coroner's vBulletin Diary (http://www.vbulletin.org/forum/showthread.php?t=223880) mod. Very disappointed.
tafreeh
13 Jan 2010, 04:35
Requesting this mod for vb4.1, Please.
I would love to use this on my 4.0 suite. I've heard of one owner using it on 4.0 and they say it works fine. Maybe I'll give that a go if I feel brave enough. However, please cast my vote for a VB4.x update. Thanks!
OcR Envy
15 Jan 2010, 13:54
I would love to use this on my 4.0 suite. I've heard of one owner using it on 4.0 and they say it works fine. Maybe I'll give that a go if I feel brave enough. However, please cast my vote for a VB4.x update. Thanks!
I can confirm it does not work with 4.x
AWJunkies
15 Jan 2010, 15:41
Seems to work fine with 4.0.1. The options are removed in any message window and when trying to use it it will show the bbcode brackets and info like text like it should and not execute the bbcode.
The messenger above me please state what is NOT working. As adminCP saving and options so on all working and functionality so please post what you saw as not working.
The chatbox must be using the method do_parse() instead of parse(). If you can figure out how you should change it to parse()
I do not succeed to make to work this add-on with Cyb chatbox.
You can give a suggestion to me in order to resolve?
Thanks
Charlie98902
15 Feb 2010, 22:43
Can you please port this over to vb4? It clashes right now with the VSA Chatbox.
I do not succeed to make to work this add-on with Cyb chatbox.
You can give a suggestion to me in order to resolve?
Thanks
The my version of vbulletin is the 3.8.x .
Help
I do not succeed to make to work this add-on with Cyb chatbox.
You can give a suggestion to me in order to resolve?
Thanks
up :(
B@Zzz...
05 Mar 2010, 18:44
I realy like this mod, but does it work good with 3.8.1?
And is it possible to uninstall?
Because my forum is running for a year now, and I can't have errors in my forum (the users won't appreciate that ;))
Tnx
B@Zzz...
06 Mar 2010, 11:43
I installed the mod, but I can't find the page to change the settings?
Where can I find them?
EDIT:
Oops, just found it a few minutes ago... stupid... ;)
Makc666
09 Mar 2010, 11:23
This one conflicts with
Cyb - ChatBox for v3.8.*
http://www.vbulletin.org/forum/showthread.php?t=201283
The pages where Cyb - ChatBox is used only the hook
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
is called.
So when this one is used:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
There 2nd,3rd, etc. messages in ChatBox loose their BBCode parsing.
I found a quick fix around this one.
Just replace the above one code in product's XML file with this one:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
lpetrich
10 Mar 2010, 16:32
I realy like this mod, but does it work good with 3.8.1?
And is it possible to uninstall?
Because my forum is running for a year now, and I can't have errors in my forum (the users won't appreciate that ;))
At our board, we've been running it in 3.8.4, and it's been no problem.
Looks like it works OK as long as one does not specify options. But if one does, its BBCodes won't get rendered. I think that there was some change in the code that it calls. I *might* be able to recommend a fix by studying the code.
B@Zzz...
10 Mar 2010, 18:31
It works good! We don't have any problems during install!
I installed it because of the bbcode voor moderatorwarnings ([ mod] [ /mod], can't find the topic anymore :( )
When I post the bbcode [mod] in my own reply, it works, but when I edit a reply of an user, the mod-bbcode doesn't work (logical, because the user doesn't have the rights to use that code).
Is it possible to change that? When I edit an reply of an user, the [mod] works on my editted text?
(I hope it's clear what I mean, I'm from holland, my english is bad... :( )
Andreas
19 Mar 2010, 08:29
This Add-on has a serious bug:
The Code on Hook bbcode_parse_complete assumes that
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
does always exist, which is not necessarily the case if do_parse() is being called directly (PhotoPost vBGallery for example does that).
So this causes the Tag-List to become empty after the first call to do_parse().
Changing the code it
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
lpetrich
21 Apr 2010, 11:59
I tried to research this question of what might be going wrong with this add-on in 4.0, but I couldn't find any documentation for either the 3.8 or 4.0 vBulletin API's.
Alecsmith
11 May 2010, 06:55
Not working in VSA Chat Box of VB 4 :( uninstalled check out screenshot added below
dr.tawy
16 May 2010, 17:14
Working Perfectly on Vbulletin 4.x
Amazing Mod
lpetrich
16 May 2010, 18:59
Does it work even with BBCodes that use options?
BBCodes where one does contents
It works good! We don't have any problems during install!
I installed it because of the bbcode voor moderatorwarnings ([ mod] [ /mod], can't find the topic anymore :( )
When I post the bbcode [mod] in my own reply, it works, but when I edit a reply of an user, the mod-bbcode doesn't work (logical, because the user doesn't have the rights to use that code).
Is it possible to change that? When I edit an reply of an user, the [mod] works on my editted text?
(I hope it's clear what I mean, I'm from holland, my english is bad... :( )
Same happens to me
BirdOPrey5
17 May 2010, 21:33
It's not working at all for me in vB 3.8.4 PL2... it installs no problem but it isn't blocking any bb codes... I just setup an iframe code I wanted to restrict to admins and super-mods...I set the primary usergroup of my regular users to "yes" use advanced BB Code and "Yes" to all Bb Codes but "No" for Iframe... I set all the secondary usergroups (additional usergroups) my users are members of to "yes" use advanced bb code and "no" to all options... but all users are able to use all bbcode, including iframe.
BirdOPrey5
18 May 2010, 00:12
OK I got it working but it's weird, I wouldn't believe it if i didn't do it myself- I had to kind of force the hack to work by turning off the basic bb code (for bold, italics, and underline) saving changes, then turning them back on... only then would the iframe be disabled- and I had to do this for each usergroup I had. I wish I knew why it didn't work right to begin with so I can trust that it doesn't stop blocking codes again.
mk craig 42
27 May 2010, 20:40
It works good! We don't have any problems during install!
I installed it because of the bbcode voor moderatorwarnings ([ mod] [ /mod], can't find the topic anymore :( )
When I post the bbcode [mod] in my own reply, it works, but when I edit a reply of an user, the mod-bbcode doesn't work (logical, because the user doesn't have the rights to use that code).
Is it possible to change that? When I edit an reply of an user, the [mod] works on my editted text?
(I hope it's clear what I mean, I'm from holland, my english is bad... :( )
Likewise.. Is there any fix to this?
lpetrich
28 May 2010, 16:57
It's from how this add-on works -- it renders a tag only in the posts of someone who has the permission to do so, and not otherwise.
To render a tag in a quote of someone with the appropriate permissions would require some fancy parsing, and it would be very easy to make a fake quote for rendering such a tag.
So I think that we are stuck with tags being unrendered in quotes of those with the permissions to render them.
BirdOPrey5
11 Jun 2010, 16:57
OK, I've come across another problem... when using this mod with vBadvanced Links Directory the bb code in the category description doesn't parse, but when viewing the link directly it does parse. I've brought the issue up on their site as well but was wondering if anyone had any ideas on why this might be the case. When I disable this mod it works fine. Example attached.
BirdOPrey5
11 Jun 2010, 17:00
This Add-on has a serious bug:
The Code on Hook bbcode_parse_complete assumes that
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
does always exist, which is not necessarily the case if do_parse() is being called directly (PhotoPost vBGallery for example does that).
So this causes the Tag-List to become empty after the first call to do_parse().
Changing the code it
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Making this change to the bbcode_parse_complete plugin fixed the issue I was having with code not parsing in vbadvanced links directory- THANK YOU.
slipkot
23 Jun 2010, 21:58
Finally, because other said that they have problems and other not, if i use it with 3.8.5 will i have any problem?
BirdOPrey5
23 Jun 2010, 22:38
Finally, because other said that they have problems and other not, if i use it with 3.8.5 will i have any problem?
Well it works for me on 3.8.4 PL2 but I have to disable each code in each usergroup and then re-enable each one for the permissions to take... When I add new bbcodes I have to redo this for each group and new code as well as by default new codes are 'off' for all groups but they still work for all groups until I enable/disable again.
slipkot
23 Jun 2010, 22:43
OK i will test it and come back with news! Thanks for the help...
slipkot
24 Jun 2010, 14:12
Well, i installed it but i have a problem. I am using cyb chatbox. And when the modification is active bbcode on chatbox doesn't work... Any suggestions?
Edit: Fixed using the code mention here (http://www.vbulletin.org/forum/showpost.php?p=2006325&postcount=271)! Thanks
BirdOPrey5
24 Jun 2010, 14:56
I would try the fix I used in post #282, I also had bbcode disabled in another mod until I did that.
Will this work on Vbulletin 3.8.2?
rootsxrocks
03 Aug 2010, 19:28
I belive this plug in has caused me some confusing issues in 4.04 as posted here I may have mistaken your beta 4 to be for the new cms. Other than this issue with articles it works pretty good with 4.04 Unfortunitly It means I will have to remove my Iframe bbcode that i had reserved for just myself and I had given other BB codes for privledged users Please advise ?
http://www.vbulletin.com/forum/showthread.php?358654-vBCms-Comments-Display-Settings-on-CMS-article-Revert-to-No
Warning: Invalid argument supplied for foreach() in [path]/includes/functions_editor.php(487) : eval()'d code on line 122 and you do not have permission.
BirdOPrey5
03 Aug 2010, 22:38
Will this work on Vbulletin 3.8.2?
It should, it works for me on 3.8.6... but I have to turn each bb code from 'on' to 'off' then 'on' again to get the permissions to work right, seems the first time they aren't actually 'set' for lack of a better term so I need to cycle them once to force them to work... could just be me though.
lpetrich
09 Aug 2010, 06:13
I'm confused. What's the status of this mod for 4.0? What works and what doesn't? Do BBCodes with options work?
I'm asking that because at our board, we use it to create messages from staff members with a special appearance, so it won't be possible to counterfeit them.
Will that still work?
Will it still work if one has an option in it? That's what we use to make titles of our messages.
rootsxrocks
17 Aug 2010, 01:36
It needs a little work for 4.0X
Black Tiger
11 Oct 2010, 15:42
I would like to install this mod, but I'm missing a very importand bbcode permission.
And that's the img code permission. Can this be added to this mod please?
Christophe_O
28 Oct 2010, 06:05
Hello! I do not even know PhP. I had a run-in with Bank of America because someone posted phishing links. So I want to enable active links in signatures only--and for "premium" usergroups only. Such signature-only links are easy to monitor and control. Also, signature links are essential to reward participation by serious forum members.
I greatly respect this tidy modification. But all I want is to enable active links in signatures--and nowhere else.
...Ironically... the standard Vbulletin 3.0 options (I am not yet upgraded to 4.0) "almost" supply what I want. "Edit Usergroup" can specify link-in-signature permissions for specific groups... But... the only way to turn off links in posts will override the link-in-signature settings--disabling all links in all signatures for all groups...!
(Admin --> Options --> BB Code Settings --> Allow link BB Code --> "...Disabling a bbcode will prevent it from working anywhere on the forum, including signatures...")
Instead of using a PhP mod--can I perhaps just modify a template--so that disabling a link BBcode will not affect signatures...?
Otherwise, can you please add to Advanced BBcode Permissions: two separate "Links" permissions for "Posts" and "Signatures"...?
(If you want to go beyond perfect, perhaps someday we could specify a precise number of links allowed in signatures, between 0 and 9.)
Two weeks later, November 15, 2010:
P.S. I met my needs with no PhP modifications. I decided there is no need to separate message links from signature links. Instead, simply limit all links to "premium" members who pay a nominal fee. I disabled [url] links forum-wide, and "announced" that members must pay $1/year to enable links. These 'premium' members then receive a 'custom' BB code for links. All do-able with standard Vbulletin features. However it is clumsy to post hypertext links without the link button. It would certainly be best to use Advanced BBcode Permissions. I intend to do so when my forum has more members.
Anyway, thank you for your hard work. (Everyone who uses good things like this should please donate at least $5 or $10!)
In the 3.8.2 version the plugin works fine, but produce conflicts with anothers packages from CYB, like the chatbox.
Anyone had similar problems with others mods and this one?
Thanks in advance.
iRO Wiki
09 Nov 2010, 17:06
I'm going to put my hat in here on the adding support for img tags!
Or perhaps just the code to do so, I may try to figure it out.
BirdOPrey5
27 Dec 2010, 13:36
I installed this on 4.0.8 and it works perfectly for me.
bulldog51981
27 Dec 2010, 22:07
I installed this on 4.0.8 and it works perfectly for me.
Installed 3.0 or Beta Version on 4.0.8
Also, where do I modify the php code in the post from the last page? I can't seem to find it anywhere.:confused:
BirdOPrey5
27 Dec 2010, 22:11
I installed the version currently in the first/top post: advanced_bbcode_permissions_3_0.zip (version 3.0).
The "Beta" link is to the exact same file.
Also, where do I modify the php code in the post from the last page? I can't seem to find it anywhere.:confused:
I don't know what you're asking?
bulldog51981
27 Dec 2010, 22:18
I installed the version currently in the first/top post: advanced_bbcode_permissions_3_0.zip (version 3.0).
The "Beta" link is to the exact same file.
I don't know what you're asking?
Your post #282
bulldog51981
27 Dec 2010, 22:22
I'm a little lost on this one (I usually don't have a problem adding the fixes to things) and my chatbox now looks like the example in post#273 (page 19)
BirdOPrey5
27 Dec 2010, 22:24
Just to be clear I tested this with regular BB codes and BB Codes with options, I read what people reported earlier they were having issues but it works fine for me. I don't have many mods on my 4.0.8 forum so if someone was having problems I'd guess they either made a mistake or more than likely have a conflict with another mod.
BirdOPrey5
27 Dec 2010, 22:29
Ahh yes, go to your Admin CP -> Plugin manager, go to the Advanced BB Code Permissions mod and go to the plugin: Advanced BBCode Permissions on hook: bbcode_parse_complete
Find the line: (It should be the only line)
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Replace it with:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
And you're set... it should work with other add-ons if you do this... it works within normal vbulletin pages without this change however.
mk craig 42
01 Jan 2011, 14:39
Is there any way this mod can be edited so that Admins/mods can edit a regular members post who DOES NOT have permission for a certain BB Code and make the bb code work on that post.
As at the moment, when I try to edit a usergroups post who I disabled a BB Code for, it also doesn't work for me when I try to edit their post, which is logical.
So basically I want to be able to edit users post and allow the BB Code to work when an admin/mod edits it?
Thanks.
To give you more info.. I have the [mod] BB Code added.. and I want only mod's and Admins to be able to use it, which is why it is disabled on every other usergroup... But the idea of MOD message is to edit a users post and warn them on their own post whilst possibly deleting some of their content that breaches the rules... and obviously with this mod I can't edit their post with the [mod] bb code :(
beduino
03 Jan 2011, 13:35
Thank you !
I'm looking for if this hack works in last vB 4.1.0 ... maybe with this will work :)
Ahh yes, go to your Admin CP -> Plugin manager, go to the Advanced BB Code Permissions mod and go to the plugin: Advanced BBCode Permissions on hook: bbcode_parse_complete
Find the line: (It should be the only line)
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Replace it with:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
And you're set... it should work with other add-ons if you do this... it works within normal vbulletin pages without this change however.
OldSchoolDSL
05 Jan 2011, 20:55
Ahh yes, go to your Admin CP -> Plugin manager, go to the Advanced BB Code Permissions mod and go to the plugin: Advanced BBCode Permissions on hook: bbcode_parse_complete
Find the line: (It should be the only line)
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Replace it with:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
And you're set... it should work with other add-ons if you do this... it works within normal vbulletin pages without this change however.
Thank you :)
Tested and working
4.1 PL2 :cool:
rootsxrocks
06 Jan 2011, 17:53
Thank you :)
Tested and working
4.1 PL2 :cool:
Good to Know I was wanting to re install this
abdulbasitsaeed
13 Jan 2011, 19:35
(libertate, apparently your donation helped :))
This is BETA test.
Version 4.0 beta 1
I'm just running through this beta so some of you guys can test the 2 changes before I make it an official release. There 'should' be no issue with this version but I just want it tested first.
1) If you dont have custom bbcodes, you should not get an error anywhere.
2) Additional usergroups are checked to see if they can use a BBCode if the Primary Usergroup has the permission turned off. If ANY of the user's usergroups have the setting 'enable advanced bbcode permissions' turned OFF, then it will be TURNED OFF for the user and he gets the forum default. If ALL a users usergroups have it set to ON, then it will check through all the usergroups and get a 'yes' even if only an additional usergroup has it set to yes.
Please post feedback quickly. I would like to release this ASAP.
Just import the new file into products. No need to uninstall.
Works on 4.0.4.
Abe1, would you like to release the 4.0 version of this mod as a separate mod thread? :)
Thought I'd add that I had to make these changes mentioned earlier to get it fully functional.
Ahh yes, go to your Admin CP -> Plugin manager, go to the Advanced BB Code Permissions mod and go to the plugin: Advanced BBCode Permissions on hook: bbcode_parse_complete
Find the line: (It should be the only line)
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Replace it with:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
And you're set... it should work with other add-ons if you do this... it works within normal vbulletin pages without this change however.
RK KINGKONG
24 Jan 2011, 07:25
working perfect on vb 4.1.1 installed
BirdOPrey5
25 Jan 2011, 02:43
I know this is unusual but for some reason this mod is conflicting with 3 or the 4 bb codes listed in this mod: http://www.vbulletin.org/forum/showthread.php?t=235328
With this mod enabled only 1 of those 4 icons show in the editor window even when users have permission to use them.
Found this bug in vb 4.1.1
RK KINGKONG
25 Jan 2011, 16:53
I had to correct myself yes it works with 4.1.1 but as birdofprey. Has found it
Conflicts with the BB code mod he listed. Be a nice fix cause this is a great mod
working perfect on vb 4.1.1 installed
whyiteasy
30 Jan 2011, 20:53
Yeah its working perfect in vb 4.1.1 :D
RK KINGKONG
01 Feb 2011, 09:16
@ Abe1 - any update as to why with installing this other mod TW7S - [ Information - Tip - Note - Warning ] BBCode (http://www.vbulletin.org/forum/showthread.php?t=235328&page=8) it only shows one of the editor button images even for people with permissions . however if i disable your bb code permissions then they all show up , but then again everyone has access to them . which i dont want ? can you help . I have also posted in the other authors thread for his mod
bulldog51981
22 Feb 2011, 15:15
Still only getting some of the icons to show up in editor (even with the modified plugin code from post #303)
Of 8 Custom BBCodes, only 5 are showing even with all set to 'Yes'. One of the above TW7S's are not, an interactive google map one and a photobucket one are the one's that don't appear in the editor. Disabling for now, will watch for any other updates.
TITAN-UZ
29 Mar 2011, 21:14
nice mod!
Thanks Abe1!
Full support 4.0.x
RK KINGKONG
18 Apr 2011, 03:19
Is anyone running this on 4.1.3 ? also has the issue with it only showing 1 icon in the editor fixed when using this other mod with it http://www.vbulletin.org/forum/showthread.php?t=235328&page=8 TW7S - [ Information - Tip - Note - Warning ] BBCode
Gn_Snake
10 May 2011, 21:11
Work on 4.1.3 Great Mod..thanks
Gn_Snake
11 May 2011, 19:28
Work on 4.1.3 Great Mod..thanks
I edited because I activated the plugin to all user groups and I chose the options yes or no depending on how I preferred.
But although I have put the spoiler bbcode ON everyone, this does not appear to anyone.
It 's strange that not only what is displayed.
Any ideas?
TheHack3r
20 May 2011, 17:11
The Beta test version 4.0 It's works on my vbulletin v.4.1.3, thx, good job
Gn_Snake
20 May 2011, 19:40
My problem is an error in the edit Article of the CMS Home Page.
The error is:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
If disable the plugin the system works
Any idea Please? :confused:
BirdOPrey5
20 May 2011, 19:50
My problem is an error in the edit Article of the CMS Home Page.
The error is:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
If disable the plugin the system works
Any idea Please? :confused:
Did you do the fix I mentioned in post #303?
RK KINGKONG
20 May 2011, 19:56
Work on 4.1.3 Great Mod..thanks
it worked for me before the problem is the conflict between this mod and TW7S - [ Information - Tip - Note - Warning ] BBCode
when you try to use both some of the 2nd mod options wont display unless you disable one of them
Gn_Snake
20 May 2011, 20:12
it worked for me before the problem is the conflict between this mod and TW7S - [ Information - Tip - Note - Warning ] BBCode
when you try to use both some of the 2nd mod options wont display unless you disable one of them
To disable want to remove the bbcode?
Gn_Snake
20 May 2011, 20:35
Did you do the fix I mentioned in post #303?
Yes I did.
The only way to bring up the error is to disable the plugin, but I will not do it. sigh :erm:
//EDIT
I removed the bbcode of TW7, but he does it again
RK KINGKONG
20 May 2011, 21:12
To disable want to remove the bbcode?
i understand that but i want to use both of these , the permissions to not allow the other members to use the other mod but oh well lol , cant have it all right
Gn_Snake
23 May 2011, 11:03
Only gives me this error?
For my board have active the plugin is very useful, I would be grateful to those who could help me.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Thanks
HouseAddict
24 Jun 2011, 00:21
Ahh yes, go to your Admin CP -> Plugin manager, go to the Advanced BB Code Permissions mod and go to the plugin: Advanced BBCode Permissions on hook: bbcode_parse_complete
Find the line: (It should be the only line)
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Replace it with:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
And you're set... it should work with other add-ons if you do this... it works within normal vbulletin pages without this change however.
I tried that too... and no go.
I am still getting the same error message as others:
Warning: Invalid argument supplied for foreach() in [path]/includes/functions_editor.php(470) : eval()'d code on line 122
Could it have anything to do with custom BBCodes? I've added a few of them, and they are not showing up on the CKE Editor on the page that I am getting this error on. And on other pages where I am not getting this error, those custom BBCodes do show up.
And it only shows up on the Article pages that have CKE Editor for comments enabled (at the bottom of the article)... nowhere else.
That might be a hint...
BirdOPrey5
24 Jun 2011, 00:58
I have no idea if this would even work with the new CKE Editor... that change broke a lot of mods.
HouseAddict
24 Jun 2011, 01:01
I have no idea if this would even work with the new CKE Editor... that change broke a lot of mods.
Well, I'm telling you it does work on 4.1.4 just fine. Except on that single page where CKE Editor is included at the bottom of the Article (in CMS) as means of commenting for users... which is weird.
rootsxrocks
28 Jun 2011, 01:54
do you have gameroom installed House? I would like to have this be a perrmission that was paid by credits.
HouseAddict
04 Jul 2011, 16:51
I tried that too... and no go.
I am still getting the same error message as others:
Could it have anything to do with custom BBCodes? I've added a few of them, and they are not showing up on the CKE Editor on the page that I am getting this error on. And on other pages where I am not getting this error, those custom BBCodes do show up.
And it only shows up on the Article pages that have CKE Editor for comments enabled (at the bottom of the article)... nowhere else.
That might be a hint...
Anyone?
BirdOPrey5
04 Jul 2011, 17:26
I am not able to reproduce the error. I got my hands on a 4.1.4 suite and I have a custom bbcode and it is showing/working in all the editors- include the article editor and article comments.
How many custom BB Codes do you have?
Nevermind- I see it- I didn't have the mod enabled for my usergroup... investigating now.
HouseAddict
05 Jul 2011, 00:11
Nevermind- I see it- I didn't have the mod enabled for my usergroup... investigating now.
Ahhh, so I'm not actually crazy...
Let us know if you figure out what the issue is, or more importantly the workaround...
BirdOPrey5
05 Jul 2011, 00:23
I can get rid of the error by editing the plugin editor_toolbar_start...
finding the code:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
and changing it to :
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
But none of the custom bbcode icons will show in the cms article editor.
HouseAddict
05 Jul 2011, 00:40
Ouch!
And that's the only place I need those custom bbcodes - in the CMS Articles (not the comments, just the original article HTML editor).
Is there an alternative way to simply disable custom bbcodes for certain usergroups (or for non-mods and non-admins)?
BirdOPrey5
05 Jul 2011, 00:52
Ouch!
And that's the only place I need those custom bbcodes - in the CMS Articles (not the comments, just the original article HTML editor).
They work in the Article Creation, but they aren't shown in article comments with my "fix."
HouseAddict
05 Jul 2011, 00:56
They work in the Article Creation, but they aren't shown in article comments with my "fix."
Damn!
You are correct!
That's exactly what I needed... perfect!
Thank you...
datoneer
21 Jul 2011, 23:07
I need this for my version 3.8.3 please.
Thanks!
BirdOPrey5
22 Jul 2011, 01:21
I need this for my version 3.8.3 please.
Thanks!
This works fine on 3.8.x as is.
datoneer
22 Jul 2011, 20:36
installed without problems but when i turn it on for guests, links [code] are still showing.
That means that this actually doesn't work. I have a custom theme. Is that maybe a problem?
BirdOPrey5
22 Jul 2011, 22:39
Are you saying guests can still SEE links or guests can POST links?
datoneer
23 Jul 2011, 04:41
Guests can still SEE links!
BirdOPrey5
24 Jul 2011, 13:32
Guests can still SEE links!
This is expected behavior. This mod would stop guests from POSTING links assuming you let guests post.
This prevents usergroups from USING BBCodes... If a registered user has permission to post a link then anyone viewing the post will see the link.
I believe there are other mods out there to specifically stop guests from SEEING links. Should be easy to find with a search.
FReeSTER
02 Aug 2011, 07:50
Ahh yes, go to your Admin CP -> Plugin manager, go to the Advanced BB Code Permissions mod and go to the plugin: Advanced BBCode Permissions on hook: bbcode_parse_complete
Find the line: (It should be the only line)
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Replace it with:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
And you're set... it should work with other add-ons if you do this... it works within normal vbulletin pages without this change however.
Bro you have rescue me again, thank you so much
Confirm working on vb4.1.3
UDPride
19 Aug 2011, 03:10
Does this mod still ignore the IMG tag usergroup perm functionality? Unfortunately I had to uninstall as thats the function I really need. Easiest way to extinguish the porn spammers. I dont care if anyone posts with bold or italics.
If something else is out there that address the IMG tag for usergroups, let me know. Thanks.
Jaffery
09 Feb 2012, 13:02
I am seeing here that its working for vb 4.x series, but I installed it on vb4.1.7 , guests can still post links .. am I missing something ?
I changed their permission from
usergroup-> usergroup manager --> edit user group
disabled LINK / EMAIL bbcode , but still guests can post link !!!
I have installed this add-on yesterday.
We want to use it, to restrict the use of the URL-BB-Code. But when I turn on the add-on - Users are still able to make postings with the BB-Code in - but the Code won't be parsed. After such an user has posted something with a link, it looks like:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
(without the *)
And that is not so nice. Is there a possibily just to show the url as text, without the bb-code-tags around?
So - if this user will get in another usergroup where Links are allowed, that the old links will not turn over to real links.
BirdOPrey5
11 May 2012, 12:35
Almost anything is possible muffel but what you ask is a big change from the existing mod and since the original coder hasn't updated it in 6 years (yes years) and it's not "Re-Usable" code, there is about no chance it is going to happen. I would suggest you use it as is or make other arrangements.
Thank you for your fast answer.
Is there maybe another mod, you can do this?
Or is there a way to change this mode a little? :)
BirdOPrey5
11 May 2012, 13:48
I know of no other mods that do what this mod does.
And my original point is this is NOT a "little change" in terms of coding, it's not as easy as you think it would be.
Good luck though in your search. :)
Syxguns
19 May 2012, 22:02
Just found out that this mod is working in vB 4.1.12 PL1 :)
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.