Enhance Recent Post

Started by Bulakbol, April 08, 2008, 01:03:14 AM

Previous topic - Next topic

Bulakbol

@Bec
I'm awfully sorry. I got sick and forgot about this. Do you still need help?

@A.SK
Thanks for the compliment. Thank you for using/trying this mod.

@shaitanfr
I thank you for offering Bec help. I appreciated it.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Bec

Hi Bulakbol,

No worries. I have touched base with shaitanfr, and will try to sort it out myself! Will give you a yell if I need your help! Thanks for the post :) Hope you feel better!

lucifur

how to modify for used with Dilber Multicolor ?
best regard,

shaitanfr

Mail sent to Bec !

@ Lucifur: There is no Recent.template.php in Dilbermc (my actual Theme).


Bulakbol

@Bec
Thanks. let me know how it goes.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

lucifur

Quote from: shaitanfr on June 11, 2009, 02:34:10 PM
Mail sent to Bec !

@ Lucifur: There is no Recent.template.php in Dilbermc (my actual Theme).

Thank you Shaitanfr
+++++++++++++++++++++++++++++++




<!-- default/languages/Modifications.thai.php -->
<file name="$languagedir/Modifications.thai.php" error="skip">
<operation><!-- look for ?> tag -->
<search position="end" />
<add><![CDATA[
$txt['joined'] = 'เชื่อม';
]]></add>
</operation>
</file>

<!-- default/languages/Modifications.thai-utf8.php -->
<file name="$languagedir/Modifications.thai-utf8.php" error="skip">
<operation><!-- look for ?> tag -->
<search position="end" />
<add><![CDATA[
$txt['joined'] = 'เชื่อม';
]]></add>
</operation>
</file>


shaitanfr

Quote from: Bulakbol on June 09, 2009, 01:38:14 AM


@shaitanfr
I thank you for offering Bec help. I appreciated it.

I appreciate many of yours Mods, great work. Thank you.

LHW

I'm running v1.1.9 with the default them, and noticed the same problem Bec mentioned...it shows "Started by" as the same person for that post, even if they didn't start it.

e.g. If it was started by "Tom," and "Dick" posts, on Dick's post it'll show that Dick started it.  Then, if "Harry" posts, on Harry's post, it'll state that Harry started it.


Bulakbol

Apologies. It is my mistake. Only the SMF version 1.1.9 is affected. Here's temporary fix until I update the mod.
default/Recent.template.php, find
Quote<span class="middletext"> ', $txt[109] . ' ' . $post['poster']['link'] . ' - ' . $txt[22] . ' ' . $txt[525], ' ' . $post['poster']['link'] . '</span>
replace with
Quote<span class="middletext"> ', $txt[109] . ' ' . $post['first_poster']['link'] . ' - ' . $txt[22] . ' ' . $txt[525], ' ' . $post['poster']['link'] . '</span>


@lucifer
Thanks for the translated language string but unfortunately, my text editor does not support the characters. :( It turned out like this.
$txt['joined'] = '??????';
I am using Notepad++ and converted to different format but no luck. Sorry.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

LHW

Thanks!  I finally got around to doing that edit, and it works perfectly now!  ;D


Robbo_

Lol another one of your mods that my client wants so here is that sentence again...

Are you planning to update this to 2.0 RC2 anytime soon? If not please say so, so I can update it myself.
Aus-Newerth

Quote from: IRC
Roph> I just finished a double 1/2lb cheese, bacon & salad beef burger
Roph> no woman on earth could satisfy me as much as I am satisfied right now by this burger
... later on ...
Roph> how could ensie go about satisfying me =o
<Ensiferous> Roph: Merely looking at me would yield far more pleasure than a burger can provide.

Sabre™

Robbo_
Did you convert this for RC2 mate?
Care to share?
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Robbo_

I think I did. But I'm too lazy to find it and it needs to be checked for RC3. I'll get around to it oneday.
Aus-Newerth

Quote from: IRC
Roph> I just finished a double 1/2lb cheese, bacon & salad beef burger
Roph> no woman on earth could satisfy me as much as I am satisfied right now by this burger
... later on ...
Roph> how could ensie go about satisfying me =o
<Ensiferous> Roph: Merely looking at me would yield far more pleasure than a burger can provide.

LinuxFanatic

Quote from: Bulakbol on May 08, 2008, 05:11:19 PM
Hi rumfa.  You probably found a bug.  :P Could you please try this. In Sources/Recent.php, find
mem.dateRegistered, mem.location, mem.showOnline, mem.personalText, t.ID_FIRST_MSG, at.ID_ATTACH, at.attachmentType,

and replace with
mem.dateRegistered, mem.location, mem.showOnline, mem.personalText, t.ID_FIRST_MSG, at.ID_ATTACH, at.attachmentType, at.filename,

I just added " at.filename," at the end. I think I missed it. Thanks a lot.



I have this error still on my SMF Forum, version 1.1.11

But this solution ^^^ fixed the error. Thanks!

Btw: Are there any plans for a SMF bug-fix update ?

Regards,
Gürkan

[nofollow]

Jeff B

Is there any chance of some help getting this to work for 2.0.* ?  I tried to use the parser on the mod page, but the code on recent.template.php is significantly different.  Our forum members that use the recent posts action really liked this mod. in 1.1.*

Advertisement: