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 v.0.1 (Old Version) (https://vborg.vbsupport.ru/showthread.php?t=36419)

Khaybel 05-26-2002 06:15 AM

I've been working with web templates the past few days now, everything seems to be working well now, I'm still linking everything up on a test site before turning my main site into it.

I'm currently using a combo of Vb255/VbHome (lite)/ and your webtemplates to link other dynamic pages together. I am making a wish list for you then will post here as requested. I'm playing with setting up a web gallery template with your template system to my site, I've been having a lot of fun learning and experimenting. so thank you for your hard work on the project.

I've been working on it most of today, I have a link if you would like to see how it is coming along. The goal is to get my products/development/gallery etc etc linked up to the site with your template system.. if a link doesn't work it's cause i'm still testing. so far the install went beautifully again with my testsite.

http://testsite.orbsydia.com/index.php3

thanks

Rob

Highlander 05-28-2002 04:51 PM

wow its very very good hack...and easy to install..you relly explained it good...
the only thing is to know the queries..the comman wich you put will not show any help file ??!!

Logician 05-28-2002 07:34 PM

Quote:

Originally posted by Highlander
the comman wich you put will not show any help file ??!!
I really didnt understand the question..

For Webqueries there is a special help page..Please first read that one. Then examining the sample page (whoareyou) and sample webqueries can help you understand the system and if there is anything you still cant understand, please ask away, but more clearly! :)

Regards,
Logician

Robert Basil 05-28-2002 08:00 PM

Quote:

Originally posted by Logician
* Small bug fix that gave The Piper some bad time. If you have more than 1 databases in your server, hack refuses to work with WebQueries. This will be fixed.
We would love to use your hack, but we have 6 mySQL databases on our server. So am I correct in assuming that I cannot use this hack with more than one database on our server?

I'm not sure I understand why your hack just does not point to the correct VB database.

Thanks!

Logician 05-29-2002 07:58 AM

Quote:

Originally posted by Sportbikeworld

We would love to use your hack, but we have 6 mySQL databases on our server. So am I correct in assuming that I cannot use this hack with more than one database on our server?I'm not sure I understand why your hack just does not point to the correct VB database.

In fact we discovered this bug recently and although I've already fixed it, I'm just too lazy to update the script here.

You can use the hack: Just install it and see if you can load "whoareyou" template without any problems. If you get an MYSQL ERROR while loading this template, edit "show.php", find the line:

$cekilen_query=mysql_query("select id,name,query,noresulttext,tablerow from webtemplatequery order by id");

BEFORE THAT add:
--- cut --------------
$servername='localhost';
$dbusername='root'; //MYSQL username
$dbpassword=''; //MYSQL password
$dbname='xxx'; //database name

mysql_connect("$servername", "$dbusername", "$dbpassword") or die("Couldnt find MYSQL!");
mysql_select_db("$dbname") or die ("Couldnt find DB!");
--- cut --------------

Dont forget to edit your db details and you'll be just fine..

Enjoy!
Logician

Lionel 06-14-2002 03:23 AM

I installed successfuly, everything works fine from admin but the query /show.php?pg=whoareyou returns
mySQL error:No Database Selected


in case that makes a difference: Although show.php is in the forum folder, I ran WEBTEMPLATES_INSTALL.PHP from the admin folder

never mind, I did not read post 45. :rolleyes:

irn-bru 06-14-2002 01:42 PM

This is indeed one of the best addons I have seen at vbulletin.org

nice work Logician :)

DancesWithLysol 06-17-2002 02:26 AM

Excellent work, Logician!

Prior to installing this hack I had installed your news hack.

One of the first templates I will attempt is to create a template that will get the news.

josh929 06-17-2002 02:28 AM

just installed it, haven't tried it out yet.

just a couple suggestions (maybe for your next version, if you make one)--purely my opinion:
1) instead of the ~~~~cut~~~~ thing, make something like
*************** or ================ or ---------------

2) make it so that the hack does not even work if they have not yet deleted the install file :)

thanks for the hack! i'm gonna play around with it tonight or tomorrow:)

DancesWithLysol 06-17-2002 03:39 AM

After a few headaches, I have concluded that I would need show.php to be able to handle PHP code in the webmaster-defined templates.

Logician - since you would be familiar with both hacks, do you think it would be possible create something similar to the news hack using web templates?


All times are GMT. The time now is 10:50 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.01178 seconds
  • Memory Usage 1,741KB
  • 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_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