Bumping Threads with replies (General)

by Eric ⌂ @, Wednesday, August 12, 2009, 20:04 (5373 days ago)

I've noticed that replying to threads doesn't bump them to the top of the list.

Anyway of making it so they do?

you can't change view order?

by Eric ⌂ @, Wednesday, August 12, 2009, 22:24 (5373 days ago) @ Urfin®

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?

you can't change view order?

by Eric ⌂ @, Thursday, August 13, 2009, 05:14 (5372 days ago) @ Eric

This problem is fixed!

Woopee!

you can't change view order?

by Vik, Wednesday, August 19, 2009, 01:56 (5367 days ago) @ Eric

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!

you can't change view order?

by Eric ⌂ @, Wednesday, August 19, 2009, 20:38 (5366 days ago) @ Vik

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?

you can't change view order?

by davwat, Thursday, September 17, 2009, 05:25 (5337 days ago) @ Eric

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; 

you can't change view order?

by Ron @, Belgium, Friday, February 27, 2015, 17:52 (3348 days ago) @ davwat

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 !!!

RSS Feed of thread