I was wondering if anyone has been successful in pulling information from MORE THAN ONE forum when using the News include. The instructions state:
Code:
###################################################
# Displaying News
<?php
output_News(5,4);
?>
# Change '5' to the amount you want to show
# Change '4' to the forum id you want to pull
# news from (must be set - only 1 forum id allowed)
###################################################
Just curious if anyone has been able to modify vBExternal so that more than 1 forum ID can be included here.
use the show threads option... it's the same thing however just able to do what you want which is pulling the newest 5 items from the array of forum ids
output_NewestThreads(X,"ID1,ID2,ID3,...");
X = number of items
IDx = the forum ids to which you want showing up
This is a VERY useful plugin. I'm particularly interested in the NEWS feature.
However, I've noticed if the threads have quotes (or code) defined in them, this text does make it out to the NEWS.
Ie: If you post a thread and within it do a quote of some text. When this thread is displayed as a news article, all the text is displayed apart from the quote
Use the show threads option... it's the same thing however just able to do what you want which is pulling the newest 5 items from the array of forum ids
output_NewestThreads(X,"ID1,ID2,ID3,...");
X = number of items
IDx = the forum ids to which you want showing up
Thanks for the suggestion. I'd like to pull data from multiple forums like this, however I'd also like to have the entire post show (like the "News" option), rather than just the thread title (which the "Newest Threads") option uses.
Any suggestion on how to jimmyrig this to pull that off?
i know this has been asked several times and not answered, but it really is quite a problem. quotes, img's and codes dont work. does anyone know how to fix this?
With the correct modifications, this works a treat! Though I'm having trouble with emoticons not appearing...
EDIT: Nevermind, I found that I could get them working by changing the path of the smilies via the ACP from images/smilies/smiley.gif to http://www.domainname.com/bbs/images/smilies/smiley.gif
Sorry to double post, but does anyone know how to restrict the maximum number of characters in the title to 33? If it can leave a trailing ... that'd be a bonus.
This is a VERY useful plugin. I'm particularly interested in the NEWS feature.
However, I've noticed if the threads have quotes (or code) defined in them, this text does make it out to the NEWS.
Ie: If you post a thread and within it do a quote of some text. When this thread is displayed as a news article, all the text is displayed apart from the quote
Anyone please? Seems a bit of a problem that you can't put use QUOTE or CODE in any article to be published as news
What confuses me is the text in these tags seemingly doesn't even come out of the PHP script in any shape or form? It's just missing... Is it being lost on the way out of the SQL request? I suspect not... So where is it being lost
This mod is exactly what I need, but it's not working correctly for me. I'm trying to show the newest replies in the sidebar of a wordpress blog -- a php template. Unfortunately, I'm getting this error:
Fatal error: Call to a member function query() on a non-object in C:\Domains\broncosfreak.com\wwwroot\forum\vBExtern al.php on line 347