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)

Xenon 10-01-2002 10:00 PM

Faster change of forumpermissions
 
Such a system has been requested several times, and now i've coded it.

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.

the permission form is also created dynamical, so whenever you add a permission into the database (like canviewtitles or whatever) you can imediately use it with my forms.

Screenshots are following

Hack version 2.02
Known Bugs: None
Planned upgrades: none for now

Xenon 10-02-2002 12:57 PM

Forumpermission overview:

Xenon 10-02-2002 12:58 PM

edit usergroup

Xenon 10-02-2002 12:58 PM

edit forum

geniuscrew 10-02-2002 01:04 PM

Thankyou - Looks very handy indeed.

Will install later tonight =)

LawnDawg 10-02-2002 02:16 PM

omg, bless you, haha

very nice work, very very useful.

ty

N9ne 10-02-2002 03:15 PM

Looks good, Will install :)

Goldknight 10-02-2002 03:15 PM

Very useful hack! Thanks Xenon (hope VB3 developers look at this hack and take this into consider)

/me install!

Dean C 10-02-2002 03:38 PM

cool idea :D

- miSt

Xenon 10-02-2002 04:28 PM

Quote:

Originally posted by Goldknight
(hope VB3 developers look at this hack and take this into consider)
as i know they have rewritten the permission system to a dynamical one (as far as i could read out beyond the lines ;))
so perhaps your hope will become true :)

if not i'll code it in vb3 ;)

wolfman 10-02-2002 05:02 PM

OH wow though I have not upgraded to vbb 2.2.8 and I am using 2.2.7 do you know if this should work with it or not?

Now from what I have seen in the screenshots this looks to me a must have hack for any vbb, this really will make it much easier to apply permissions.

Smoothie 10-02-2002 05:12 PM

My fingers thank you! Especially my clicker finger. :)

Xenon 10-02-2002 05:12 PM

there were no changes in forumpermission.php from vb227 to vb228 so you can use the hack also with 227

Buddha 10-02-2002 06:28 PM

yep. installed on 2.27 and works like a charm.
thanks.

Mathieu 10-03-2002 06:46 AM

cool my finger are impatient to install it it's a good job.

geniuscrew 10-03-2002 10:00 AM

vB 3 suggestions

They might add a similar function :rolleyes:

Jonne 10-03-2002 11:38 AM

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-03-2002 03:40 PM

hmm, looks wierd.

but the code is ok...
what versions of php and mysql do you use?
perhaps the problem is there...
because i can see it works correct for the group which has set a forumpermission...

Gutty 10-04-2002 02:56 AM

have i done the input of the code right cause i keep getting 404 error on almost every page in the usergroups :(

g-force2k2 10-04-2002 03:03 AM

Gutty did you upload the file to the correct directory? regards...

Xenon another great job :) i will have to check out the coding later to see what i can learn from it ;) perhaps if i ever open a forum i'll install it as well...

g-force2k2

Bison 10-04-2002 05:30 AM

Brilliant ... simply BRILLIANT !!!!

[click - INSTALL!!!]

Smoothie 10-04-2002 05:59 AM

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

Same problem here......php 4.1.1 mySQL 3.23.41

Xenon 10-04-2002 08:46 AM

hmm, my testboard has mysql 3.23.47
but i don't think that's the problem, because the change is behind the snd .

php4.2.3

can i get other feedback?
does anyone use a phpversion before 4.1.1 and the hack works as it should?

Smoothie 10-04-2002 09:42 AM

Just to be sure, I uploaded my backup file, started over, and same results.

Chris M 10-04-2002 05:12 PM

Great:)

Satan

blackice912 10-05-2002 01:40 AM

Very nice :)

[high]* blackice912 clicks install[/high]

Jonne 10-05-2002 10:06 AM

Xenon:
PHP version - 4.1.0
MySQL version - 3.23.46

Xenon 10-05-2002 10:12 AM

thank you

hmm, seems that the hack needs PHP4.2.x to work properly.

just a question does anybody have php 4.0.x or 4.1.x and the Hack works as it should?

wolfe 10-08-2002 09:29 PM

this is a Awesome hack well done d00d :D

marocnl 10-14-2002 01:45 PM

PROBLEM!

tjsek attachment

marocnl 10-14-2002 01:45 PM

Another attach

Xenon 10-14-2002 03:59 PM

seems you've got the same bug as others have here, too.

Which PHP version and MySQL do you use?
i think the hack requires PHP42x

marocnl 10-14-2002 05:36 PM

I am not quite sure. I think it's lower than 42x, but defenitely something with a 4 :).

Can you get it to work with a lower version PHP/MySql, cause i would really like 2 use it. Get motivated by all the pIEpAl who are eager to implent it in their site. :D

Let me know if ur planning to make one soon. :)

Xenon 10-14-2002 05:57 PM

perhaps i try it, but i don't use php4.1 or lower so i realized it after releasing that it seems to have problems...

also my time is limited these days because of studying...

marocnl 10-15-2002 07:56 AM

Quote:

Originally posted by Xenon
perhaps i try it, but i don't use php4.1 or lower so i realized it after releasing that it seems to have problems...

also my time is limited these days because of studying...

Would 'PLEASE' make any difference in speeding up the process?


P.S.: I'm really waiting 4 it, so just tell whether u seriously plan to give it a go. :classic:

Xenon 10-15-2002 08:12 AM

yes i plan to make it compatible, but cannot say if it would work ;)

marocnl 10-15-2002 08:17 AM

Quote:

Originally posted by Xenon
yes i plan to make it compatible, but cannot say if it would work ;)
Well h?, it's the thought that counts. :lick:

wolfman 10-17-2002 03:18 AM

There is only one thing I can say

Thank you so much for this hack.

Xalious 10-21-2002 12:19 PM

Ok we have installed this hack also. I have www.ipowerweb.com for a webhost. The problem we have is...

Lets say i have a user named Bob. He is in user group named "group 1" and is a moderator of a forum.

My problem is here, If i make a private forum, Bob seems to have access to it by default. I do NOT want this. So i installed this hack hoping it would make things easier.

I then goto the user groups section of this hack and the screen of this hack comes up. I then set permissions and check/uncheck the needed fields. When i push the apply button at the bottom i get a screen telling me permissions have been changed.
Now, If i ask bob if he can see the forum i just added and changed permissions for his group on he tells me "Yes he can"
The permissions i set his group for this private forum is NOT to be able to see the forum.

Ive tried creating my own new user, making him a moderator of a forum, and adding him to a group. As soon as i make a NEW private forum, my user can see it by default. (can you change this default to not make moderators have permission to NEW private forums?)
In control panel i goto user groups to chage the permissions.

Again.. it says my permissions are set. I log onto my test user but yet i Still see the forum i just told the group it couldnt see.
I need help with this please. I am adding new PRIVATE forums daily for groups of people. Everytime i do i have to go to each moderator that i dont want to have access to it and change thier permission manually by user name. i have 21 moderators currently (only to get bigger) and i can see this problem become a large problem for me.

Xenon 10-21-2002 04:48 PM

that's not a problem with my hack!

you have enabled acces masks, which always overwrites the permissions given for a usergroup.

you have to edit HIS accesmask to disallow him to view some forums.
my hack just works for usergrouppermissions, not for accesmasks


All times are GMT. The time now is 04:47 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.01363 seconds
  • Memory Usage 1,782KB
  • 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_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
  • (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