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

PurpleCow 04-08-2003 11:34 AM

Hello,

Does it work with the current stable release of vB230 ??

Thanks

Xenon 04-08-2003 03:56 PM

yes, we use it here, for example :)

mtha 04-09-2003 07:00 AM

Quote:

Yesterday at 11:36 AM Xenon said this in Post #50
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


cool, great hack.

Thanks Xenon, I got it worked.

click installed

Xenon 04-09-2003 11:18 AM

:)

enjoys to hear that :)

you're welcome :)

yxboom 04-11-2003 06:22 AM

I am in awe!!!

chrisz 04-11-2003 06:29 AM

Great Hack Xenon, comes in handy for my RPG thnx alot.
*Messiah Daz runs over to install*

The General 04-29-2003 11:23 AM

Excellent stuff! Cheers!

Cancorp 07-13-2003 07:44 AM

Hi Xenon,

I know this has been dead for a while, but I just installed it and I love it, but have one tiny question:

Would it be possible to add a "check all" tickbox at the top of each catagory in usergroup so that we don't have to check off all those boxes if we want to give that access over all the forums (ie: can vote etc...)? We have close to 300 forums, so the guy with the clicker finger is going nuts :D

Thanks in advance for any help.

Xenon 07-13-2003 10:37 AM

hmm, good idea.

I'll look into it when i get more free time again, but i can't promise anything as i think JS is needed and i don't know how to code in JS ;)

ipcn 08-12-2004 12:56 PM

Any chances on getting this for vB3? It would be VERY helpful :)


All times are GMT. The time now is 04:17 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.01207 seconds
  • Memory Usage 1,765KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (20)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