![]() |
Quote:
|
Any suggestion on how to pass a parameter to a web querry and have it included in the query? Such as an event id.
such as: SELECT something FROM calendar where id=xxxx |
I'll post this once more since it was bumped to the previous page,I was wondering does webtemplates have a "block" type layout like vBACMPS?and also does it have a place to create menu blocks for certain pages?I love the sound of this CMS over VBA but if it doesnt have those two options i dont think it will suit me.Thanks
|
Quote:
|
Quote:
|
Quote:
|
Is it possible to run a php script inside a webtemplate? Trying to run this script:
PHP Code:
|
Quote:
|
Any tips on how to get that script to work? I tried to use the phptest as an example.
|
Hi
My WebTemplates works like a charm now (on v3.6RC2) So thx alot for a very nice hack But i have a question that maybe you guys can answer How do i manage to make a webtemplate connect to another Db (not the forum Db) thrue a "WebQuery" ? I've tryed to put some php connection code in the "Query PHPInclude Code (Before)" window but that doesn't seem to work (or maybe just my php code doesen work :alien: ) Could someone provide some help please or just point me in the right direction? Thx |
if you use a php redirect on the site root www.site.com and have the forums installed at www.site.com/forums
You can't login, as it's looking for www.site.com/forums/ files any help ? (apart from doing a refresh redirect) |
Hi, I installed this mod this evening. Everthing went smooth and then i went to test it by going to the view.php?pg=test and view.php?pg=test2 page but nothing showed up.
I then setup an aboutus page and went to view.php?pg=aboutus and the same thing happened once more. I uploaded all the files into the correct path and uploaded the product web templates xml file. Any ideas what could be wrong? |
Quote:
|
I installed this mod and i installed it correctly everything is in the right places. the thing doesnt show up in the admincp, i logged out, i turned the internet off i even restarted my computer and still no change, its no there.
Whats wrong? |
Quote:
I would go back and read the instructions again. It seams to me that you left something out. If you add/replace anything, remember what I asked of you. If you turn the internet off again, nobody is going to be able to help you. |
Quote:
|
I want to display some information from a user's profile on the template page.
What code can I use, I want to show their customfields (if they have them) |
Another question, I have a query to show the last 10 threads from any forum with the title of the thread, the poster and the date. I want to add in the forum that it was posted in.
E.g Forum - Thread Title - Poster - Time. Do i need to query 2 tables for this, how ? Here's the code i have already Quote:
|
Hi, I have noticed that after installing the hack, now my forum is not displaying characters like ñ á á é.
They appear fine if you post in advanced mode, the problem only affects the quick mode. Any help? Thanks!! |
Quote:
Code:
SELECT " . TABLE_PREFIX . "thread.threadid AS threadid, " . TABLE_PREFIX . "thread.title AS title, " . TABLE_PREFIX . "thread.postusername AS postusername," . TABLE_PREFIX . "thread.postuserid AS postuserid," . TABLE_PREFIX . "thread.dateline AS dateline," . TABLE_PREFIX . "forum.description AS description |
Quote:
I, at first, tried to use the "<?php" "?>" to only have the code not run. When I modeled my php code after the testphp template things ran well. |
Thanks, thats brilliant louis_chypher.
Is it also possible todo 3 tables? |
this hack is great!
How can I add a template category? I have "Your Custom Pages" and "Default WebTemplates", but I'd like to add a new category in order to make a new WQ_webtemplateslist. Thanks in advance |
Hiya guys,
I'm using a custom template to display my navigation at the top of my site - and it's called using a custom variable, call it $foo. In order to highlight the active page I do an if condition check for THIS_SCRIPT. I've set THIS_SCRIPT using the phpinclude section of each webtemplate so that each one can have a seperate THIS_SCRIPT definition. Now - when I try to get it to work, the if condition works within the logician webtemplate, but not within my navigational webtemplate, called by my custom variable. Any ideas? |
When I made my first test template, basically all I did was add the word "test."
However, it did NOT style itself to look like my vBulletin site. What am I doing wrong? |
Quote:
|
Quote:
|
Hi Sinan, hope you are well :)
I've noticed a few people saying WTs is working fine on their 3.6 installations, but am waiting for the offcial green light from you before I upgrade... any idea when you might be able to look into it and give it the all clear if you do? Thanks! And keep up the good work :) |
Quote:
|
Hi Kihon - thats great stuff :)
I was waiting for the official green light from Logican before taking the plunge to upgrade my vB :) It's good to hear you are running it without problems tho :) |
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:
Quote:
Quote:
Thank you for help!! |
Will you release a version 3.6.0?
|
Why does he need to? It works just fine on 3.6
|
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. |
Awesome hack. Just installed it in 3.6 Gold. Can't wait to start churning out content :)
|
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
|
Quote:
|
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?) |
Quote:
|
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|