Link to Mod (http://mods.simplemachines.org/index.php?mod=449)
Rate this Mod (http://mods.simplemachines.org/index.php?action=review;sa=add;mod=449)
This mod will add permissions for every BBC tag. They can be changed in the global permissions for each membergroup. If a member is in a group that isn't allowed to use a tag, the tag won't be parsed. This mod also works for custom tags added in other mods.
Excellent idea for a mod! I can see this being used many people. Good job!
beautiful. you have made my day.
anyway to get it for RC2 also? I am waiting for TinyPortal to release an update for RC3. If not I can wait... Its worth it.
Thanks soo much for the mod.
lHf
Great idea. great mod. Great job. Makes many people happy :)
Hey great mod.
For some reason I cannot pick codes though, it just says "Allow all tags" with a tick box, if I untick it nothing happens and I cannot pick which to use.
If I untick it and save, it reticks itself.
I've checked all the files, the mod installed properly.
Quote from: londonhogfan on September 01, 2006, 12:21:03 PM
beautiful. you have made my day.
anyway to get it for RC2 also? I am waiting for TinyPortal to release an update for RC3. If not I can wait... Its worth it.
Thanks soo much for the mod.
lHf
Try adding ";version_emulate=1.1 RC3" to th epackage manager URL.
Quote from: L.G.S on September 01, 2006, 12:51:37 PM
Hey great mod.
For some reason I cannot pick codes though, it just says "Allow all tags" with a tick box, if I untick it nothing happens and I cannot pick which to use.
If I untick it and save, it reticks itself.
I've checked all the files, the mod installed properly.
Does it show individual checkboxes for each BBC tag (like the screenshot on the mod site page)?
No, just "Allow all tags" where they should be
Wierd...Can you go to the BBC manager (Admin -> Posts and Topics -> Bulletin Board Code) and see if there's checkboxes for each tag there?
http://img235.imageshack.us/img235/323/bbbbil5.jpg
Nope, just like the permissions
Quote from: L.G.S on September 01, 2006, 03:32:33 PM
http://img235.imageshack.us/img235/323/bbbbil5.jpg
Nope, just like the permissions
OK it's not a problem with the mod then. Can you pm me the parse_bbc function in Subs.php?
sent ;)
Quote from: L.G.S on September 01, 2006, 03:49:36 PM
sent ;)
OK Thanks. If anyone else has issues with this mod and has the Hide Tag Special Mod installed, see my post here (http://www.simplemachines.org/community/index.php?topic=32954.msg710886#msg710886).
Thanks for sorting my problem out.
Quote from: winrules on September 01, 2006, 12:08:38 PM
Link to Mod (http://mods.simplemachines.org/index.php?mod=449)
Rate this Mod (http://mods.simplemachines.org/index.php?action=review;sa=add;mod=449)
This mod will add permissions for every BBC tag. They can be changed in the global permissions for each membergroup. If a member is in a group that isn't allowed to use a tag, the tag won't be parsed. This mod also works for custom tags added in other mods.
I have a member who seems to think we don't know the meaning of any words so he links multiple words to the wiki dictionary thing. I installed the BBC tag mod, made a new usergroup, added the user to the group, turned off the
IURL and the
URL tags in permissions. But the
URL link still works in his posts. Will the new usergroup override the members group? I don't know if I understand all of the functionality of this mod.
Any help explaining what needs to be done to make this work would be Great
Thanks
I don't have the mod yet because TinyPortal hasn't upgraded for rc3 yet, but my guess would be that he is in another group that allows the BBC.
Might be nice if the mod is updated again to have an allow | disallow | deny to the permissions.
Quote from: Poreman on September 07, 2006, 04:12:12 PM
Quote from: winrules on September 01, 2006, 12:08:38 PM
Link to Mod (http://mods.simplemachines.org/index.php?mod=449)
Rate this Mod (http://mods.simplemachines.org/index.php?action=review;sa=add;mod=449)
This mod will add permissions for every BBC tag. They can be changed in the global permissions for each membergroup. If a member is in a group that isn't allowed to use a tag, the tag won't be parsed. This mod also works for custom tags added in other mods.
I have a member who seems to think we don't know the meaning of any words so he links multiple words to the wiki dictionary thing. I installed the BBC tag mod, made a new usergroup, added the user to the group, turned off the IURL and the URL tags in permissions. But the URL link still works in his posts. Will the new usergroup override the members group? I don't know if I understand all of the functionality of this mod.
Any help explaining what needs to be done to make this work would be Great
Thanks
Has he made any new posts? Because this won't work on any old posts. Maybe I'll rewrite it so it does.
Quote from: londonhogfan on September 07, 2006, 04:26:12 PM
I don't have the mod yet because TinyPortal hasn't upgraded for rc3 yet, but my guess would be that he is in another group that allows the BBC.
Might be nice if the mod is updated again to have an allow | disallow | deny to the permissions.
Not sure, Seems the Global Permissions overides this. Don't know. All I know is the permission select box's are in the usergroup permissions, but whether checked or unchecked seems don't Change anything, I'll keep an eye on this thread and see if anyone comes up with instructions on how to use this
Thanks
Did you see my previous post?
Ok, I thought it would work on previous post as well as future post. my error, but if you can make it retro-active to all, that would be nice. :)
Thanks
hi this mod is good but it fails in certain aspects...
#1 the links are still visible as text within the URL tags
Suggestion: It would be better to have an replacement?
#2 if i post my link straight like this http://path-to-peace.net
it shows up as a hyperlink so the purpose of URL BB code is defeated
Any solutions for this?
Thanks
I'll have to revisit this mod...Right now it only checks for things on posting not in realtime, which can be a problem.
its a great mod all the same :D thanks
lookin forward to ur next version
h winrules
just to let u know i noticed a small error in this mod
after installing EVERYONE (except the admin) were unable to use the "quote" tag anymore.
I checked and double checked the permissions for each and every group individually (I have advanced permissions for post based membergroups on) and all the permissions were proper. Yet this was occuring.
Just to let u know
aku
Quote from: akulion on October 31, 2006, 07:26:24 AM
h winrules
just to let u know i noticed a small error in this mod
after installing EVERYONE (except the admin) were unable to use the "quote" tag anymore.
I checked and double checked the permissions for each and every group individually (I have advanced permissions for post based membergroups on) and all the permissions were proper. Yet this was occuring.
Just to let u know
aku
I found this true at my forums to, so I had to un-install the mod. Now waiting to see if the bugs get worked out in new versions before I try it again.
Poreman
What happens when they try to quote? Does it not show the quote button, or does it not parse the quote?
Quote from: winrules on October 31, 2006, 03:39:45 PM
What happens when they try to quote? Does it not show the quote button, or does it not parse the quote?
It Doesn't parse the qoute? you get something like
[quote]
Context of qoute
[/quote]
Showing in the text message
same it dosent get parsed
Quote from: akulion on October 31, 2006, 07:05:24 PM
same it dosent get parsed
Same for me.
And another one interested in deactivating automatic URL parsing:
Quote from: akulion on October 29, 2006, 08:39:01 PM
#2 if i post my link straight like this http://path-to-peace.net
it shows up as a hyperlink so the purpose of URL BB code is defeated
Any possibility preventing this automatic parsing for "newbie" members, but
not for "normal" users?
The "quote" tag works at my site. It parsed.
I have problem in activating or de-activating the BBC Permission initially, but i found the way to make it works.
I have to uncheck the "Allow all tags" first, then check on those tags that i want to allow.
If i don't do it this way but just uncheck those tags that i don't want to allow, the permission won't work correctly.
Hope this helps.
Found a possible solution to the quote problem:
If a group is edited, and all bbc tags are selected (to allow all tags), the row for that group should be deleted in the db-table bbc_permissions.
Instead the db-row of that group gets cleared, with no bbc tags left in this row.
This results in all bbc tags disallowed instead of no tags.
So the solution is to replace those 4 lines in ManagePermissions.php:
db_query("
REPLACE {$db_prefix}bbc_permissions
(ID_GROUP, disallowed)
VALUES ($_GET[group], '$disallowed')", __FILE__, __LINE__);
with this block:
if ($disallowed != '') {
db_query("
REPLACE {$db_prefix}bbc_permissions
(ID_GROUP, disallowed)
VALUES ($_GET[group], '$disallowed')", __FILE__, __LINE__);
} else {
db_query("
DELETE FROM {$db_prefix}bbc_permissions
WHERE ID_GROUP = $_GET[group]", __FILE__, __LINE__);
}
Anyway, im still searching for a solution to the automatic url-code parsing...
thanks for the solution
but im not trying it out on my live board (http://path-to-peace.net/forum/Smileys/default/crylaugh.gif) im afraid ill break everything
Amicus, that should have no effect on the quote problem. Currently it will just insert a blank row. The automatic url parsing isn't a bug, but rather a limitation of the current way it does it.
I am completely unable to reproduce the problem with the quote tag. Can someone having that problem send me a test user with the abbillity to manage permissions, or a dump of the bbc_permissions table.
Hi winrules,
ok youre right, the url parsing isnt a bug. im anyway searching for a solution to this "problem"..
But the quote-bug..ok it isnt a "quote"-bug. It's an "all-tags"-bug..or something like this:
Freshly installed BBC Permissions mod, on SMF 1.1 RC3.
Go to Group Admincenter -> Members -> Permissions.
Select "modify" for "regular members", go to end of page and click on "save changes" without making any changes...
And now try to post any bbc tag as a regular member - doesn't work anymore. No bbc tags are parsed.
Only solution is to deselect at least one bbc-tag in the permissions, to get the other tags "back"...
That is the bug my posted code-changes fixed...
Greets,
Amicus
could we get an update for 1.1 when you have time. I have been wanting to put this mod to use for a long time.
Thanks.
Winrules, there seems to be some problem with your mod. I as administrator was having trouble being able to use ANY BBC codes. If I logged on a non-admin everything was fine. Sometimes my codes as an admin would work, but the tag would appear outside the code, for example:
[img]http://www.google.com/images/firefox/google.gif[/img]
would show as
[img](http://www.google.com/images/firefox/google.gif)[/img]
Other times, it would show as:
[img]http://www.google.com/images/firefox/google.gif[/img]
After uninstalling this modification, everything seems to work fine. So, I assume there is some error in handling administrators with this mod.
For more information, visit my previous topic:
http://www.simplemachines.org/community/index.php?topic=141184
Hai Winrules and Visualcode,
I've got the same Problem... and solved it.
It's in subs-post.php.
Search for this:
// Now do the actual finding and replacing.
$message = str_replace($find, $replace, $message);
and replace it with:
// Now do the actual finding and replacing.
if (!empty($disallowed))
$message = str_replace($find, $replace, $message);
This should fix it.
@Winrules, perhaps you could fix it in your mod too.
Best Regards
Lanthan
I have had an issue with this mod.
I installed it in a 1.1.1 smf upgraded to 1.1.2 to prohibit guests from posting urls and images (I was trying to control spam), but since I configured those permissions, no-one on other membergroups could post images nor urls (I have'nt try with other bbcodes). It just displayed the bbcode without parsing it.
At first I didn't know what was causing that, since my forum has more mods installed, so, I re-installed the whole forum, fresh 1.1.2 version.
Then, I went installing all the mods I had before and tested them, and when I installed this mod the trouble came back.
Fortunately, after uninstallation all went OK again.
seems to have a problem made a test usergroup put a test user in it. unchecked the http in permissions. Made a post with the test user using a http://www.anysite.com it still showed as a link didn't turn the http off. went back and checked the permissions in test usergroup, http still unchecked but didn't make a change in the posting any reasoning behind this or do I need to uninstall anf forget this mod?
Poreman
Problem:
If an Administrator does not belong to another usergroup, the administrator can not use any [ tags ] due to not being able to set permissions on himself. This is very problematic for the board admins.
Also, all of the tags seem to not work correctly, even when all permissions are set as all available to all users/groups. Example:
the IMG tag changes the image link to : http://hxxp: www1. istockphoto. com/file_thumbview_approve/424975/2/istockphoto_424975_doesn_t_work. jpg
it spaces out the URL and removes the slash
Hi everyone! :)
So, I just wanted to know if the work on this wonderful MOD is still in progress? Are all the bugs fixed? I would really like to use it on my forum when it will be functioning correctly.
Thanks for your answers.
AfroSamurai.
@ AfroSamurai
The developer, winrules, indicates that he is on hiatus so my advice to you would be to take that as an indication that he may not have time to make the number of changes replies on this topic indicate may be required. At some, undetermined, time in the future this may change and the requests may all be answered but for now either use the mod as it is or not...the choice is yours.
OK thanks for your answer TrueSatan...
Just would like to know if some of you people have tested it with the corrections that some users have put in the topic... is it enough to make it work fine or is there still some issues? Because if its just the changes of codes that where posted, I can manage to copy/past it on my own.
If I were you I'd open a test forum...a fresh install of SMF 1.1.3 on a fresh database...and try it in that. The modifications posted may be perfectly fine but seeing as we've no way to judge how well or extensively they've been tested, and the developer of this mod may not have had time to review them, you would be using them at your own risk. Unfortunately code that may work on the posters configuration of SMF may not work on your forum so try it with all the mods you want to use added to that test forum before you add it to a live/production forum.
this mod fails to install for me,
the system says it's not a package or it's corrupted
I use SMF 1.1.3 with default theme
The mod download page clearly states that it is for SMF 1.1.2 In this topic you will find a lot of discussion about problems with the mod and a number of suggested bug fixes...you would need to apply them for yourself if you were to use the mod...to get it to install then you can use version emulate...at your own risk as the mod is not intended for the version of SMF that you use and has known issues:
Put ;emulate_version=1.1.2 at the end of the Package Manager URL
Quote from: TrueSatan on September 16, 2007, 05:48:42 AM
The mod download page clearly states that it is for SMF 1.1.2 In this topic you will find a lot of discussion about problems with the mod and a number of suggested bug fixes...you would need to apply them for yourself if you were to use the mod...to get it to install then you can use version emulate...at your own risk as the mod is not intended for the version of SMF that you use and has known issues:
Put ;emulate_version=1.1.2 at the end of the Package Manager URL
I'm not very good with these things :(
thanks...
Anyone know if this mod is still inactive?
I really wish this mod would be updated for 1.1.4 and the developer would continue work on it. It sounds like just what I am searching for.
I want a way that guests can NOT see any images or links...
I also wish this mod could be in effect for 1.1.4. I have members who constantly insist on changing the color of their text, which is distracting, annoying, and inevitably clashes with whatever color scheme the site uses.
I'm sure I'm not the only Admin who's experienced this. ;)
Anyone know if this works on 1-1-5?
Is this mod in limbo?
hi;
do you thinkin adaptation for modification on smf version 2.0 beta 3.1 ?
I have this MOD installed, but when spammers use uppercase URL BBCode tags, the links work. Lowercase does not. Does anyone know of a way to fix this?
Thanks.
Thanks for this beautiful mod.
Oh please, make it work for 1.1.6...
I'm trying this on a fresh 1.1.6 and it actually works BUT:
- there is a bug in the enabling/disabling system: in you press "check all" and save, everything gets disabled, even if it stays checked when reloading. eg:
I disable a tag -> make a post -> tag won't get parsed
I enable the tag by single cliking it -> make a new post -> tag GET parsed
BUT
I enable the tag (and all other) by pressing "check all" -> NO TAG get parsed, as if I had disabled them all.
in NO CASE posts get changed, if tag is enabled when a post is done, it continue to get parsed (this mod acts when post is saved on DB, so it is not "retroactive") ;)
if by mistake you press "check all" and save, no tag will be parsed anymore. To reenable the tags you must deselect them ALL, save, and re-select them ONE BY ONE, then save. Everything will work.
If you know this, you can use it on 1.1.6. And I hope this will also help to fix it ;)
hmmm strange.
I just installed into SMF 1.1.6, and have no problems as previously stated by other users.
This is as admin.
I will try user group that is restricted. If I do not return to reply, then consider me one of the lucky ones :D lol
Well, Im not one of the lucky ones!! lol
A day or so later, and EVERYONE except me "the Admin" can use bbcodes. They just dont parse for me! LOL
Dagnabbit!!
Is there some way to change this is the db, or somewhere else??
Its rather embarrassing when even your guests can out bbcode you! LOL
signed
Non BBcode Admin
The problem is, that something goes wrong, when an 'empty' record for a membergroup exists in the smf_bbc_permissions table. With 'empty' I mean, that there's nothing in the disallowed-column.
So, the check for the disallowed-field being empty should be enhanced, or you should delete the record for a membergroup from the smf_bbc_permissions table, when all permissions are enabled.
Does anyone know off the top of their head if this kind of feature is built into 2.0?
I have tried installing it on 2.0 beta 4, and it did not work with simple click install.
However, I have managed to conclude that the only major issue is a db inquiry issue. There is some trouble with installing the correct tables, querying the correct tables, or some combination of creating and query-ing the correct tables.
I believe the issue is that the coding is refering to a table's old alias, and due to the upgrade, the table has been renamed, but I have yet to figure out which table is labeled incorrect.
And if you can't tell, I am really excited about this mod. It is such a GREAT tool! Awesome Job to WinRules!
This is the error I receive:
Fatal error: Call to undefined function db_query() in /home/content/d/i/g/diggitydog1/html/Forum/Packages/temp/install.php on line 3
And the only differences I could see (keep in mind I am a noob coder), is in SMF 1.x the table was 'ID_GROUP', and in SMF 2.x it is 'id_group'. Also, there is a reference to 'boardid' in 1.x, but in 2.x it seems to be 'pid'.
I am going to try a different php database installer to see if that will make any difference.
After many attempts at modding this, I realize the database queries must be re-written in smf 2.0 language, and I am not smart enough to figure it out.
Any help would be greatly appreciated.
2.0 beta 4?
Oh, drag.
This kind of thing would be ideal to have built into the admin section of SMF...
*hint, hint to the Smarter Peeps, lol*
Hello,
I have installed your mod on a 1.1.10 installation. I seem to have the same problem as the gentleman on the first page of this thread.
For some reason I cannot pick codes though, it just says "Allow all tags" with a tick box, if I untick it nothing happens and I cannot pick which BBC code to use.
Consequently, it doesn't show individual checkboxes for each BBC tag (like the screenshot on the mod site page)?
If I go to the admin and post and topics then bbc code it does show the individual bbc codes listed and with many of them ticked. I have tried it with the url tag and make links an url ticked and with both unticked I still seem to get the same result. It doesn't work, properly.
Please advise.
Thanks
Randal
Trying to get this mod to work on 1.1.11 anyone have some tips? You cant access the mod at all under the admin area. I thought as much might happen but as of now its my only option. :)
Great Work
Please Guide Me
I Want This MOD For 2.0 RC1
Or
Tell Me Manual Instructions For 2.0 RC1
Please Please Please
Quote from: Dr.IT on August 20, 2010, 08:47:50 AM
Great Work
Please Guide Me
I Want This MOD For 2.0 RC1
Or
Tell Me Manual Instructions For 2.0 RC1
Please Please Please
Please AnyBody There For Help?
The biggest issue without looking too deep is the queries need re-writing as mentioned by a previous poster.
any update/similar with this mod?
Yagiz has ported it to RC3, but he's waiting to hear back from the Custom Team before formally presenting the update. :)
cannot get this mod work with smf 1.1.11. installation went ok, but i cannot use bbc
This mod interferes with the [HTML] BBC Tag mod :( Anybody know how to fix that?
Thank you, it works now.
Any chances this mod will get updated? I currently cannot use it on my forums, it takes away everyone's right to use bbc, even if I give them permission to use all bbcode.
This could be a very useful tool for many of us. I had it working, somewhat on an older version of SMF. Having the bbc code for url assignable to specific membergroups would be valuable. I have a constant problem with members posting links to everything under the sun. If I had an inbound link for every out bound one that gets attempted I'd be golden.
Quote from: gbsothere on October 29, 2010, 02:04:40 PM
Yagiz has ported it to RC3, but he's waiting to hear back from the Custom Team before formally presenting the update. :)
Any update on a 2.0 release?
Would anyone be willing to convert this to SMF 2.0? I (and a lot of other people I bet) could really use this. (Honestly, this should be a standard feature on SMF...)
Quote from: 017 on September 15, 2011, 08:47:01 PM
Would anyone be willing to convert this to SMF 2.0? I (and a lot of other people I bet) could really use this. (Honestly, this should be a standard feature on SMF...)
Downgrade to 1.x :P ha ha Just kidding
Haha, but yeah. It'd be good to have. Hell, I think I'm willing to pay for it, if that helps any.
Anyone ever take a stab at a 2.0 version of this?
I might try but I am not very familiar with the smf database queries.. modding the files are one thing but the database coding would be something new for me.. anyways I have read through all the posts and it seems the database parts are all that need fixing so I will try my luck..
So I found out it's not just the database info that has changed but the templates as well, the following is supposed to be changed in /Themes/default/ManagePermissions.template.php.. if anyone can help me "convert" this lol I can continue, so far I have made the database edits and a few other errors were fixed but I can not test it without this section of code..
Quote from: (Find)echo '
</tr><tr class="windowbg2">
<td colspan="2" align="right"><input type="submit" value="', $txt['permissions_commit'], '" /> </td>
</tr>
</table>
<input type="hidden" name="sc" value="', $context['session_id'], '" />
</form>';
Quote from: (Replace)// Show checkboxes for every BBC tag.
if (!$context['local'])
{
echo '
</tr>
<tr class="catbg">
<td colspan="2" align="center">
BBC Permissions - <span style="color: red;">', $context['group']['name'], '</span>
</td>
</tr>
<tr class="windowbg2">
<td colspan="2" align="left">
<fieldset id="allowedBBCTags">
<legend>' . $txt['permissions_bbc_select'] . '</legend>
<table width="100%"><tr>';
foreach ($context['bbc_tags'] as $column)
{
echo '
<td valign="top">';
foreach ($column as $tag)
echo '
<input type="checkbox" name="bbc_allowed[]" id="tag_' . $tag['tag'] . '" value="' . $tag['tag'] . '"' , $tag['disallowed'] ? '' : ' checked="checked"' , ' class="check" /><label for="tag_' . $tag['tag'] . '">' . $tag['tag'] . '</label><br />';
echo '
</td>';
}
echo '
</tr></table><br />
<input type="checkbox" id="select_all" onclick="invertAll(this, this.form, \'bbc_allowed\');"', $context['bbc_all_allowed'] ? ' checked="checked"' : '', ' class="check" /><label for="select_all"><i>' . $txt['permissions_bbc_all'] . '</i></label>
</fieldset>
</td>
</tr>';
}
echo '
</tr><tr class="windowbg2">
<td colspan="2" align="right"><input type="submit" value="', $txt['permissions_commit'], '" /> </td>
</tr>
</table>
<input type="hidden" name="sc" value="', $context['session_id'], '" />
</form>';
The section I believe it is looking for is this:
echo '
<div class="righttext padding">
<input type="submit" value="', $txt['permissions_commit'], '" class="button_submit" />
</div>';
echo '
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
</form>
Updated for SMF 1.1.16 and 2.0.2
I'll appreciate any feedback.
Fixed the log errors created when bbc tags are deselected (Thanks Iomega0318)
when Update dont forget portuguese
<file name="$languagedir/ManagePermissions.portuguese_pt.php" error="skip">
<operation>
<search position="replace"><![CDATA[
$txt['permissions_with_selection'] = 'Com a seleção';
]]></search>
<add><![CDATA[
$txt['permissions_bbc_select'] = 'Selecione as tags BBC que este grupo pode usar';
$txt['permissions_bbc_all'] = 'Permitir que todas as tags';
$txt['permissions_with_selection'] = 'com a seleção';
]]></add>
</operation>
</file>
<file name="$languagedir/ManagePermissions.portuguese_pt-utf8.php" error="skip">
<operation>
<search position="replace"><![CDATA[
$txt['permissions_with_selection'] = 'Com a seleção';
]]></search>
<add><![CDATA[
$txt['permissions_bbc_select'] = 'Selecione as tags BBC que este grupo pode usar';
$txt['permissions_bbc_all'] = 'Permitir que todas as tags';
$txt['permissions_with_selection'] = 'com a seleção';
]]></add>
</operation>
</file>
<file name="$languagedir/ManagePermissions.portuguese_brazilian.php" error="skip">
<operation>
<search position="replace"><![CDATA[
$txt['permissions_with_selection'] = 'Com a seleção';
]]></search>
<add><![CDATA[
$txt['permissions_bbc_select'] = 'Selecione as tags BBC que este grupo pode usar';
$txt['permissions_bbc_all'] = 'Permitir que todas as tags';
$txt['permissions_with_selection'] = 'com a seleção';
]]></add>
</operation>
</file>
<file name="$languagedir/ManagePermissions.portuguese_brazilian-utf8.php" error="skip">
<operation>
<search position="replace"><![CDATA[
$txt['permissions_with_selection'] = 'Com a seleção';
]]></search>
<add><![CDATA[
$txt['permissions_bbc_select'] = 'Selecione as tags BBC que este grupo pode usar';
$txt['permissions_bbc_all'] = 'Permitir que todas as tags';
$txt['permissions_with_selection'] = 'com a seleção';
]]></add>
</operation>
</file>
Quote from: nikan on December 02, 2011, 04:42:34 AM
Updated for SMF 1.1.15 and 2.0.1
I'll appreciate any feedback.
Been a while since I was last able to get on and look at things, but just downloaded this and seems to work great! I haven't done to much testing but it installed good, shows up fine and seems to work ok. I think you should put this one up in the mods where more people can find it. Great job btw!
Spoke to soon.. just now created a new group and was modifying permissions, etc. this was the first time I actually unchecked some permissions to "disallow" them..
Here's the errors in my log:
http://www.uofreeshards.net/index.php?action=admin;area=permissions;sa=modify;group=17
8: Undefined variable: disallowed
File: /***/Sources/ManagePermissions.php
Line: 913
http://www.uofreeshards.net/index.php?action=admin;area=permissions;sa=modify;group=17
2: in_array() expects parameter 2 to be array, null given
File: /***/Sources/ManagePermissions.php
Line: 913
http://www.uofreeshards.net/index.php?action=admin;area=permissions;sa=modify2;group=17;pid=0
2: Missing argument 5 for smf_db_insert(), called in /uof/Sources/ManagePermissions.php on line 1083 and defined
File: /***/Sources/Subs-Db-mysql.php
Line: 589
**EDIT**
Looking at my table however it does show that it input the group ID and the disallowed bbcode, so no idea why it threw those errors.. it threw about 100 errors btw, they were just all duplicates of those..
Fixed the log errors. The ~100 errors were the tags.
Quote from: nikan on April 25, 2012, 03:20:56 AM
Fixed the log errors. The ~100 errors were the tags.
haha ok lol, will install the new mod and test it out, thank you.
**EDIT**
Just tested new mod, no errors.
Has anyone else noticed this mod no longers appears to work since updating to 2.0.14?
Quote from: Chalky on June 17, 2017, 06:39:24 AM
Has anyone else noticed this mod no longers appears to work since updating to 2.0.14?
It actually caused me to not be able to make posts (or even install packages weirdly enough) due to PHP errors. It looks like this mod is dead for anything 2.0.14 and beyond. :(
Bump. I fixed it.
-edit- attachment removed as the existing license does not allow redistribution of altered files (Kindred)