vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=134)
-   -   [Release] [Beta 2] Simple vB powered web page version 2.0 (https://vborg.vbsupport.ru/showthread.php?t=87408)

Brad 08-18-2003 10:00 PM

[Release] [Beta 2] Simple vB powered web page version 2.0
 
Modification: Simple vB powered web page (svBpwp).
By: Brad.loo

This is a external script that will allow you to add extra pages to your vBulletin that intergrate with your style settings. It allows you to use all of vBulletin's built in style vars in your html code so you never have to worry about updating flat html files to match you new board's style every again.

The script supports multiple pages via one file and one template using <if> condition tags unlike its vB 2 counter part. Also you may use all global variables and templates in your code.

Updates:

2.0 beta 2 released - beta 2 solves all reported bugs in beta 1 but adds no new funconality. If you are running beta 1 it is recomended that you upgrade. To do so download the zip file attached in this thread and upload the new pages.php

How to use this script:

Heres a quick list of variables allowed to be used with this script, they are off the top of my head so I might have missed a few.

$bbuserinfo[] - Show's current users info if any
$stylevar[] - vBulletin's build in style var's
$vboptions[] - vBulletins options
$showdate - Current date
$showwelcome - Could be useful for welcome panels or the like, use this variable in conditions when you want to show certain info to a guest or regged member. Reports false if user is guest and ture is user is member.
$navbar - Shows navbar
$header - Shows contents of the HEADER template
$footer - Shows contents of the FOOTER template
$headinclude - Shows contents of the headerinclude template
$gobutton - Displays go button (go button template)
$timezone - Shows content of timezone template.
$_REQUEST['getpage'] and $page - Use to determain code to display per page.

Zachery 08-19-2003 11:47 AM

nice and simple like you said, i have somthing alot simpler than this that is working with vb3(it just calls the template lol) :) but nice none the less, i may use this to help a friend with some pages for his vb3

Brad 08-19-2003 11:55 AM

Quote:

Originally Posted by Faranth
nice and simple like you said, i have somthing alot simpler than this that is working with vb3(it just calls the template lol) :) but nice none the less, i may use this to help a friend with some pages for his vb3

Thanks for the comments, let me know if you find anything this script is lacking.

I added a new variable to the file amd have uploaded a new zip file. If you have downloaded the script before I made this post make sure to grab it again, no version name change.

Basicly now you can use $page instead of $_REQUEST['getpage'] in your conditions. The old way still works tho ;).

The next steap for this script is admin cp intergration but I wont fool with that until RC. :)

Zachery 08-19-2003 11:57 AM

i saw Steve Machol talking about external.php i know this is abit offtopic but any idea what it does?

Brad 08-19-2003 11:58 AM

I imagine it has something to do with RSS feeds for the forums into other programs and cleints, not really related to this script.

imported_GMTalk 08-21-2003 06:29 AM

It is for the content feeds. I have been playing around with them as far as pushing data to other sites that I run.

MischiefThought 08-25-2003 02:43 PM

Isnt this the same as c-prompts? but just for vb 3.

Brad 08-25-2003 02:45 PM

Quote:

Originally Posted by MischiefThought
Isnt this the same as c-prompts? but just for vb 3.

I made one and released it here for vB 2 aswell. I asure you that I coded this myself, dident know anything like it was out there :)

WichitaRacing 09-10-2003 01:14 AM

demo for this? :)

minder 09-17-2003 03:56 PM

well all i can say is i will use this a lot so thanks a lot brad !!
cheers
rob


All times are GMT. The time now is 03:53 PM.

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.01035 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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