![]() |
Is it possible to make a hack , or edit something in the templates so that the treads would STOP movind around when someone replies on em ? I mean it's really unhandy on our forum and we would like the threads to just stay in their places. Anyone know a way to do this ?
|
What version of vB are you talking about?
|
v1.14
|
Its not a big deal for me, but I have had people request this along with threaded view. Personally I don't like the threaded view, but some do.
It might be nice as a per-forum option, but I would rather see other useful features be added or worked on (at least get version 2 officially released) before adding something like this, my personal opinion though. |
Just the first point to start.
In forumdisplay.php find (can look different in your file) Code:
$threads=$DB_site->query("SELECT thread.iconid, icon.title AS icontitle, icon.iconpath,threadid,thread.title AS title, Now the threads will be sorted by their id. New threads at the top and older threads at the bottom. That's it? (perhaps) ;) |
Thanks dude
|
I can't find it
{htmldoctype} <HTML> <HEAD><TITLE>$bbtitle - $forumtitle</title> $cssinclude </head> <body> $header <td valign="top" align="left"><a href="index.php"><img src="$titleimage" border="0"></a></td> <table border="0" width="100%" cellpadding="2"> <form action="forumdisplay.php" method="get"> <tr><td width="100%"> <normalfont><b><a href="index.php">$bbtitle</A> > $forumtitle</b><br><smallfont>$moderatedby</smallfont></normalfont> </td><td valign="bottom" align="right" nowrap> <normalfont><b>Show threads from:</b></normalfont> <INPUT TYPE="HIDDEN" NAME="forumid" VALUE="$forumid"> <SELECT NAME="daysprune"> <OPTION value="1" $daysprune1selected>Last day <OPTION value="2" $daysprune2selected>Last 2 days <OPTION value="5" $daysprune5selected>Last 5 days <OPTION value="10" $daysprune10selected>Last 10 days <OPTION value="20" $daysprune20selected>Last 20 days <OPTION value="30" $daysprune30selected>Last 30 days <OPTION value="45" $daysprune45selected>Last 45 days <OPTION value="60" $daysprune60selected>Last 60 days <OPTION value="75" $daysprune75selected>From last 75 days <OPTION value="100" $daysprune100selected>From last 100 days <OPTION value="365" $daysprune365selected>From the last year <OPTION value="1000" $daysprune1000selected>Show all threads </SELECT> <INPUT TYPE="SUBMIT" VALUE="Go"></smallfont> </TD></tr></form> </table> <table border=0 cellpadding=4 border=0 cellspacing=1 width="100%"> <tr bgcolor="{tableheadbgcolor}"> <td colspan=3> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td> <A HREF="newthread.php?action=newthread&forumid=$foru mid"><IMG SRC="$newthreadimage" BORDER=0 ALT="Post New Thread"></A> </td> <td width="100%" align="center"> <smallfont color="{tableheadtextcolor}"><B>Thread</A></B></smallfont> </td> </tr></table> </td> <td align=center nowrap><smallfont color="{tableheadtextcolor}"><B>Thread Starter</B></smallfont> </td> <td align=center><smallfont color="{tableheadtextcolor}"><B>Replies</B></smallfont> </td> <td align=center><smallfont color="{tableheadtextcolor}"><B>Views</B></smallfont> </td> <td align=center nowrap> <smallfont color="{tableheadtextcolor}"><B>Last Post</A></B></smallfont> </td></tr> $announcement $forumdisplaybits <TR bgcolor="{tableheadbgcolor}"> <TD valign="middle" width="100%" colspan="7"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td valign="middle"> <A HREF="newthread.php?action=newthread&forumid=$foru mid"><IMG SRC="$newthreadimage" BORDER=0 ALT="Post New Thread"></A> </td> <td width="100%" valign="middle" align="right"> <smallfont color="{tableheadtextcolor}"><b> All times are $timezone. All dates are in Month-Day-Year format.</b></smallfont> </td> </tr></table> </table> <table border="0" width="100%" cellpadding="2"> <tr><td nowrap valign="top"> $forumjump </td><td valign="top" align="right"> <smallfont>$pagenav</TD></tr></table> <center><table border=0><tr> <td><img src="images/newfolder.gif" border=0 alt="New Posts"></td> <td><b><smallfont>New Posts</smallfont></b></td> <td><img src="images/folder.gif" border=0 alt="No New Posts"></td> <td><b><smallfont>No New Posts</smallfont></b></td> <td><img src="images/newhotfolder.gif" border=0 alt="Hot Thread"><img src="images/hotfolder.gif" border=0 alt="Hot Thread"></td> <td><b><smallfont>More than $hotnumber replies</smallfont></b></td> <td><IMG SRC="images/lock.gif" BORDER=0 ALT="Closed Thread"></td> <td><b><smallfont>Closed thread</smallfont></b> </tr></table></center> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr><td width="100%"> <p><smallfont><b>Forum Rules:</b><br> $forumrules</smallfont></p> </td><td nowrap> <p><smallfont><b>Admin Options:</b><br> <a href="moderator.php?action=viewqueue&forumid=$foru mid">View Moderation Queue</a><br> <a href="moderator.php?action=move&forumid=$forumid"> Mass Move</a><br> <a href="moderator.php?action=prune&forumid=$forumid" >Mass Prune</a> </smallfont></td></tr></table> $footer </body> </html> |
You need to look in the correct place.. You are looking in a template. Whereas the code you need to change is in the FORUMDISPLAY.PHP file.
|
/me slaps himself in the face with a giant baseball bat
|
All times are GMT. The time now is 10:57 AM. |
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:
|