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)
-   -   vBExternal v1.6 (https://vborg.vbsupport.ru/showthread.php?t=83005)

saeedh 07-09-2006 03:41 AM

firstly, thanks e2s for noticing the fix :)
Quote:

Originally Posted by Tannerman
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 :)

NeilFawcett 07-14-2006 11:09 AM

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 :(

Any clues?

Tannerman 07-14-2006 02:31 PM

Quote:

Originally Posted by saeedh
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? :)

lightwave 07-14-2006 04:00 PM

what code do i ened to do if the file is in a different subdomain?

ZombieAndy 07-14-2006 06:49 PM

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?

A17roolz 07-16-2006 09:51 AM

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

A17roolz 07-16-2006 09:02 PM

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.

chrisjp88 07-16-2006 11:00 PM

Quote:

Originally Posted by NeilFawcett
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 :(

Any clues?

I need the fix for this too if anybody knows.

NeilFawcett 07-17-2006 11:17 AM

Quote:

Originally Posted by chrisjp88
I need the fix for this too if anybody knows.

So it's not just me then :)

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 :(

euangel 07-23-2006 07:02 AM

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

Any ideas?


All times are GMT. The time now is 07:29 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.02480 seconds
  • Memory Usage 1,741KB
  • 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_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