vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Home Enhancements - Latest X Posts on Forum Home (https://vborg.vbsupport.ru/showthread.php?t=142759)

SEOvB 04-09-2008 12:42 AM

I'm not sure what was causing it, But i changed the forumhome_start plugin to global_start and disabled the forumhome_complete plguin and it works wonderfully

(and on all pages as i intended to do with it :0)

Michael Biddle 04-09-2008 04:24 AM

The reason that I have not made this on global_start is for a few reason. The biggest being that it adds a query to every single page. Also, their was a bug when I made it set to global, it was acting wierd. It was taking threads out of the actual forum listings.

SEOvB 04-09-2008 05:09 AM

I figured it'd add the query to all the pages, but i've got a design(or lack thereof) going where the latest posts are in the footer but you already know about that snazz :D

Actually you've just given me a better idea for it :D ty :D

synisterk 04-20-2008 12:13 AM

Is there a way to change $latest on either this or your threads one so that both can be used?

silver_wing 04-27-2008 07:19 PM

I have tried this on VB 3.7, and it is not showing up.

Quote:

Originally Posted by synisterk (Post 1494838)
Is there a way to change $latest on either this or your threads one so that both can be used?

I would like to know this too.

blebetanje 05-03-2008 06:50 PM

make one for 3.7x, this is something that user realy want

Sushubh 05-03-2008 08:27 PM

i upgraded to 3.7 with this installed and it seems to be working fine on the new version.

ngkong 05-08-2008 08:15 PM

you should add 'AND thread.visible = 1' to the sql query, because posts still visible even the threads are soft deleted.

Code:

SELECT post.postid, post.pagetext, post.userid, post.username, post.visible,
post.dateline AS date, thread.forumid, thread.title as thread_title, thread.threadid,
forum.forumid, forum.title as forum_title
FROM " . TABLE_PREFIX . "post as post
LEFT JOIN " . TABLE_PREFIX . "thread as thread on (post.threadid = thread.threadid)
LEFT JOIN " . TABLE_PREFIX . "forum as forum on (thread.forumid = forum.forumid)
WHERE post.visible = 1 AND thread.visible = 1 AND $platest_and AND $platest_and_1
ORDER BY postid DESC
LIMIT $limit

thanks

Pocket Aces 05-17-2008 05:46 PM

I changed plugin to global_start. Since then an error occurs on the advance search key word field auto-generate a value of "Resource id #22". Whats that Resource id #22 error mean and how to fix it??

Piratos 05-30-2008 02:20 PM

hello
i tested on 3.7.1 and nothing added !!! it installed correctly but i don't saw the last news on forumhome!

Any help ??


All times are GMT. The time now is 01:41 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.01416 seconds
  • Memory Usage 1,735KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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