vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Latest Threads On Forum Home (https://vborg.vbsupport.ru/showthread.php?t=83230)

Kirk Y 09-24-2005 05:20 AM

Login to your AdminCP -> Scroll to Plugin System -> Click Plugin Manager -> Look in the list for "Latest Threads on Forum Home" -> Click the "Edit" link next to it -> Select in the DropDown bar next to "Hook Location", global_start.

You've gotta paste the code you pasted into the "forumhome" template to wherever you want it...

That'll be $29.95. Ha ha... just kidding.

Vierie 09-24-2005 10:34 AM

If I do that, I get a
Fatal error: Call to undefined function: fetch_iconinfo() in /home/www/web1/html/politikpla.net/forum/global.php(351) : eval()'d code on line 49

Kirk Y 09-24-2005 03:12 PM

Sorry, I typed the wrong thing in, change the hook location to "global_start". My apologies.

Vierie 09-24-2005 05:09 PM

I did use global_start. Still get the same error.

Maybe I changed the wrong one. I have two plugins with "latest threads on forumhome", one with the hook "cache_templates" and one with the hook "forumhome_complete". I changed the second one.

Kirk Y 09-24-2005 05:21 PM

Try changing both.

Vierie 09-24-2005 05:45 PM

No change. :(

Kirk Y 09-24-2005 05:53 PM

Quote:

Originally Posted by roundhost
Change it to global_start, then it will work :D

Hmm... strange. According to roundhost, that's all you needed to do. I'll see if I can't get it to work on mine, and I'll get back to you.

Vierie 09-24-2005 06:01 PM

Thank you. :)

Xplorer4x4 09-30-2005 08:44 AM

Quote:

Originally Posted by Chris M
Not tested, but should work ;)

In the plugin code, add:
PHP Code:

$limitfids = ,x,y,z

before:
PHP Code:

foreach($vbulletin->forumcache AS $forum) { 

Replace [high]x,y,z[/high] with the forumids you wish to exclude :)

Satan

Doesn't seem to work for me. :(
PHP Code:

$limitfids = ,167,168,;foreach($vbulletin->forumcache AS $forum) { 

Here is the line of the plug in. I get this error:
Quote:

Parse error: parse error, unexpected ',' in /public_html/forums/index.php(459) : eval()'d code on line 6

Xplorer4x4 10-06-2005 01:21 PM

Ok I realize Chris is gone, but anyone?

Also note the permision bug is back when using this on vB3.5 GOLD!

EDIT 10/06/05:Pretty sure the Permision bug was my dumbass fault. Please check it though.

EDIT 10/7/2005: Permision bug was my fault:o! Ok I found a fix for this. Instead of yours I had to use:
PHP Code:

$limitfids .= '167,168'

Is there a way to include hte forum name in the display?


All times are GMT. The time now is 07:45 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.01353 seconds
  • Memory Usage 1,743KB
  • 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
  • (4)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
  • (2)pagenav_pagelinkrel
  • (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