[MODDB] NV advanced last topic titles 1.2.5

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Scam Warning
Locked
User avatar
nickvergessen
Former Team Member
Posts: 4397
Joined: Mon Apr 30, 2007 5:33 pm
Location: Stuttgart, Germany
Name: Joas Schilling
Contact:

[MODDB] NV advanced last topic titles 1.2.5

Post by nickvergessen »

MOD-Title: NV advanced last topic titles
MOD-Version: 1.2.5
MOD-Description:
  • Adds the title of the last post or topic (depends on acp-configuration) to the forumlist.
MOD-Download: Download v1.2.5

phpBB-Version: phpBB 3.0.2
phpBB-Languages: de, en, fr
phpBB-Styles: prosilver, subsilver2
MOD-Demo: Development-Topics: Please do not upload this MOD to your Downloadbases, without asking me.
Last edited by nickvergessen on Tue Sep 09, 2008 8:57 am, edited 22 times in total.
No Support via PM
Schumi
Registered User
Posts: 177
Joined: Wed Dec 18, 2002 8:09 pm

Re: [BETA] last post title on index.php 0.1.0

Post by Schumi »

You shouldn't use the strlen and substr functions in this context as they can't cope with multibyte strings. Instead, make use of utf8_strlen and utf8_substr or truncate_string, they will handle UTF-8 strings correctly.
User avatar
ac_roma
Registered User
Posts: 321
Joined: Thu Mar 08, 2007 2:48 pm
Location: egypt,alexandria
Contact:

Re: [BETA] last post title on index.php 0.1.0

Post by ac_roma »

thanks,
how many title this mod show
User avatar
nickvergessen
Former Team Member
Posts: 4397
Joined: Mon Apr 30, 2007 5:33 pm
Location: Stuttgart, Germany
Name: Joas Schilling
Contact:

Re: [BETA] last post title on index.php 0.1.0

Post by nickvergessen »

Schumi wrote:You shouldn't use the strlen and substr functions in this context as they can't cope with multibyte strings. Instead, make use of utf8_strlen and utf8_substr or truncate_string, they will handle UTF-8 strings correctly.
jop, this is a good idea didn't recognize it yet...

*fixed* *new version uploaded*
No Support via PM
mysportsplace
Registered User
Posts: 134
Joined: Sun Oct 09, 2005 2:44 pm

Re: [BETA] last post title on index.php 0.1.1

Post by mysportsplace »

The mod doesn't work when you use quick reply to reply to a post.
mysportsplace
Registered User
Posts: 134
Joined: Sun Oct 09, 2005 2:44 pm

Re: [BETA] last post title on index.php 0.1.1

Post by mysportsplace »

By the way, i'm using Beta] Simple quick reply 0.1.3 by evil <3
User avatar
nickvergessen
Former Team Member
Posts: 4397
Joined: Mon Apr 30, 2007 5:33 pm
Location: Stuttgart, Germany
Name: Joas Schilling
Contact:

Re: [BETA] last post title on index.php 0.1.1

Post by nickvergessen »

mysportsplace wrote:The mod doesn't work when you use quick reply to reply to a post.
The result is empty or what?
i just pull out the subject of the last post...
and if the quickreply makes a empty subject, you can't see any Oo :o
The MOD-author should keep up to the normal phpBB and take "Re: {topic_subject}" as empty-subject.
This MOD is "last POST title on index.php" not last topic ;)
No Support via PM
mysportsplace
Registered User
Posts: 134
Joined: Sun Oct 09, 2005 2:44 pm

Re: [BETA] last post title on index.php 0.1.1

Post by mysportsplace »

Yes, it just shows it as it did before the mod was installed.
Big4wheeler
Registered User
Posts: 15
Joined: Sat May 05, 2007 7:24 pm

Re: [BETA] last post title on index.php 0.1.1

Post by Big4wheeler »

mysportsplace wrote:Yes, it just shows it as it did before the mod was installed.
Mine does this to, it changed nothing.
User avatar
Ash Hi Fi Zone
Registered User
Posts: 409
Joined: Fri Feb 09, 2007 11:55 am

Re: [BETA] last post title on index.php 0.1.1

Post by Ash Hi Fi Zone »

Actually simply using {forumrow.LAST_POST_SUBJECT} in the template gives the last post's subject and {forumrow.U_LAST_POST} will give the link to the last post ;)
User avatar
nickvergessen
Former Team Member
Posts: 4397
Joined: Mon Apr 30, 2007 5:33 pm
Location: Stuttgart, Germany
Name: Joas Schilling
Contact:

Re: [BETA] last post title on index.php 0.1.1

Post by nickvergessen »

mysportsplace wrote:Yes, it just shows it as it did before the mod was installed.
Big4wheeler wrote:Mine does this to, it changed nothing.
Could you plz show me the both files and a Link to the board?
No Support via PM
User avatar
Highway of Life
Former Team Member
Posts: 6048
Joined: Wed Feb 02, 2005 5:41 pm
Location: Bend, OR
Name: David Lewis
Contact:

Re: [BETA] last post title on index.php 0.1.1

Post by Highway of Life »

Ash Hi Fi Zone wrote:Actually simply using {forumrow.LAST_POST_SUBJECT} in the template gives the last post's subject and {forumrow.U_LAST_POST} will give the link to the last post ;)
and will work on both index and subforum/forum listings in viewforum. ;)
mysportsplace wrote:By the way, i'm using Beta] Simple quick reply 0.1.3 by evil <3
That *might* be a bug in that Quick Reply if it is inserting blank subjects... you might want to let eviL<3 know. (though I’m sure he’ll see this)
User avatar
nickvergessen
Former Team Member
Posts: 4397
Joined: Mon Apr 30, 2007 5:33 pm
Location: Stuttgart, Germany
Name: Joas Schilling
Contact:

Re: [BETA] last post title on index.php 0.1.1

Post by nickvergessen »

Highway of Life wrote:
Ash Hi Fi Zone wrote:Actually simply using {forumrow.LAST_POST_SUBJECT} in the template gives the last post's subject and {forumrow.U_LAST_POST} will give the link to the last post ;)
and will work on both index and subforum/forum listings in viewforum. ;)
yes, but than you get a title like 50chars long.
Mine is also displayed on subforums and on the index
Highway of Life wrote:That *might* be a bug in that Quick Reply if it is inserting blank subjects... you might want to let eviL<3 know. (though I’m sure he’ll see this)
I allready did, and he said he'll fix it an make the "Re: {topic_subject}" as a title like on normal reply
look here: http://www.phpbb.com/community/viewtopi ... 5#p2988205
No Support via PM
User avatar
lazzycat
Registered User
Posts: 20
Joined: Mon May 14, 2007 7:23 am

Re: [BETA] last post title on index.php 0.1.1

Post by lazzycat »

the link of mod die ... :evil:
User avatar
nickvergessen
Former Team Member
Posts: 4397
Joined: Mon Apr 30, 2007 5:33 pm
Location: Stuttgart, Germany
Name: Joas Schilling
Contact:

Re: [BETA] last post title on index.php 0.1.1

Post by nickvergessen »

lazzycat wrote:the link of mod die ... :evil:
sure?
nickvergessen wrote:MOD Download: Download-Link
I can download it
No Support via PM
Locked

Return to “[3.0.x] MODs in Development”