vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Display Enhancements - All Topic - Master Forums - Shows threads from multiple forums in one forum (https://vborg.vbsupport.ru/showthread.php?t=245839)

BirdOPrey5 10-30-2014 01:48 PM

The only way not to show zero as the post count in the master forum would be to create some threads/posts that were native to the Master Forum, and don't appear in any other forum.

What you want to do you might be better off using a "Link" forum and making the link URL and the link to the "New Posts" page but setup to exclude whatever forumids you don't want.

Something like-

Code:

search.php?do=getdaily&days=10&exclude=11,15,23,81
Where the 11,15,23 and 81 are forumids of forums you don't want listed.

10 is the number of days back you want to show posts from.

pjkcards 11-04-2014 04:57 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2520621)
The only way not to show zero as the post count in the master forum would be to create some threads/posts that were native to the Master Forum, and don't appear in any other forum.

What you want to do you might be better off using a "Link" forum and making the link URL and the link to the "New Posts" page but setup to exclude whatever forumids you don't want.

Something like-

Code:

search.php?do=getdaily&days=10&exclude=11,15,23,81
Where the 11,15,23 and 81 are forumids of forums you don't want listed.

10 is the number of days back you want to show posts from.

Doesn't new posts rely on what you read/unread? I thought the idea of the master forum was for having all the posts in the forum show up, regardless of whether it was read or not.

BirdOPrey5 11-04-2014 08:09 AM

That search string is "getdaily" which is the Today's Post link expanded to 10 days- that should show old and new posts. The one you are talking about would be "getnew" that should only show threads with new posts.

Sarab 04-01-2015 11:24 PM

Hello =D

I have this error:
Quote:

Database error in vBulletin 4.2.2:

Invalid SQL:

SELECT COUNT(*) AS threads,
(
SELECT COUNT(*) AS newthread
FROM thread AS thread
WHERE forumid = 185
AND lastpost > 1427937256
AND open <> 10
AND sticky = 0

AND visible IN (0,1,2)



*/ WHERE forumid IN (186) AND sticky = 0 AND visible IN (0,1,2)
) AS newthread

FROM thread AS thread

/*
WHERE forumid = 185
AND sticky = 0

AND visible IN (0,1,2)



*/ WHERE forumid IN (186) AND sticky = 0 AND visible IN (0,1,2);

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '*/ WHERE forumid IN (186) AND sticky = 0 AND visible IN (0,1,2)
) AS new' at line 14
vbulletin version is 4.2.2 without forumdisplay.php edit, how to fix it =")?

BirdOPrey5 04-03-2015 02:30 PM

Upload the fresh forumdisplay php. file from the VB 4.2.2 download package.

For some reason it looks like the query hooks are backwards.

jagtpf 06-17-2015 05:15 AM

Upgraded vB to 4.2.3 from 3.8.7 - this product works as expected.

One out of the box thought - would it be possible to use this excellent product to show threads with no replies!

In vB 3.8.7 we had a link dedicated to search for all uncommented threads - that no longer works. and I'm trying to find alternatives.....

Morrus 06-19-2015 07:14 AM

I'm with pjkcards - it would be wonderful not to have it appear on the forum home as an empty forum. If the #threads/replies can't be changed, is there any way to simply hide them on master forums only? I've had several people tell me they never click on the master forum because from the forumhome it looks like there's nothing there.

BGObsession 08-10-2017 06:09 PM

Love this mod. Appears to be working great on 4.2.5/php 7. I actually have no desire to have a 'Master Forum' but was able to create two master forums (one for all threads, the other for just RSS news feed threads) and then set the Forum's active status to 'No'.

I then created a 'View All Threads' and 'View All News' link for my sub-nav bar. great way for members to be able to see all of the most recent threads without having to go forum to forum if they prefer not to. Great work BOP5!

jagtpf 08-06-2018 04:12 AM

Absolutely love this mod. I'm probably not going to get an answer, or even a solution - but if the display options could provide threads in a random order it would be awesome!

BirdOPrey5 08-06-2018 08:21 AM

A random option for thread display would seem like its own separate mod, it wouldn't be part of this since this mod doesn't alter how threads are displayed. But thank you for the kind words about the mod though.


All times are GMT. The time now is 01:10 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.01249 seconds
  • Memory Usage 1,742KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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