Bumping Threads with replies (General)
I've noticed that replying to threads doesn't bump them to the top of the list.
Anyway of making it so they do?
I've noticed that replying to threads doesn't bump them to the top of the list.
Anyway of making it so they do?
sort by threads - default
sort by replies - alt...
ooooh
That's how, sorry I didn't realize. I'm running a.. rather customized version of mylittleforum, I'll try and get it working.
Is there anyway of setting it to default view?
This problem is fixed!
Woopee!
Can you please tell me what changes you made to make the "bumping" feature default? I'm also very interested in doing that. Thanks in advance!
I went into the main.tpl file and added .?mode=index&thread_order=1 into the first div.
<div id="top"> <div class="left"> {if $settings.home_linkname}<p class="home"><a href="{$settings.home_linkaddress}">{$settings.home_linkname}</a></p>{/if} <h1> <a href=".?mode=index&thread_order=1" title="{#forum_index_link_title#}">{$settings.forum_name|escape:"html"}</a></h1> </div>
This forces it into the view we want. I assume the cookies do their thing and keep it into this view once they have clicked the links.
I know its a cheap work around.
Does anyone have any other ways of doing this?
Try this
includes ->index.inc.php
if($_SESSION[$settings['session_prefix'].'usersettings']['thread_order']==0) $thread_order = 1; else $thread_order = 0; } elseif(isset($_GET['thread_order'])) { if(isset($_GET['thread_order'])) $thread_order = 1; else $thread_order = 0; } else $thread_order = 1;
Change to
if($_SESSION[$settings['session_prefix'].'usersettings']['thread_order']==0) $thread_order = 0; else $thread_order = 1; } elseif(isset($_GET['thread_order'])) { if(isset($_GET['thread_order'])) $thread_order = 0; else $thread_order = 1; } else $thread_order = 0;
Hi
Thanks, it worked for a previous install (2.1.1), but on my other My Little Forum install (2.3.1) it give me this error :
Fatal error: Call to undefined function tree() in .../forum/includes/index.inc.php on line 126
Could you help, any advices please ?
Many thanks !!!