Hello! A friend and I are attempting to use the code listed here to lower the character amount in the last post information - only, it isn't working, and we can't figure it out. We're both running the latest version of mybb. Is there any way possible to do a core edit (or anything, really!) to lower the amount of characters in the last post information? The forum I'm trying to do this on is http://ashen-rpg.com. I imagine that's all the information I need to give, but if anyone needs anymore, let me know.
[How To?] Max characters in last post thread title/last post info?
|
I don't think that will work - it's for the entirety of the forum, and we're just needing it to affect the "lastpost" on the forum index. :c Basically I need it to shorten the number of max characters to a certain number, rather than make it a minimum amount.
2014-05-26, 04:34 PM
Hmm can you post an example? I'm kind of lost.
Do you mean like: The quick Lazy brown fox was slow? Into: The Quick Lazy... ?
Hey Everyone I am back! I will slowly be in progression of helping you all with your questions!
2014-05-26, 04:41 PM
2014-05-26, 06:06 PM
2014-05-26, 06:20 PM
(2014-05-26, 06:16 PM)marcus123 Wrote: You want to show less characters in this column???? Yes! I'm wanting to just cut off the number of characters in that particular area, like from "this is a testing thread" to something like "this is a tes..." or something like that. Basically I'm wanting to shorten it up without actually limiting the number of characters you can enter in the title field.
Well I need to know stuff like is that last user post message? If so then use this code:
Add this to your query: p.message AS postmessage Find in your code similar code: while($posts = $db->fetch_array($query)) and then replace $posts in the code above with yours
2014-05-26, 06:31 PM
Marcus code will work just fine then.
It checks the string if its longer then: 120 it will add ...
Hey Everyone I am back! I will slowly be in progression of helping you all with your questions!
|
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)