vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Bump thread in X Forum upon Editing (https://vborg.vbsupport.ru/showthread.php?t=51653)

Rose 04-15-2003 02:51 PM

Bump thread in X Forum upon Editing
 
Hullo! :glasses:

I have a specific forum in which each thread only has one post. However, each thread's post is edited often for updates (instead of posting a new post, we edit the thread).

Is there a way to bump the thread up to the top of the certain forum upon editing? Also to show Last edited: 04-05-03 at 03:30 PM as the actual last editing date, not the date of creation. I tried a few different variables in teh template that I thought would work, but alas. None worked. ($post[edittime], $post[editeddate], etc...)

Ideally the "last post" column on the forumdisplay page would also reflect the 'last edited' date/time instead of the date/time of creation (or last post created, but since each thread only gets one post ... you get my drift).

Misc. Information that might be helpful
The specific forum uses a forced styleset so I have a separate templateset for the forum.

I'd be very appreciative with assistance on this hack.

The forum is a gallery of sorts, which is why I want one post per thread.

I can be reached on msn at thecharmedgirl@hotmail.com

filburt1 04-15-2003 02:56 PM

I'll look into it when I get home. It should be very easy.

Rose 04-15-2003 03:06 PM

:) Thanks, Filburt!

Rose 04-16-2003 07:46 PM

I don't wanna rush you by all means, but I was wondering how this one was going. :$

filburt1 04-16-2003 07:51 PM

I was going to do it by updating the creation date, but since I just saw that you can't do it, I don't know of a way. At least not a simple way because for way complex hacks I sell them instead.

Rose 04-16-2003 07:59 PM

Quote:

Today at 02:51 PM filburt1 said this in Post #5
I was going to do it by updating the creation date, but since I just saw that you can't do it, I don't know of a way. At least not a simple way because for way complex hacks I sell them instead.

*lol* I hate it when hacks go from "should be easy" to "complex". ;) *hehe* Okies. I'll keep looking into it a bit further and see if I can come up with something. if not, I'll be back with dough. :D

Thanks!

Boofo 04-16-2003 08:02 PM

Rose, sit tight. I'll, come up with a way to do it and save you having to pay for it.

Rose 04-18-2003 04:09 PM

1 Attachment(s)
Boofo - as I mentioned, here are a couple of screen shots with a bit better clarification. :D There's two, and I had to attach them. One is the forumdisplay - threads in this forum should be sorted according to their 'last edited by' date (unless, of course, they are brand new threads and haven't been edited yet, then they sort according to the creation date).

The second is the threaddisplay - the text in the postbit says "last edited on:", but the date and time is displaying as the 'created on' date, not the edited on date/time.

I do hope this isn't too complicated. :D If it helps, there may be a way to incorporate the "edit with reason" hack which displays the edited on date and time, but does not showup for admin when the option is turned off in the acp.

Rose 04-18-2003 04:10 PM

1 Attachment(s)
Here's the second image.

Also, sidenote - the new thread/edit buttons are only available to me, the admin, not to members. Members see a much "cleaner" display without the new thread/new reply or edit buttons.

Rose 04-24-2003 08:02 PM

*bump* Anyone? *blush*


All times are GMT. The time now is 11:16 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.01484 seconds
  • Memory Usage 1,730KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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