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)

Ocean 10-18-2004 11:43 AM

Quote:

Originally Posted by Ber|Art

@Ocean, I PMt you with some questions :)

You could have just asked them here. :)


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.

:)

Ber|Art 10-18-2004 12:03 PM

OK, solved Thanks a lot for your lighting speed HELP :)

Ocean 10-18-2004 12:08 PM

Quote:

Originally Posted by Ber|Art

OK, solved Thanks a lot for your lighting speed HELP :)

You're welcome! :)

hexonxonx 10-18-2004 04:03 PM

Quote:

Originally Posted by hexonxonx
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?

Here is a screen cap:

Ocean 10-18-2004 06:07 PM

Quote:

Originally Posted by hexonxonx

Here is a screen cap:

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. :)

hexonxonx 10-19-2004 02:48 AM

Quote:

Originally Posted by Ocean
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.

Ocean 10-19-2004 03:04 AM

Quote:

Originally Posted by hexonxonx

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&amp;order=desc&amp;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&amp;order=asc&amp;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. :)

hexonxonx 10-19-2004 03:13 AM

Quote:

Originally Posted by Ocean
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&amp;order=desc&amp;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&amp;order=asc&amp;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.

hexonxonx 10-19-2004 03:20 AM

I have given up on this hack. I reverted all my templates. Thanks for your time anyways.

HiDeo 10-19-2004 03:31 AM

HI, thanks Ocean


All times are GMT. The time now is 02:33 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.01097 seconds
  • Memory Usage 1,752KB
  • 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
  • (2)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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