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)

EH-Jay 03-14-2005 07:07 PM

If it is, I didn't see it! lol mb.

EH-Jay 03-18-2005 11:53 PM

Ok I actually toyed around with it a little and got this when putting in my header and footer into the header/footer templates that were already there:

Code:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/deathleg/public_html/forums/view.php(617) : eval()'d code on line 20

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/deathleg/public_html/forums/view.php(623) : eval()'d code on line 23

whats up with that? Any help?

Thanks

Viks 03-19-2005 12:51 AM

Hi Logican and others,

I happen to come across this hack only sometime back. I installed it and from the looks of it the mod is simply superb. I am yet to exploit it fully but am wondering if you have used this mod on your forums then please post the URL here for others to see what can be done to make a good use of such a mod.
:squareeyed:

I am thinking of making a section for Vendors on my board and maybe I can use it for that.

thanks

neocorteqz 03-19-2005 01:29 AM

Quote:

Originally Posted by EH-Jay
Ok I actually toyed around with it a little and got this when putting in my header and footer into the header/footer templates that were already there:

Code:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/deathleg/public_html/forums/view.php(617) : eval()'d code on line 20

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/deathleg/public_html/forums/view.php(623) : eval()'d code on line 23

whats up with that? Any help?

Thanks

Did you add a conditional? or some code?

Logician 03-19-2005 07:02 AM

Quote:

Originally Posted by EH-Jay
Ok I actually toyed around with it a little and got this when putting in my header and footer into the header/footer templates that were already there:

Code:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/deathleg/public_html/forums/view.php(617) : eval()'d code on line 20

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/deathleg/public_html/forums/view.php(623) : eval()'d code on line 23

whats up with that? Any help?

Thanks

Make sure you don't use headers/footers with PHP parsed webtemplates.

EH-Jay 03-20-2005 12:40 AM

So do I have to create my own header/footer pages? I used the coding that is in my header and footer for my forum. I don't get the error =/

Logician 03-20-2005 09:21 AM

Quote:

Originally Posted by EH-Jay
So do I have to create my own header/footer pages? I used the coding that is in my header and footer for my forum. I don't get the error =/

I don't get your problem exactly. All I'm saying is that IF your webtemplate is "PHP parsed" you can NOT include any header and footer in it, otherwise you'd get PARSE error. (This is also stated in help document). Headers and footers are for "TEXT" or "HTML" parsed webtemplates.

If your webtemplate is already TEXT or HTML parsed but you still get an parse error, then paste the content of your header and webtemplate that gives the error and I'll check.

Logician 03-20-2005 09:23 AM

Quote:

Originally Posted by Viks
I happen to come across this hack only sometime back. I installed it and from the looks of it the mod is simply superb. I am yet to exploit it fully but am wondering if you have used this mod on your forums then please post the URL here for others to see what can be done to make a good use of such a mod.

Tip : Type "Logician webtemplates 3.01" in google. ;)

m0nde 03-20-2005 07:14 PM

Will this hack conflict with my vBadvanced installation? Or will it simply offer more features alongside that hack?
I'm using that at the moment and it is sufficient as a CMS addon to vBulletin, but I'm looking for more features.

I have another site where I use XOOPS, a freeware CMS system, but the forum options in that package are nowhere as bug-free, or feature-rich as vBulletin.

I'm looking for something that's a happy medium between XOOPS and vBulletin.

My sites are ScALR Network Solutions and BostonLove

- Sid

DanCan 03-20-2005 07:23 PM

I got this error after running the MySQL queries:

Invalid SQL: SELECT wtid,title,pagecount,category,doaction,draft,forpa id,template FROM wt2_templates WHERE headerfooter=0 ORDER BY category DESC, title ASC
mysql error: Table 'database.wt2_templates' doesn't exist

mysql error number: 1146

Since MySQL is integrated in my cpanel, I had to cut and paste the query. I pasted everything, including the beginning of the query:

Quote:

-- phpMyAdmin SQL Dump
-- version 2.6.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Feb 14, 2005 at 10:46 PM
-- Server version: 4.1.8
-- PHP Version: 4.3.1
--
-- Database: `306`
--

-- --------------------------------------------------------

--
-- Table structure for table `wt2_queries`
-- etc. etc.
I am not familar with mysql queries. Do I have to select any fieldnames, or do I simply paste them in the database box (this is what I did)?


All times are GMT. The time now is 06:22 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.01275 seconds
  • Memory Usage 1,747KB
  • 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
  • (3)bbcode_code_printable
  • (5)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