View Single Post
  #3  
Old 05-30-2009, 12:26 AM
z0diac z0diac is offline
 
Join Date: Dec 2006
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
I suppose you would just write a plugin to grab the content of that web page and put all the html into a variable and spit the variable out in the thread (SHOWTHREAD template).
*Exactly*. But since each person has their own html page that list their videos (simple thumbnail of screenshots of the video, description, and button link to download the video), and each person has their own picture thread in the forum - the video page for THAT person (that thread) will be different for each thread.

So if I have it set up for say, 5 posts per page, it would show the first 5 posts, then the "footer included html page" as an extra post at the bottom (doesn't even need show as a post - it could even have some definable text like "EXTRA CONTENT: " then the html code below it, at the bottom of each page for that thread. The of course page 2 of that thread would show posts 6-10, then the same footer (html page) again at the bottom.

I realize this would add an extra query to each thread display - the showthread would have to check to see if that thread's "footer" entry contains an URL. If so, it pulls the body code of that html page and displays it after the last post of each page.

This could actually be very usefull to many members - they could display a specific page for advertising, or an 'extra links' page related to that thread, or any information from another web page actually.

So basically the newthread code would need a text box above the title for "Footer URL: " and enter that into the dbase, then showthread would have to check to see if a footer url exists for that particular thread, and show it as a footer post for each page of that thread. It's too bad I don't program anymore - 'back in the day' (20 yrs ago) I used to do a lot of programming - wrote a "BBS" program actually, and something like this would probably have been rather straight forward back then. Alas, I know nothing about PHP or dbases, so here I am requesting help from those in the know
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01021 seconds
  • Memory Usage 1,767KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete