vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Thread Creation Date - Enhanced Version (https://vborg.vbsupport.ru/showthread.php?t=68878)

gigaenvy 02-27-2005 02:02 PM

Quote:

Originally Posted by yellowbird
I'm looking to get rid of the column from all the pages. I would rather add the date after their username within the cell that contains the title of the thread on the index pages.

Sorry I didn't read this post before making my reply. Looks like there's two of us that want this feature :)

yellowbird 03-13-2005 09:52 PM

So... anyone?

snake-boy 04-16-2005 04:41 PM

I have installed this in 3.0.7 and it does work, but I need a way to set this as the default sort method. I've tried a few things on my own, but as I know practically nothing about PHP, they did not work.

If you select to sort by creation date and then enter another forum, the setting just changes right back to sort by replied to date.

Since Ocean seems to have abandoned this thread, could ANYONE with some PHP skills please tell me how to force this to be the default option? I assume it's a change in forumdisplay.php and possibly the template as well? But where?

-snake

MustangLisa 06-01-2005 01:26 AM

It worked great, but all my dates are December 31, 1969 . . . how do I fix this??

MustangLisa 06-25-2005 04:38 PM

Everything looks good (thanks, btw) but all my dates show as December 31, 1969 -- HELP!

(Here's the forum: http://www.blackmustangclub.com/foru...isplay.php?f=2)

Thanks,
Lisa.

chikkoo 08-07-2005 08:19 AM

This is what exactly I have been searching...

Can I use this in VB 3.5.0??

Or it need to be converted?

Bates 12-21-2005 05:12 PM

i have the same question:
Can I use this in VB 3.5.0??

Mark.B 01-07-2006 09:10 PM

There is *definitely* a problem with a blank column in the subscribed threads block in the user cp.

I have worked round it by putting a blank column in the top bit as well to match it up, make this narrow and it at least looks tidy, even if sloppy.

The solutions posted are barking up the wrong tree...the subscription.php edits are fine, these affect the 'subscibed threads' LINK from the usercp, but the issue is with the subscribed threads BLOCK. The problem is that similar file edits need to be made in the file usercp.php as well, so that the variable $thread_dateline is available in that file. It currently is not, hence the blank column.

I don't know how to make the edits myself, but that is *definitely* the problem, so if anyone fancies having a go at fixing, several people would be grateful methinks. :D

Lynne 01-26-2006 04:18 PM

I think this should do it:

Code:

38.  Open the "usercp.php" file and Find:

**********


                                        $thread = process_thread_array($thread, $lastread["$thread[forumid]"]);
                        $show['unsubscribe'] = true;


********************************

39.  Below, Add:

**********

$thread_dateline = vbdate($vboptions['dateformat'], $thread['dateline']);

********************************

40.  In the "USERCP" template Find:

                        <td class="thead" width="150" align="center" nowrap="nowrap">$vbphrase[last_post]</td>
                       
********************************

41.  Below, Add:

                        <td class="thead" width="150" align="center" nowrap="nowrap">$vbphrase[date_creation]</td>


madkeen 01-18-2007 12:27 PM

Can this be used in 3.6?


All times are GMT. The time now is 07:43 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.01091 seconds
  • Memory Usage 1,740KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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