News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

AJAX Recent Topics

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

Previous topic - Next topic

vladimir - sv


Sudhakar Arjunan

Thanks a lot to SlammedDime.

A very useful mod. Which i was using every moment to check the large amount of post made by our community users.

I have a query SlammedDime,

If possible, will you built a new mod. Which shows the users who made the post.
If he has already made, will that show no of post or replies he/she makes.

But all stats should only for daily and not more than the days effort.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

TechPrince

How about pagination and Start/Stop support?

SlammedDime

Won't be doing pagination, as it kinda defeats the purpose of the mod.  Start/stop will come out in the new version as 2.0 hits the RC stages.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

qubbah

how can we put new.gif besides the new post that e doesnt read it yet?

SlammedDime

The SQL query would have to be re-written.  I purposely left it out, but I can take a look at putting it back in, i really don't see the purpose of them considering the idea behind the mod in the first place.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

qu3ll0

#66
Thank-you so much for that nice mod.

Septimus

Could you please make it so there is an action when viewing recenttopics? So people dont have "unknown action"?

It freaks my admins out :-X.


Thanks!

SlammedDime

#68
Septimus - the next version will have that.

Jade also discovered a slight bug when a user left this script running for a few weeks non stop... the hit count on her board skyrocketed... I'll fix that as well.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Jade Elizabeth

+50,000 page views

* Jade makes a thudding sound as she hits the floor
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

qu3ll0

#70
Hey man, great mod!!!  ;)

However, you should call this mod "AJAX recent posts" instead of "AJAX recent topics" since it takes into account the latest replies too.

Do you think it is possible to get the mod to retrieve just the LATEST NEW TOPICS without taking into account the recent replies?

Many many thanks!

SlammedDime

That would require rewriting the entire SQL query.  I suppose I could add an option and add more to the mod so that you can choose if it shows updated topics, or only new topics.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

qu3ll0

It would be really appreciated!

Thanks a lot ;)

espressoguy

Great Mod, SlammedDime!!   O:)  I think this is really a standard feature for most forums ...right?  I was surprised that SMF doesn't really have it in the original install. 

I notice that by default it returns the last 50 posts.  Is there any plan to have it return pages of 50 so that the user could page back through the 50 most recent posts at a time?  Just curious as to how much of an effort this would be ...the mod is really great and useful just as-is.

Thanks alot !!  8) 

vulcan59

Hi,

I tried installing this mod but it just doesn't come out right. I am using ApolloBB theme with SMF 1.1.7. I uploaded the mod and it install through packages okay with no errors.

I then do a manual edit to the ApolloBB index.template, settings.template and the Modification.english.php and there is no recent.template in ApolloBB.

After the mods, the recent topic appears in the search button area on the top right hand corner and the logout button disappears!!  ???

What am I doing wrong? Any help would be appreciated.

Cheers.

SlammedDime

expressoguy - pagination would be slightly difficult, but I'll play with it.

vulcan59 - Sounds like you didn't edit index.template.php correctly.  Can you attach it to your next post please?
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

vulcan59

Hi SlammedDime,

I've attached the index.template without any modifications to it yet.

I've done quite a few mods manually and so far I had no problems.

Anyway thanks for having a look.

Regards.

vulcan59

Hi SlammedDime,

Attached is the index.template from my ApolloBB theme that I did amend. Can't see what's wrong with it.

Also do I have to edit settings.template.php and the Modifications.english.php in the ApolloBB theme as well?

Regards.

SlammedDime

I must be losing my mind in my young age... I could have sworn I uploaded a new copy to a new post for you.  Sorry about that.

The reason for the problem is that your menu is totally different then the core default theme.

As for Settings.template.php, yes, you should edit that.

As for Modifications.english.php, you should take everything in that file, and move it into the Modifications.english.php file in the default theme, then delete the one in your ApolloBB theme.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

vulcan59

Thanks. I carried out the mod and now a whole bunch of error messages as follows:

8: Undefined index: apollobb_footer_sql
File: /mydomain/forum/Themes/default/Admin.template.php (main_below sub template - eval?)
Line: 586


8: Undefined index: apollobb_footer_sql
File: /mydomain/forum/Themes/ApolloBB/BoardIndex.template.php (main_below sub template - eval?)
Line: 586


The line numbers for the BoardIndex.template are different in each error message alternating between Line 583, 584, 585 and 586. No other errors.


Advertisement: