(01-24-2012 03:50 PM)akm Wrote: [ -> ]About 100 characters/spaces, from about 120 in title text, are showing in current display.
Started googling for 'post and thread tables', and number of characters in titles, but getting mostly how many characters user may put in post titles.
Not sure where to look for the 'post and thread tables' you were referring to, and would they work for the 'main page' forum title display ?
My mistake, it is 120 characters.
This is imposed on the database table. You need to edit the MySQL table (you probably use something like phpMyAdmin) and increase the length of the 'subject' field.
Forum names are also limited to 120 characters.
(01-25-2012 10:13 AM)ZiNgA BuRgA Wrote: [ -> ] (01-24-2012 03:50 PM)akm Wrote: [ -> ]About 100 characters/spaces, from about 120 in title text, are showing in current display.
Started googling for 'post and thread tables', and number of characters in titles, but getting mostly how many characters user may put in post titles.
Not sure where to look for the 'post and thread tables' you were referring to, and would they work for the 'main page' forum title display ?
This is imposed on the database table. You need to edit the MySQL table (you probably use something like phpMyAdmin) and increase the length of the 'subject' field. Forum names are also limited to 120 characters.
Thank you for the database reference !
Sounds like something fun to do after done with day-job (nothing to do with PCs, except paying some bills
...took a quick look (scrnshot attached) and see 125 character reference, now maybe just need to figure out how to work with it ?
It is very helpful getting these little bits of info about the workings of MyBB, so at least can decide where to go from here with this learning process.
May need the additional characters to help the user audience be able to navigate the site, but on the other hand, may be able to keep it shorter.
At least you have given a choice.
Ps: Also looks like where 'templates' are stored, have been trying to figure that out too.
(01-26-2012 05:00 AM)akm Wrote: [ -> ] (01-25-2012 10:13 AM)ZiNgA BuRgA Wrote: [ -> ]This is imposed on the database table. You need to edit the MySQL table (you probably use something like phpMyAdmin) and increase the length of the 'subject' field. Forum names are also limited to 120 characters.
Thank you for the database reference !
Sounds like something fun to do after done with day-job (nothing to do with PCs, except paying some bills ...took a quick look (scrnshot attached) and see 125 character reference, now maybe just need to figure out how to work with it ?
It is very helpful getting these little bits of info about the workings of MyBB, so at least can decide where to go from here with this learning process.
May need the additional characters to help the user audience be able to navigate the site, but on the other hand, may be able to keep it shorter.
At least you have given a choice.
Ps: Also looks like where 'templates' are stored, have been trying to figure that out too.
Found the 'varchar' setting, changed the number of characters and it worked !
Posted answer at
http://community.mybb.com/thread-112152.html.
Only able to do with your help !
Thanks much !
(01-26-2012 05:00 AM)akm Wrote: [ -> ]Ps: Also looks like where 'templates' are stored, have been trying to figure that out too.
The majority of things in MyBB, as well as most other forum systems, blogs etc will be stored in the database.
Some things like attachments are put into the filesystem. If you've enabled memory caching (you'll know if you've done so) then some things may be stored there too. They're the only places you ever need to look.
(01-27-2012 09:15 AM)ZiNgA BuRgA Wrote: [ -> ] (01-26-2012 05:00 AM)akm Wrote: [ -> ]Ps: Also looks like where 'templates' are stored, have been trying to figure that out too.
The majority of things in MyBB, as well as most other forum systems, blogs etc will be stored in the database.
Some things like attachments are put into the filesystem. If you've enabled memory caching (you'll know if you've done so) then some things may be stored there too. They're the only places you ever need to look.
Long way to go on those processes... opens up a whole new (and big) learning curve
But looks interesting, thats for sure.
In mean time, probably could figure this out in another 5hrs, but would like to rearrange 'Search' and 'Help' per the attached scnrshot.
Think the <li> thing has got me stuck.
Havent found a good url for clear help.
Any good place to look ?
Code...
Quote:<div class="menu">
<ul>
<li><a href="{$mybb->settings['bburl']}/search.php"><img
src="{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img
src="{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />{$lang->toplinks_help}</a></li>
</ul>
</div>
(01-28-2012 07:38 AM)ZiNgA BuRgA Wrote: [ -> ]Google HTML lists.
Thanks for the tip !
Only took 2hrs
Did some googling and came up with below code.
Couldnt get the 'list' thing to work with aligning left/right on same line.
Code:
<div>
<p style="float: left; width: 50%; text-align: left;">
<a href="{$mybb->settings['bburl']}/search.php"><img
src="{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a>
</p>
<p style="float: left; width: 50%; text-align: right;">
<a href="{$mybb->settings['bburl']}/misc.php?action=help"><img
src="{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />{$lang->toplinks_help}</a>
</p>
</div>
|
Trying to delete forum display cells (columns) per the attached scrnshot1.
Have just about run out of T&Es.
Tried editing forumdisplay_threadlist, omitting parts etc...
Code:
<tr>
<td class="tcat" colspan="3" width="66%"><span class="smalltext"><strong><a href="{$sorturl}&sortby=subject&order=asc">{$lang->thread}</a>
{$orderarrow['subject']} / <a href="{$sorturl}&sortby=starter&order=asc">{$lang->author}</a> {$orderarrow['starter']}</strong></span></td>
<!-- eg omit, but doesnt take away the entire column, just shifts parts
<td class="tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&sortby=replies&order=desc">{$lang->replies}</a>
{$orderarrow['replies']}</strong></span></td>
-->
<td class="tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&sortby=views&order=desc">{$lang->views}</a>
{$orderarrow['views']}</strong></span></td>
{$ratingcol}
<td class="tcat" align="right" width="20%"><span class="smalltext"><strong><a href="{$sorturl}&sortby=lastpost&order=desc">{$lang->lastpost}</a>
{$orderarrow['lastpost']}</strong></span></td>
{$inlinemodcol}
</tr>
|
...but doesnt completely deleted the column cells, cells just get moved around under wrong titles etc (scrnshot2 attached).
Clue/s on where to start ?
You need to edit your forumdisplay_thread template too.
And if there is a forum/global announcement applied to the forum, you need to edit some announcement template.
(01-29-2012 05:04 AM)RateU Wrote: [ -> ]You need to edit your forumdisplay_thread template too.
And if there is a forum/global announcement applied to the forum, you need to edit some announcement template.
Thank you for the info, really appreciate the tips !
Was able to fix with...
ACP » Template Sets » Default TemplatesEdit Template: forumdisplay_thread
ACP » Template Sets » Default TemplatesEdit Template: forumdisplay_threadlist
ACP » Template Sets » Default TemplatesEdit Template: forumdisplay_thread_rating
Havent been able to determine what the 'column' 2nd from the left is part of (scrnshot attached).
Any tips on that one ?
Will keep looking and T&E.