Quote:
Originally Posted by Lynne
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