vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Threads In Profile (https://vborg.vbsupport.ru/showthread.php?t=102122)

Gizmo5h1t3 12-03-2005 07:16 PM

working a treat here.....

swa 12-03-2005 11:37 PM

Nice hack! thanks!

Lizard King 12-04-2005 10:44 AM

There are 2 problems. One is the memberinfo_threadlist template is not cached and the second one it is not showing the correct threads.

tnguy3n 12-04-2005 11:39 AM

to cache memberinfo_threadlist,create a new plugin from cache_templates hook with the following content:
PHP Code:

$globaltemplates[] = 'memberinfo_threadlist'

for 2nd issue, could you pls clarify?

Lizard King 12-04-2005 02:08 PM

Quote:

Originally Posted by tnguy3n
to cache memberinfo_threadlist,create a new plugin from cache_templates hook with the following content:
PHP Code:

$globaltemplates[] = 'memberinfo_threadlist'

for 2nd issue, could you pls clarify?

I double check the second issue and it takes the last replied threads to profile.
http://www.ayyas.com/member.php?u=4&styleid=69 check in here for example the thread En Son Ben Post Atıcam was opened in 2004 but it is in the profile. I opened tons of threads after this one but this had a new reply.

FleaBag 12-04-2005 02:27 PM

Yeah thanks for this one, I'll get it installed when I finish working on my profiles! :D

Mastar 12-04-2005 02:36 PM

I got this:
Code:

Parse error: parse error, unexpected T_STRING in /home/thebedrock/domains/thebedrocktavern.com/public_html/global.php(334) : eval()'d code on line 83
After I installed this hack in my usercp but the threads didn't show.

tnguy3n 12-04-2005 03:04 PM

Quote:

Originally Posted by Lizard King
I double check the second issue and it takes the last replied threads to profile.
http://www.ayyas.com/member.php?u=4&styleid=69 check in here for example the thread En Son Ben Post Atıcam was opened in 2004 but it is in the profile. I opened tons of threads after this one but this had a new reply.

I already said the thread is ordered by lastpost time. If you want to order it by thread dateline, open the plugin and change the query. Here's what you want to change:
PHP Code:

ORDER BY thread.dateline DESC 


tnguy3n 12-04-2005 03:05 PM

Quote:

Originally Posted by Mastar
After I installed this hack in my usercp but the threads didn't show.

This hack doesn't touch or modify usercp.php file. maybe some other hacks you installed.

Lizard King 12-04-2005 03:23 PM

I missed that. Thanks it worked out :)


All times are GMT. The time now is 03:34 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.01181 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_php_printable
  • (3)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