vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Advanced BBCode Permissions - now with custom BBcodes! (https://vborg.vbsupport.ru/showthread.php?t=103747)

Abe1 08-31-2006 09:07 PM

Quote:

Originally Posted by Ziki
Abe please can you fix it cause I really need it.Thank you

I'm noy releasing any more versions for vb3.5. You have to install the vb3.6 one.

Ziki 09-01-2006 10:31 AM

For 3.5?

[email protected] vbmenu_register("postmenu_1065532", true); 09-01-2006 12:34 PM

I checked out the thread for the vb3.6 version of this plugin. Early on in the thread there was a post about an update for the 3.5.4 version with an attachment, I tried using it. But when I installed that 'final' release of the 3.5.4 version, on the default BBCODEs showed up in the usergroup admin. Custom BBCODEs did not show up, so I couldn't choose to turn them off.

If I use the latest 3.5.4 version released here in this thread, the custom BBCODEs show up, but it doesn't matter if I choose to hide them from a usergroup, they still show up when a user goes to post something.

Ziki 09-24-2006 05:54 PM

Nah screw this hack I did it with a simple template edit :D

TosaInu 01-04-2007 07:26 PM

Hello,

When trying to edit a usergroup:

Fatal error: Call to undefined function: bcpow()

Our PHP may have disabled that function, is there a workaround?

Abe1 01-10-2007 11:51 PM

Quote:

Originally Posted by TosaInu (Post 1150835)
Hello,

When trying to edit a usergroup:

Fatal error: Call to undefined function: bcpow()

Our PHP may have disabled that function, is there a workaround?

The only work around is to use the vb3.6.x version. It uses a different method if I remember correct.

TosaInu 01-24-2007 02:52 PM

Thank you Abe1. PHP is upgraded and the hack is working now. It generates this

Code:

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

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

when the report post function, or some mod functions are used.

Abe1 01-29-2007 12:42 PM

Quote:

Originally Posted by TosaInu (Post 1166432)
Thank you Abe1. PHP is upgraded and the hack is working now. It generates this

Code:

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

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

when the report post function, or some mod functions are used.

Sorry, I dont support this version. This was fixed in the vb3.6 version.

(If you want a quick fix, try enabling Advanced Math Features in PHP.)

Pcparts 02-25-2007 11:08 PM

Thanks for this hack. I installed it today.
But there are a few issues.

It does work for all new posts/threads. But some older threads dont show the properly. Even if it is allowed for a usergroup, still the BB code is disabled some times. Specially in the journals, almost all old entries only show the BB code in plain text format, but not the actual content (like youtube or google videos)

Any idea, How can I fix this?

Abe1 02-25-2007 11:23 PM

Quote:

Originally Posted by Pcparts (Post 1190686)
Thanks for this hack. I installed it today.
But there are a few issues.

It does work for all new posts/threads. But some older threads dont show the properly. Even if it is allowed for a usergroup, still the BB code is disabled some times. Specially in the journals, almost all old entries only show the BB code in plain text format, but not the actual content (like youtube or google videos)

Any idea, How can I fix this?

You have to install the vb3.6 version for support.

Pcparts 02-27-2007 05:12 PM

Quote:

Originally Posted by Abe1 (Post 1190702)
You have to install the vb3.6 version for support.

But I am still using vb 3.5.5. wont that be any problem?

Abe1 02-28-2007 01:56 AM

Quote:

Originally Posted by Pcparts (Post 1192038)
But I am still using vb 3.5.5. wont that be any problem?

I guess so. But I fixed a lot of things that was released in the vb3.6 version.

Pcparts 02-28-2007 05:10 AM

Thanks. It works fine for me now :)

AcidX 03-20-2007 03:38 PM

Thanks. Installed.

thincom2000 03-21-2007 09:01 PM

Nevermind. I thought I found a bug, but really I just forgot to rebuild the bbcodecache.

Took all day, but just figured out how to install custom bb-codes via products and give them their own class_bbcode handler functions, utilizing this hack for permissions, without making any file edits. ^_^

thincom2000 03-24-2007 01:19 AM

Is there a reason why [highlight], [img], [quote], [noparse], [sigpic], and [attach] aren't included in the Advanced Permissions area?

I'm pretty sure you can still do these, you just may need to use the hook bbcode_parse_start instead.

thincom2000 03-24-2007 06:49 PM

I just realized this when I started viewing the forum as a guest. This hack is written so that if the logged in user doesn't have permission then they can't VIEW those BB-codes parsed. However, they can still include them in posts themselves, and users who do have permission to use them, will then see the parsed code posted by the disallowed users.

I see this as a big security risk depending on the BB-Code in question.

I developed a fix for this, so that vBulletin standard BB-Codes also work correctly. Will post later tonight, I have to run right now.

Abe1 03-24-2007 11:36 PM

Quote:

Originally Posted by thincom2000 (Post 1211253)
I just realized this when I started viewing the forum as a guest. This hack is written so that if the logged in user doesn't have permission then they can't VIEW those BB-codes parsed. However, they can still include them in posts themselves, and users who do have permission to use them, will then see the parsed code posted by the disallowed users.

I see this as a big security risk depending on the BB-Code in question.

I developed a fix for this, so that vBulletin standard BB-Codes also work correctly. Will post later tonight, I have to run right now.

Please use the vb3.6 for support. I dont even remember how this one runs. I totally re-wrote the hack for vb3.6

princeedward 05-08-2007 08:36 AM

okay ...thanks bro.... ;)

intricatic 07-31-2007 05:03 PM

Quote:

Originally Posted by Abe1 (Post 934689)
You have to speek to the person who configured your server. Tell them to add the BC math library to PHP.

In other words, add bcmath flag to gentoo's make.conf and recompile php?

Abe1 08-01-2007 10:55 AM

Quote:

Originally Posted by intricatic (Post 1306306)
In other words, add bcmath flag to gentoo's make.conf and recompile php?

Something like that. You dont need to do that if you install the latest version that is for 3.6.x

FelixFlow 10-17-2007 06:12 AM

installed, using vb 3.6.8


i added a custom code (iframe) that i got from here https://vborg.vbsupport.ru/showthread.php?t=113423


the iframe code works fine....


i then installed this permissions mod...and when i change the usergroup permissions, iframe tag doesnt work, at all




i'm trying to make it so only admins/mods can use iframe tag....so far no luck with that :(

is this a bug????

Abe1 10-21-2007 02:30 AM

Quote:

Originally Posted by FelixFlow (Post 1362115)
installed, using vb 3.6.8


i added a custom code (iframe) that i got from here https://vborg.vbsupport.ru/showthread.php?t=113423


the iframe code works fine....


i then installed this permissions mod...and when i change the usergroup permissions, iframe tag doesnt work, at all




i'm trying to make it so only admins/mods can use iframe tag....so far no luck with that :(

is this a bug????

This is an old version. Go search for the 3.6 version.

pujabrang 12-11-2009 12:41 AM

does it work on vb 3.8.3

Strategos 11-29-2011 10:10 PM

Can someone please fix this :(

uninvited13th 12-02-2011 08:40 AM

can I already use admin only bbcode when editing non-admin posts?


All times are GMT. The time now is 01:36 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01300 seconds
  • Memory Usage 1,777KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (26)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete