PDA

View Full Version : Who can create threads in the chosen forum ?


grog6
09-26-2005, 10:00 PM
What does this hack do ?

This hack adds an option in your ACP (forums part) with which you can choose who can create new threads in the chosen forum !
For example, in a specific forum, if you only want that 1 or 2 members of your board to be able to create new threads,
you just have to activate the option for the chosen forum !

You can choose to activate or not this option

You can add/remove users from the list
If a user had already been added to the list, he doesn't appear in the list of users to add.



To install this hack, just upload files in their respective folders :

- forum_can_create_threads.php in the cpadmin folder
- functions_create_threads.php in the includes folder
- can_create_threads_FR_grog6.xml in the includes/xml folder

Then import the XML file in the Product Manager of your ACP !
That's all
Enjoy :)

Please click the install button if you download it and report bugs

It's my first hack for vb3.5 and nobody else has tested it before ;)

Blam Forumz
09-27-2005, 08:25 PM
Couldn't you just use usergroups?

Blaine0002
09-27-2005, 08:39 PM
and wont the drop down get huge?

Gizmo5h1t3
09-27-2005, 08:40 PM
and wont the drop down get huge?

u imagine a forum with 20000 members, and the admin having to choose from a dropdown list who could create a thread?!?!?!

the mind boggles...lmao

CMilne
09-27-2005, 08:49 PM
Perhaps replace the drop down with an field to insert the user's userid?

Blaine0002
09-27-2005, 08:54 PM
or just make a seperate usergroup and add the person to the additionals.

grog6
09-27-2005, 09:08 PM
I haven't insert an input type="text" coz you have to be sure of the user's login
I thought it could be better to choose directly in a list and I wanted to "play a little" to show or not the user in the list if he had or not already been added

But you are perhaps right
That's why I consider it as a Beta ;)

For the usergroup, I agree Blaine, but I created it for a forum where, in only one forum, only one member is allowed to create threads, and I thought it could be a good idea to do a hack for this, it may help some users here

And it's longer to create an usergroup, to change a user's usergroup than to install and use this plugin :rolleyes:

Blaine0002
09-27-2005, 09:31 PM
yep. keep up the work, im sure some people will use this :D

Xplorer4x4
09-27-2005, 09:59 PM
Why not just deny privledges to ALL the user groups to START new thread. Then edit the individual permisions per users so that they can start a new thread?

And I may be wrong but this is an extension, not a plug in.

Thanks for your effort though.

nexialys
09-27-2005, 11:05 PM
better idea would be to insert userids seperated by commas...

or anyway, just a usergroup you give to thread creators...

Xplorer4x4
09-28-2005, 04:19 AM
or anyway, just a usergroup you give to thread creators...

Well what is the point of creating a whole new user group if say you want to grant access to only one member to start a topic in the forum? ;)

Barakat
02-16-2006, 07:08 AM
Then import the XML file in the Product Manager of your ACP !


this is a greate hack but there are no xml file to upload it as a product ?