vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How can I show posts from my forum on another site? (https://vborg.vbsupport.ru/showthread.php?t=276205)

Fergal C 12-30-2011 02:13 PM

How can I show posts from my forum on another site?
 
I'm working on a small college project that requires the development of a website. The site I'm working on has it's own domain and will basically be an information site about my forum (VB 4.1.5).

How can I display the latest posts and/or threads made on the forum, on the project site? Both sites will be on the same server.

Thanks!

kh99 12-30-2011 02:40 PM

The vb manual has an example of how to use the external data provider to do something like that: https://www.vbulletin.com/docs/html/...r_implementing

To use that example you need to enable External Javascript in the External Data Provider settings in the adminCP. Also, it will only work for forums that are readable by guests.

Fergal C 01-01-2012 07:15 PM

Thanks for that Kevin, it works and is just what I was looking for.

The post titles displayed on the external site are shown as text only. Do you know if it is possible to set it up so that the posts on the external site link back to the posts on the forum?

Also, how often is the external.php?type=j page updated?

Macsee 01-01-2012 11:06 PM

Fergal, does this help: https://vborg.vbsupport.ru/showthread.php?t=275728

kh99 01-01-2012 11:11 PM

Thanks, you saved me from having to find that again. :)

Fergal C 01-02-2012 07:22 AM

Thanks Macsee and Kevin, job done :)


All times are GMT. The time now is 02:13 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.01886 seconds
  • Memory Usage 1,712KB
  • 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
  • (6)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