![]() |
Quote:
I believe your query is somehow wrong. Can you run the same query in phpmyadmin and return valid results with it? There are certain things you need to check. Eg. your WHERE query is checking the keyword in "taglist" field, not title. I'm not sure if this is intentional. Also when you use '$WT_PageName%' instead of "'%$WT_PageName%'" you are querying results that begins with $WT_PageName rather than including. |
Logician,
Would you able able to post the code to use that will return the latest 5 threads about %$WT_PageName% I was using tags because I couldnt figure out how to search the title of posts :) LOL |
Quote:
SELECT t.threadid, t.title, t.firstpostid, t.lastpost, t.replycount, t.postusername, t.postuserid, t.lastposter, t.dateline, t.views, p.pagetext FROM " . TABLE_PREFIX . "thread t LEFT JOIN " . TABLE_PREFIX . "post p ON p.postid = t.firstpostid WHERE t.title LIKE '%$WT_PageName%' AND t.open = '1' AND t.visible = '1' ORDER BY t.dateline DESC LIMIT 0 , 5 |
AWESOME thanks Again! :D
|
Any comments on highlighting the proper navbar tab on custom pages?
|
Thanks for addon. its easy & handy to add new pages.
I have installed this & got only 1 navtab to work correctly by using Tab Script(s) "view" & for other 2 tabs I used "Append 'tabid' to URL" & this stays highlightend. |
Logican Can I use t he Webtemplate name in the Result Prefix Code.
I would like to put latest topics on $WT_PageName But it does not seem to pick it up? |
I am also trying to exclude a series of forum ID's I tried added:
t.forumid to the select then adding: AND t.forumid NOT IN '36,37,77' But it tosses a error |
Quote:
AND t.forumid NOT IN (36,37,77) |
nope they still show...
|
All times are GMT. The time now is 12:00 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:
|