vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   More Functions in Edit Post if you are an Admin (https://vborg.vbsupport.ru/showthread.php?t=33761)

Xenon 07-26-2002 11:25 PM

you should use the original format i used in the hack ;), at least till i upload a new version ;)
i think i'll update the hack next days, so changes of dateformat would be easier...

but to fix it so it'll work with your format would be very very hard, i'd nearly say impossible, because the php-function mktime() doesn't work with string variables (for months)
i have to look if i'll find a way ;)

Boofo 07-26-2002 11:42 PM

Ok, I went back to using:

PHP Code:

$datzeit=vbdate("m-d-Y H:i",$postinfo[dateline]); 

for now. If you can come up with a fix for it, it would be GREAT! :)

Xenon 07-27-2002 12:28 AM

new version is nearly finished and it'll have one extra function, you'll love it ;)

Boofo 07-27-2002 12:38 AM

I pretty much like most of your hacks, so loving the new function is a given. :) But will it have the date option fixed? And also, since you are working on it, how about putting the uers's name after the ID numberr so we can see who's number matched to what name? :)

Quote:

Originally posted by Xenon
new version is nearly finished and it'll have one extra function, you'll love it ;)

Xenon 07-27-2002 12:51 AM

Boofo: too late, new version is released now ;)
It's not compatible with your dateformat, but it's very easy to change it into american format now ;)

you just have to edit template admineditpost ;)

Putinng the username after the id, is very easy but not so usefull, because if you change the userid, the name wouldn't change in editscreen ;)


New feature: You can make post uneditable for the original normal user :)

Boofo 07-27-2002 01:02 AM

I didn't mean to make it so the username was editable. It would just be nice to have a name to match the id number. :)

I like the new feature! ;) But can it be made so if the Admin makes it not to be edited, that NO ONE can edit it unless it is the Admin, not even Mods? And how do you make the numbers go to the right of the box if there is only one in it. Like a 6 for the month. It goes to the left with no 0. It would look better on the right. :)

Xenon 07-27-2002 10:49 AM

yes i thought though, too but it's the way editpost.php handles admins/mods: it just looks for mods and defines all admins as mods....

perhaps i'll make it only admineditable next time ;)

i know it would look better, but i think thats an html code problem and i don't know html very well ;)

for username: try to put an $postinfo[username] into your Admineditpost template after the enterfield for userid ;)

Chris M 07-27-2002 10:59 AM

Quote:

Originally posted by Xenon
Boofo: too late, new version is released now ;)
It's not compatible with your dateformat, but it's very easy to change it into american format now ;)

you just have to edit template admineditpost ;)

Putinng the username after the id, is very easy but not so usefull, because if you change the userid, the name wouldn't change in editscreen ;)


New feature: You can make post uneditable for the original normal user :)

Way to go Xenon!!!

I see you added the "cant edit if admin selects" function:)

Satan

Xenon 07-27-2002 11:17 AM

hehe satan i do what i can ;)

boofo what about a sort of edit priority?
i.e. Editably by: Admins, Supermods, Mods, originial poster
and all users *ggg*

Chris M 07-27-2002 11:23 AM

I thought that only Admins could edit that at the moment...

I tested a Mod account, and they cannot access that or any of the functions...

Satan


All times are GMT. The time now is 03:36 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.01123 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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