This hack will add a new sortable column to your ForumDisplay, as well as the UserCP for Subscribed Threads, that will show the Date of Creation of each of your threads. In addition, you can also sort by Creation Date via the Display Options of ForumDisplay.
Release History:
Version 1.3.5 Notes:
Fixed the column span issue for Searches
Version 1.3.4 Notes:
Fixed the column span issue for Thread Redirects
Version 1.3.3 Notes:
Fixed the column span issue for Announcements and Soft Deleted Threads
Version 1.32 Notes:
Minor changes to code being searched for (Updating for most recent version of vB). If you successfully installed 1.31, you don't need to worry about 1.32.
Version 1.31 Notes:
I have added the sort by Creation Date option for the Display Options of ForumDisplay
Version 1.3 Notes:
I have added the ability to sort by Creation Date for both ForumDisplay, as well as Subscribed Threads. (Thanks, KirbyDE for your help with this!)
Version 1.2 Notes:
This hack was originally released by VBDev. There were a number of issues, however, that needed to be dealt with. As VBDev was no longer responding to his Thread on vBulletin.org, nor was he responding on his home forum, I updated this hack to correct the following issues:
1. The "Threadbit" template had changed between 3.0.0 and 3.0.3.
2. The original version of this hack did not support the Subscribed Threads section in your UserCP.
3. The original version of this hack caused problems with the Subscribed Threads section of the UserCP. An additional empty column was created, where the Thread Creation Date should have been - but that threw the synchronization off between column headers and data.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Anyway, as a quick overview - the template changes create the column itself, but the PHP file changes are what supply the data.
So, if you have the column, but no data - chances are that you made a mistake with the code changes for the PHP files. Depending on where you're seeing the problem, that will tell you which file(s) you need to look at.
For example, if it's the main forums that are not showing the data, than you need to recheck the changes to ForumDisplay.php. If the problem is with the Search results, than you need to check Search.php, and if the problem is with Subscribed Threads in the UserCP, than you should check Subscription.php.
I have the extra column in the subscriced threads part in the usercp. I have gone over and over everything and I can't find the problem. Can anyone help me fix this?
You gave me only a partial screencap - I can't see if the Thread Creation Date header is present or not.
However, I believe that the problem is that you did not execute all of the instructions properly in regards to the SUBSCRIBE Template. Those changes are what would affect the columns in the UserCP/Subscribed Threads page.
Double check that you have correctly implemented those code changes, and we can take it from there.
You gave me only a partial screencap - I can't see if the Thread Creation Date header is present or not.
However, I believe that the problem is that you did not execute all of the instructions properly in regards to the SUBSCRIBE Template. Those changes are what would affect the columns in the UserCP/Subscribed Threads page.
Double check that you have correctly implemented those code changes, and we can take it from there.
Ok, I started out with a fresh unhacked style again, and again I come up with the same as in my screen cap. The thread creation date header is not even there in the subscribed threads list in the usercp.
Ok, I started out with a fresh unhacked style again, and again I come up with the same as in my screen cap. The thread creation date header is not even there in the subscribed threads list in the usercp.
Well, the header being present is going to be affected by the Template changes as well as the Phrase that needs to be added (which I assume you did).
Make sure that you performed steps 5 and 6:
Code:
5. Open the "SUBSCRIBE" template and Find:
**********
<td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&order=desc&sort=lastpost">$vbphrase[last_post]</a> $sortarrow[lastpost]</span></td>
********************************
6. Below, Add:
**********
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&order=asc&sort=threadstarted">$vbphrase[date_creation]</a> $sortarrow[threadstarted]</span></td>
I am also assuming that you are not making the mistake of viewing a style that is unaffected by the style you made these template changes to.
In addition, the fact that the data isn't showing up suggests a problem in the PHP file changes. Make sure that you made the changes to Subscription.php (singular) and NOT Subscriptions.php (plural). It's a common mistake.
If you didn't make any of the above mistakes, PM me with your email, and I'll ask you to ZIP up some files for me so that I can examine your code.
Well, the header being present is going to be affected by the Template changes as well as the Phrase that needs to be added (which I assume you did).
Make sure that you performed steps 5 and 6:
Code:
5. Open the "SUBSCRIBE" template and Find:
**********
<td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&order=desc&sort=lastpost">$vbphrase[last_post]</a> $sortarrow[lastpost]</span></td>
********************************
6. Below, Add:
**********
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&order=asc&sort=threadstarted">$vbphrase[date_creation]</a> $sortarrow[threadstarted]</span></td>
I am also assuming that you are not making the mistake of viewing a style that is unaffected by the style you made these template changes to.
In addition, the fact that the data isn't showing up suggests a problem in the PHP file changes. Make sure that you made the changes to Subscription.php (singular) and NOT Subscriptions.php (plural). It's a common mistake.
If you didn't make any of the above mistakes, PM me with your email, and I'll ask you to ZIP up some files for me so that I can examine your code.
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.