PDA

View Full Version : Copy Forum Permissions...


Chris M
21 Oct 2002, 15:46
Unfortunately my ZIP program isnt working, so there are a few files;)

Click here to download v1.0 in a Zip File (http://www.vbulletin.org/forum/attachment.php?s=&postid=312264)

What does this hack do?

It allows you to copy Forum permissions from one forum to another...

[b]Hack requested by: ladyfyre - here (http://www.vbulletin.org/forum/showthread.php?s=&threadid=41944)
Main coding by: Logician
Released & Modified by: hellsatan

Credit

90% of the Credit goes to Logician, who coded this himself a while ago...

I coded the vBulletin-like Interface to prevent the horrible url stuff, and will be doing updates if need be:)

Support

Logician does not want to provide support for this hack, hence why I am releasing it...I asked Logician's permission, and he said I could, as long as I make clear that he is not to be contacted for Support issues over this hack, and that he is credited in this thread...

The Files:

What files should there be?

forumper.php
forumup.php
install.txt
4 screenshots

All Support is to be made in this thread ONLY...

If you installed this hack, please click INSTALL (http://www.vbulletin.org/forum/misc.php?s=&action=install&threadid=44818)...Thank you:)

Satan

Chris M
21 Oct 2002, 15:48
Second file...

Satan

Chris M
21 Oct 2002, 15:49
This file contains some important information...

Satan

Chris M
21 Oct 2002, 15:50
1st Screenshot...

Satan

Chris M
21 Oct 2002, 15:51
2nd Screenshot...

Satan

Chris M
21 Oct 2002, 15:51
3rd Screenshot...

Satan

Chris M
21 Oct 2002, 15:52
4th Screenshot...

Satan

Goldknight
21 Oct 2002, 16:38
It s making my life bit easier. Thanks Hellsatan :)

I zip all of it for you, that if it s ok with you. If not, I ll delete it. Thanks for this hack

DrkFusion
21 Oct 2002, 16:44
OMG THIS IS AMAZING, THIS WORKS PERFECTLY, GREAT JOB HELLSATAN, AND LOGICIAN!

-aRUNNAN

eDIT: dAMNED cAPS

eDIT: SORRY GUYS, MY CAPS BUTTON IS LIKE STUCK!! SORRY...

Neo-Storm
21 Oct 2002, 17:00
@ DrkFusion be sure to stuck the shift button too ;)

great hack hellsatan!

Chris M
21 Oct 2002, 17:31
Can I just say...

Although I appreciate the "great hack hellsatan!" comments:D, I do feel that if you appreciate it, you should say thanks to Logician too;):)

So :

"Great Hack guys!" or "Thanks fellas" or something would be cooler:D

Not that I dont appreciate it;););)

@Goldknight - Thanks:)

Satan

Goldknight
21 Oct 2002, 18:14
ITS GREAT HACK!! :) np Actually it save lots of time. It is very helpful hack. Thanks

Chris M
21 Oct 2002, 18:34
Yeh - It does save alot of time:)

Satan

ladyfyre
22 Oct 2002, 02:06
hellsatan.......good thing i am already married....i might be tempted to propose :P

Thanks a bunch for taking the time to do this :)

(no worries with me...i already gave logician his kudos when he did the first part of this...this is SOOOO much easier for me, i wish vb would make it standard *HINT HINT HINT HINT*)

Vile
22 Oct 2002, 05:56
Originally posted by ladyfyre
i wish vb would make it standard *HINT HINT HINT HINT*)

LOL :D

Thanks for the great hack, once again :)

Marshalus
22 Oct 2002, 06:42
I agree, this needs to be standard on vB, only with drop down boxes that have forum listings so you can just select the forums to apply to and apply from.

That would make this hack even more kick @$$. ;)

Chris M
22 Oct 2002, 13:36
@Marshalus - I may try and do that;)

@ladyfyre - Lol...Good job I am under the legal age to, else I might accept;):p

Satan

TheSaint-AeD
22 Oct 2002, 14:30
Hellsatan strikes back :) (Once again)

Thx a lot 4 the Hack, Default Forumpermissions (without any Hacks) are horrible with vB.

Chris M
22 Oct 2002, 14:38
Indeed:)

Lol @ 'hellsatan strikes back':p

Satan

N9ne
22 Oct 2002, 19:32
Question: You say once you copy permissions, there's no going back, well this doesn't mean you can't manually change the permissions does it? :p

Chris M
22 Oct 2002, 19:40
I mean as in - There is no reverse "switch";)

You can of course manually change them;)

Satan

NTLDR
22 Oct 2002, 19:50
Thanks for the nice CP integration of Logicians code :D

Logician
22 Oct 2002, 20:48
umm good hack lol..

If you consider this, here is a thought for the new release:

Maybe you can add a new field to CREATE NEW FORUM screen to let you choose the forum you'll inherit its permissions. (At least a text box to enter its id, if you think its hard to compile the list automatically).

Also another one can go to "MODIFY FORUM" screen..

These might improve the usage..

I also take a look at the code (it has been a while I coded it and actually I didnt remember it well before checking it out) and I have noticed that as soon as you add the delete query in the begining you can use 1 script for both new forums AND existing forums. 2 codes are redundant (however does not harm either)..

Anyway just my 2 cents and thanks for the credits Chris..

Chris M
22 Oct 2002, 21:07
No problem:)

And thanks for the ideas;)

I'll have a look into the "Create Forum + Inherit permissions" thing;)

Satan

ladyfyre
23 Oct 2002, 02:03
Originally posted by hellsatan

@ladyfyre - Lol...Good job I am under the legal age to, else I might accept;):p

Satan

What is it with me and all the younguns around here??? I am only in my 20's, yet i am starting to feel like Mrs. Robinson or something!!!!!!

:D

BTW: just a thought here...i mentioned it a LONG time ago, but no one ever bit.......

For many of us, it might prove useful to integrate this hack to allow for setting up custom options "templates".....and then upon creating a new forum, set it to the permissions for the template you want to use. For example, our site has review forums, discussion forums, and ad forums (lots of others, but MOST fall into one of the 3 above). Each has the same set of permissions. So, i could create a "review" template, and upon setting up a new forum, just select that template. That would eliminate those of us with 300+ forums having to wade through a drop down listing of all of them :)

Just a thought :)

Chris M
23 Oct 2002, 11:20
Im not sure I follow...

Are you saying that you want a Dropdown Box, like with "Style Sets", for you to select what Forum permissions to use?

Satan

ladyfyre
23 Oct 2002, 15:13
Sounds to me like you are following me just fine :)

Chris M
23 Oct 2002, 16:16
I see...

I have been thinking about this for quite a while now...

I shall give it some more thought then, and see what I can come up with;)

Satan