Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: edi67 on August 10, 2010, 05:34:44 PM

Title: short_subject lenght?
Post by: edi67 on August 10, 2010, 05:34:44 PM
I have one problem, i installed by time the mod Top Stats, all is ok but i wanted configure the short_subject for view more than 24 letters, now the tite of topic in list of recents topics show only 24 letter and other part is truncate with ....
So i asked for this in topic relative this mod and author told me to change this parameter (24):
'short_subject' => shorten_subject($row['subject'], 24),
well i done this but nothing change i can wrote 70 or 100 but leng of tiel in recent topics show me always 24 letter, somebody know one way for change this lenght of short subject?

i have smf 2.0 rc1


here my request for help:
http://www.simplemachines.org/community/index.php?topic=297480.msg1978052#msg1978052
Title: Re: short_subject lenght?
Post by: Kays on August 19, 2010, 11:46:40 PM
Hi, sorry for the slow response.

I think what you're looking for is in Subs-Recent.php ~ line 89. Try changing it there.
Title: Re: short_subject lenght?
Post by: RakeW on January 29, 2012, 09:58:44 AM
Sorry for the reopening an old topic but I can't find an answer to this problem anywhere else.

Changing number in Subs-Recent.php, line 89 simply doesn't help. Any other ideas?

Thanks in advance.
Title: Re: short_subject lenght?
Post by: hcfwesker on January 29, 2012, 10:31:26 AM
Quote from: RakeW on January 29, 2012, 09:58:44 AM
Sorry for the reopening an old topic but I can't find an answer to this problem anywhere else.

then your best solution would be to have opened a new topic, and stating your problem from scratch ;)
Title: Re: short_subject lenght?
Post by: RakeW on January 29, 2012, 10:35:59 AM
This is the same problem and it wasn't solved at that time.
Title: Re: short_subject lenght?
Post by: Illori on January 29, 2012, 10:48:41 AM
but this thread belongs to someone else and you should not bump old topics, this way we can track your issue and make sure you get it solved, by posting in someone elses thread we cant make sure you get your issue solved.
Title: Re: short_subject lenght?
Post by: MrPhil on January 29, 2012, 12:18:28 PM
Illori, why doesn't this forum LOCK topics marked "solved" instead of chewing out noobs for posting into them? If the capability doesn't exist already, it should be a fairly simple change to the "solved" mod (automatically lock the topic) and to the locking system (authorize topic owner to unlock, even if they didn't do the lock themselves). Do you realize how much time each day you and other moderators waste telling people not to post into "solved" (but unlocked) topics?
Title: Re: short_subject lenght?
Post by: hcfwesker on January 29, 2012, 12:20:15 PM
I imagine they're not locked, cause  the same member could find n additional problem to the issue they thought 'was' solved.  And may need to come back and post an update.
Title: Re: short_subject lenght?
Post by: MrPhil on January 29, 2012, 05:10:09 PM
As I said, the (revised) lock could be removed not only by moderators but also by the topic owner, for that very purpose. This lock would keep random other members from jumping in with similar problems (forcing them to open their own topics).