![]() |
Code:
SELECT * FROM thread LEFT JOIN forumpermission ON (forumpermission.forumid=thread.forumid) WHERE forumpermission.canview=1 AND forumpermission.usergroupid=2 ORDER BY lastpost DESC LIMIT 0,$maxthreads ;) |
I do appreciate your help, but, it isn't working still.
when I changed it with your last suggestion, I get no output. Still hoping to find an answer for this. I can't believe this hasn't come up for anyone else using this hack! comon and help me out. I promise to be nice :D |
Ok, it took me this long to find it, but I did. My solution lies in tubedogg's fabulous last10 hack.
I wish I had known that yesterday! So, for those of you who don't know what I am talking about, tubedogg made this really cool, really customizable hack. here it is . Thanks tubedogg! |
ok, even though I very much like tubedoggs last10 hack, it doesn't show html tags properly in a mac environment. I cant change the text color or size or type in Nescape, and in IE, I cant change the color of the text.
So, I am back to this hack. :( This one I can controll the html tags really simply. So, is there anyone who can help me? I'd like to add a line that excludes whichever forums I list by number. That could make it simpler...no? |
I really liek the simplicity of this particular version of this hack. (that is it a simple list of the last threads.) I must, however, protect my private forums.
I have come up with this: Code:
Code:
$query = "SELECT * FROM thread ORDER BY lastpost DESC LIMIT $maxthreads"; to: Code:
$querylatest="select * from thread where forumid in ('113','120','97','98','112','114','117','122','93','95','107','110','101','102','103','104','105','111','100','96','99','94','116','108','115','118','123','106') order by lastpost desc limit $num_active"; I really like the output of this script (simple) but I must be able to control the private forums. Please help me? |
All times are GMT. The time now is 01:17 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:
|