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

Reply
 
Thread Tools
Advanced BBCode Permissions Details »»
Advanced BBCode Permissions
Version: 3.0, by Abe1 Abe1 is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.6.8 Rating:
Released: 08-02-2006 Last Update: 08-24-2006 Installs: 631
DB Changes Uses Plugins
 
No support by the author.

Advanced BBCode Permissions 3.0



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 for both standard AND custom BB code!

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

Version 3.0 (08/03/06):
  • Initial release of this hack for vb 3.6
  • [CHANGED] Re-did the way the permissions are stored to fix a lot of bugs.

Beta test version 4.0 here: https://vborg.vbsupport.ru/showthread.php?p=1159541

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.

Download Now

File Type: zip advanced_bbcode_permissions_3_0.zip (3.1 KB, 3325 views)

Screenshots

File Type: jpg image.JPG (41.7 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
goxy63, TAIFUN_T

Comments
  #82  
Old 01-14-2007, 01:44 AM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by libertate View Post
Update your PayPal donation information in your CP, and I will encourage you.
It was updated a few days ago.
Reply With Quote
  #83  
Old 01-15-2007, 03:10 AM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

(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.
Attached Files
File Type: zip advanced_bbcode_permissions_4_0_b_1.zip (3.5 KB, 553 views)
Reply With Quote
  #84  
Old 01-16-2007, 11:32 PM
libertate's Avatar
libertate libertate is offline
 
Join Date: Feb 2005
Location: Kiribati
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have custom BBCodes.

I installed it and recieved no errors.

I have one primary group (Registered Users), where ABBCode is enabled. No Links ([URL], [EMAIL], [THREAD], [POST]) BBCode allowed.

I also have a custom group (Established User), where ABBCode is also enabled. Links allowed.

When user is member of Registered User group (Default - Primary) only - no Links work in post.

When user is member of Registered User group (Default - Primary) and Established User (Custom group - additional group) - Links work in post.

To add the additional membership I use a simple "Promotions".
Code:
Reputation Comparison Type      : Greater or Equal to
    
Reputation Level     : 10 (Default setting for registered user)
    
Days Registered     :30
    
Posts     : 10
    
Promotion Strategy : Posts and Reputation and Date     
Promotion Type: Additional Usergroups
    
Move User to Usergroup : Established User
The custom BBCodes, although listed for "Yes/No" option of enable/disable are not enforced. All default BBCodes work!

Otherwise - YEAH!
Reply With Quote
  #85  
Old 01-16-2007, 11:45 PM
libertate's Avatar
libertate libertate is offline
 
Join Date: Feb 2005
Location: Kiribati
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmmm... That was wierd... Now it does not work.

Does every group has to have ABBCode turned on, even if the user is not member, or just the ones the user is part of?

------------------

It works.

It does require some watching. Not enabling it in one group where the member belongs, would by default give the rights to the user. So for example if it is NOT enabled on Miserable User group - they GET the rights.

I think it should "ignore" a group if the user is member, and ABBCode is not enabled.
------

It would be sweet if the BBCodes would be "removed" or parsed out.
Would be really cool if we can replace the bbcode with a language variable.
Reply With Quote
  #86  
Old 01-17-2007, 02:10 AM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by libertate View Post
hmmm... That was wierd... Now it does not work.

Does every group has to have ABBCode turned on, even if the user is not member, or just the ones the user is part of?

------------------

It works.

It does require some watching. Not enabling it in one group where the member belongs, would by default give the rights to the user. So for example if it is NOT enabled on Miserable User group - they GET the rights.

I think it should "ignore" a group if the user is member, and ABBCode is not enabled.
------

It would be sweet if the BBCodes would be "removed" or parsed out.
Would be really cool if we can replace the bbcode with a language variable.
This had will not update any posts that have cached copies until they are re-done.

If a user is part of a usergroup that does NOT have 'use advanced permissions' on, then this is the BEST option for the user and the hack will use these settings. I would recommened turning this option to ON for all usergroups so you dont get any problems.
Reply With Quote
  #87  
Old 01-17-2007, 12:23 PM
libertate's Avatar
libertate libertate is offline
 
Join Date: Feb 2005
Location: Kiribati
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe a "Global" setting for ABBCode?

It would not really be a "root" setting, only a 'mass copy from' settings...

Set all options, then it copies/propagates to all groups? Then one can go back to the specific ones and modify them?
Reply With Quote
  #88  
Old 01-17-2007, 04:30 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by libertate View Post
Maybe a "Global" setting for ABBCode?

It would not really be a "root" setting, only a 'mass copy from' settings...

Set all options, then it copies/propagates to all groups? Then one can go back to the specific ones and modify them?
Maybe.
Reply With Quote
  #89  
Old 01-21-2007, 01:05 PM
jyajay jyajay is offline
 
Join Date: Sep 2006
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This mod destroyes bbcode like
Code:
[*URL="http://www.url1.com/picture1.jpg][IMG*]http://www.url1.com/picture2.jpg[/IMG*][/URL*]
by adding wired spaces to the url so that the whole code is broken, I checked and this only appears with advanced permissions activated for that group and also only with the product enabled. I do not have any other bbcode changing mods installed.

I had to add * into to code because code actually IS parsed inside of the "code" bbcode, is that a mistake?
Reply With Quote
  #90  
Old 01-21-2007, 08:29 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jyajay View Post
This mod destroyes bbcode like
Code:
[*URL="http://www.url1.com/picture1.jpg][IMG*]http://www.url1.com/picture2.jpg[/IMG*][/URL*]
by adding wired spaces to the url so that the whole code is broken, I checked and this only appears with advanced permissions activated for that group and also only with the product enabled. I do not have any other bbcode changing mods installed.

I had to add * into to code because code actually IS parsed inside of the "code" bbcode, is that a mistake?
You are missing the end quote for the URL
Reply With Quote
  #91  
Old 01-22-2007, 09:52 AM
jyajay jyajay is offline
 
Join Date: Sep 2006
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This was just an example, forget about the quote ... it isn't just happening once but on all linked images.
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 02:28 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.07774 seconds
  • Memory Usage 2,358KB
  • Queries Executed 27 (?)
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_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete