Page 16 of 33

Re: NV recent topics

Posted: Sat Jun 06, 2009 10:18 pm
by nickvergessen
Humanrag3 wrote:WOW! Amazing mod! very nice work.

EDIT: is it possible to show recent topics on a custom page?

I added

Code: Select all

if ($config['rt_index'])
{
	if (!function_exists('display_recent_topics'))
	{
		include($phpbb_root_path . 'includes/functions_recenttopics.' . $phpEx);
	}
	display_recent_topics($config['rt_number'], $config['rt_page_number'], $config['rt_anti_topics']);
}
on the custompage.php

doesn't seem to work.
You also need to put the code into the template.
Peter77sx wrote:You have to add
include($phpbb_root_path . 'includes/functions_wwh.' . $phpEx);
somewhere before page_header is called..
wrong MOD? :P

Re: NV recent topics

Posted: Sun Jun 07, 2009 4:17 am
by Humanrag3
It shows the following:

Code: Select all

There are no topics or posts in this forum.
:?:

Re: NV recent topics

Posted: Sun Jun 07, 2009 9:03 am
by manuxtreme
Is it possible to exclude topics from certain forums?

Re: NV recent topics

Posted: Sun Jun 07, 2009 11:43 am
by usenet2you
Is it possible to have more then 1 Recent Topics thing? :P I want 4 Recent Topics things, I don't want that all topics come on 1 Recent Topics thing.

Re: NV recent topics

Posted: Sun Jun 07, 2009 1:04 pm
by Humanrag3
manuxtreme wrote:Is it possible to exclude topics from certain forums?
ACP>Forums>Mange Forums
Edit a forum and choose no for "show on recent topics"

Re: NV recent topics

Posted: Sun Jun 07, 2009 4:05 pm
by manuxtreme
Humanrag3 wrote:
manuxtreme wrote:Is it possible to exclude topics from certain forums?
ACP>Forums>Mange Forums
Edit a forum and choose no for "show on recent topics"
Ah ic, I didnt know that. Thanks :)

Topic still shows when queued post is enabled

Posted: Sat Jun 13, 2009 3:11 am
by megaw
Recently when I enabled the 'queued post' feature, the topic title still shows although clicking on it shows no post. The topic is supposed to be not visible until approved. Please look into it. Thanks.

Re: Topic still shows when queued post is enabled

Posted: Sat Jun 13, 2009 8:22 am
by nickvergessen
megaw wrote:Recently when I enabled the 'queued post' feature, the topic title still shows although clicking on it shows no post. The topic is supposed to be not visible until approved. Please look into it. Thanks.
Unapproved topics are only viewed if you got permissions to approve them. This was fixed in 1.0.4

Re: NV recent topics

Posted: Sat Jun 13, 2009 8:27 am
by megaw
Thanks. I am still having 1.0.3

Re: NV recent topics

Posted: Sat Jun 13, 2009 8:31 am
by nickvergessen
So update?

Re: NV recent topics

Posted: Sat Jun 13, 2009 8:36 am
by megaw
Yes, most likely but will this still work with 1.0.4?
nickvergessen wrote:megaw:

includes/functions_recenttopics.php
find:

Code: Select all

'TOPIC_TITLE'				=> censor_text($row['topic_title']),
after-add:

Code: Select all

'LAST_POST_SUBJECT'			=> censor_text($row['topic_last_post_subject']),
styles/prosilver/template/recent_topics_body.html
find:

Code: Select all

<dd class="lastpost"><span><dfn>{L_LAST_POST} </dfn>{L_POST_BY_AUTHOR} {recenttopicrow.LAST_POST_AUTHOR_FULL}
inline-find:

Code: Select all

<dd class="lastpost"><span><dfn>{L_LAST_POST} </dfn>
inline-after-add:

Code: Select all

<a href="{recenttopicrow.U_LAST_POST}">{recenttopicrow.LAST_POST_SUBJECT}</a><br />

Re: NV recent topics

Posted: Sat Jun 13, 2009 8:54 am
by nickvergessen
yes, it should

Re: NV recent topics

Posted: Sat Jun 13, 2009 9:03 am
by megaw
thanks... will update soon.

Re: NV recent topics

Posted: Sun Jun 14, 2009 3:24 pm
by megaw
nickvergessen wrote:yes, it should
Yes, it works perfectly. One question - How do I get it to show in the ACP/.MODS as version 1.0.4 instead of 1.0.3?

Do I need to run the install file?

Edit: Please ignore, I've done it and thanks.

Re: NV recent topics

Posted: Sun Jun 14, 2009 3:51 pm
by usenet2you
usenet2you wrote:Is it possible to have more then 1 Recent Topics thing? :P I want 4 Recent Topics things, I don't want that all topics come on 1 Recent Topics thing.