vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Advanced Editing Options For Mods & Admins (https://vborg.vbsupport.ru/showthread.php?t=61412)

neocorteqz 03-09-2005 02:31 AM

Quote:

Originally Posted by lowandloudinc
ok i got it working but now my staff is sayingthatthey can only edit forums that they are assigned to. can i changeit tothe first option it had that they can edit all the forums as longastheyre mods.

If they are Super Mods or Admins then theyshouldhave edit permissions for ALL forums. if they are mods, theireditpermissions will be for only the forums they have Mod powers in.That isin the permissions system of vBulletin, not this hack.

xitrum 03-17-2005 10:33 PM

Thanks for the nice mod Xenon. I got everything installed correctly I think. The problem is when I tried to edit the author of a post and click submit. The author is never changed. Am I missing something? TIA.

xitrum

frage 04-02-2005 01:19 AM

frage klicks install

:-)

David_R 05-28-2005 08:59 AM

this is one of best modification on this site
thanks sir xenon

mgurain 06-02-2005 12:49 PM

Hello,,

It is really a nice hack .

But it has a minor bug : when I edit the user to different one , the poster changes correctly, but last poster in forumdisplay does not change !

I hope you fix it.

thanks in advance,,

Xenon 06-02-2005 06:03 PM

Ooops,

ok, uploaded a fixed version, was just a little change in one condition :)

the Sandman 06-02-2005 06:14 PM

So, what do we have to change for the fix?

Xenon 06-02-2005 06:19 PM

very easy:

old:
PHP Code:

        if ($bbuserinfo['editlevel'] == $editlevel['admin'] AND 
            
$postinfo['dateline'] != $newpost['dateline']) 

fixed:
PHP Code:

        if ($bbuserinfo['editlevel'] == $editlevel['admin'] AND 
            (
$postinfo['dateline'] != $newpost['dateline'] OR $postinfo['userid'] != $newpost['userid'])) 


the Sandman 06-02-2005 06:45 PM

Thanks!

Torqued 06-02-2005 07:56 PM

Sweet mod! I have some posts I need to edit dates on and was just going to edit them in the DB!

Thanks!!! :)

*clicks install


All times are GMT. The time now is 01:11 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.01177 seconds
  • Memory Usage 1,739KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete