vb.org Archive

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

Koutaru 06-30-2003 03:35 PM

You are my hero Logican LOL :) thanks! I hope it'll be updated for vB3

irn-bru 06-30-2003 03:51 PM

Quote:

Today at 02:45 PM Intex said this in Post #15
irn-bru - you'll have to wait longer than when vB3 goes gold as Logician says this doesn't work with vB3 yet :).
Yeah thx its noted.

SpeedStreet 06-30-2003 06:49 PM

Logician - Your hacks are always top notch...Good Work!

ImportPassion 06-30-2003 06:49 PM

just found a small typo in the instructions

Quote:

You can now access your webtemplates admin cp here:
http://www.yoursite.com/yourboard/admin/webtemplates.php
should be
Quote:

You can now access your webtemplates admin cp here:
http://www.yoursite.com/yourboard/admin/webtemplate.php

PixelFx 06-30-2003 07:25 PM

great hack Logician :)

Logician 06-30-2003 08:16 PM

Quote:

Yesterday at 10:49 PM 7thgenCivic.Com said this in Post #24
just found a small typo in the instructions

fixed.. thanks!

Intex 06-30-2003 08:25 PM

Logician

OK, I've installed the hack. Templates created and the SQL queries had run successfully:

>>

Your SQL-query has been executed successfully :
The content of your file has been inserted. (23 Instructions)

<<


After installation I run the http://mysite/forum/admin/webtemplate.php and this works fine and displays the admin panel. Then I run into some different problems:


Your Custom Pages

Selecting 'Visit' for the 'Test' page produces the following error which is duplicated what looks like hundreds of times down the page:

Code:

SELECT count(*) as count FROM user mysql error: You have an error in your SQL syntax near ' SELECT count(*) as count FROM user

Default WebTemplates
  1. Selecting 'visit' for the 'invalid_pg' page displays but all the images do not relate to the right style, despite all the correct templates being in the correct style. The colours however for the style are correct (background etc.).
  2. Selecting 'visit' for the 'phptest [Private]' page produces the following error

    Code:

    Warning: Wrong datatype for second argument in call to in_array in c:\program files\apache group\apache\htdocs\forum\view.php on line 93
  3. Selecting 'visit' for the 'priv_privatemessages [Private] [Draft]' page produces the following error:

    Code:

    SELECT dateline,privatemessageid, fromuserid, touserid, title, message, touser.username
    AS tousername, fromuser.username AS fromusername FROM privatemessage LEFT JOIN user AS touser ON
    (touser.userid=privatemessage.touserid) LEFT JOIN user AS fromuser ON (fromuser.userid=privatemessage.fromuserid)
    WHERE folderid='0' ORDER BY privatemessageid DESC LIMIT 30 mysql error: You have an error in your SQL syntax near ' SELECT
    dateline,privatemessagei' at line 1 mysql error number: 1064 Date: Monday 30th of June 2003 10:19:29 PM Script: http://<br />
    <a href="http://test..../test.com/</a>
    forum/forum/view.php?pg=priv_privatemessages Referer: http://<br />
    <a href="http://test....plate.php?</a>
    -->

    Note the double 'forum' path as highlighted in yellow above.
  4. Selecting 'visit' for the 'webqueryhelp [Draft]' page displays everything perfectly including my style header and footer.
  5. Selecting 'visit' for the 'webtemplateshelp [Draft]' page displays everything perfectly including my style header and footer.
  6. Selecting 'visit' for the 'webtemplates_variables [Draft]' page displays everything perfectly including my style header and footer.

It looks likes there is a problem with whenever it wants to access database information as the other pages are just general pages and don't have any queries.

The double forum/forum path is weird for starters and the one issue with display the incorrect footer / header for one of the pages (could this be using the footer and header in your templates that I see on the Admin page?).

Anyway, any ideas :).

Logician 06-30-2003 08:50 PM

Quote:

Today at 12:25 AM Intex said this in Post #27 [list=1][*]Selecting 'visit' for the 'invalid_pg' page displays but all the images do not relate to the right style, despite all the correct templates being in the correct style. The colours however for the style are correct (background etc.).
[/B]
This should be because invalid_pg is using a different header/footer. Edit it and change it to your default forum header and footer and it should ok..

Quote:

Note the double 'forum' path as highlighted in yellow above.
This is not related to the hack, this is default vbulletin error reporting behaviour. You'll see the same URL in all DB errors.


Quote:

It looks likes there is a problem with whenever it wants to access database information as the other pages are just general pages and don't have any queries.
I see..

It seems that while you are running the SQL queries, for some reason, default webqueries is not created ok. It can be an issue with phpmyadmin's inserting or escaping \ chars into the queries so bothering the webqueries.

Let's try this: Delete all webqueries in the webquery admin cp, then manually create them according to the attached file.I believe this should fix the problem.

Let me know how it went. Thx..

alesis404 06-30-2003 10:42 PM

First off cool hack, easy to install!

**I have to ask because I did'nt read it anywheres, I know the links are not "search engine" freindly but *can* these pages somehow be searched within VB??

Logician 07-01-2003 04:09 AM

Quote:

Today at 02:42 AM alesis404 said this in Post #29
First off cool hack, easy to install!

**I have to ask because I did'nt read it anywheres, I know the links are not "search engine" freindly but *can* these pages somehow be searched within VB??

Quote:

* Do webtemplates can be searched in Vbulletin search?
No. At least not for now.. (and with NO ETA)


All times are GMT. The time now is 06:30 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.02675 seconds
  • Memory Usage 1,750KB
  • 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
  • (9)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