php forum
php mysql forum
php mysql smarty
 
Topic Options
#317389 - 07/09/08 02:37 PM [7.3.x] Copy forum permissions
blaaskaak Offline
Enthusiast

Registered: 02/25/07
Posts: 304
Loc: The Netherlands
Okay, I got sick of it. I had to copy over one forums permissions to every other forum, and thought, enough is enough. This has to be automated.

Attached is copyperm.php

Upload copyperm.php in your /admin directory and go to http://www.yourforum.com/ubb/admin/copyperm.php

Right, don't do that yet. READ THIS FIRST. And edit the file before you upload.

There's no fancy user interface here.

Php Code:
$source = 2;
$target = array(1,3,4,5,6,7,8,9,10,11,14,15,16,17,19,20,24,25,26,27,31,33,34,35,36,37);
copypermissions($source,$target); 


This is the line you are supposed to edit before uploading. It sets the source forum+targetforums. You can repeat this if you want do do more copy actions. There is also a line you are supposed to remove, that's buildi for security reasons.

So? Done editing?

Upload copyperm.php in your /admin directory and go to http://www.yourforum.com/ubb/admin/copyperm.php


Attachments
copyperm.zip (3 downloads)
Description: The coolest mod ever ;)


_________________________

Top
#317395 - 07/10/08 09:20 AM Re: [7.3.x] Copy forum permissions [Re: blaaskaak]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
Thanks Yarp™ smile
_________________________
- Allen wavey
- What Drives You?

Top


Moderator:  sirdude 
Who's Online
0 registered (), 18 Guests and 10 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Wisdom needed
by Gizmo
Yesterday at 10:54 AM
How to hide sub forums from summary page
by blaaskaak
12/03/08 09:54 AM
Spell Check [beta]
by Bill B
12/01/08 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
12/01/08 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
12/01/08 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
12/01/08 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
Truth, David DelMonte, nick1, Begbie, cenk
13364 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks