vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=139)
-   -   [Release] Simple vB powered web page (https://vborg.vbsupport.ru/showthread.php?t=86155)

webrats 02-01-2003 06:24 PM

would be great if i could add php to it

Brad 02-01-2003 09:06 PM

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.

Brad 02-01-2003 10:03 PM

Quote:

Originally posted by alkatraz8
Great idea!

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.

Brad 02-01-2003 10:06 PM

Quote:

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.

Orfejs 02-02-2003 10:18 AM

Is there a demo?

xeon 02-03-2003 03:53 PM

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.

http://www.autismtalk.net/whatis.php

Rufus69 02-03-2003 04:16 PM

nice :)

Drowned 02-04-2003 01:57 PM

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? :(

Brad 02-05-2003 06:39 AM

Stick it in the custom template.

Tony G 02-05-2003 08:04 AM

Quote:

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.

http://www.autismtalk.net/whatis.php

Yes, this is how many people get a vB-powered website. This saves having to create html pages or clones to look like your vBulletin.


All times are GMT. The time now is 12:31 AM.

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.01524 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete