Posts: 7
Threads: 2
Joined: Aug 2014
Reputation:
0
2014-08-08, 04:19 PM
Hello,
Could you please tell me if it's possible to increase the title length of "Latest Threads", when displayed in index.php ?
I have already modified portal.php and functions_forumlist.php but they do not affect index.php.
This portal.php code has no effect on index.php "Latest Threads" side box:
if(my_strlen($thread['subject']) > 100)
{
$thread['subject'] = my_substr($thread['subject'], 0, 100) . "...";
}
Thank you.
Posts: 21,668
Threads: 5
Joined: Aug 2011
Reputation:
2,316
2014-08-08, 04:39 PM
which plugin you are using for the latest threads sidebox on the index page ?
Posts: 1,116
Threads: 42
Joined: Jul 2013
Reputation:
151
2014-08-08, 04:41 PM
Give us the link of your forum to check, I think is a theme-related thing, like the width of the latest threads box.
I don't give support on PM.
Posts: 225
Threads: 13
Joined: Dec 2012
Reputation:
21
2014-08-08, 05:01 PM
(This post was last modified: 2014-08-08, 05:01 PM by avril.)
@mexykanu
Touching core files of MyBB in any way is last thing you would want to do ever.
MyBB have very flexible and powerful plugins system that allow you to do anything
and everything without altering core files.
If you will ignore this advice anyway, you will have big problems every time when new update will be released.
Posts: 7
Threads: 2
Joined: Aug 2014
Reputation:
0
2014-08-08, 05:14 PM
Thank you all for the replies. I am using Sidebox 1.2.0 By Nayar; I've fixed the issue.
avril, thank you for your reply, i haven't thought about update incompatibility until now.
Most modifications i have made so far are related to the template, language and css files.
Could you advise me what i should do if no plugins are available at the time i require them ?
Thank you.
Posts: 4,198
Threads: 137
Joined: Dec 2009
Reputation:
265
2014-08-08, 06:08 PM
(2014-08-08, 05:14 PM)mexykanu Wrote: Thank you all for the replies. I am using Sidebox 1.2.0 By Nayar; I've fixed the issue.
avril, thank you for your reply, i haven't thought about update incompatibility until now.
Most modifications i have made so far are related to the template, language and css files.
Could you advise me what i should do if no plugins are available at the time i require them ?
Thank you.
You can make requests in the Plugin Requests forum. I do customs, but I charge for them.
Posts: 225
Threads: 13
Joined: Dec 2012
Reputation:
21
2014-08-08, 06:12 PM
(This post was last modified: 2014-08-08, 06:16 PM by avril.)
(2014-08-08, 05:14 PM)mexykanu Wrote: Could you advise me what i should do if no plugins are available at the time i require them ?
You may always look for a plugin around MyBB site, find something usefull in MyBB mods library , request plugin in designated for this area, or just learn how MyBB plugins are made and make it yourself, but shouldnt modify core files anyway.
Posts: 21,668
Threads: 5
Joined: Aug 2011
Reputation:
2,316
2014-08-08, 06:17 PM
(This post was last modified: 2014-08-08, 06:17 PM by .m..)
however, there is a patches plugin which can be effectively used to modify & maintain source files (if required)
Posts: 7
Threads: 2
Joined: Aug 2014
Reputation:
0
2014-08-08, 07:21 PM
(2014-08-08, 06:17 PM).m. Wrote: however, there is a patches plugin which can be effectively used to modify & maintain source files (if required)
@.m. - this is at least an epic plugin, as i am capable of modifying code but am unable to create my own plugins at the moment. Double best answer in one thread ?
Quote:You may always look for a plugin around MyBB site, find something usefull in MyBB mods library , request plugin in designated for this area, or just learn how MyBB plugins are made and make it yourself, but shouldnt modify core files anyway.
Quote:You can make requests in the Plugin Requests forum. I do customs, but I charge for them.
Thank you for this information. I'll make sure to post in the Plugins section if there is a specific need for them.
|