vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Faster change of forumpermissions (https://vborg.vbsupport.ru/showthread.php?t=44194)

Xalious 10-23-2002 02:42 AM

Turning off the forum access masks did the trick.
thanks for all the help

Xenon 10-23-2002 02:20 PM

:)
you're welcome

kreatiV 10-26-2002 09:44 AM

I am also getting this EXACT same Problem as Jonne. I then simply tried to take of the marker on one of those boxes that do not have all the boxes for yes and no.

and I am getting this:

Quote:

Database error in vBulletin Control Panel 2.2.8:

Invalid SQL: INSERT INTO forumpermission (forumpermissionid,usergroupid,forumid,canview,can search,canemail,canpostnew,canmove,canopenclose,ca ndeletethread,canreplyown,canreplyothers,canviewot hers,caneditpost,candeletepost,canpostattachment,c anpostpoll,canvote,cangetattachment) VALUES (NULL,10,17,,,,,,,,,,,,,,,,),(NULL,10,59,0,0,0,0,0 ,0,0,0,0,0,0,0,0,0,0,0),(NULL,10,60,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0),(NULL,10,61,0,0,0,0,0,0,0,0,0,0 ,0,0,0,0,0,0)
mysql error: You have an error in your SQL syntax near ',,,,,,,,,,,,,,),(NULL,10,59,0,0,0,0,0,0,0,0,0,0,0 ,0,0,0,0,0),(NULL,10,60,0,0,0,0' at line 1

mysql error number: 1064

Quote:

Originally posted by Jonne
Am I the only one getting an error like this? Tried to redo it three times and same layout error every time.

Using vb ver 2.2.8


Xenon 10-26-2002 05:16 PM

known problem, it has to do with your php-mysql kombination.
i plan to fix this, but i don't have any time these days :(

kreatiV 10-27-2002 09:36 AM

Oh okay. I just checked to make sure, and yep I have

PHP Version 4.1.1

Xenon 04-04-2003 08:14 PM

ok, long time since the last posts, but i don't have had much time for this hack...

now i have released version 2.00
i've completely rewritten the code, so you should install it on a fresh forumpermission.php

changes:
it should be compatible to all php versions now
hierarchial forumstructure when editing a usergroup.

i have uploaded new screenshots, too :)

hope it can help :)

mtha 04-07-2003 08:08 AM

Quote:

10-02-02 at 02:54 PM Xenon said this in Post #1

With this hack you can change the forumpermissions of a usergroup for all forums at once, or change the forumpermissions of one forum for all usergroups at once.


in line 393:
PHP Code:

            echo "<li>$usergroup[title]".
                
makelinkcode("edit","forumpermission.php?s=$session[sessionhash]
&action=editusergroup&usergroupid=
$usergroup[usergroupid]").
            
"</li>\n"

I cant make the action=editusergroup script to work. Where is the function if ($action=="editusergroup") located?
I couldnt find it in the hack.

When I click on Usergroups part, its displayed blank.

Xenon 04-07-2003 03:49 PM

ahh, sorry i forgot to update that link ....

redownload it now :)

mtha 04-07-2003 09:47 PM

Quote:

Today at 05:49 PM Xenon said this in Post #48
ahh, sorry i forgot to update that link ....

redownload it now :)


:( The new file is the same as the other one that I downloaded.

Quote:

Hack Name: Faster change of Forumpermissions
Hack Version: 2.00
Hack Author: Xenon
Release: 02. Okt. 2002
Last Upgrade: 04. Apr. 2003
Description: This Hack will allow you to change all Forumpermissions of a usergroup or a forum at once.
Requested by: ---
Planned features: ---
This line, [high]makelinkcode("edit","forumpermission.php?s=$sessio n[sessionhash]
&action=editusergroup&usergroupid=$usergroup[usergroupid]").
, [/high] still link to nowhere.


Should there be a function [high]if ($action=="editusergroup")[/high] ?

Xenon 04-08-2003 09:36 AM

nope it's a different file, maybe your browser has cahced the old one.
empty your cache and redownload it.

and no there shouldn't be a editusergroup function


All times are GMT. The time now is 07:15 AM.

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.01120 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_php_printable
  • (5)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
  • (10)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