2018-10-18, 04:04 AM
Pages: 1 2
2018-10-18, 04:20 AM
I presume you mean in latest threads. In portal.php the title is truncated to 25 characters by this code:
So you can either remove that section of code and have a thread title that is not truncated, or you can increase the value of 25 to a higher value.
Lines 420 - 423.
if(my_strlen($thread['subject']) > 25)
{
$thread['subject'] = my_substr($thread['subject'], 0, 25) . "...";
}
So you can either remove that section of code and have a thread title that is not truncated, or you can increase the value of 25 to a higher value.
Lines 420 - 423.
2018-10-18, 11:04 AM
2018-10-18, 01:36 PM
(2018-10-18, 04:20 AM)Ashley1 Wrote: [ -> ]I presume you mean in latest threads. In portal.php the title is truncated to 25 characters by this code:
if(my_strlen($thread['subject']) > 25) { $thread['subject'] = my_substr($thread['subject'], 0, 25) . "..."; }
So you can either remove that section of code and have a thread title that is not truncated, or you can increase the value of 25 to a higher value.
Lines 420 - 423.
length of subject title in the image below
2018-10-18, 01:43 PM
How long do you want it to be ? i check the database now and see that the thread subject field is varchar (120)
you could edit the database field directly with phpMyAdmin.
you could edit the database field directly with phpMyAdmin.
2018-10-18, 02:01 PM
(2018-10-18, 01:43 PM)Ashley1 Wrote: [ -> ]How long do you want it to be ? i check the database now and see that the thread subject field is varchar (120)
you could edit the database field directly with phpMyAdmin.
please how do i get there
(2018-10-18, 02:01 PM)Christineg5 Wrote: [ -> ](2018-10-18, 01:43 PM)Ashley1 Wrote: [ -> ]How long do you want it to be ? i check the database now and see that the thread subject field is varchar (120)
you could edit the database field directly with phpMyAdmin.
please how do i get there
i am phpmyadmin in my control panel cant find varchar
2018-10-18, 02:08 PM
Through your host control panel. You have to go to the database, and there will be an option to access the database via phpMyAdmin.
Once in, you find the mybb_threads table, and edit the subject field. Warning! you need to make a backup before you proceed with this.
Once in, you find the mybb_threads table, and edit the subject field. Warning! you need to make a backup before you proceed with this.
2018-10-18, 02:17 PM
(2018-10-18, 02:08 PM)Ashley1 Wrote: [ -> ]Through your host control panel. You have to go to the database, and there will be an option to access the database via phpMyAdmin.
Once in, you find the mybb_threads table, and edit the subject field. Warning! you need to make a backup before you proceed with this.
nothing came up in mybb_threads
2018-10-18, 02:20 PM
subject is there, i can see it in your screenshot. You have to select it, then edit it.
2018-10-18, 02:36 PM
(2018-10-18, 02:20 PM)Ashley1 Wrote: [ -> ]subject is there, i can see it in your screenshot. You have to select it, then edit it.
please how canĀ i changeĀ the subject title's length
Pages: 1 2