![]() |
I installed the hack and everything went smooth. However, when I try and create a custom page with php, I am not getting the header and footer included.
Under the "theme" option , I have selected "default basic theme". The default VB form header and footer are included. ex: echo "hi"; Gives me a plain white page with "hi". No header or footer. If I change the parse method to TEXT and change nothing else, I get echo "hi"; just like it is supposed to look - inside a box with the header and footer, etc. ANy help? What am I doing wrong? Thanks, /DJ |
Quote:
echo "$header"; echo "hi"; echo "$footer"; |
Will this work with 3.5 or will be an update available within short?
|
Quote:
|
Quote:
this is one of the most important hacks for me and I think for others also. Many special pages were created and now, where the 3.5 release is coming close it would be nice to have this hack updated. Can you take time to do this? This would be really excellent. |
Quote:
|
Quote:
|
is there anyway to make links load on one page and not open a new window up?
|
Is it possible using conditionals to have only one template(I named it articles) with dynamic-changing content. I just made a static left tmenu for my forum categories:
Introduction [forumid=1] Articles [forumid=2] Suggestions [forumid=3] and so on....... My initial moved was to have my left menu a link like: <a href="/forums/view.php?pg=articles&forumid=1">Introduction</a> <a href="/forums/view.php?pg=articles&forumid=2">Articles</a> Now my problem is I don't know how to implement that so-called outside variables, so that when I click Articles(2), for example, it will go to view.php?pg=articles&forumid=2 and will display all threads that belong to Articles category. But remeber it use the same template, so if I click Introduction again, for example, it will go again to view.php?pg=articles&this_forumid_here_will_change _accordingly Does anyone already done this. Please help me, I would greatly appreciate from you guys! If I did not explain it thoroughly, kindly let me know. |
Quote:
Then create a new webquery that depends on this very $forumid variable. Eg. ----------------- SELECT threadid, title, postusername,postuserid,dateline FROM " . TABLE_PREFIX . "thread WHERE sticky=0 AND visible=1 AND forumid='$forumid' ORDER BY dateline DESC LIMIT 10 --------------------- In this webquery also makes sure you enter this line to "Query PHPInclude Code" : PHP Code:
Is this what you wanted to achieve? |
Thanks for help I got it working already!
Great hack by great Logician!!! :ninja: |
I'm wondering if I can make the folowing thing with this hack...
On my website I want to make an issue like discussion of the month. First there is a block of text and thereunder just 1 forum. The whole thing must be protected so only logedin members can read the text and access the forum. I tried to make this but it doesn't work. The users are prompted to login again even if they are logid in on vB. I tried the following piece of php <?php require_once('forumdisplay.php?f=4'); ?> This does not work because forumdisplay.php needs the complete url. Can somebody help me out??? |
Just a question will the urls of pages be like http://www.mydomain.com/mypage.php or what?
|
Quote:
|
Do conditionals supported in webqueries?
|
Quote:
|
OK! 'Coz I just want to have a conditional in the Query Result Row. I have come to this situation because of attachments. If there's no attachment, then there must be no <img> tag in the Query Result Row else it should be included.
Anyway, thanks for your response! |
Everything appeared to go well other than an error returned on running the sql queries as follows
An error occurred while attempting to execute your query. The following information was returned. error number: 1064 error desc: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '; CREATE TABLE `wt2_queries` ( `qid` int(10) unsigned NOT N Could someone please suggest what needs to be done. Thanks |
Does anyone know if this hack is now also working with vB 3.5?
|
Quote:
Quote:
|
Thank you
However, is it to run the queries from the vb admin panel are there any modifications to the syntax or for php version 4.3.4? |
Quote:
|
Quote:
What does soon mean? Today? This weekend? January 2006 :-) ? |
That makes sense now thank you
|
Quote:
|
Hack installed and working :nervous:
I have some existing html pages and while I can easily produce these as Webtemplates I get just the original html and loose the integration like the nav bar etc - so its probably all very simple but is anyone interested in helping design a few webtemplates? |
Wonder if anyone can help I am trying to position two IFRAMES side by side within a webtemplate using the code below (sorry not a coder barely computer literate somedays) the code below correctly places the first IFRAME but the second is pushed to the bottom of the page. ??????
Quote:
|
Quote:
Any update on a time line? Thanks! |
Quote:
|
Logician a question. Is there a way to force the page I make to use a certain style?
|
Quote:
|
Quote:
Seems like a great Mod |
Quote:
Quote:
I can see that this was addressed before, but I thought the hack was updated. Any suggestions? Thanks! rich |
Quote:
Logician, you've got some backslash issues in the download file, around ..\wt_options.php. Got rid of one of the periods, and turned the slash the other way. Works very nicely. Brilliant hack. Thanks for working on this. rich |
This is absolutely my favorite hack, thank you Logician - I use it all over the place on several sites.
One question, In Who's online, rather than "Reading Webtemplate: templatename", is it possible to return the user friendly name, rather than the template page name? |
Quote:
|
Logican. Do you have any eta for the 3.5.1 port of this wonderful hack? My users as well as myself miss the great functionality this hack offers.
|
Quote:
https://vborg.vbsupport.ru/showthrea...ion#post630503 Searching 'online' I get: This guy is working with iframes, not what I'm doing: https://vborg.vbsupport.ru/showpost....&postcount=200 But I don't really see a clear cut answer. I could just be missing it, but if you do see it, or someone else sees it, please point me to it because I don't. :D |
Quote:
(AFTER YOU APPLIED WHO IS ONLINE HACK STEP IN INSTALLATION INSTRUCTIONS!) edit includes/functions_online.php, find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Quote:
|
All times are GMT. The time now is 06:50 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:
|