Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 04-15-2003, 02:51 PM
Rose's Avatar
Rose Rose is offline
 
Join Date: Nov 2001
Location: K-Town, Germany
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
  #2  
Old 04-15-2003, 02:56 PM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll look into it when I get home. It should be very easy.
  #3  
Old 04-15-2003, 03:06 PM
Rose's Avatar
Rose Rose is offline
 
Join Date: Nov 2001
Location: K-Town, Germany
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, Filburt!
  #4  
Old 04-16-2003, 07:46 PM
Rose's Avatar
Rose Rose is offline
 
Join Date: Nov 2001
Location: K-Town, Germany
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't wanna rush you by all means, but I was wondering how this one was going. :$
  #5  
Old 04-16-2003, 07:51 PM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
  #6  
Old 04-16-2003, 07:59 PM
Rose's Avatar
Rose Rose is offline
 
Join Date: Nov 2001
Location: K-Town, Germany
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.

Thanks!
  #7  
Old 04-16-2003, 08:02 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Rose, sit tight. I'll, come up with a way to do it and save you having to pay for it.
  #8  
Old 04-18-2003, 04:09 PM
Rose's Avatar
Rose Rose is offline
 
Join Date: Nov 2001
Location: K-Town, Germany
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Boofo - as I mentioned, here are a couple of screen shots with a bit better clarification. 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. 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.
Attached Images
File Type: jpg gallerythreadcap.jpg (94.5 KB, 0 views)
  #9  
Old 04-18-2003, 04:10 PM
Rose's Avatar
Rose Rose is offline
 
Join Date: Nov 2001
Location: K-Town, Germany
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Attached Images
File Type: jpg gallerypostcap.jpg (53.6 KB, 0 views)
  #10  
Old 04-24-2003, 08:02 PM
Rose's Avatar
Rose Rose is offline
 
Join Date: Nov 2001
Location: K-Town, Germany
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*bump* Anyone? *blush*
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:09 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06688 seconds
  • Memory Usage 2,271KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete