The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
[Release] [Beta 2] Simple vB powered web page version 2.0 Details »» | |||||||||||||||||||||||||||
[Release] [Beta 2] Simple vB powered web page version 2.0
Developer Last Online: Nov 2023
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
|
Comments |
#42
|
|||
|
|||
Quote:
|
#43
|
||||
|
||||
is there a way that it will use phpinclude?
l8er sonic |
#44
|
|||
|
|||
Quote:
PHP Code:
|
#45
|
|||
|
|||
bumping...
Is this script compatible with vb3 rc1 or 2 yet? |
#46
|
|||
|
|||
Quote:
It will be avaible very soon. |
#47
|
||||
|
||||
awsomeness I can't wait!!!
|
#48
|
|||
|
|||
Just for the hell of it (before I saw your post Brad), I installed this mod.
Seems to work just fine and I'm running RC2. Is it ok if a change a few variable names? I didn't change anything else. For my needs it would look nicer if I changed a few variable names around a little. I changed pages.php to games.php and getpage to game so that it matches better with what I'm doing. Here is a sample page I made up. (I'm gonna have flash games and such available on my site, so this type of system would work perfect for what I'm trying to do). http://www.chicagotalk.net/forums/ga...game=FowlWords The only thing I noticed is that there's no who's online stuff for this mod. All I get is the 'unknown location' error. Looking forward to the new version you are working on! |
#49
|
|||
|
|||
Not to sound eager, but I'm curious about how this is coming along?
This is what I am looking for, for my site. Cyricx |
#50
|
|||
|
|||
Okay, I have a question.
This is starting to bug me and make me want to hurt myself. So, here's the problem I am having. I created a copy of pages.php and named it a filename (we'll call it custom.php) that I want to use. And then I created a template and tested it. The custom.php did everything correctly. Loaded all the stuff I wanted. Now, I have a file that I want to show in the middle of the custom.php in the body area between the header and footer. This would be using the code include("/path/to/filename"); But nope, the page wont load what I want to show there. I want custom.php to show the contents of what is inside the file that I specifiy in the path of the include code. Cyricx EDIT: I should explain more in detail. lol I added the include statement inside the custom.php at the bottom of the page just before ?> ... Tested it, didn't load. So, I took it out, then tried putting the include statement in the template that it is using. It just prints out the include statement on the screen, so can't be that. It has to be something inside the custom.php but obviously, I am missing that. |
#51
|
|||
|
|||
*looks around* Where's brad?? lol, I want to get this all fixed and over with. It's driving me nuts trying to figure this out...
Cyricx |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|