Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-30-2006, 09:58 AM
Spinball's Avatar
Spinball Spinball is offline
 
Join Date: Feb 2002
Location: Telford, England
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Displaying a thread on an external website.

Hi folks,
I don't think vBExternal can do this and the author has vanished anyway so I'll ask this here in the hope someone can help.
And this has got to be a hack which lots of people could use.
I want to display a specific thread from my forums on a different website on the same server.
It's a DVD review page with a discussion thread 'included' below the review.
The login prompt appears somewhere (maybe above, maybe below the posts). Non-members get the register option. Logged in members get the buttons to reply etc.
Can this be done wth one of the existing hacks or is some hero going to step up and write this and get HOTM?
Many thanks.
Reply With Quote
  #2  
Old 05-08-2006, 01:23 PM
pokerie pokerie is offline
 
Join Date: Apr 2006
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is what I want too. I can do it by fudging with vBExternal, but I also want the image attached to the thread to come through too.

I still can't believe that this functionality is not provided as standard and in the documentation.
Reply With Quote
  #3  
Old 05-08-2006, 01:35 PM
Spinball's Avatar
Spinball Spinball is offline
 
Join Date: Feb 2002
Location: Telford, England
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pokerie
I can do it by fudging with vBExternal
Can you share how you do that, please?
I've resisted installing vBexternal because it's not supported and there are lots of reports of problems.
But if this functionality is possible then it might be worth looking in to.
Thanks
Reply With Quote
  #4  
Old 05-10-2006, 09:45 AM
pokerie pokerie is offline
 
Join Date: Apr 2006
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Unfortunately, it does have limited functionality.
I used the news function in it with:

<?php
output_News(1,20); //(amount to show, forum id to pull)
?>

This just displays the latest x amount of the latest threads from the designated forum. Read the usability guide as there's a coupla paths you have to add at the top.

vBExternal is fine, although when using it with the latest version you'll get a database error. To fix this just open up vBExternal.php and find the line:

$config['MasterServer']['servername'],

Now after this line, paste in the following line.

$config['MasterServer']['port'],

Everything should now work fine. You can edit the template news.html to display the posts as you want.

I understand this probably isn't quite the functionality that you want as it doesn't allow you to target a specific thread. I certainly wanted more.

After much searching round and zero help from the people on this forum (my post was ignored) I think you can do it by using external.php with rss feeds as an external data provider. This does allow you to target individual threads and display them however you want, just with no feed for attachments (the images!).

I found some code to add into external.php that lets you pull the link for any attachments along with the thread, and once I've finished writing the xml parser for rss I'm hoping it'll work. If so I'll post my findings on here for other people left in the dark.
Reply With Quote
  #5  
Old 05-10-2006, 11:20 AM
Warlock40 Warlock40 is offline
 
Join Date: Mar 2006
Location: Ontario Canada
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

doesnt something like vb gallery, or photopost allow you to do that.
Show media and have open discussion?
Reply With Quote
  #6  
Old 05-10-2006, 12:05 PM
pokerie pokerie is offline
 
Join Date: Apr 2006
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had a quick look over them before, but they are full gallery solutions. All we want is to target a specific post/thread and have it displayed in the way we want.

I still find it hard to believe you can't query external.php (or similar) with http://path/external.php?threadid=xxxx and get it to spit out the info from that thread for displaying. I could sort of understand if it couldn't show attachments, but this is as basic as functionality comes IMO.

Any more ideas?
Reply With Quote
  #7  
Old 02-07-2007, 07:46 AM
Spinball's Avatar
Spinball Spinball is offline
 
Join Date: Feb 2002
Location: Telford, England
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump
Reply With Quote
  #8  
Old 03-30-2007, 11:18 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

and bump again, im am interested in getting any content from my vbulletin site dispalyed on another non vb site, hopefully through rss feeds or something, if anyone can put me in the right direction that would be great.

Thanks.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:07 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04317 seconds
  • Memory Usage 2,230KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete