vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Change edit post time limit for few non moderators (https://vborg.vbsupport.ru/showthread.php?t=279132)

inphoenix 02-25-2012 03:55 AM

Change edit post time limit for few non moderators
 
I have a few users who are in a "contributor" role. These are not moderators. The regular users have a 15 minute time limit on post edit but I would like these contributors to have a 24 hour time window. How can I do this?

Lautaro 02-25-2012 04:24 AM

AFAIK you can't set different values for each usergroup, it's a global setting that will affect everyone.

inphoenix 02-25-2012 04:22 PM

Quote:

Originally Posted by Lautaro (Post 2303151)
AFAIK you can't set different values for each usergroup, it's a global setting that will affect everyone.

Thanks. Hopefully someone can come up with a mod for this.

Lynne 02-25-2012 05:01 PM

Can probably just write a plugin. A quick search shows this has been discussed before.

https://vborg.vbsupport.ru/showthread.php?t=203920

inphoenix 02-28-2012 12:25 AM

Quote:

Originally Posted by Lynne (Post 2303313)
Can probably just write a plugin. A quick search shows this has been discussed before.

https://vborg.vbsupport.ru/showthread.php?t=203920

If I could, I would. :)

Not really up to speed with vB code and don't want to break my live site. If someone can tell me what exactly to change and where, I would greatly appreciate it.

Lynne 02-28-2012 02:43 AM

You should never put code directly onto your live site without testing it out on your test site first. So, try out your plugin skills on your test site. The plugin is basically written for you in the thread I linked you to. You just need to enter the correct usergroupids and the time limit you want them to have.


All times are GMT. The time now is 07:19 AM.

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.03146 seconds
  • Memory Usage 1,719KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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