Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 How to format 'Product Review' text box font ?
akm Offline
Member
***
Posts: 115
Joined: Nov 2011
Post: #11
RE: How to format 'Product Review' text box font ?
(12-07-2011 01:59 AM)RateU Wrote:  
(12-06-2011 04:07 PM)akm Wrote:  but wondering how to delete (or edit to include) the MyBB 'Your Message:' text box from list of custom (xthread) text boxes.
Do you mean the default MyBB message textarea or just the text?
Basically, you can create a new newthread template in your Global Templates, copy paste your default newthread template codes to the new newthread template, and name it as prefix_newthread. Change the prefix with your product review template prefix (by default, pf).
With that way, you can have a custom newthread template (and style it) just for your product review forum (other forums will use the default newthread template).

Back into it, after finishing some things up for my day-job.

Was trying to create cc_newthread template for prefix = cc_ , to eliminate the whole new thread 'Your Message:' textarea row including smiles.

Mostly trial-n-error methods.

Attached is list of templates from ACP showing location of.

Assume 'Ungrouped Threads' is ok, seems to work ok (per New Thread display attached).

Seems, need to delete code in { } parans (shown in cc_newthread file below) if want to remove whole rows of text/check boxes etc.

Tried 'comment' tags, but that didnt cause to go away, only delete did it.

Was unable to find a source to describe with the { } paran code represented... could you direct to a good source ?

Any suggestions on work (described above, shown below) would be much appreciated.

Thanks again for your help !

Quote:<html>
<head>
<title>{$lang->newthread_in}</title>
{$headerinclude}
<script type="text/javascript" src="jscripts/post.js?ver=1400"></script>
</head>
<body>
{$header}
{$preview}
{$thread_errors}
{$attacherror}
<form action="newthread.php?fid={$fid}&amp;processed=1" method="post" enctype="multipart/form-data" name="input">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->post_new_thread}</strong></td>
</tr>
{$loginbox}
{$extra_threadfields}
{$codebuttons}
{$multiquote_external}
{$modoptions}
{$pollbox}
{$captcha}
</table>
{$attachbox}
<br />
<div style="text-align:center"><input type="submit" class="button" name="submit" value="{$lang->post_thread}" tabindex="4" accesskey="s" />  <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="5" />{$savedraftbutton}</div>
<input type="hidden" name="action" value="do_newthread" />
<input type="hidden" name="posthash" value="{$posthash}" />
<input type="hidden" name="attachmentaid" value="" />
<input type="hidden" name="attachmentact" value="" />
<input type="hidden" name="quoted_ids" value="{$quoted_ids}" />
<input type="hidden" name="tid" value="{$tid}" />
{$editdraftpid}
</form>
-->{$forumrules}
{$footer}
</body>
</html>


Attached File(s) Thumbnail(s)
       
(This post was last modified: 12-24-2011 09:45 AM by akm.)
12-24-2011 09:42 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread

 Standard Tools
Forum Jump: