vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   WebTemplates 3.x: VB Integrated Content Management System (https://vborg.vbsupport.ru/showthread.php?t=76422)

Logician 02-17-2005 05:28 AM

Quote:

Originally Posted by Breaker
i want to have a page that has php code in the middle of the template, but i also want to be able to use the core vBulletin things like phrases and templates.... is there anyway this can be done using this hack?

every webtemplate has a "phpinclude" section. So you can run your phpcode in this section and assign its HTML code into a variable, then use this variable to paste content in the middle of your HTML or TEXT parsed webtemplate.

Logician 02-17-2005 05:52 AM

Quote:

Originally Posted by T3MEDIA
Agreed. Hey is it cool to have a mini hack page that would have templates for this hack?

We used to have such a thread for the old version of the hack here:
https://vborg.vbsupport.ru/showthread.php?t=36578

I had created it witht he hope of people's sharing their custom webtemplate and webqueries with other users, however in time the thread turned into a "how can I create this webtemplate/webquery" support thread.

So I encourage all to use the hack thread itself for sharing their samples for now and if we have enough sharing users, we can create a dedicated thread later. Or if you are determined, feel free to start your own thread. ;)

Breaker 02-17-2005 06:27 AM

Quote:

Originally Posted by Logician
every webtemplate has a "phpinclude" section. So you can run your phpcode in this section and assign its HTML code into a variable, then use this variable to paste content in the middle of your HTML or TEXT parsed webtemplate.

my problem is a want to include a file that spits out a bit of HTML into the middle of my template and you cant really set variables to include("file.php"); and have them work within this sort of thing. (if there is a method let me know though)

neocorteqz 02-17-2005 07:30 AM

Been looking for something Big from you Logician.

Very nice hack, will Download and Click install As soon as I win this Hold'em Tournament. :D

Blam Forumz 02-17-2005 09:01 AM

One problem is the admin pages, things are too lightly coloured to read ><

yahoooh 02-17-2005 10:42 AM

i have this error now:
An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ';
CREATE TABLE `wt2_queries` (
`qid` int(10) unsigned NOT N

Logician 02-17-2005 11:20 AM

Quote:

Originally Posted by yahoooh
i have this error now:
An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ';
CREATE TABLE `wt2_queries` (
`qid` int(10) unsigned NOT N

Make sure you downloaded the latest installation file (I updated them a few times yesterday) and make sure you run the queries in phpmyadmin, not in a different tool.

yahoooh 02-17-2005 11:43 PM

ok it is work with phpmyadmin

thanks

SVTBlackLight01 02-18-2005 01:09 AM

Quote:

Originally Posted by Blam Forumz
One problem is the admin pages, things are too lightly coloured to read ><

Actually, the cause of this is that the style for the admin pages are hardcoded and don't use the admincp stylesheets. It's only cosmetic though. Any chance this will be updated, Logician?

This hack is awesome Logician! :up:

Logician 02-18-2005 05:04 AM

Quote:

Originally Posted by SVTBlackLight01
Actually, the cause of this is that the style for the admin pages are hardcoded and don't use the admincp stylesheets. It's only cosmetic though. Any chance this will be updated, Logician?

This hack is awesome Logician! :up:

ok I've made some changes to the admincp colors. Please redownload the hack and only replace files webtemplate.php webquery.php and wt_functions.php with the new files and let me know how this improved your visual.


All times are GMT. The time now is 11:56 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01243 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete