vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Change last post on forumdisplay (https://vborg.vbsupport.ru/showthread.php?t=208228)

daydie 03-13-2009 05:47 PM

Change last post on forumdisplay
 
Is it possible?

Change last post on forumdisplay to last edited (updated)

thanks

Lynne 03-13-2009 06:16 PM

Possible with default vb code? No. Possible with code changes? Probably, but I don't think it's as easy as just changing a field name.

daydie 03-13-2009 06:27 PM

o, Is it not possible to grab the code which records (And showns bottom of post) if i copy it, and place on forumdisplay?

Lynne 03-13-2009 06:30 PM

You can try. I've just never thought to do this and know that the last edited time/postid is not grabbed in the query and you would have to change it yourself. It may be really simple, or it may not be. I really don't know.

The thread table contains the lastpost time and id and username. It does not contain that info about last edit. So, you will probably have to write something in the query to define those.

daydie 03-13-2009 07:55 PM

$post[edit_date] found this code, Can i play this on forumdisplay, And even if it works, will it go in order?

--------------- Added [DATE]1236978045[/DATE] at [TIME]1236978045[/TIME] ---------------

No it dont work =/ dont show up. I think its because im admin when edited it.

Lynne 03-13-2009 09:44 PM

Did you write a plugin to get the information? Like I said, it isn't grabbed by default, so you'll have to hook into the query to grab it.

daydie 03-13-2009 10:36 PM

wouldnt know where to start x.x


All times are GMT. The time now is 05:48 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.01168 seconds
  • Memory Usage 1,722KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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