News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

AJAX Recent Topics

Started by live627, July 08, 2008, 07:15:38 PM

Previous topic - Next topic

Dylert

The installation went well, but recents topics won't show up. I get this message: http://hellasforum.net/index.php?action=recenttopics
What can be wrong? Something with the database or settings???

live627


Martin_78_NOR

We use this, but after installing the instant quick reply we would like to increase the list of recent posts shown from 15 (today) to say 20.... how do we do that ?

Thanks for a great mod :)

live627

Admin > Modifications > Recent Topics


mikev

Is there a way for page numbers to show up and be clickable on multiple page topics when recent topics are shown?

Alternatively, is there a way to make clicking the thread title go to the last post instead of the first one?

wolf39us

I'm having a bit of trouble because I'm new to SMF (coming from PHPbb3).  I'm looking to add an additional button beside the "last unread post" icon for the actual last reply.  My users miss the function in PHPbb3 that allowed them to skip to the very end of the topic.

I found this bit in "Recent.template.php"

               <td align="center" style="border-bottom: 1px solid rgb(204, 204, 204);"><a href="', $topic['lastPost']['href'], '"><img src="', $settings['images_url'], '/icons/last_post.gif" alt="', $txt['last_post'], '" title="', $txt['last_post'], '" /></a></td>

I've tried all different variations with a href=", $topic['lastPost'] by just changing the reference to say 'newPost' or something to that effect, but I've been unable to figure out which variable to use.

I've done a tone of Google searching and haven't come across what I need... can someone help please?

iain sherriff

I have a group of members that can only see a verification board/topics.
Is there a way they can see the Recent topics list showing all topics (not just ones the specific group can see) to be a taster of what is available after verification

Thanks
SMF 2.0.12

vkmaxx

I have a problem, navigation bar is displayed two times, do you know how to fix it?

Link: http://www.raceroom.pl/index.php?action=recenttopics [nofollow]
Pic:
[nofollow]

lester-cat


vkmaxx


jondiez

Is it possible to exclude a board from the results?

samborabora

Is it possible to modify this to bring up recent posts instead of just topics?

Jade Elizabeth

#233
Hey I just installed this and it gave me the fatal errors for redeclaring as well on the recent.php and managesettings.php files. For some reason the steps were duplicated. Could it possibly be a mod thing? I was on 2.0.9 at the time, but I can't see anything duplicated with the SMF parser....but the fact that people are getting it on the same files does raise some questions :). It also didn't remove the duplications.

EDIT: Also duplicated the templates...I will have to look through all the files and make sure they're ok...

EDIT 2: It duplicated on all changes. The package file seems to be okay, don't know why this is happening to some of us.
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

Mimmi

Thank you for this mod!

Here is a Norwegian translation.
<?php
// Version: 2.0; Modifications
// AJAX Recent Topics
$txt['recent_topics'] = 'Siste emner';
$txt['minutes_ago'] = ' minutter siden';
$txt['number_recent_topics_interval'] = 'Tidsforsinkelse (i sekunder) mellom sjekk for oppdaterte emner.';
$txt['number_recent_topics_interval_desc'] = 'Ikke for lavt, 5-10 sekunders forsinkelse er passe.';
$txt['number_recent_topics'] = 'Emner som skal vises på siden for Siste emner';

?>
Forum-junkie and still a newbie in the world of administrating php etc... Volunteers in reproductive rights. http://www.liv-laga.no/

CMOBOSS

There seems to be an issue with the install on 2.0.12.

subs.php modification

find                       'mlist' => array(
            'title' => $txt['members_title'],

Fails.

For some reason even copying the complete snippet and searching manually results in 0.

Searching for the two individually shows code is accurate, and I can find boths lines no problem.

Here's the thought. There is only one     'mlist' => array(     In subs.php   so why not search for that in the xml, only, for the add before...

'recenttopics' => array(
            'title' => $txt['recent_topics'],
            'href' => $scripturl . '?action=recenttopics',
            'show' => true,
            'sub_buttons' => array(
            ),
         ),

I have installed other packages with no problems. but this one threw an error on install.

I did the manual changes and the package works. Just thought maybe someone would like to update this. Of course... I am not even sure if the new beta has this available in the core... ???? So maybe I'm just wasting my time. lol

JohnA

I am having the same double nav error vkmaxx at the top of the ?action=recenttopics described above.  Does anybody know the fix for this.  I really like this mod, but I would really like to remover that double instance of the navigation links.  I'd appreciate any help/guidance.

jsx

@live627

I have clean SMF 2.0.15 forum. And when I want to install this modification, I get an error:

QuoteError in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.

Execute Modification > ./Sources/Subs.php > Test failed
Add Before > ./Sources/Subs.php > Test failed

Code: (Find)

'mlist' => array(
'title' => $txt['members_title'],


Code: (Add Before)

'recenttopics' => array(
'title' => $txt['recent_topics'],
'href' => $scripturl . '?action=recenttopics',
'show' => true,
'sub_buttons' => array(
),
),


Why is this happening?

Boggi

#238
Quote from: vkmaxx on June 08, 2014, 10:52:12 AM
I have a problem, navigation bar is displayed two times, do you know how to fix it?

In Recent.template.php delete code:

echo '
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td>', theme_linktree(), '</td>
</tr>
</table>';

Kira_

#239
Fork for 2.1. Ноокs only.

Edit by Gary: attachment removed for license violation
а нас
за що?

Advertisement: