Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
WebTemplates 3.7.x: VB Integrated CMS (Content Management System) Details »»
WebTemplates 3.7.x: VB Integrated CMS (Content Management System)
Version: 3.7.00, by Logician Logician is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Portal Software - Version: 3.7.x Rating:
Released: 07-28-2008 Last Update: 07-31-2008 Installs: 503
DB Changes Uses Plugins
Additional Files  
No support by the author.

(This hack is for vb version 3.7.x & 3.8.x ONLY. For vb 3.6.x, 3.5.x, 3.0.x and 2.x see my profile for relevant threads.)

"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.

VB4 version Update (9.9.2010): Please find 4.x version of WebTemplates4.x in its own thread.


WEBTEMPLATES 3.7.x BASIC FEATURES:
  • Very Easy Installation : Webtemplates can be installed to your board without modifying even a single vbulletin file. It is coded as a vb product and can be imported very easily.
  • Apply VB Permissions: You can ban any webtemplate to any user or usergroups easily. So for instance you can design a webtemplate which only members can see while guests can not, or only user A can not see etc.
  • Page Counter : Each webtemplate has a built-in counter and you can display page count to your visitors and you can edit it or turn it OFF/ON per webtemplate basis.
  • Visitor Logging&Tracking : You can track certain users' (by usergroup or userid) webtemplate visits to see who visited a webtemplate and when. This is configurable per webtemplate basis.
  • Site Contributers (Editor) Support : You can grant editing permissions for certain users or usergroups for your webtemplates individually and they will be able to update these webtemplates using their own editor interface. vB's WYSIWYG editor is supported in Editor interface.
  • Page Browsers & Who is Online Display: Webtemplates can display who is browsing that webtemplate while visitor is reading them (like default forum browse display of vbulletin). Webtemplate visits can also be monitored in who is online page.
  • Header/Footer Inclusion : Webtemplates can automatically use headers/footers (your default vb header/footer or custom ones)
  • Help Documents : The script comes with an extensive help document.
  • Admin Panel in Webtemplates : Your webtemplates can include an "admin panel" displayed to only admins and by using them you can access many details and stats of your page while you are browsing them.
  • SEO friendly URLs: You can make webtemplate URLs seo friendly in vb settings (Requires apache server).
  • XML Import/Export : XML Import/Export feature allows you to backup your webtemplates and use other hack users webtemplates in your board.
ADVANCED FEATURES FOR ADVANCED USERS:
  • Webquery Feature : With advanced "webquery" feature you can create dynamic webtemplates which include database query results. For instance you can easily add "last 10 threads forum X", "most active users list" etc. to your webtemplates with default webqueries that comes with installation or you can create your custom webqueries with basic SQL knowledge.
  • Multi Parsing : Webtemplates can parse PHP or HTML or TEXT (=smilie/img tags/bbcode parsing like vb posts). This means you can design a page just like vb posts (TEXT parsing), standart HTML (HTML parsing) or even in PHP (PHP parsing).
  • PHPINCLUDE per webtemplate : Every webtemplate has its own "phpinclude" field which you can run PHP codes before loading the Webtemplate
  • Theme Support : Webtemplates support "themes" which are parent webtemplates which include child webtemplates in them. For instance if you have 20 similiar pages which uses the same visual look, you can make a single theme for all of them, then just insert their content into this theme. If you change theme later, all 20 pages' visual will change automatically.
  • Conditionals : Webtemplates supports VB3 template conditionals so you can design webtemplates which change their display under different conditions.
  • Default variables : You can use/display certain variables in your webtemplates like username of the visitor, visitor email address, last visit time, page creation time, page last edit time, Last visitor name, last visit time etc.
Sample WebTemplates from Sites using this hack:
(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.worldwideknights.com/view_mission.htm
http://www.theadminzone.com/forums/view.php?pg=aboutus
http://www.hystersisters.com/vb2/view_guidelines.htm
http://www.worldwideknights.com/view_info.htm
http://www.hystersisters.com/vb2/view_books.htm
http://www.worldwideknights.com/view_spread.htm
http://www3.fertilethoughts.com/forums/view.php?pg=acronyms
http://www.makeuptalk.com/forums/view.php?pg=makeuptalk-newsletter
http://www.bklab.com (entire site is designed with Webtemplates only)
(Actually this hack is one of the most popular vb hacks so it is used by hundreds -if not thousands- of vbulletin sites and you can easily find them if you go to google and search "Logician's WebTemplates" WITH quotation marks)

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..

About this 3.7.xx Version: This 3.7.xx version is same as previous 3.6.x version. 3.6.x version was already working in vbulletin 3.7.x except a few minor bugs and these bugs are fixed in this version to make it dedicated solely to vbulletin 3.7.x. Please see "what's new" in the next post for more details.

Version Updates:
29.July.2008 - > Version 3.7.00
* Hack 3.7.00 is released.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
Xexiu

Comments
  #432  
Old 05-01-2009, 01:43 PM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the vMoods fix, Logician...

Much appreciated.
Reply With Quote
  #433  
Old 05-02-2009, 11:26 PM
smooth-c smooth-c is offline
 
Join Date: Jan 2008
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any idea as to why this happens with my blogs link?

http://www.maximum-jackson.com/discu...?pg=invalid_pg

Thanks mate!
Reply With Quote
  #434  
Old 05-03-2009, 09:06 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by smooth-c View Post
Any idea as to why this happens with my blogs link?

http://www.maximum-jackson.com/discu...?pg=invalid_pg

Thanks mate!
What happens exactly?
Reply With Quote
  #435  
Old 05-03-2009, 10:31 AM
smooth-c smooth-c is offline
 
Join Date: Jan 2008
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ooh just realised blogs don't show for guests - i'll take a screenshot and detail more info..

Normal blog link


When using logician web template logged in.


For some reason, when logged in (so blogs are enabled to show in the navbar) a seperate blog link is displayed and the original turns blue and has two little arrows instead of one.
Reply With Quote
  #436  
Old 05-12-2009, 03:15 PM
rbgrn rbgrn is offline
 
Join Date: Jul 2007
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using WT to make a front page for one of my sites which includes latest blog entries. I had no problems creating a query to pull in and truncate the entries and such, but I am having a problem getting the correct BBCodes processed. Right now it's using the built in BBCode processing of WQ, but I need to instead use the Blog BBCode processing because attachments are incorrectly being linked to thread attachments.

I tried to remove the field from the bbcode parse field list and add some php include that I found in view.php to process the bbcodes. My plan was to get that to work and then swap that out for the blog bbcode parsing, but I couldn't get it to work.

Here's what I tried in the Query PHP Include (after)

Code:
require_once(DIR . '/includes/class_bbcode_alt.php');
$parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
$WQfield[pagetext] = $parser->do_parse($WQfield[pagetext], 1, 1, 1, 1, 1, 1);
and then I did the normal $WQfield[pagetext] in the result row.

This didn't work at all. So then I tried this:

Code:
require_once(DIR . '/includes/class_bbcode_alt.php');
$parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
$pagetext = $parser->do_parse($WQfield[pagetext], 1, 1, 1, 1, 1, 1);
and put $pagetext in the result row but that also did not work.

If anyone has the solution for processing blog bbcodes, I'd really appreciate it as I'm not sure how to proceed without REALLY digging deep. Otherwise, if someone can point out what I'm doing wrong here, I'd appreciate it because I can use that to figure out how to swap this code out for blog bbcode processing, which would look something like this:

Code:
require_once(DIR . '/includes/class_bbcode_blog.php');
$parser =& new vB_BbCodeParser_Blog($vbulletin, fetch_tag_list());
Thank you for any help!
Reply With Quote
  #437  
Old 05-12-2009, 04:19 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rbgrn View Post
I'm using WT to make a front page for one of my sites which includes latest blog entries. I had no problems creating a query to pull in and truncate the entries and such, but I am having a problem getting the correct BBCodes processed. Right now it's using the built in BBCode processing of WQ, but I need to instead use the Blog BBCode processing because attachments are incorrectly being linked to thread attachments.

I tried to remove the field from the bbcode parse field list and add some php include that I found in view.php to process the bbcodes. My plan was to get that to work and then swap that out for the blog bbcode parsing, but I couldn't get it to work.

Here's what I tried in the Query PHP Include (after)

Code:
require_once(DIR . '/includes/class_bbcode_alt.php');
$parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
$WQfield[pagetext] = $parser->do_parse($WQfield[pagetext], 1, 1, 1, 1, 1, 1);
and then I did the normal $WQfield[pagetext] in the result row.

This didn't work at all. So then I tried this:

Code:
require_once(DIR . '/includes/class_bbcode_alt.php');
$parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
$pagetext = $parser->do_parse($WQfield[pagetext], 1, 1, 1, 1, 1, 1);
and put $pagetext in the result row but that also did not work.

If anyone has the solution for processing blog bbcodes, I'd really appreciate it as I'm not sure how to proceed without REALLY digging deep. Otherwise, if someone can point out what I'm doing wrong here, I'd appreciate it because I can use that to figure out how to swap this code out for blog bbcode processing, which would look something like this:

Code:
require_once(DIR . '/includes/class_bbcode_blog.php');
$parser =& new vB_BbCodeParser_Blog($vbulletin, fetch_tag_list());
Thank you for any help!
Not easy to advise before doing the debugging on code and moreover I don't use jelsoft's blog application myself but here is a wild guess:

There are 2 occurences of this code in view.php
PHP Code:
$parser =& new vB_BbCodeParser($vbulletinfetch_tag_list()); 
               
$WQfield[$WTWQqbbcodeparsedvalue] = $parser->do_parse($WQfield[$WTWQqbbcodeparsedvalue], 111111); 
These are for webquery bbcode parsing and you can apply your hack to these 2 sections like:

PHP Code:
require_once(DIR '/includes/class_bbcode_alt.php');
$parser =& new vB_BbCodeParser($vbulletinfetch_tag_list());
 
$WQfield[$WTWQqbbcodeparsedvalue] = $parser->do_parse($WQfield[$WTWQqbbcodeparsedvalue], 111111); 
This can help (hopefully!)
Reply With Quote
  #438  
Old 05-12-2009, 04:42 PM
rbgrn rbgrn is offline
 
Join Date: Jul 2007
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Logician,

Thanks for the quick reply!

I'm a little confused by your code though. It's the same code that I took out and modified to try to parse a specific field. Your snippet is directly from your view.php and works on the specific field that the loop is working on ($WQfield[$WTWQqbbcodeparsedvalue])

I haven't tried this (mostly because this is production and I can't monkey with it too many times during the day) but I'm assuming that if I plug your code in to the PHP post-query eval, that it won't actually do anything because it doesn't operate on a specific field.

I guess I'm wondering how I can change it to work on the specific field from my query, which is called pagetext, and normally shows up as $WQfield[pagetext]

I appreciate your help and thank you again for such a great product!
Reply With Quote
  #439  
Old 05-12-2009, 08:30 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rbgrn View Post
Logician,

Thanks for the quick reply!

I'm a little confused by your code though. It's the same code that I took out and modified to try to parse a specific field. Your snippet is directly from your view.php and works on the specific field that the loop is working on ($WQfield[$WTWQqbbcodeparsedvalue])

I haven't tried this (mostly because this is production and I can't monkey with it too many times during the day) but I'm assuming that if I plug your code in to the PHP post-query eval, that it won't actually do anything because it doesn't operate on a specific field.

I guess I'm wondering how I can change it to work on the specific field from my query, which is called pagetext, and normally shows up as $WQfield[pagetext]

I appreciate your help and thank you again for such a great product!
Actually hard for me to advise without testing myself and I cant test since I dont have the blog product.

But if you want your hack to work for a certain field only, this should help:
PHP Code:
 
if ($WTWQqbbcodeparsedvalue == 'pagetext')
{
require_once(
DIR '/includes/class_bbcode_alt.php');
$parser =& new vB_BbCodeParser($vbulletinfetch_tag_list());
 
$WQfield[$WTWQqbbcodeparsedvalue] = $parser->do_parse($WQfield[$WTWQqbbcodeparsedvalue], 111111);  
 
}
else
{
$parser =& new vB_BbCodeParser($vbulletinfetch_tag_list()); 
               
$WQfield[$WTWQqbbcodeparsedvalue] = $parser->do_parse($WQfield[$WTWQqbbcodeparsedvalue], 111111); 

But then again, this should go directly into view.php file, not into phpinclude field of the webquery. Because phpinclude section is parsed after webquery's default bbcode parsing so when you reach there, your variable is already parsed. So you should try hacking the .php code.
Reply With Quote
  #440  
Old 05-13-2009, 10:31 PM
Duncan Idaha Duncan Idaha is offline
 
Join Date: Nov 2008
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, so I have zilch knowledge of coding. I want to create a separate story-forum, visible for guests and members (guests can only see the forum, no content)

Rather than a subforum on the main paige, I want these stories to show up on their own page, with the forum looks, nav bar etc.

If I now install your mod, can I than copy paste the content of the address-bar to that mode and use that template for this story page? And does that create the same forum (with the threads & content) as the original, or only the structure, after which I can give it a name like "story-forum" and post each story as a thread?

Is this a feasible option, or do I have to create a page for every story (which seems a lot of work)?

Where does the created page show up on the forum? I take it that I can create a link to the story forum just like for example a link to the FAQ-page (which seems to have a forum structure as well)?

Is it safe to try this out, or do I wreck the forum in the proces, give my very limited knowledge of HTML, CSS and the likes?
Reply With Quote
  #441  
Old 05-14-2009, 10:19 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Duncan Idaha View Post
OK, so I have zilch knowledge of coding. I want to create a separate story-forum, visible for guests and members (guests can only see the forum, no content)

Rather than a subforum on the main paige, I want these stories to show up on their own page, with the forum looks, nav bar etc.

If I now install your mod, can I than copy paste the content of the address-bar to that mode and use that template for this story page? And does that create the same forum (with the threads & content) as the original, or only the structure, after which I can give it a name like "story-forum" and post each story as a thread?

Is this a feasible option, or do I have to create a page for every story (which seems a lot of work)?

Where does the created page show up on the forum? I take it that I can create a link to the story forum just like for example a link to the FAQ-page (which seems to have a forum structure as well)?

Is it safe to try this out, or do I wreck the forum in the proces, give my very limited knowledge of HTML, CSS and the likes?
Not sure if I understand your request but it will definetly not hurt to try it out. Go ahead and install it, I'm sure you'll find it easy to install. Then check test webtemplates that comes with the installation and see if it is as you wanted. If not, you can remove the product easily.
Reply With Quote
Reply

Thread Tools

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 02:35 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.06616 seconds
  • Memory Usage 2,357KB
  • 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
  • (6)bbcode_code
  • (3)bbcode_php
  • (4)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
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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