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

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

Version: 3.0.x Rating:
Released: 08-18-2003 Last Update: Never Installs: 2
Re-useable Code Translations  
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 02-05-2004, 02:09 AM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ive been busy prepairing a few things for vBt's RC 3 upgrade as of late.

To do this for all custom pages call by that file edit pages.php

Find:

PHP Code:
// ############## Start main script ############################################ 
Replace with

PHP Code:
// ############## Start main script ############################################
require_once('./customfile.php'); 
Do not call global.php in that file, it will pick global.php up via my script.
Reply With Quote
  #53  
Old 02-06-2004, 08:31 AM
Cyricx Cyricx is offline
 
Join Date: Aug 2002
Location: Missouri
Posts: 1,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*sigh*...

It's half-way, lol ...

It shows the contents of the file that gets the information from xml file above the header / footer / navbar.

LINK

Cyricx
Reply With Quote
  #54  
Old 02-10-2004, 05:13 PM
Cyricx Cyricx is offline
 
Join Date: Aug 2002
Location: Missouri
Posts: 1,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Brad -

Any headway on that problem we discussed?

I'm anxious to get the rest of the site all completed...

Cyricx / Shaz
Reply With Quote
  #55  
Old 02-28-2004, 08:18 AM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any demos links?
Reply With Quote
  #56  
Old 03-25-2004, 04:52 PM
SideFX SideFX is offline
 
Join Date: Sep 2002
Location: WV
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok i got one major issue it all works great except if your not logged in it shows a blank page. I am running it on vb3 gold but permissions are not working for guest or user not logged in? any help will be appreciated

thanks

EDIT still need some help
Reply With Quote
  #57  
Old 06-20-2004, 06:52 PM
RetroDreams RetroDreams is offline
 
Join Date: Nov 2002
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was wondering if the new version was coming out anytime soon? This is something i've really been needing!
Reply With Quote
  #58  
Old 07-06-2004, 08:44 PM
dndog dndog is offline
 
Join Date: Apr 2004
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work with vB 3.0.1? I need this also.
Reply With Quote
  #59  
Old 07-06-2004, 10:01 PM
imported_infernonet imported_infernonet is offline
 
Join Date: Jan 2004
Location: UK
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ill try this out with vb 3.0.3 tommrow, btw Great Hack
Reply With Quote
  #60  
Old 07-06-2004, 10:42 PM
imported_infernonet imported_infernonet is offline
 
Join Date: Jan 2004
Location: UK
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works perfect with vb 3.0.3
Reply With Quote
  #61  
Old 07-08-2004, 04:59 PM
imported_infernonet imported_infernonet is offline
 
Join Date: Jan 2004
Location: UK
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Never Mind fixed it
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 01:31 PM.


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.04935 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
  • (2)bbcode_php
  • (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