vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Displaying latest posts on a different site (https://vborg.vbsupport.ru/showthread.php?t=197706)

jhightman 11-30-2008 10:52 PM

Displaying latest posts on a different site
 
Hello everyone

Ok so here is my dilemma. I have done some search and still no luck getting this to work.

I have a sub site... (forums.website.com) which has my forums. I then have wordpress installed on just (website.com).

I would like to be able to show the latest threads from the forum on the other site. I have everything turned on in my external data provider section.

Can someone point me in the right direction for this? Are there some plugins I would need to install on wordpress?

Thanks, :up:
Jason

Lynne 11-30-2008 11:02 PM

You can follow any of these for the lastest threads:
[HowTo] Display your latest threads on an external page using an RSS2 feed
[HowTo] Display your latest threads on an external page using an XML feed
[HowTo] Display your latest threads on an external page using an RSS feed

jhightman 11-30-2008 11:23 PM

Thanks for the info Lynne...

I tried some of the rss ones already. Gave the XML one a shot.

got these errors

Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /nfs/c03/h02/mnt/52567/domains/xxxxxxxxxxxx/html/test.php on line 95

Warning: fopen(http://forums.xxxxxxxxxxx/external.php?type=xml) [function.fopen]: failed to open stream: no suitable wrapper could be found in /nfs/c03/h02/mnt/52567/domains/xxxxxxxx/html/test.php on line 95

Warning: fread(): supplied argument is not a valid stream resource in /nfs/c03/h02/mnt/52567/domains/xxxxxxxxx/html/test.php on line 97

Warning: fclose(): supplied argument is not a valid stream resource in /nfs/c03/h02/mnt/52567/domains/xxxxxxxxxx/html/test.php on line 102

--------------- Added [DATE]1228106849[/DATE] at [TIME]1228106849[/TIME] ---------------

going to follow this and see if it helps out.

http://www.tubepress.net/url-file-ac...iguration.html

--------------- Added [DATE]1228107588[/DATE] at [TIME]1228107588[/TIME] ---------------

ok that fixed the issue. Thanks Lynne for the links.. the code there is perfect. The issue was:

the php.ini file on my server. Fortunately I was able to edit this myself to say ( allow_url_fopen = 1 ) problem solved.


All times are GMT. The time now is 07:02 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.00979 seconds
  • Memory Usage 1,718KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete