The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
WebTemplates 3.5.x: VB Integrated CMS (Content Management System) Details »» | |||||||||||||||||||||||||||
WebTemplates 3.5.x: VB Integrated CMS (Content Management System)
Developer Last Online: Nov 2023
(This hack is for vb version 3.5.x AND 3.6.x. For vb 3.0.x and 2.x see my profile for relevant threads.)
(For vb 3.7 version, please go to this thread) "WebTemplates" is a vBulletin integrated Content Management System which allows you to create vb integrated "HTML" pages in your vb admin cp very easily. The pages can inherit your vbulletin skin/style, can recognize logged-in user, can be applied permissions per user or usergroup basis, can keep visit logs, hit counts and do many more. WEBTEMPLATES 3.5.x BASIC FEATURES:
(Some 3.5 and some are 3.0 versions but WebTemplate look and feel didn't change much so both will give you the idea) http://www.leatherneck.com/forums/view_aboutus.htm http://www.hystersisters.com/vb2/view_funding.htm http://www.theadminzone.com/forums/view.php?pg=aboutus http://www.hystersisters.com/vb2/view_guidelines.htm http://www.hystersisters.com/vb2/view_books.htm http://www3.fertilethoughts.com/foru...hp?pg=acronyms http://www.makeuptalk.com/forums/vie...alk-newsletter http://www.bklab.com (entire site is designed with Webtemplates only!) 3.5 version Admin CP screenshot attached to this post. 3.0.x screenshots (here and here) also still applies for this version. If you use the hack, clicking here will make sure you'll know about updates&bug fixes. It will also help me understand how many people is using the hack so please click the install button if you use it. Thank you.. Note in 6.August. 2006 : I've tested Webtemplates with vbulletin 3.6.0 gold version and they are compatible. So this hack released here is both for vb 3.5.x AND 3.6.x Note for vb 3.7.x : (29.July.2008): For vb 3.7.x, I released a new version here: https://vborg.vbsupport.ru/showthread.php?t=186644 Version Updates: 16.Dec.2005 - > Version 3.5.01 * Hack released. 16.Dec.2005 - > Version 3.5.02 * A webquery bug fix for boards which use table_prefix. To upgrade just overwrite hack .php files. 17.Dec.2005 - > Version 3.5.03 * A minor bug in WOL page fixed. To upgrade overwrite hack .php files + reinstall product XML 17.Dec.2005 - > Version 3.5.04 * A bug fix for edit webtemplate page not remembering webtemplate's showbrowsers setting.To upgrade overwrite hack .php files 16.Jan.2006 - > Version 3.5.05 * A bug fix for boards which has too many usergroups. To upgrade overwrite hack .php files + uninstall product, then reinstall (your existing webtemplates will be intact) 20.Aug.2006 - > Version 3.6.00 * A bug fix that can cause a MYSQL warning in a few servers in WT admin cp. A minor and unusual problem that happens in certain servers and you don't need to upgrade if you don't see such a message. To upgrade overwrite /includes/wt_include.php and /admincp/wt_wt.php files. 1.Oct.2006 - > Version 3.6.01 * A minor bug fix for showing user avatar and ipaddress in webtemplates. To upgrade overwrite /includes/wt_include.php and view.php files. 2.May.2007 - > Version 3.6.02 * IMPORTANT SECURITY UPDATE! A security problem has been fixed in this version. To upgrade overwrite /includes/wt_include.php and view.php files which is attached to this post. 21.June.2008 - > Version 3.6.03 * Two minor bugs (1 & 2) fixed. 29.July.2008 - > Version 3.7.00 * A new version for vbulletin 3.7.x is released in a seperate thread here: https://vborg.vbsupport.ru/showthread.php?t=186644 Show Your Support
|
Comments |
#92
|
|||
|
|||
Well, as Shirley Temple would say*:
OH MY GOODNESS! I followed the install instructions, then the upgrade. Got a little out of phase because of uploading the files in the wrong spot. Then with fear and trepidation I imported my old templates which make heavy use of external variables. BOINK! It just works. Oh wait, looks like I have some work to do on my external variables. Oh well! Hooray for Logician and happy new year! *Sorry, I'm an old guy. Watch one of her movies! |
#93
|
|||
|
|||
Alrighty, here's my problem.
In the old templates I had this in the Outside Variables box of the target template: formSetNo Another template POSTS that variable and an integer value to the target via selection from a popup menu. Following this sample code: $vbulletin->input->clean_array_gpc('r', array( 'my_variable_1' => TYPE_STR, 'my_variable_2' => TYPE_INT, )); I have the following in the 3.5 target template: $vbulletin->input->clean_array_gpc('r', array( 'formSetNo' => TYPE_INT )); I've also tried it with TYPE_STR. Anyway, the target template isn't getting the variable. Any suggestions? This is for a major feature of our site! |
#94
|
|||
|
|||
And here's the fix:
vBulletin wisely forces you to clean inputs. This is explained here: http://www.vbulletin.com/docs/html/codestandards_gpc :glasses: For your Webtemplate PHP include, you can collect and clean variables (using an array) or a single variable (using key/value hash pair). I used the latter. So, my one webtemplate POSTs a variable from a form field called 'formSetNo'. In the target webtemplate, my php include is: PHP Code:
To use the value in that variable in my php script in my target webtemplate, I use something like this: PHP Code:
Nice to see that vB has a way to do this and it works with WT :banana: |
#95
|
|||
|
|||
sheer genius.
thanks logician. now i just gotta learn how to write queries. |
#96
|
||||
|
||||
I wondered if adding my default style header, navbar & footer wouldnt be more easier... i've read the docs and assumed i could either add my default vb header using : $header either in a 'theme' where it's called into my pages (with styling) or as pages parsed as php, but i does not... whats the trick? i've tried : Included VB Templates...nope, tried a simple theme, no go, also added as php...so frustrating, please help
-b6 |
#97
|
|||
|
|||
Quote:
|
#98
|
|||
|
|||
How do i make this text smaller?
WebTemplate Quick Info Panel for Admins - [CMS by Logician] |
#99
|
||||
|
||||
Quote:
Please check the default themes that comes with the installation. For instance check "Default Basic Theme" theme. It already has "$header" variable in it, and it is displaying your default style header, isn't it? So if you create a theme of your own and put $header in it in the same way "Default Basic Theme" has, it will display your header. It should include all relevant variables like this: PHP Code:
PHP Code:
Quote:
|
#100
|
||||
|
||||
Default Basic Theme? whos got one of those then?
right... my default install came with nothing, i created a simple bbcode page as the instructions told me and it worked, no styling of anykind just text on a white background, great, ...i see i have "No Header/Footer WebTemplates Exist at the moment.." and "No Themes Exist at the moment.."... i did create a theme but still nothing, so...whats the code for this "Default Basic Theme"? and what to call it when im setting it up etc etc, i did hope to see my header, nav and footer with my text also...im i being pushy? -b6 |
#101
|
||||
|
||||
Quote:
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|