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)
-   -   [RLEASE: 2.x.x] Who Post Composting Time (https://vborg.vbsupport.ru/showthread.php?t=32430)

Stasik 11-17-2001 01:43 PM

can i see it?

LDT 11-17-2001 02:05 PM

Got it working now... I had to add
Code:

$xtime=time()-$t;
before the query (in editpost.php)... And I changed the query to
Code:

$DB_site->query("UPDATE post SET title='".addslashes(htmlspecialchars($title))."',pagetext='".addslashes($message)."',allowsmilie='$allowsmilie',showsignature='$signature',iconid='$iconid',time=time+'$xtime'$editedbysql$attachmentsql WHERE postid='$postid'");
Seems to work now, let me know if that's not how it's supposed to be. :) Thanks for the hack (and the idea) :)

Stasik 11-17-2001 02:19 PM

dont think the query changes will bring you something

LDT 11-17-2001 03:03 PM

Well, it does work now and before it didn't. ;)
Also now it adds the edit time to the creation time instead of replacing it.

Stasik 11-17-2001 03:05 PM

cool idea... i meant it has to update it :)

i`ll fix my scrip with yours addon ok?

LDT 11-17-2001 03:37 PM

Sure thing, just found this to be logical. :)
Another possibility would be to have 2 comments in case a post is edited... One with the initial posting time and another one with the edit time, but then again,... ;)

|DarkManX| 11-17-2001 04:49 PM

this is still not working for me......

has the install file been updated??

Stasik 11-17-2001 04:56 PM

Can you give me a url of your board?

Yes, installer has been fixed

|DarkManX| 11-17-2001 05:09 PM

<a href="http://www.partylounge.net/tof/index.php?s=&styleid=11" target="_blank">http://www.partylounge.net/tof/index.php?s=&styleid=11</a>

there you go....

Stasik 11-17-2001 05:15 PM

You have to reinstall hack...... i mean the places with '$xtime' take a new installer plz


All times are GMT. The time now is 01:13 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.00980 seconds
  • Memory Usage 1,726KB
  • 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_code_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