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)

hexonxonx 10-19-2004 03:45 AM

Quote:

Originally Posted by hexonxonx
I have made the template changes to both the main style and the child style, both have this problem. I also used a fresh subscription.php, made the changes and reuploaded it with no effect at all. Still have the same problem.

Just so you know, I added a newly purchased style and tried using this hack, same exact thing happened, so I am now positive that it is not because of any mistakes on my part.

Ocean 10-19-2004 01:22 PM

Quote:

Originally Posted by hexonxonx

Just so you know, I added a newly purchased style and tried using this hack, same exact thing happened, so I am now positive that it is not because of any mistakes on my part.

No one else has had any problems with this hack that wasn't due to a mistake on their part during installation.

If you're running vB 3.0.3, there is no reason why this hack shouldn't work. As I said earlier, I'm willing to help you troubleshoot it - but if you don't want to go through the trouble, that's your choice.

If you change your mind, let me know. :)

Lynne 10-22-2004 12:23 AM

Installed on 3.0.3 with no problems over here. Thanks SOOO much for this!

Ocean 10-22-2004 12:26 AM

Quote:

Originally Posted by Lynne

Installed on 3.0.3 with no problems over here. Thanks SOOO much for this!

You're welcome! I'm glad you like it. :)

fcherub 11-04-2004 07:48 PM

Hi Ocean, thank you for this :)
Just 1 question: when clicking on Creation Date at top of the column, how can I get the dates sorted "most recent first" instead of "oldest first" ?
Thanks,
Federico

Ocean 11-04-2004 08:06 PM

Quote:

Originally Posted by fcherub

Hi Ocean, thank you for this :)
Just 1 question: when clicking on Creation Date at top of the column, how can I get the dates sorted "most recent first" instead of "oldest first" ?
Thanks,
Federico

That's a standard vB interface function, Federico. Clicking "Creation Date" sets that as the active column that the table is being sorted by. However, if you wish to reverse the ascending/descending order, just click on the little arrow-button next to the active column.

:)

platnum 12-10-2004 07:24 PM

Just want to say... Very nice job with this, looks sweet!

I have a question.. I run an auction site.. So when my users post something, they have to post the Creation date/Time in the title... Is there anyway to get it to show the creation time as well? This would help out sooooooo very much :o.

Thanks :D And very nice job with this.

Ocean 12-14-2004 08:29 PM

Quote:

Originally Posted by platnum

Just want to say... Very nice job with this, looks sweet!

I have a question.. I run an auction site.. So when my users post something, they have to post the Creation date/Time in the title... Is there anyway to get it to show the creation time as well? This would help out sooooooo very much :o.

Thanks :D And very nice job with this.

For the purposes of a standard board - most people wouldn't want to show the time, only the date.

But I do understand your reasons for wanting that. I'll look into putting it in as an option for the next version.

Ordinarily, I would just churn it right out - but December is a busy and hectic month for many - so I can't make any promises. :)

yup! 12-31-2004 06:47 PM

Ocean - Grreat Hack! how do I make this user selectable in the user cp? I want memebers to be able to select this as thread display mode option. Like: Creation Date - Oldest First, Creation Date - Newest First. I recently switched to VBulletin from phpbb and this was an option our memebrs had, and it turns out, many of them used it and would like it back. Thanks for your help!

Ocean 01-03-2005 09:21 PM

Quote:

Originally Posted by yup!

Ocean - Grreat Hack! how do I make this user selectable in the user cp? I want memebers to be able to select this as thread display mode option. Like: Creation Date - Oldest First, Creation Date - Newest First. I recently switched to VBulletin from phpbb and this was an option our memebrs had, and it turns out, many of them used it and would like it back. Thanks for your help!

Hi!

First of all, the Thread Display Mode option in the UserCP that you refer to is not for viewing a list of Threads, but for viewing the posts within a Thread.

Controlling how the list of Threads is displayed is done at the bottom of the ForumDisplay screen. Under "Sorted By", you'll see "Date of Creation" listed as one of the options. That should do what you're looking for. :)

yup! 01-03-2005 10:31 PM

Quote:

Originally Posted by Ocean
Hi!

First of all, the Thread Display Mode option in the UserCP that you refer to is not for viewing a list of Threads, but for viewing the posts within a Thread.

Controlling how the list of Threads is displayed is done at the bottom of the ForumDisplay screen. Under "Sorted By", you'll see "Date of Creation" listed as one of the options. That should do what you're looking for. :)

Ahh, thanks for the clarification on thread display modes. I haven't actually played with that feature much.

I knew of the sort by creation date option at the bottom of forum display, but is there an easy hack to make that the default forum display for users who prefer this sort option (many of them do)? It doesn't have to be in the user CP, it could just be a check box next to the sort options that says "Make Default" or something like that. If not no worries. I'l try to do it myself (which could be rather dangerous...) :eek:

Ocean 01-04-2005 12:15 AM

Quote:

Originally Posted by yup!

Ahh, thanks for the clarification on thread display modes. I haven't actually played with that feature much.

I knew of the sort by creation date option at the bottom of forum display, but is there an easy hack to make that the default forum display for users who prefer this sort option (many of them do)? It doesn't have to be in the user CP, it could just be a check box next to the sort options that says "Make Default" or something like that. If not no worries. I'l try to do it myself (which could be rather dangerous...) :eek:

That question is a stock vB question - so you would be best served asking that at vBulletin.com. If it's not immediately capable of doing so, they might be able to help you out with the code - if it's a simple Template change. :)

yup! 01-04-2005 12:35 AM

Ocean, Thanks for the quick responses! I'll look at vb.com. If I find anything I'll post it here, maybe someone else may want to add it as well.

Ocean 01-07-2005 12:37 AM

I just updated this hack to v1.3.5. There was only a small change - which fixed a column span issue for the Search screen.

Upgrading from v1.3.4 to 1.3.5 is very easy. Just download the v1.3.5 instructions, and follow Steps 25-30. It will take you about 2 minutes. :)

yellowbird 02-10-2005 01:44 AM

Just wondering, does this hack also work on version 3.0.6 without any additional changes? Thanks.

Ocean 02-11-2005 08:30 PM

Quote:

Originally Posted by yellowbird

Just wondering, does this hack also work on version 3.0.6 without any additional changes? Thanks.


I use it on 3.0.6 without any problems. :)

yellowbird 02-12-2005 12:39 AM

I actually don't need a whole column, I just would like to add the posted date beside the thread starter's name as below:

Title of the Thread
Username - Date Started

And the columns on the right would be as they always have been. Is there an easy way to do this?

Thanks,

Derek

Ocean 02-16-2005 12:20 AM

Quote:

Originally Posted by yellowbird

I actually don't need a whole column, I just would like to add the posted date beside the thread starter's name as below:

Title of the Thread
Username - Date Started

And the columns on the right would be as they always have been. Is there an easy way to do this?

Thanks,

Derek


Are you just looking to get rid of the column for the main ForumDisplay pages?

Or from any and all pages where that Thread Creation Date column has been added? (I added it also to the Search Results and Thread Subscriptions pages)

yellowbird 02-17-2005 01:32 AM

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.

gigaenvy 02-27-2005 02:01 PM

I would rather see the creation date of the thread under the thread title. So, in addition to seeing the thread title and the name of the thread starter, how about some code to insert 'posted by: MyName on [date]'?

This would be a good way instead of creating a new column. Any code for this?

Thanks!

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?

JohnBee 10-31-2007 07:13 PM

Quote:

Originally Posted by madkeen (Post 1162141)
Can this be used in 3.6?

I felt lucky and ran the code through the grinder. Though I was able to squeeze the file edit past the changes. The creation date var never showed up. I suspect there have been to many changes since this MOD was written now.

I hope someone writes something else like this for 3.6.x , our community really enjoyed the added functions this MOD provided us with. :confused:

nofat.co.nz 08-02-2008 07:50 AM

Is there anything like this for 3.7.2 :confused::confused::erm:

nofat.co.nz 08-05-2008 02:02 AM

Some of the things you are meant to find to ad the line underneath are no longer in the 3.7 version :( - So it doesn't quite work - I managed to get up the column that says 'date of creation' but didn't manage to actually get the data to show up :( I wish the guy who figured this out in the first place still came online - but doesn't look like he's been online since 2005 :(


All times are GMT. The time now is 07:56 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.01330 seconds
  • Memory Usage 1,819KB
  • 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
  • (12)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
  • (33)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