Version: 1.00, by Brad
Developer Last Online: Nov 2023
Version: Unknown
Rating:
Released: 01-29-2003
Last Update: Never
Installs: 3
No support by the author.
Author: Anime-loo Screenshot: None.
This script is for webmasters that still use .html static pages for their sites. The point of this script is to allow you to be able to edit your html pages via the vB admin cp (templates).
This opens up alot more for anyone useing vB with a html website. Here is a quick list of things you can do with this script:
Back up ALL html pages, they are stored in the database so you no longer have to backup your static html pages then grab your DB.
Block guest/not logged in users from a page.
Quick editing of all pages via vB's template system.
Have pages that change styles based on what the user has selected in their user cp:
--Use all global templates ($header,$footer,$gobutton) in pages.
--Use all replacements in your pages.
I plan on extending this script alot more soon, ATM it was wrote to kill time.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
You can add php to the file itself, the main goal for this release was to allow a html based site to be editable thru the templates. That dosent mean you can extend it further.
As for the new stuff coming in this script, ive decided to leave it as is for now. Insted im working on a vBhome like project that requires no hacking of the vB php files. I may release it over here upon aproval of Saintdog.
Why does it only work with html files and not php? For security reasons?
Php code dose not work in the templates (for version 2.x.x and 1.x.x anyway), so you are limited to html. Php can be done thru one template. phpinclude.
This sounds pretty interesting.. Can this work like other portals that have the latest topics, last registered member, featured news and stuff like that on the front page?
The new portal im working on will do all that and a bit more, im releaseing a beta by end of the week.
Quote:
Originally posted by xeon I do not currently have any html pages associated with my forum, nor is my forum in a forum directory, rather it's at the domain root. Your directions say to NOT to load the page.php, renamed of course into the forum directory. I am assuming this is to make sure you do not write over a page currently in that directory as your example of index.html to index.php suggests, am I correct? I don't see where any complications that would come into play aside from writing over current php files.
BTW, this looks like a great way for me to add HTML content and yet be able have it integrated within vBulletin. Then I can use online.php and so on for my new pages in addition to other bonuses. Before I do though, I need to figure out a new top navigation setup, especially if I will be adding more links, tis already crowded. BTW, thanks for this it looks like this simple "just wasting time" project might come in handy for me. Any inklings of what you might be adding to it?
You are correct, i would hate it if someone overwrote their vB files, thats why the warning is there.
Here's a teeny demo of something I threw together this morning. I am using $bbtitle, $header and $footer, otherwise it's plain ol html via a custom template. This doesn't really show advanced capabilities of this mod or advanced html, but it might give you some idea. For me it seems like a good way to add content easily and be able to control it via the template system in addition to other pros.
I don't get this mod... I just started learning PHP and I can't figure out how to make it work... i followed the instrucions and the page.php is working but how do I make my html files load $header for example?
Originally posted by xeon Here's a teeny demo of something I threw together this morning. I am using $bbtitle, $header and $footer, otherwise it's plain ol html via a custom template. This doesn't really show advanced capabilities of this mod or advanced html, but it might give you some idea. For me it seems like a good way to add content easily and be able to control it via the template system in addition to other pros.