[cBB Blockgets 1.0.2] Latest unread topics block


no_avatar
mladiucitelj
 
Posts: 153
Joined: Sun Sep 02, 2012 11:40 pm
Location: Slovenia, Europe
 Fri Nov 09, 2012 4:37 pm • via Web
Hi!

It would be great when I click on unread post it shows me the unread post and not the first post in a topic.
no_avatar
cossielee
 
Posts: 28
Joined: Fri Oct 12, 2012 11:40 am
Location: Glasgow
 Thu Nov 22, 2012 12:21 am • via Web
try this


Open latest_unread_block.php

Find:
Code: Select all
'U_VIEWTOPIC'      => append_sid("{$phpbb_root_path}viewtopic.$phpEx", 't=' . $row['topic_id']),


Replace with:
Code: Select all
'U_VIEWTOPIC'      => append_sid("{$phpbb_root_path}viewtopic.$phpEx", 't=' . $row['topic_id'] . '&view=unread#unread'),
no_avatar
mladiucitelj
 
Posts: 153
Joined: Sun Sep 02, 2012 11:40 pm
Location: Slovenia, Europe
 Thu Nov 22, 2012 10:18 am • via Web
Great, thanks. What about to show last poster and date and not the original poster of a topic?
no_avatar
cossielee
 
Posts: 28
Joined: Fri Oct 12, 2012 11:40 am
Location: Glasgow
 Sat Nov 24, 2012 12:06 pm • via Web
mladiucitelj wrote:Great, thanks. What about to show last poster and date and not the original poster of a topic?


i have this also, iv uploaded it.

Its been slightly modified, let me know if it works ok, there is a slight graphic issue with some text dissapearing depending on the username size but nothing major.

Modified latest_unread_block.zip
no_avatar
mladiucitelj
 
Posts: 153
Joined: Sun Sep 02, 2012 11:40 pm
Location: Slovenia, Europe
 Sat Nov 24, 2012 6:42 pm • via Web
Thank you! Working great for me.
no_avatar
mladiucitelj
 
Posts: 153
Joined: Sun Sep 02, 2012 11:40 pm
Location: Slovenia, Europe
 Mon Nov 26, 2012 10:48 pm • via Web
After updating to 1.0.3 I'm still using the same two modified files from 1.0.2 (from cossielee).

Cossielee - can you modify it for 1.0.3?
no_avatar
mladiucitelj
 
Posts: 153
Joined: Sun Sep 02, 2012 11:40 pm
Location: Slovenia, Europe
 Fri Jan 04, 2013 4:48 pm • via Web
Another thing. How to make this block showing posts date descending and not ascending?
no_avatar
cossielee
 
Posts: 28
Joined: Fri Oct 12, 2012 11:40 am
Location: Glasgow
 Wed Feb 06, 2013 1:02 am • via Web
mladiucitelj wrote:After updating to 1.0.3 I'm still using the same two modified files from 1.0.2 (from cossielee).

Cossielee - can you modify it for 1.0.3?


Im still using 1.0.2 mate, works fine.

Who is online

Users browsing this forum: No registered users and 0 guests