[ABD] Last 3 Topics made by User v.0.0.1

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

[ABD] Last 3 Topics made by User v.0.0.1

Post by 4_seven »

Last 3 Topics made by User

MOD-Title: Last 3 Topics made by User
MOD-Version: 0.0.1
MOD-Author: 4seven

phpBB-Version: phpBB 3.0.x
phpBB-Languages: en, de
phpBB-Styles: prosilver, subsilver2

Request by: pirro
Request Thread: http://www.phpbb.com/community/viewtopi ... &t=2091247

MOD-Description: Displays the last 3 Topics made by User in Viewtopic under User-Information

Features:
- Standard Display is shortened to have perfect forum fit and look
- Mouseover with following Informations: (Full) Topic Title, Forum Name, Post time
- Can combined with Last 3 Posts made by User

MOD-Demo:
prosilver: http://4seven.kilu.de/phpbb3/viewtopic. ... 1135#p1135 ('Last 3 Topics:')
subsilver2: http://4seven.kilu.de/phpbb3/viewtopic. ... 1135#p1135 ('Last 3 Topics:')

Download: http://4seven.kilu.de/forum/phpbb3/view ... 01&start=0

Image

Image follows

-----------------------

fix # 1:

- fixes multibyte-problem with special-chars in shortened display
http://www.phpbb.com/community/viewtopi ... #p12878238
Last edited by 4_seven on Fri Aug 12, 2011 10:09 pm, edited 6 times in total.
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
katib
Registered User
Posts: 562
Joined: Thu Jun 26, 2008 12:27 pm

Re: [DEV] Last 3 Topics made by User v.0.0.1

Post by katib »

Thanks for post, can you make it Latest posts also
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Last 3 Topics made by User v.0.0.1

Post by 4_seven »

This mod called "Last 3 Topics made by User". What u mean was an unborn mod named "Last 3 Posts made by User". May u find it in the next future here...
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Last 3 Topics made by User v.0.0.1

Post by 4_seven »

little update for all, who have installed allready..

reason: increase performance a bit..

open

viewtopic.php

find all

Code: Select all

['forum_name'])) ? 
replace all with

Code: Select all

['topic_id'])) ? 
..package is updated
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
FaresNB
Registered User
Posts: 271
Joined: Tue May 22, 2007 11:50 am
Location: Syria
Name: Fares Alnaeb
Contact:

Re: [DEV] Last 3 Topics made by User v.0.0.1

Post by FaresNB »

Great Mod !

Thanks for your efforts ... , but to be honest I'm still afraid to use it on live board because there ie more than 9,000 member and nearly 20,000 topics. So, is it going to make a huge load on the server ?
And could you please tel us what technics you used to program this MOD ? or the steps the mod works on ?

thanks in advance ;)
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Last 3 Topics made by User v.0.0.1

Post by 4_seven »

test it. on my big boards i have no side-effects.
v.0.0.2 will be a bit more slim as v.0.0.1, but v.0.0.1 is a well coded base.
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
FaresNB
Registered User
Posts: 271
Joined: Tue May 22, 2007 11:50 am
Location: Syria
Name: Fares Alnaeb
Contact:

Re: [DEV] Last 3 Topics made by User v.0.0.1

Post by FaresNB »

I tried it on myboard ... No huge side effects :) , but it looks like some thing wrong in choosing the last topics... i.e. the real last one didn't show .. and a recent topic from the last week shows instead :?
Also I have problem for the non-english language which is a symble at the end of each short title is showing like this "�... "

Looking for word for your kind attention ;)
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Last 3 Topics made by User v.0.0.1

Post by 4_seven »

FaresNB wrote:i.e. the real last one didn't show .. and a recent topic from the last week shows instead :?
as u see on my testboard, it works. so i can not reproduce at this time. if i have more time, i check it out on another board. may u change the standard display-order of topics with a snippet or mod?
FaresNB wrote:Also I have problem for the non-english language which is a symble at the end of each short title is showing like this "�... "
this appears, when the title is cut near of a non-english symbol or sign (eg. on german umlauts),
so u must adjust title length a bit.

seems, that this is unfixed yet!
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Last 3 Topics made by User v.0.0.1

Post by 4_seven »

FaresNB wrote:Also I have problem for the non-english language which is a symble at the end of each short title is showing like this "�... "
fix # 1 (for multibyte-compatibility)

in mod-area find all

Code: Select all

substr
replace all with

Code: Select all

mb_substr
package will be updated soon...
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
FaresNB
Registered User
Posts: 271
Joined: Tue May 22, 2007 11:50 am
Location: Syria
Name: Fares Alnaeb
Contact:

Re: [DEV] Last 3 Topics made by User v.0.0.1

Post by FaresNB »

As for:
4_seven wrote:i.e. the real last one didn't show .. and a recent topic from the last week shows instead
I found that this happens only when I am a visitor, but after I sign in , all good

and thanks for fixing the multibyte-compatibility :)

keep going, maybe some features in ACP would be great ;) , although I am sure that you already have that in mind :)
User avatar
FaresNB
Registered User
Posts: 271
Joined: Tue May 22, 2007 11:50 am
Location: Syria
Name: Fares Alnaeb
Contact:

Re: [DEV] Last 3 Topics made by User v.0.0.1

Post by FaresNB »

any updates ? :roll:
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Last 3 Topics made by User v.0.0.1

Post by 4_seven »

what u mean? acp or v.0.0.2? and why you are rolling eyes? :D
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
beggers
Registered User
Posts: 1257
Joined: Fri Nov 23, 2001 8:19 pm
Location: Las Vegas
Contact:

Re: [DEV] Last 3 Topics made by User v.0.0.1

Post by beggers »

Thanks for this excellent mod. I noticed that the hover occasionally fails to display. I did a little experimenting and it looks like if there is a single or double-quote in the title, the hover fails.
Last edited by beggers on Wed Dec 01, 2010 10:19 pm, edited 2 times in total.
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Last 3 Topics made by User v.0.0.1

Post by 4_seven »

thx for the hint. it's because of javascript output rules.
i try to fix this issue..
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
beggers
Registered User
Posts: 1257
Joined: Fri Nov 23, 2001 8:19 pm
Location: Las Vegas
Contact:

Re: [DEV] Last 3 Topics made by User v.0.0.1

Post by beggers »

Another thing I just noticed, and others have reported on my board, is that new topics they have read are still marked as "unread". I noticed that there was some discussion on the "Last 3 Posts" topic here: http://www.phpbb.com/community/viewtopi ... #p12812889 . I haven't installed that mod but I was wondering if the issue might be related. Thanks!

EDIT: Just for the heck of it I tried that fix that a user suggested and it seems to solve the problem. But like you said, I'm not sure if there are any side effects.
Last edited by beggers on Wed Dec 01, 2010 10:42 pm, edited 1 time in total.
Locked

Return to “[3.0.x] Abandoned MODs”