vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   WebTemplates 3.5.x: VB Integrated CMS (Content Management System) (https://vborg.vbsupport.ru/showthread.php?t=103076)

Ipuck 08-05-2006 03:38 AM

Hello!!

I have tried to run a web query but when I tried to compare two fields it doesn't work.

I create a table with some especial values and I called it "vb_tbulletins" and I want to compare the values to the customer option fields that I have also created.
Fields5,6,7.

If I run the webquery just like the way is shown it works fine.
Quote:

SELECT COMPNAME,BULDTE,MAKETXT,MODELTXT,YEARTXT,SUMMARY
FROM vb_tbulletins
If a tried to get the information from the users extra fields works OK.
Quote:

SELECT COMPNAME,BULDTE,MAKETXT,MODELTXT,YEARTXT,SUMMARY,f ield5,fiel6,field7
FROM vb_tbulletins,vb_userfield
Now if a want to compare the fields, then I get nothing.

Quote:

SELECT COMPNAME,BULDTE,MAKETXT,MODELTXT,YEARTXT,SUMMARY,f ield5,fiel6,field7
FROM vb_tbulletins,vb_userfield
WHERE MAKETXT=field5 AND MODELTXT=field6 AND YEARTXT=field7
Also how can I use the "fields" from the visitor user?

Thank you for help!!

soletrader 08-05-2006 02:09 PM

Will you release a version 3.6.0?

Kihon Kata 08-05-2006 02:39 PM

Why does he need to? It works just fine on 3.6

Logician 08-06-2006 10:28 AM

I've just tested webtemplates with a clean 3.6.x gold and I couldn't find any problems, bugs or glitches. As far as I can see it is working fine. So I can say it is safe to use it with that vb version too.

Yet if anybody catches a problem, please let me know.

rinkrat 08-06-2006 04:19 PM

Awesome hack. Just installed it in 3.6 Gold. Can't wait to start churning out content :)

Ohiosweetheart 08-08-2006 10:00 PM

Someone pointed me to this hack today. I can't wait to work with it this weekend! GOOD to know it's ok for 3.6.0

Razasharp 08-08-2006 10:05 PM

Quote:

Originally Posted by Logician
I've just tested webtemplates with a clean 3.6.x gold and I couldn't find any problems, bugs or glitches. As far as I can see it is working fine. So I can say it is safe to use it with that vb version too.

Yet if anybody catches a problem, please let me know.

Thanks Logician!

Nick0r 08-10-2006 05:04 PM

Logician, I'm struggling with this hack and the THIS_SCRIPT variable. What I'm trying to do is make half my templates be assigned one THIS_SCRIPT and half the other. Now I've used the PHP_INCLUDE and that works fine for contents WITHIN the template, but I have a tab navigation system that's called before the template is called - and PHP_INCLUDE won't influence that.

Is there anyway I can achieve my goal (or, is there a way I can have two logician webtemplates running?)

Logician 08-10-2006 06:14 PM

Quote:

Originally Posted by Nick0r
Logician, I'm struggling with this hack and the THIS_SCRIPT variable. What I'm trying to do is make half my templates be assigned one THIS_SCRIPT and half the other. Now I've used the PHP_INCLUDE and that works fine for contents WITHIN the template, but I have a tab navigation system that's called before the template is called - and PHP_INCLUDE won't influence that.

Is there anyway I can achieve my goal (or, is there a way I can have two logician webtemplates running?)

I havent tested it before but I believe it should work fine if you clone view.php as view2.php and then change the value of THIS_SCRIPT in view2.php

ChrisBaktis 08-11-2006 02:55 AM

Can anyone help me create a webquery to list the top 10 referers?


All times are GMT. The time now is 02:34 PM.

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.02173 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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