Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Advanced BBCode Permissions - now with custom BBcodes! Details »»
Advanced BBCode Permissions - now with custom BBcodes!
Version: 2.1, by Abe1 Abe1 is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 12-24-2005 Last Update: 02-25-2006 Installs: 155
DB Changes Uses Plugins
Additional Files  
No support by the author.

Advanced BBCode Permissions 2.1


About this hack:
This hack will give you advanced control on BBCode. You will be able to define for each usergroup what BBCode they may or may not use. This hack works now for both standard AND custom BB code!

Installation information on hack:
  • Files edited: 0
  • Templates edited: 0
  • Files to upload: 1
  • Time to install: 1 minute max
Updates:

Version 1.0 (12/25/05):
  • Initial release of this hack

Version 2.0 (2/24/06):
  • [ADDED] Added settings for custom BBCode!

Version 2.1 (2/25/06):
  • [FIXED] Fixed a few bugs including the settings for custom BBcodes not working.

Please post your comments or suggestions for this hack. I read ALL posts.

MAKE SURE YOU CLICK INSTALL!
You will get an email when a new version is released.

This hack is created for your use free of charge. No payment is requested. However, if you would like to donate money for the work I put in to this hack, a donation would show your appreciation.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 02-24-2006, 08:29 PM
Darat Darat is offline
 
Join Date: Aug 2004
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Abe1
You have to enable the advanced bbcode permissions for the group for the settings to be used.
I'm doing that.

I.E.
Reply With Quote
  #53  
Old 02-24-2006, 08:58 PM
Luggruff's Avatar
Luggruff Luggruff is offline
 
Join Date: Apr 2005
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Abe1
Ok. I updated the zip. If you have no custom BB codes, you should not get any error.
and what good does that do? I removed all custom BB codes.. worked fine, added one.. got the same error.

The version 2 of this hack is simply for custom BB codes to work too.. so why would it be good if it don't work with custom BB codes? S:
Reply With Quote
  #54  
Old 02-24-2006, 09:14 PM
samsons samsons is offline
 
Join Date: Dec 2005
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does not work for me too only custom bb-codes work
Reply With Quote
  #55  
Old 02-25-2006, 07:49 AM
Yorixz Yorixz is offline
 
Join Date: Jun 2005
Location: Netherlands
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[sql]Database error in vBulletin 3.5.4:

Invalid SQL:
UPDATE vb3_usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Moderators',
`description` = '',
`usertitle` = 'Moderator',
`opentag` = '<span style=\"color: orange; font-weight: bold;\">',
`closetag` = '</span>',
`passwordexpires` = '0',
`passwordhistory` = '0',
`forumpermissions` = '782847',
`charlimit` = '0',
`attachlimit` = '0',
`pmquota` = '200',
`pmpermissions` = '1',
`pmsendmax` = '5',
`calendarpermissions` = '63',
`wolpermissions` = '3',
`adminpermissions` = '1',
`genericpermissions` = '204046031',
`genericoptions` = '31',
`profilepicmaxwidth` = '100',
`profilepicmaxheight` = '100',
`profilepicmaxsize` = '65535',
`avatarmaxwidth` = '100',
`avatarmaxheight` = '100',
`avatarmaxsize` = '20000',
`allowhtmlpermissions` = '0',
`dcp_permissions` = '1',
`arcadepermissions` = '31',
`advanced_bbcode_usergroup_on` = '1',
`advanced_bbcode_usergroup_permissions` = '1023',
`advanced_bbcode_usergroup_permissions_custom` = 'a6'
WHERE usergroupid=7;

MySQL Error : Unknown column 'advanced_bbcode_usergroup_permissions_custom' in 'field list'
Error Number : 1054
Date : Saturday, February 25th 2006 @ 10:47:41 AM
Script : /admincp/usergroup.php
Referrer : /admincp/usergroup.php?do=edit&usergroupid=7
Classname : vB_Database_MySQLi[/sql]
When I try to edit the custom BBCode permissions; got this after I overwrote my old product with the one you released yesterday.
Reply With Quote
  #56  
Old 02-25-2006, 08:49 AM
Darat Darat is offline
 
Join Date: Aug 2004
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yorixz I had that error but Abel1 quickly fixed it and updated the installation files - download the 2.02 (or latest) version and reinstall.
Reply With Quote
  #57  
Old 02-25-2006, 06:59 PM
Yorixz Yorixz is offline
 
Join Date: Jun 2005
Location: Netherlands
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Weird, I already did so, now I tried uninstalling the old and reinstalling the new one and it seems to work, thanks anyway.

I got another problem it seems though, the settings for custom BBcodes aint respected it seems, it still allows me to use them. I'll do some more bugtracking to see if it isn't one of my other plugins.

edit; nope, tried disabling all other plugins/products and still it allows my usergroup (admin) to use the custom BBcodes, when I disable a "standard" one it wont let me, but custom ones aren't working it seems :ermm:
Reply With Quote
  #58  
Old 02-25-2006, 10:21 PM
djr's Avatar
djr djr is offline
 
Join Date: Nov 2001
Location: Amsterdam
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Yorixz
I got another problem it seems though, the settings for custom BBcodes aint respected it seems, it still allows me to use them. I'll do some more bugtracking to see if it isn't one of my other plugins.

edit; nope, tried disabling all other plugins/products and still it allows my usergroup (admin) to use the custom BBcodes, when I disable a "standard" one it wont let me, but custom ones aren't working it seems :ermm:
I have the same problem. Even though this hack is installed and I set up all correct permissions for that usergroup, it still allows me to use the (disabled for that usergroup) custom bbcodes
Reply With Quote
  #59  
Old 02-26-2006, 01:26 AM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I"m going to d some tests. see why this is happening.
Reply With Quote
  #60  
Old 02-26-2006, 02:23 AM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Version 2.1 (2/25/06):
  • [FIXED] Fixed a few bugs including the settings for custom BBcodes not working.
Reply With Quote
  #61  
Old 02-26-2006, 04:07 AM
Smiry Kin's's Avatar
Smiry Kin's Smiry Kin's is offline
 
Join Date: Dec 2005
Location: United Kingdom!
Posts: 954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i get this error when posting.

Warning: arsort() expects parameter 1 to be array, null given in /includes/class_bbcode.php(149) : eval()'d code on line 27

Warning: Invalid argument supplied for foreach() in /includes/class_bbcode.php(149) : eval()'d code on line 29
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:54 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07763 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete