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
  #32  
Old 10-08-2003, 07:00 PM
iyouth iyouth is offline
 
Join Date: Apr 2003
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really wanted to use this but I'll wait for the next version. Still a few bugs (including guest permissions and login form) But you probably already know that brad. Thanks for developing this, can't wait to see the rest

Regards,
Patrick
Reply With Quote
  #33  
Old 10-08-2003, 07:02 PM
iyouth iyouth is offline
 
Join Date: Apr 2003
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by breaker
for some reason my pages.php is blank :\ i have checked all the variables and have added the template
It appears that the pages.php would only be blank if you have template issues. Are you sure that you added the template to the right style? If so are there any typos? Is the
Quote:
eval('print_output("' . fetch_template('simplepage') . '");');
Still intact at the bottom of pages.php?
Reply With Quote
  #34  
Old 10-23-2003, 06:00 PM
stevekli stevekli is offline
 
Join Date: May 2004
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Brad.loo
2.1 beta is expected to be out shortly.

Brad, any ETA on this?

Thanks,

SteveK
Reply With Quote
  #35  
Old 10-31-2003, 02:18 AM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stevekli
Brad, any ETA on this?

Thanks,

SteveK
Hi, 2.1 is begin pushed back to late november so I dont have to re-do it for RC 1. I will release a fixed version of 2.0 beta (beta 2) shortly tho
Reply With Quote
  #36  
Old 10-31-2003, 02:39 AM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Beta 2 released, fixed all reported problems in the script:

Guest perrmissions - perrmissions are now the same as forumhome perrmissions.

Directory bug - $directorypath no longer throws errors when used

Nav bar - $navbar now works on pages, but always reports back as 'Show page $page'. Better system will be used in 2.1
Reply With Quote
  #37  
Old 11-01-2003, 01:51 AM
monstergamer's Avatar
monstergamer monstergamer is offline
 
Join Date: Feb 2003
Location: around the corner
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i'm really glad guest can now see it
thanx alot and i dont plame you for waiting for the RC to come outbefore you make the final Simple vB powered web page
Reply With Quote
  #38  
Old 11-01-2003, 06:09 AM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by monstergamer
i'm really glad guest can now see it
thanx alot and i dont plame you for waiting for the RC to come outbefore you make the final Simple vB powered web page
It is going to be a nice little project, I see no reason why anyone will not be able to create there own custom CMS with it. Hopefully you will be able to plug-in modules of some sort.
Reply With Quote
  #39  
Old 11-01-2003, 07:47 AM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ive done most of the frame work for 2.1 with beta 7, it is coming along and is expected for released a few days after jelsoft releases RC 1.

2.1 aims to eleminate the need for a vBportal type hack, this small package will be able to do it all with plug-in's. 2.1 might also warrent a name change of this script because it will become that more powerful.

At this state 2.1 will include the fallowing when released:

Page options:

All of the fallowing are controled from a new page added to the admin cp.


Perrmissions: They are controled on a page by page bases, allowing you to to show content to only certain usergroups

Nav Bar: Custom message for the nav bar

Style settings: You can specify what style is used on a page by page bases

Password: You can restrict pages with a password stored in the database as md5, users must enter a pass before viewing the page (requires cookie users)

Visable option: You can only allow admins to view a page with this option

View counter: Each page supports a view counter if turned on

Plug-in's: If a page is stored in the database (by id) then it can have a set of plug-in's stored in the database. These plug-in's allow you to add your own php to pages without hacking the files. You are restricted to 20 plug-ins per page for resource reasons.

Page Database:

2.1 will also include a new page database, basicly a listing of all your pages, more details on this later

Other Options

It may not make it into the frist version but users on apache will eventally get a search engine friendly version that will print clean links.


Final note: This is the same system I am developing for this site, and it will be released here for free
Reply With Quote
  #40  
Old 11-17-2003, 03:36 AM
Pyxis Pyxis is offline
 
Join Date: Aug 2003
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm having the same problems as breaker. My pages.php is blank. I only have one style (the default one) so I know I added simplepage to the right style.

So what am I doing wrong?

Edit:

Figured it out ^___^
Reply With Quote
  #41  
Old 11-22-2003, 07:33 PM
xug xug is offline
 
Join Date: Oct 2001
Location: The Grand Strand, SC
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool hack, but I have one problem.

The links on my web powered page doesn't link to the right directory, all the links are without '/forums/'.
.
My settings look like the following:

PHP Code:
// Use script above the /forum directory? (true = yes, false = no)
$directoryonoff true;
// Path to forum directory (only set if using script above forum directory)
$directorypath '/home/xxxxxxx/public_html/forums/';
// Allow guests to view pages? (true = yes, false = no)
$guestview true
So I don't see what I did wrong, my path is ok, the first switch must be ok, because if I say false I get a script error.

Please help.
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:34 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.04651 seconds
  • Memory Usage 2,312KB
  • 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
  • (1)bbcode_php
  • (5)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
  • (4)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