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)
-   -   Reason for post edit (https://vborg.vbsupport.ru/showthread.php?t=32540)

BrAinZ 02-05-2002 08:37 PM

Excellent Hack.. Thanks mate !

lichtflits 02-09-2002 08:07 AM

great hack,
but is it posible to change "why" into "reason"?
in witch file must I change this?

Admin 02-09-2002 08:09 AM

In the template this hack adds. :)

Lucky 02-09-2002 09:07 AM

Quote:

Originally posted by lichtflits
great hack,
but is it posible to change "why" into "reason"?
in witch file must I change this?

in postbit_editedreson

Admin 02-09-2002 09:20 AM

Yes, that template. I forgot its name. ;)

lichtflits 02-09-2002 09:45 AM

thx.
It's :up:

waddy 02-09-2002 01:05 PM

Shame on me :

I have the Reason for Edit Box ... I can type in there .... Hit the edit post button and nothing appears

Just edited by ......

Uninstalled and reinstalled the scipt and files 3 times...

Show the 'Edited by xxx on yyy' when a post is edited? = ON

Show 'edited by' for admins? = ON

any ideas please ?

X-Fan 02-11-2002 11:18 PM

Works beautifully and will definitely be handy for my boards' mods. Thanks!!!!!

w00t-0wner 02-17-2002 06:46 PM

in editpost.php replace

Quote:

if ($showeditedby and $postinfo[dateline]<(time()-($noeditedbytime*60)) and !($getperms[ismoderator] and !$showeditedbyadmin)) {
with

Quote:

if ($showeditedby and $postinfo[dateline]<(time()-($noeditedbytime*60)) and !($getperms[ismoderator] and !$showeditedbyadmin) or $editreason ) {
now the reason and time of edit _always_ shows up when a reason is given.

tested on vb 2.2.2

Ice Man_00 02-24-2002 10:51 PM

Something i did wron here.... hope not.. really love this hack, but need some help..

I added it, no problems at all.. Really sucsess to add it, but when editing only thing i can see it the last edited by:
No reason there. Help, plz ?!?!?!?


All times are GMT. The time now is 11:53 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.01175 seconds
  • Memory Usage 1,733KB
  • 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)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