Log in

View Full Version : Need a Name


clouds_kid
07-22-2002, 07:33 PM
Well we really like what squaregamer has. It's a hack that ties in the homepage with the forums page. I was wondering if that was released here, cause I don't know a name to put in the search box that would work....

Xenon
07-22-2002, 07:35 PM
do you mean the webtemplates hack by logician?

i don'T know squaregamers site...

clouds_kid
07-24-2002, 08:45 PM
It's a hack that will incorparate part of the forums on the home page. Like if an admin posts something than it will be up on the home page. I think it's mainly a php tie in between between the homepage and the forums.. would that even be possible?

Xenon
07-24-2002, 08:48 PM
as i know you can use logicians webtemplate hack for this too

or some of the newsscripts out of the releaseforum.

there are more hacks out which do some sort of this you want ;)

nabeel
07-24-2002, 08:49 PM
yeah, i have this query that will do it for ya:

$sql = "SELECT * FROM thread WHERE forumid=59 ORDER BY threadid DESC LIMIT 5";
$result = mysql_query($sql);

while($row = mysql_fetch_array($result)){
$psql="SELECT * FROM post WHERE threadid=$row[threadid] AND dateline=$row[dateline]";
//do whatever you want with it
}


and just change the 59 in the first statement to the forum id of the forum you want shown your front page, and the 5 to the number of topics you wanna pull

i use it on my sites front page

Chris M
07-24-2002, 08:50 PM
I think you mean vBindex?

Search for : vbindex...

Satan