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)

chikkoo 12-19-2005 03:05 AM

Today I installed this Mod,
I too have the same problem, but with different line numbers
"global.php(332) : eval()'d code on line 9"

KBV 12-19-2005 10:52 AM

It must have something to do with the other mods that are installed in vB. I have yet to figure out why. Any insight would be much appreciated.

tnguy3n 12-19-2005 10:48 PM

Sorry guys, I've been busy with final exams and stuffs.
Anyway, I've just checked the hack ... and yeah, there was a typo. I missed out one closing quote in 'memberinfo_threadlist'.
To fix that, open the Threads In Profile plugin (cache_template hook),

FIND:
PHP Code:

$globaltemplates[] = 'memberinfo_threadlist; 

CHANGE THAT TO:
PHP Code:

$globaltemplates[] = 'memberinfo_threadlist'

that would fix the bug.

For those who are un-able to log into AdminCP as caused by this stupid hack; in your phpMyAdmin, run following query:
PHP Code:

DELETE FROM plugin WHERE title 'Threads In Profile'


KBV 12-20-2005 09:43 AM

Thank you! Works perfectly. ;) Great mod. ^^

Danny Diamond 12-24-2005 01:23 PM

What are we supposed to edit.

I just get this.....

if condition="">
Joe Cool's Last Threads
Thread Title Forum Last Poster Last Post Views Replies

Nothing shows up......

AWI 12-27-2005 08:44 AM

Installed on 3.5.2 and it looks great in Firefox but not in IE, any suggestions?

http://www.idnba.com/member-find_lastposter-f_13.html

neutek 01-06-2006 07:22 PM

thanks
+install

lightwave 01-06-2006 07:34 PM

Upload plugin-lastthreads.xml in your Plugin Manager.

but where in the hook does ti go?

and also how do i make a new template?

Hellraider 01-06-2006 09:14 PM

Quote:

Originally Posted by lightwave
and also how do i make a new template?

ACP --> Styles & Templates --> Style Manager --> In pulldown menu klick on Add new template

Zachariah 01-29-2006 12:45 AM

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?

Code:

if (THIS_SCRIPT == 'member'){
    $globaltemplates[] = 'memberinfo_threadlist';
 }

So the cache only is used on member.php


All times are GMT. The time now is 02:13 AM.

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.01076 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
  • (4)bbcode_php_printable
  • (2)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