PDA

View Full Version : I need the hack which lets a thread stays at the top..


LittleBird
04-06-2001, 02:44 PM
Hello :)

I hope that everyone is doing fine.

I am using vb 1.1.6 and need the hack which lets a thread stays at the top of a forum. Just like the one used here for the Rules.

I would have searched for it and not bothered you about it, but i don't know the title of such a hack... so i thought maybe someone could help me out.

Many thanks in advanced.

Little tweet *_*

Kier
04-06-2001, 02:48 PM
It's not a hack, it's a built-in feature of vB2... I don't know of any hacks for vb1.x that allow this.

LittleBird
04-07-2001, 05:17 AM
I think i saw something similar with versions other than 2!

Any one can help pls? this is very important!

theGAME
04-07-2001, 09:17 PM
Its called "Topper/Untopper" :D

from Andrv

http://vbulletin.com/forum/showthread.php?threadid=4470&highlight=topper+untopper

LittleBird
04-09-2001, 10:19 AM
Thank you Thegame :)

i badly need this hack as i am running an educational forum.

Would someone be kind enough to update the topper/untopper hack to vb1.1.6?

in forumdisplay i have this part:

$threads=$DB_site->query("SELECT thread.iconid, icon.title AS icontitle, icon.iconpath,threadid,thread.title AS title, open,lastpost,replycount,postusername,lastposter,n otes,views,userindex
FROM thread
LEFT JOIN icon ON (icon.iconid = thread.iconid)
WHERE forumid=$forumid AND visible=1 $datecut
ORDER BY lastpost
DESC LIMIT $limitlower,$perpage");

wheras the instrutions require this one:

$threads=$DB_site->query("SELECT threadid,title,open,lastpost,replycount,postuserna me,lastposter,notes,iconid,views FROM thread WHERE forumid=$forumid AND visible=1 $datecut ORDER BY lastpost DESC LIMIT $limitlower,$perpage");

to be replaced by this:

$threads=$DB_site->query("SELECT threadid,title,open,lastpost,replycount,postuserna me,lastposter,notes,iconid,views FROM thread WHERE forumid=$forumid AND visible=1 $datecut ORDER BY topped DESC,lastpost DESC LIMIT $limitlower,$perpage");

===

any help or guide pls..?
:(