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)

Darat 02-24-2006 06:46 PM

Abe1 - thanks for the work but I am getting an error when i try to use it "MySQL Error : Unknown column 'advanced_bbcode_usergroup_permissions_custom' in 'field list'
Error Number : 1054" - Looks as if the installation isn't creating the new fields?

Abe1 02-24-2006 06:49 PM

Quote:

Originally Posted by Darat
Abe1 - thanks for the work but I am getting an error when i try to use it "MySQL Error : Unknown column 'advanced_bbcode_usergroup_permissions_custom' in 'field list'
Error Number : 1054" - Looks as if the installation isn't creating the new fields?

Can you get me the WHOLE error?

Abe1 02-24-2006 06:50 PM

Quote:

Originally Posted by Abe1
Can you get me the WHOLE error?

I see the problem. Give me a few min.

Abe1 02-24-2006 06:53 PM

Quote:

Originally Posted by Darat
Abe1 - thanks for the work but I am getting an error when i try to use it "MySQL Error : Unknown column 'advanced_bbcode_usergroup_permissions_custom' in 'field list'
Error Number : 1054" - Looks as if the installation isn't creating the new fields?

Problem solved. Upload the new product XML.

Luggruff 02-24-2006 07:37 PM

Gotta love you ! ;D *clicks install button again to overload*

Edit: Do I still need to hide the custom BB codes in the FAQ page if I don't want users to even be able to see them?

Edit2: I get this error when trying to access the usergroups:

Code:

Fatal error:  Call to undefined function:  bcpow() in /home/virtual/hlforum.net/public_html/admcp/usergroup.php(181) : eval()'d code on line 14

Darat 02-24-2006 07:50 PM

Quote:

Originally Posted by Abe1
Problem solved. Upload the new product XML.

Seven minutes to fix it? - What terrible service! :D

Again thanks for this it's really useful.

Abe1 02-24-2006 07:57 PM

Quote:

Originally Posted by Luggruff
Gotta love you ! ;D *clicks install button again to overload*

Edit: Do I still need to hide the custom BB codes in the FAQ page if I don't want users to even be able to see them?

Edit2: I get this error when trying to access the usergroups:

Code:

Fatal error:  Call to undefined function:  bcpow() in /home/virtual/hlforum.net/public_html/admcp/usergroup.php(181) : eval()'d code on line 14

I think I know why. I'll fix it in a few min. I think I forgot to protect users who dont have custom bbcodes.

Darat 02-24-2006 08:02 PM

Abe1 - the options to use advanced bbcode permissions is showing up in the Usergroup options page and I can switch custom codes to off but the usergroup can still use them?

Abe1 02-24-2006 08:20 PM

Quote:

Originally Posted by Darat
Abe1 - the options to use advanced bbcode permissions is showing up in the Usergroup options page and I can switch custom codes to off but the usergroup can still use them?

You have to enable the advanced bbcode permissions for the group for the settings to be used.

Abe1 02-24-2006 08:27 PM

Quote:

Originally Posted by Luggruff
Gotta love you ! ;D *clicks install button again to overload*

Edit: Do I still need to hide the custom BB codes in the FAQ page if I don't want users to even be able to see them?

Edit2: I get this error when trying to access the usergroups:

Code:

Fatal error:  Call to undefined function:  bcpow() in /home/virtual/hlforum.net/public_html/admcp/usergroup.php(181) : eval()'d code on line 14

Ok. I updated the zip. If you have no custom BB codes, you should not get any error.

Darat 02-24-2006 08:29 PM

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.

Luggruff 02-24-2006 08:58 PM

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:

samsons 02-24-2006 09:14 PM

does not work for me too :( only custom bb-codes work

Yorixz 02-25-2006 07:49 AM

[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.

Darat 02-25-2006 08:49 AM

Yorixz I had that error but Abel1 quickly fixed it and updated the installation files - download the 2.02 (or latest) version and reinstall.

Yorixz 02-25-2006 06:59 PM

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:

djr 02-25-2006 10:21 PM

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 :(

Abe1 02-26-2006 01:26 AM

I"m going to d some tests. see why this is happening.

Abe1 02-26-2006 02:23 AM

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

Smiry Kin's 02-26-2006 04:07 AM

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

Abe1 02-26-2006 04:23 AM

Quote:

Originally Posted by Smiry Kin's
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

Can you tell me more info? How many BB codes do you have? Did you have a previus version installed?

Smiry Kin's 02-26-2006 04:48 AM

just 2extras.. and i get it when posting, and it doesnt work for me.. im using 3.5.4 and no this is first time install

Abe1 02-26-2006 04:55 AM

Quote:

Originally Posted by Smiry Kin's
just 2extras.. and i get it when posting, and it doesnt work for me.. im using 3.5.4 and no this is first time install

Do you have version 2.1?

Smiry Kin's 02-26-2006 05:05 AM

well i installed it about 4am GMT.. i donno if you upgraded since thn?

Yorixz 02-26-2006 07:23 AM

Works like a champ here, thanks a lot Abe1!

samsons 02-26-2006 07:36 AM

I dont get an error message but still can use the buttons or the code and it`s shown up as [bla] text [/bla]

Luggruff 02-26-2006 09:20 AM

still got the same error as before =\

Darat 02-26-2006 11:23 AM

Abel1 - it is still allowing usergroups using advanced permissions to use custom bbcodes? (I uninstalled 2.02 and installed 2.1.)

Abe1 02-26-2006 11:51 AM

Quote:

Originally Posted by Darat
Abel1 - it is still allowing usergroups using advanced permissions to use custom bbcodes? (I uninstalled 2.02 and installed 2.1.)

Are you looking at new posts or posts made already?

Darat 02-26-2006 11:55 AM

New ones - even started new threads as a user without permissions.

Just checked and it does still stop that usergroup using the buil-in bbcodes i.e. [code]

Abe1 02-26-2006 11:57 AM

Quote:

Originally Posted by Luggruff
still got the same error as before =\

I just looked at your error again. I see what the problem is. Your PHP is not installed with the advanced math fuctions. I need to use them so if you go over like bbcodeid 30 o around there I think, you can still use this hack. Try to see if you can get it installed into your PHP. All PHP installations after 4.1 I believe, have these functions installed automaticly. Before then, you would have to manualy say you wanted them.

Abe1 02-26-2006 11:58 AM

Quote:

Originally Posted by Darat
New ones - even started new threads as a user without permissions.

Can I have access to your acp plugins, and usergroup settings? Also, I need anther account that I can test the settings on. If you can, please PM me the info.

Also, are there any errors you are getting?

Abe1 02-26-2006 11:59 AM

Quote:

Originally Posted by Smiry Kin's
well i installed it about 4am GMT.. i donno if you upgraded since thn?

Yes, I did just come out with an upgade.

Abe1 02-26-2006 12:00 PM

Quote:

Originally Posted by samsons
I dont get an error message but still can use the buttons or the code and it`s shown up as [bla] text [/bla]

Can I have access to your acp plugins, and usergroup settings? Also, I need anther account that I can test the settings on. If you can, please PM me the info.

Darat 02-26-2006 12:07 PM

Abe1 - sent you a PM - thanks

Abe1 02-26-2006 12:27 PM

Quote:

Originally Posted by Darat
Abe1 - sent you a PM - thanks

I found your problem. Conflicting with another plugin of yourse at the same location. I PMed you the details. With the plugin disabled, the hack worked great.

Darat 02-26-2006 01:13 PM

Quote:

Originally Posted by Abe1
I found your problem. Conflicting with another plugin of yourse at the same location. I PMed you the details. With the plugin disabled, the hack worked great.

Thanks!

Daniel 02-26-2006 11:47 PM

When I move a thread I get this error at the top of the page:
Quote:

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

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

Smiry Kin's 02-26-2006 11:59 PM

Quote:

Originally Posted by Daniel
When I move a thread I get this error at the top of the page:

i get some thing very similar, but when posting etc =-/

Code:

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


Pink-Lotus 03-01-2006 11:35 AM

Maybe a truely stupid question. But where can I change the settings after installed? I can't seem to find it =/


All times are GMT. The time now is 01:37 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.01469 seconds
  • Memory Usage 1,829KB
  • 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
  • (4)bbcode_code_printable
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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