vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Who can create threads in the chosen forum ? (https://vborg.vbsupport.ru/showthread.php?t=97020)

grog6 09-26-2005 10:00 PM

Who can create threads in the chosen forum ?
 
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

Quote:

Originally Posted by Blaine0002
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

Quote:

Originally Posted by nexialys
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

Quote:

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 ?


All times are GMT. The time now is 04:44 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.01557 seconds
  • Memory Usage 1,732KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete