Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 How to format 'Product Review' text box font ?
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #61
RE: How to format 'Product Review' text box font ?
(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.

My Blog
01-25-2012 10:13 AM
Find all posts by this user Quote this message in a reply
akm Offline
Member
***
Posts: 115
Joined: Nov 2011
Post: #62
RE: How to format 'Product Review' text box font ?
(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 Smile ...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.


Attached File(s) Thumbnail(s)
   

Thanks again for your help !
(This post was last modified: 01-26-2012 05:03 AM by akm.)
01-26-2012 05:00 AM
Find all posts by this user Quote this message in a reply
akm Offline
Member
***
Posts: 115
Joined: Nov 2011
Post: #63
RE: How to format 'Product Review' text box font ?
(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 Smile ...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:11 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #64
RE: How to format 'Product Review' text box font ?
(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.

My Blog
01-27-2012 09:15 AM
Find all posts by this user Quote this message in a reply
akm Offline
Member
***
Posts: 115
Joined: Nov 2011
Post: #65
RE: How to format 'Product Review' text box font ?
(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  Smile
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>


Attached File(s) Thumbnail(s)
   

Thanks again for your help !
01-27-2012 05:51 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #66
RE: How to format 'Product Review' text box font ?
Google HTML lists.

My Blog
01-28-2012 07:38 AM
Find all posts by this user Quote this message in a reply
akm Offline
Member
***
Posts: 115
Joined: Nov 2011
Post: #67
RE: How to format 'Product Review' text box font ?
(01-28-2012 07:38 AM)ZiNgA BuRgA Wrote:  Google HTML lists.

Thanks for the tip !
Only took 2hrs  Smile
Did some googling and came up with below code.
Couldnt get the 'list' thing to work with aligning left/right on same line.

Code:
1
2
3
4
5
6
7
8
9
10
<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>


Thanks again for your help !
01-28-2012 10:02 AM
Find all posts by this user Quote this message in a reply
akm Offline
Member
***
Posts: 115
Joined: Nov 2011
Post: #68
RE: How to format 'Product Review' text box font ?
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:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<tr>
<td class="tcat" colspan="3" width="66%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=subject&amp;order=asc">{$lang->thread}</a> 
{$orderarrow['subject']} / <a href="{$sorturl}&amp;sortby=starter&amp;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}&amp;sortby=replies&amp;order=desc">{$lang->replies}</a> 
{$orderarrow['replies']}</strong></span></td>
-->

<td class="tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=views&amp;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}&amp;sortby=lastpost&amp;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 ?



Attached File(s) Thumbnail(s)
       

Thanks again for your help !
(This post was last modified: 01-28-2012 07:54 PM by akm.)
01-28-2012 07:52 PM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #69
RE: How to format 'Product Review' text box font ?
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
Find all posts by this user Quote this message in a reply
akm Offline
Member
***
Posts: 115
Joined: Nov 2011
Post: #70
RE: How to format 'Product Review' text box font ?
(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.


Attached File(s) Thumbnail(s)
   

Thanks again for your help !
01-29-2012 09:03 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: