Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[Release] Simple vB powered web page Details »»
[Release] Simple vB powered web page
Version: 1.00, by Brad Brad is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

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.

Comments
  #12  
Old 02-01-2003, 06:24 PM
webrats webrats is offline
 
Join Date: May 2002
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

would be great if i could add php to it
Reply With Quote
  #13  
Old 02-01-2003, 09:06 PM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #14  
Old 02-01-2003, 10:03 PM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #15  
Old 02-01-2003, 10:06 PM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #16  
Old 02-02-2003, 10:18 AM
Orfejs's Avatar
Orfejs Orfejs is offline
 
Join Date: Sep 2002
Location: In your mind
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a demo?
Reply With Quote
  #17  
Old 02-03-2003, 03:53 PM
xeon xeon is offline
 
Join Date: Oct 2001
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #18  
Old 02-03-2003, 04:16 PM
Rufus69's Avatar
Rufus69 Rufus69 is offline
 
Join Date: Oct 2002
Posts: 307
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice
Reply With Quote
  #19  
Old 02-04-2003, 01:57 PM
Drowned Drowned is offline
 
Join Date: Apr 2002
Location: Guatemala, Central Americ
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #20  
Old 02-05-2003, 06:39 AM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Stick it in the custom template.
Reply With Quote
  #21  
Old 02-05-2003, 08:04 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
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 10:17 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.04300 seconds
  • Memory Usage 2,302KB
  • Queries Executed 25 (?)
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
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete