Thread Rating:
  • 2 Votes - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Product Review
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #1
Product Review
Requirement: XThreads
Latest Edit: 12 December 2012
We will create a product review forum with XThreads.

Here is a simple example to do that:

1. Textbox for Product Name:
Create a Custom Thread Fields with this settings:
  • Title: Product Name
  • Key: pfname
  • Applicable Forums: 'select a forum that we will apply the product review forum'
  • Input Field Type: Textbox
  • Editable by / Required Field?: Everyone (required)
    Variable in template for displaying this field is: {$GLOBALS['threadfields']['pfname']}.

2. Textbox for Developer:
Create a Custom Thread Fields with this settings:
  • Title: Developer
  • Key: pfdev
  • Applicable Forums: 'select the product review forum'
  • Input Field Type: Textbox
  • Editable by / Required Field?: Everyone (required)
  • Display Order: 2
    Variable in template for displaying this field is: {$GLOBALS['threadfields']['pfdev']}.

3. Textbox for Developer Website:
Create a Custom Thread Fields with this settings:
  • Title: Developer Website
  • Key: pfdevurl
  • Applicable Forums: 'select the product review forum'
  • Input Field Type: Textbox
  • Editable by / Required Field?: Everyone (required)
  • Display Order: 3
  • Text Mask Filter: URL (HTTP/S)
    Variable in template for displaying this field is: {$GLOBALS['threadfields']['pfdevurl']}.

4. Textbox for Product Version:
Create a Custom Thread Fields with this settings:
  • Title: Version
  • Key: pfversion
  • Applicable Forums: 'select the product review forum'
  • Input Field Type: Textbox
  • Editable by / Required Field?: Everyone
  • Display Order: 4
  • Blank Replacement Value: -
    Variable in template for displaying this field is: {$GLOBALS['threadfields']['pfversion']}.

5. Textbox for Release (Year):
Create a Custom Thread Fields with this settings:
  • Title: Release (Year)
  • Key: pfrelease
  • Applicable Forums: 'select the product review forum'
  • Input Field Type: Textbox
  • Editable by / Required Field?: Everyone (required)
  • Maximum Text Length: 4
  • Field Input Width: 5
  • Display Order: 5
  • Text Mask Filter:

    Code:
    ^(19|20)\d\d$

    Variable in template for displaying this field is: {$GLOBALS['threadfields']['pfrelease']}.


6. Multiline Textbox for Product Description:
Create a Custom Thread Fields with this settings:
  • Title: Product Description
  • Key: pfdesc
  • Description: Give a short description (Max 250 characters) about this product - Required
  • Applicable Forums: 'select the product review forum'
  • Input Field Type: Multiline Textbox
  • Maximum Text Length: 250
    Modify it as our needs.
  • Editable by / Required Field?: Everyone (required)
  • Display Order: 6
    Variable in template for displaying this field is: {$GLOBALS['threadfields']['pfdesc']}.

7. File Input for Product Picture:
Create a Custom Thread Fields with this settings:
  • Title: Product Picture
  • Key: pfpic
  • Description: Upload a picture related to this product - Required
  • Applicable Forums: 'select the product review forum'
  • Input Field Type: File
  • Valid File Extensions: gif|png|jpg|jpeg
    Modify it as our needs. It is the extensions of image that can be uploaded.
  • Maximum File Size: 1048576
    Modify it as our needs. It is a maximum file size (in bytes) that can be uploaded. In this example, 1 Mb.
  • Editable by / Required Field?: Everyone (required)
  • Display Order: 7
  • Only accept uploaded images: Yes
  • Image Thumbnail Generation:

    Code:
    88x66|160x120|320x240=scale_max(320,240)->copy(newXTImg()->loadimage('images/mylogo.png')->scale(120,90),-2,-2)

    Modify it as our needs. It is thumbnail sizes that we can use for this image.
    Only the 320x240 thumbnails will be watermarked. Modify the images/mylogo.png to the image to be copied as watermark, and the 120,90 in the scale 'function' as needed (it is the max size of the watermark).


8. Listbox for Categories:
Create a Custom Thread Fields with this settings:
  • Title: Category
  • Key: pfcat
  • Applicable Forums: 'select the product review forum'
  • Input Field Type: Listbox
  • Field Input Height: 1
  • Values List:

    Code:
    Software
    Hardware
    Other

    Modify it as our needs.

  • Editable by / Required Field?: Everyone (Required)
  • Display Order: 8
  • Allow Filtering: Yes
  • Formatting Map List:
    EDIT: We will use {$forumurl?} variable for this. It will detect the forum id automatically.

    HTML Code
    Software{|}<a href="{$forumurl?}filtertf_pfcat=Software"><span style="color: green;">Software</span></a>
    Hardware{|}<a href="{$forumurl?}filtertf_pfcat=Hardware"><span style="color: blue;">Hardware</span></a>
    Other{|}<a href="{$forumurl?}filtertf_pfcat=Other"><span style="color: red;">Other</span></a>

    Variable in template for displaying this field is: {$GLOBALS['threadfields']['pfcat']}.


Optional step: We can create another File input for Additional Product Images. Just use another key for that. Example:

Opt 1. File input for Additional Product Images.
Create a Custom Thread Fields with this settings:
  • Title: Additional Picture 1
  • Key: pfapic1
  • Description: Upload an additional picture - Not required
  • Applicable Forums: 'select the product review forum'
  • Input Field Type: File
  • Valid File Extensions: gif|png|jpg|jpeg
    Modify it as our needs. It is the extensions of image that can be uploaded.
  • Maximum File Size: 1048576
    Modify it as our needs. It is a maximum file size (in bytes) that can be uploaded. In this example, 1 Mb.
  • Editable by / Required Field?: Everyone
  • Display Order: 9
  • Only accept uploaded images: Yes
  • Image Thumbnail Generation: 160x120
    Modify it as our needs. It is thumbnail sizes that we can use for this image.
  • Blank Replacement Value: &nbsp;
  • Display Format:

    HTML Code
    <a href="{URL}" target="_blank"><img src="{URL}/thumb160x120" alt="{$thread['subject']} Screenshot" title="{$GLOBALS['threadfields']['pfapdesc1']}" style="border: 1px solid #C1C1C1; padding: 3px; margin: 3px;" /></a>


Opt 2. Multiline Textbox for Additional Picture Description:
Create a Custom Thread Fields with this settings:
  • Title: Additional Picture Description 1
  • Key: pfapdesc1
  • Description: Description for the additional picture - Not Required
  • Applicable Forums: 'select the product review forum'
  • Input Field Type: Multiline Textbox
  • Maximum Text Length: 250
    Modify it as our needs.
  • Editable by / Required Field?: Everyone
  • Display Order: 10

Repeat two steps above depend on max images that user can upload. And use different key.

9. Now, XThreads Options in Forum settings (the Product Review Forum):
  • Template Prefix: pf_
  • Show first post on every showthread page: Yes
  • Enable XThreads' Inline Forum Search: Yes
  • Override Threads Per Page: 5
    Modify it as our needs.
  • Settings Overrides:
    • Setting: Showthread Options -> Post Layout
      Value: horizontal

      Code:
      postlayout=horizontal


10. Create new templates in Global Template:
  • Template Name: pf_forumdisplay_threadlist
  • Template Content:

    HTML Code
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    <div class="float_left">
    	{$multipage}
    </div>
    <div class="float_right">
    	{$newthread}
    </div>
    <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
    	<tr>
    		<td class="thead" colspan="{$colspan}">
    			<div align="center">
    				<strong>{$foruminfo['name']}</strong>
    			</div>
    		</td>
    	</tr>
    	<tr>
    		<td class="tcat smalltext" width="100%" colspan="2">
    			<span class="float_left">
    				<strong>Sort By: <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']} | <a href="{$sorturl}&amp;sortby=replies&amp;order=desc">{$lang->replies}</a> {$orderarrow['replies']} | <a href="{$sorturl}&amp;sortby=views&amp;order=desc">{$lang->views}</a> {$orderarrow['views']} {$ratingcol} | <a href="{$sorturl}&amp;sortby=lastpost&amp;order=desc">{$lang->lastpost}</a> {$orderarrow['lastpost']}</strong>
    			</span>
    			<span class="float_right">
    				<strong><a href="misc.php?action=markread&amp;fid={$fid}">{$lang->markforum_read}</a> | <a href="usercp2.php?action={$add_remove_subscription}subscription&amp;type=forum&amp;fid={$fid}&amp;my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a>{$clearstoredpass}</strong>
    			</span>
    		</td>
    		{$inlinemodcol}
    	</tr>
    </table>
    <br class="clear" />
    {$threads}{$nullthreads}
    <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
    	<tr>
    		<td class="tcat" colspan="{$colspan}">
    			<span class="float_left">
    				<form action="forumdisplay.php" method="get">
    					<input type="hidden" name="fid" value="{$fid}" />
    					<select name="sortby">
    						<option value="subject" {$sortsel['subject']}>{$lang->sort_by_subject}</option>
    						<option value="lastpost" {$sortsel['lastpost']}>{$lang->sort_by_lastpost}</option>
    						<option value="starter" {$sortsel['starter']}>{$lang->sort_by_starter}</option>
    						<option value="started" {$sortsel['started']}>{$lang->sort_by_started}</option>
    						{$ratingsort}
    						<option value="replies" {$sortsel['replies']}>{$lang->sort_by_replies}</option>
    						<option value="views" {$sortsel['views']}>{$lang->sort_by_views}</option>
    					</select>
    					<select name="order">
    						<option value="asc" {$ordersel['asc']}>{$lang->sort_order_asc}</option>
    						<option value="desc" {$ordersel['desc']}>{$lang->sort_order_desc}</option>
    					</select>
    					<select name="datecut">
    						<option value="1" {$datecutsel['1']}>{$lang->datelimit_1day}</option>
    						<option value="5" {$datecutsel['5']}>{$lang->datelimit_5days}</option>
    						<option value="10" {$datecutsel['10']}>{$lang->datelimit_10days}</option>
    						<option value="20" {$datecutsel['20']}>{$lang->datelimit_20days}</option>
    						<option value="50" {$datecutsel['50']}>{$lang->datelimit_50days}</option>
    						<option value="75" {$datecutsel['75']}>{$lang->datelimit_75days}</option>
    						<option value="100" {$datecutsel['100']}>{$lang->datelimit_100days}</option>
    						<option value="365" {$datecutsel['365']}>{$lang->datelimit_lastyear}</option>
    						<option value="9999" {$datecutsel['9999']}>{$lang->datelimit_beginning}</option>
    					</select>
    					{$gobutton}
    				</form>
    			</span>
    			<span class="float_right">
    				{$forumjump}
    			</span>
    		</td>
    	</tr>
    	<tr>
    		<td class="tfoot" align="center" colspan="{$colspan}">
    			<strong><a href="http://mybbhacks.zingaburga.com">XThreads</a> - <a href="http://mybbhacks.zingaburga.com">MyBB Hacks</a></strong>
    		</td>
    	</tr>
    </table>
    <div class="float_left">
    	{$multipage}
    </div>
    <div class="float_right" style="margin-top: 4px;">
    	{$newthread}
    </div>
    <br style="clear: both;" />
    <br />
    <div class="float_left">
    	<div class="float_left">
    		<dl class="thread_legend smalltext">
    			<dd><img src="{$theme['imgdir']}/newfolder.gif" alt="{$lang->new_thread}" title="{$lang->new_thread}" /> {$lang->new_thread}</dd>
    			<dd><img src="{$theme['imgdir']}/newhotfolder.gif" alt="{$lang->new_hot_thread}" title="{$lang->new_hot_thread}" /> {$lang->new_hot_thread}</dd>
    			<dd><img src="{$theme['imgdir']}/hotfolder.gif" alt="{$lang->hot_thread}" title="{$lang->hot_thread}" /> {$lang->hot_thread}</dd>
    		</dl>
    	</div>
    
    	<div class="float_left">
    		<dl class="thread_legend smalltext">
    			<dd><img src="{$theme['imgdir']}/folder.gif" alt="{$lang->no_new_thread}" title="{$lang->no_new_thread}" /> {$lang->no_new_thread}</dd>
    			<dd><img src="{$theme['imgdir']}/dot_folder.gif" alt="{$lang->posts_by_you}" title="{$lang->posts_by_you}" /> {$lang->posts_by_you}</dd>
    			<dd><img src="{$theme['imgdir']}/lockfolder.gif" alt="{$lang->locked_thread}" title="{$lang->locked_thread}" /> {$lang->locked_thread}</dd>
    		</dl>
    	</div>
    	<br style="clear: both" />
    </div>
    
    <div class="float_right" style="text-align: right;">
    	{$searchforum}
    	{$inlinemod}
    </div>
    <br style="clear: both" />
    {$inline_edit_js}

  • Template Name: pf_forumdisplay_threadlist_rating
  • Template Content:

    HTML Code
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    <a href="{$sorturl}&amp;sortby=rating&amp;order=desc">| {$lang->rating}</a> {$orderarrow['rating']}
    <script type="text/javascript" src="jscripts/rating.js?ver=1400"></script>
    <script type="text/javascript">
    <!--
    	lang.stars = new Array();
    	lang.stars[1] = "{$lang->one_star}";
    	lang.stars[2] = "{$lang->two_stars}";
    	lang.stars[3] = "{$lang->three_stars}";
    	lang.stars[4] = "{$lang->four_stars}";
    	lang.stars[5] = "{$lang->five_stars}";
    // -->
    </script>

  • Template Name: pf_forumdisplay_thread
  • Template Content:

    HTML Code
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" width="100%">
    	<tr>
    		<td>
    			<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
    				<tr>
    					<td class="thead" align="center" colspan="{$colspan}">
    						<div><strong><a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a></strong></div>
    					</td>
    				</tr>
    				<tr>
    					<td class="{$bgcolor}" width="1">
    						<div align="center">
    							<img src="{$GLOBALS['threadfields']['pfpic']['thumbs']['320x240']['url']}" alt="{$thread['subject']} Screenshot" title="{$thread['subject']} Screenshot" width="{$GLOBALS['threadfields']['pfpic']['thumbs']['320x240']['w']}" height="{$GLOBALS['threadfields']['pfpic']['thumbs']['320x240']['h']}" />
    						</div>
    					</td>
    					<td class="{$bgcolor}" width="100%">
    						<table border="0" width="100%">
    							<tr>
    								<td valign="top" width="120">Product Name</td>
    								<td width="1" valign="top">:</td>
    								<td valign="top">{$GLOBALS['threadfields']['pfname']}</td>
    							</tr>
    							<tr>
    								<td valign="top">Developer</td>
    								<td width="1" valign="top">:</td>
    								<td valign="top"><a href="{$GLOBALS['threadfields']['pfdevurl']}">{$GLOBALS['threadfields']['pfdev']}</a></td>
    							</tr>
    							<tr>
    								<td valign="top">Version</td>
    								<td width="1" valign="top">:</td>
    								<td valign="top">{$GLOBALS['threadfields']['pfversion']}</td>
    							</tr>
    							<tr>
    								<td valign="top">Release (Year)</td>
    								<td width="1" valign="top">:</td>
    								<td valign="top">{$GLOBALS['threadfields']['pfrelease']}</td>
    							</tr>
    							<tr>
    								<td valign="top">Category</td>
    								<td width="1" valign="top">:</td>
    								<td valign="top">{$GLOBALS['threadfields']['pfcat']}</td>
    							</tr>
    							{$rating}
    							<tr>
    								<td valign="top">{$lang->author}</td>
    								<td width="1" valign="top">:</td>
    								<td valign="top">{$thread['profilelink']}</td>
    							</tr>
    							<tr>
    								<td valign="top">{$lang->views}</td>
    								<td width="1" valign="top">:</td>
    								<td valign="top">{$thread['views']}</td>
    							</tr>
    							<tr>
    								<td valign="top">{$lang->replies}</td>
    								<td width="1" valign="top">:</td>
    								<td valign="top"><a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts}</td>
    							</tr>
    						</table>
    					</td>
    					{$modbit}
    				</tr>
    			</table>
    		</td>
    		<td>&nbsp;</td>
    		<td valign="top" width="30%">
    			<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
    				<tr>
    					<td class="thead" align="center" colspan="{$colspan}">
    						<div><strong>Description</strong></div>
    					</td>
    				</tr>
    				<tr>
    					<td valign="top" class="{$bgcolor}" width="300">
    						<div style="text-align: justify; padding: 3px;">
    							<span class="float_left" style="margin: 5px 5px 0px 0px;">
    								<img src="{$GLOBALS['threadfields']['pfpic']['thumbs']['88x66']['url']}" alt="{$thread['subject']} Screenshot" title="{$thread['subject']} Screenshot" width="{$GLOBALS['threadfields']['pfpic']['thumbs']['88x66']['w']}" height="{$GLOBALS['threadfields']['pfpic']['thumbs']['88x66']['h']}" />
    							</span>
    							{$GLOBALS['threadfields']['pfdesc']}
    						</div>
    						<br class="clear" />
    						<span class="float_right smalltext">
    							<em><a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>:
    							{$lastposterlink}, {$lastpostdate} {$lastposttime}</em>
    						</span>
    						<br class="clear" />
    						<span class="float_right smalltext">
    							<img src="{$theme['imgdir']}/{$folder}.gif" alt="{$folder_label}" title="{$folder_label}" />
    							{$icon}{$prefix}{$gotounread}
    						</span>
    					</td>
    				</tr>
    			</table>
    		</td>
    	</tr>
    </table>
    <br />

  • Template Name: pf_forumdisplay_thread_rating
  • Template Content:

    HTML Code
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    <tr>
    	<td>Average Rating</td>
    	<td>:</td>
    	<td>
    		<div class="float_left" id="rating_table_{$thread['tid']}">
    			<ul class="star_rating{$not_rated}" id="rating_thread_{$thread['tid']}">
    				<li style="width: {$thread['width']}%" class="current_rating" id="current_rating_{$thread['tid']}">{$ratingvotesav}</li>
    			</ul>
    			<script type="text/javascript">
    			<!--
    				Rating.build_forumdisplay({$thread['tid']}, { width: '{$thread['width']}', extra_class: '{$not_rated}', current_average: '{$ratingvotesav}' });
    			// -->
    			</script>
    		</div>
    	</td>
    </tr>
    <tr>
    	<td>Total Votes</td>
    	<td>:</td>
    	<td>
    		{$thread['numratings']}
    	</td>
    </tr>

  • Template Name: pf_showthread
  • Template Content:

    HTML Code
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    <html>
    <head>
    <title>{$thread['subject']}</title>
    {$headerinclude}
    <script type="text/javascript">
    <!--
    	var quickdelete_confirm = "{$lang->quickdelete_confirm}";
    // -->
    </script>
    <script type="text/javascript" src="jscripts/thread.js?ver=1400"></script>
    </head>
    <body>
    {$header}
    {$pollbox}
    <div class="float_right">
    	{$newreply}
    </div>
    <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" width="100%" style="clear: both; border-bottom-width: 0;">
    	<tr>
    		<td width="60%" valign="top">
    			<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both; border-bottom-width: 0;">
    				<tr>
    					<td class="thead" colspan="2">
    						<div style="float: right;">
    							<span class="smalltext"><strong><a href="showthread.php?mode=threaded&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->threaded}</a> | <a href="showthread.php?mode=linear&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->linear}</a></strong></span>
    						</div>
    						<div>
    							<strong>{$GLOBALS['threadfields']['pfname']} Review</strong>
    						</div>
    					</td>
    				</tr>
    				{$classic_header}
    			</table>
    			<div>
    				{$first_post}
    			</div>
    			<div align="center">
    				<strong>&laquo; <a href="{$next_oldest_link}">{$lang->next_oldest}</a> | <a href="{$next_newest_link}">{$lang->next_newest}</a> &raquo;</strong>
    			</div>
    			<div><strong>Comments</strong></div>
    			<div id="posts">
    				{$posts}
    			</div>
    			<div>
    				{$multipage}
    			</div>
    		</td>
    		<td valign="top">
    			{$ratethread}
    			<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
    				<tr>
    					<td class="thead">
    						<div><strong>{$GLOBALS['threadfields']['pfname']} Pictures</strong></div>
    					</td>
    				</tr>
    				<tr>
    					<td class="trow1" align="center">
    						{$GLOBALS['threadfields']['pfapic1']['value']}
    						{$GLOBALS['threadfields']['pfapic2']['value']}
    						{$GLOBALS['threadfields']['pfapic3']['value']}
    						{$GLOBALS['threadfields']['pfapic4']['value']}
    						{$GLOBALS['threadfields']['pfapic5']['value']}
    						{$GLOBALS['threadfields']['pfapic6']['value']}
    					</td>
    				</tr>
    			</table>
    			{$search_thread}
    		</td>
    	</tr>
    </table>
    <br style="clear: both;" />
    {$threadexbox}
    {$similarthreads}
    {$quickreply}
    <br />
    <div class="float_left">
    	<ul class="thread_tools">
    		<li class="printable"><a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></li>
    		<li class="sendthread"><a href="sendthread.php?tid={$tid}">{$lang->send_thread}</a></li>
    		<li class="subscription_{$add_remove_subscription}"><a href="usercp2.php?action={$add_remove_subscription}subscription&amp;tid={$tid}&amp;my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a></li>
    	</ul>
    </div>
    <div class="float_right" style="text-align: right;">
    	{$moderationoptions}
    	{$forumjump}
    </div>
    <br style="clear: both;" />
    {$footer}
    </body>
    </html>

  • Template Name: pf_showthread_ratethread
  • Template Content:

    HTML Code
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
    	<tr>
    		<td class="thead">
    			<div><strong>{$GLOBALS['threadfields']['pfname']} Rating</strong></div>
    		</td>
    	</tr>
    	<tr>
    		<td class="trow1" align="center">
    			<table width="100%" border="0">
    				<tr>
    					<td width="150">Average Rating</td>
    					<td width="1">:</td>
    					<td>
    						<script type="text/javascript" src="jscripts/rating.js?ver=1400"></script>
    						<div class="inline_rating">
    							<ul class="star_rating{$not_rated}" id="rating_thread_{$thread['tid']}">
    								<li style="width: {$thread['width']}%" class="current_rating" id="current_rating_{$thread['tid']}">{$ratingvotesav}</li>
    								<li><a class="one_star" title="{$lang->one_star}" href="./ratethread.php?tid={$thread['tid']}&amp;rating=1&amp;my_post_key={$mybb->post_code}">1</a></li>
    								<li><a class="two_stars" title="{$lang->two_stars}" href="./ratethread.php?tid={$thread['tid']}&amp;rating=2&amp;my_post_key={$mybb->post_code}">2</a></li>
    								<li><a class="three_stars" title="{$lang->three_stars}" href="./ratethread.php?tid={$thread['tid']}&amp;rating=3&amp;my_post_key={$mybb->post_code}">3</a></li>
    								<li><a class="four_stars" title="{$lang->four_stars}" href="./ratethread.php?tid={$thread['tid']}&amp;rating=4&amp;my_post_key={$mybb->post_code}">4</a></li>
    								<li><a class="five_stars" title="{$lang->five_stars}" href="./ratethread.php?tid={$thread['tid']}&amp;rating=5&amp;my_post_key={$mybb->post_code}">5</a></li>
    							</ul>
    						</div>
    					</td>
    				</tr>
    				<tr>
    					<td>Total Votes</td>
    					<td width="1">:</td>
    					<td>{$thread['numratings']}</td>
    				</tr>
    			</table>
    		</td>
    	</tr>
    </table>
    <br class="clear" />

  • Template Name: pf_showthread_search
  • Template Content:

    HTML Code
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    <br class="clear" />
    <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
    	<tr>
    		<td class="thead">
    			<div><strong>Search</strong></div>
    		</td>
    	</tr>
    	<tr>
    		<td class="trow1" align="center">
    			<form action="search.php" method="post">
    				<input type="hidden" name="action" value="thread" />
    				<input type="hidden" name="tid" value="{$thread['tid']}" />
    				<input type="text" name="keywords" value="{$lang->enter_keywords}" onfocus="if(this.value == '{$lang->enter_keywords}') { this.value = ''; }" onblur="if(this.value=='') { this.value='{$lang->enter_keywords}'; }" class="textbox" size="25" />
    				<input type="submit" class="button" value="{$lang->search_thread}" />
    			</form>
    		</td>
    	</tr>
    </table>

  • Template Name: pf_postbit_first
  • Template Content:

    HTML Code
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    {$ignore_bit}
    <a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
    <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
    	<tbody>
    		<tr>
    			<td class="tcat">
    				<div class="float_left smalltext">
    					{$post['postdate']}, {$post['posttime']} <span id="edited_by_{$post['pid']}">{$post['editedmsg']}</span>
    				</div>
    				{$post['posturl']}
    			</td>
    		</tr>
    
    		<tr>
    			<td class="trow1 {$unapproved_shade}">
    				<table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
    					<tr>
    						<td class="post_avatar" width="1" style="{$post['avatar_padding']}">
    							<img src="{$GLOBALS['threadfields']['pfpic']['thumbs']['160x120']['url']}" alt="" title="{$GLOBALS['threadfields']['pfname']}" />
    						</td>
    						<td class="post_author">
    							<table border="0" width="100%" class="smalltext">
    								<tr>
    									<td valign="top">Product Name</td>
    									<td width="1" valign="top">:</td>
    									<td valign="top">{$GLOBALS['threadfields']['pfname']}</td>
    								</tr>
    								<tr>
    									<td valign="top">Developer</td>
    									<td width="1" valign="top">:</td>
    									<td valign="top"><a href="{$GLOBALS['threadfields']['pfdevurl']}">{$GLOBALS['threadfields']['pfdev']}</a></td>
    								</tr>
    								<tr>
    									<td valign="top">Version</td>
    									<td width="1" valign="top">:</td>
    									<td valign="top">{$GLOBALS['threadfields']['pfversion']}</td>
    								</tr>
    								<tr>
    									<td valign="top">Release (Year)</td>
    									<td width="1" valign="top">:</td>
    									<td valign="top">{$GLOBALS['threadfields']['pfrelease']}</td>
    								</tr>
    								<tr>
    									<td valign="top">Category</td>
    									<td width="1" valign="top">:</td>
    									<td valign="top">{$GLOBALS['threadfields']['pfcat']}</td>
    								</tr>
    								<tr>
    									<td valign="top">Posted By</td>
    									<td width="1" valign="top">:</td>
    									<td valign="top">{$post['profilelink']}</td>
    								</tr>
    							</table>
    						</td>
    					</tr>
    				</table>
    			</td>
    		</tr>
    
    		<tr>
    			<td class="trow2 post_content {$unapproved_shade}">
    				<div class="largetext" align="center"><strong>{$post['subject']}</strong></div>
    
    				<div class="post_body" id="pid_{$post['pid']}">
    					{$post['message']}
    				</div>
    				{$post['attachments']}
    				{$post['signature']}
    
    				<div class="post_meta" id="post_meta_{$post['pid']}">
    				{$post['iplogged']}
    				</div>
    			</td>
    		</tr>
    
    		<tr>
    			<td class="trow1 post_buttons {$unapproved_shade}">
    				<div class="author_buttons float_left">
    					{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}
    				</div>
    				<div class="post_management_buttons float_right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
    				</div>
    			</td>
    		</tr>
    	</tbody>
    </table>

  • Template Name: pf_postbit
  • Template Content:

    HTML Code
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    {$ignore_bit}
    <a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
    <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
    	<tbody>
    		<tr>
    			<td class="tcat">
    				<div class="float_left smalltext">
    					{$post['onlinestatus']} <strong><span class="smalltext">{$post['profilelink']}</span></strong> -
    					{$post['postdate']}, {$post['posttime']} <span id="edited_by_{$post['pid']}"></span>
    				</div>
    				{$post['posturl']}
    			</td>
    		</tr>
    
    		<tr>
    			<td class="trow2 post_content {$unapproved_shade}">
    				<div class="post_body" id="pid_{$post['pid']}">
    					{$post['message']}
    				</div>
    				<div class="post_meta" id="post_meta_{$post['pid']}">
    				{$post['iplogged']}
    				</div>
    				<div class="post_management_buttons float_right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
    				</div>
    			</td>
    		</tr>
    	</tbody>
    </table>

  • Template Name: pf_forumdisplay_threads_sep
  • Template Content:

    HTML Code
    1
    2
    3
    4
    5
    6
    7
    8
    <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
    	<tr>
    		<td class="thead" align="center">
    			<div><strong>Normal Products</strong></div>
    		</td>
    	</tr>
    </table>
    <br />

  • Template Name: pf_forumdisplay_sticky_sep
  • Template Content:

    HTML Code
    1
    2
    3
    4
    5
    6
    7
    8
    <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
    	<tr>
    		<td class="thead" align="center">
    			<div><strong>Important Products</strong></div>
    		</td>
    	</tr>
    </table>
    <br />


Logs:
09 November 2010 - 23 October 2011 - 7 October 2012

Screenshots:

1. User create a product review thread:

[Image: bleog.jpg]

2. User view the post:

[Image: 6oog1z.jpg]

3. Thread List:

[Image: 2ryn9xf.jpg]

I'm sorry for my English Smile
Live Demo: http://www.14.mynie.co.cc/forumdisplay.php?fid=4

(This post was last modified: 12-12-2012 06:22 AM by RateU.)
05-15-2010 02:16 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Product Review - RateU - 05-15-2010 02:16 AM
RE: Product Review - Pirata Nervo - 05-15-2010, 04:34 AM
RE: Product Review - leefish - 05-15-2010, 07:52 AM
RE: Product Review - ZiNgA BuRgA - 05-15-2010, 10:01 AM
RE: Product Review - RateU - 05-16-2010, 02:55 AM
RE: Product Review - leefish - 05-27-2010, 09:56 AM
RE: Product Review - RateU - 05-27-2010, 10:33 AM
RE: Product Review - leefish - 06-01-2010, 10:08 AM
RE: Product Review - RateU - 06-01-2010, 10:37 AM
RE: Product Review - leefish - 06-02-2010, 05:02 AM
RE: Product Review - ZiNgA BuRgA - 06-02-2010, 10:32 AM
RE: Product Review - RateU - 06-02-2010, 02:54 PM
RE: Product Review - leefish - 06-02-2010, 08:59 PM
RE: Product Review - ZiNgA BuRgA - 06-02-2010, 09:06 PM
RE: Product Review - RateU - 06-03-2010, 06:42 AM
RE: Product Review - RateU - 11-09-2010, 05:04 AM
RE: Product Review - bxx - 06-21-2011, 05:45 AM
RE: Product Review - RateU - 12-02-2010, 08:22 AM
RE: Product Review - Glas - 03-23-2012, 10:47 AM
RE: Product Review - ZiNgA BuRgA - 12-08-2010, 04:06 PM
RE: Product Review - sanjananb - 02-16-2011, 03:42 AM
RE: Product Review - ZiNgA BuRgA - 06-21-2011, 07:29 AM
RE: Product Review - bxx - 06-21-2011, 04:59 PM
RE: Product Review - RateU - 10-23-2011, 05:13 AM
RE: Product Review - Shemo - 11-18-2011, 04:25 PM
RE: Product Review - ZiNgA BuRgA - 11-18-2011, 07:50 PM
RE: Product Review - Shemo - 11-19-2011, 03:04 AM
RE: Product Review - RocketFoot - 11-19-2011, 08:53 AM
RE: Product Review - RateU - 11-20-2011, 03:37 AM
RE: Product Review - Shemo - 11-20-2011, 10:26 AM
RE: Product Review - RateU - 11-21-2011, 04:02 AM
RE: Product Review - Shemo - 11-21-2011, 04:36 PM
RE: Product Review - RateU - 11-22-2011, 06:33 AM
RE: Product Review - Shemo - 12-19-2011, 05:01 PM
RE: Product Review - RocketFoot - 11-24-2011, 03:04 AM
RE: Product Review - RateU - 11-24-2011, 04:33 AM
RE: Product Review - RocketFoot - 11-24-2011, 04:39 AM
RE: Product Review - RateU - 11-24-2011, 05:01 AM
RE: Product Review - RocketFoot - 11-24-2011, 05:02 AM
RE: Product Review - RateU - 11-24-2011, 05:04 AM
RE: Product Review - RocketFoot - 11-24-2011, 05:08 AM
RE: Product Review - RateU - 11-24-2011, 05:17 AM
RE: Product Review - RocketFoot - 11-24-2011, 05:25 AM
RE: Product Review - RocketFoot - 11-24-2011, 06:02 AM
RE: Product Review - RocketFoot - 11-24-2011, 07:04 AM
RE: Product Review - RateU - 11-24-2011, 07:23 AM
RE: Product Review - RocketFoot - 11-24-2011, 08:36 AM
RE: Product Review - Shemo - 12-05-2011, 06:53 AM
RE: Product Review - RateU - 12-20-2011, 04:59 AM
RE: Product Review - Shemo - 12-21-2011, 04:14 PM
RE: Product Review - Glas - 03-23-2012, 11:50 AM
RE: Product Review - ZiNgA BuRgA - 03-23-2012, 12:07 PM
RE: Product Review - Glas - 03-23-2012, 12:19 PM
RE: Product Review - RateU - 03-24-2012, 04:57 AM
RE: Product Review - Glas - 03-24-2012, 06:57 AM
RE: Product Review - Divvy - 03-27-2012, 10:25 AM
RE: Product Review - Sama34 - 03-27-2012, 01:45 PM
RE: Product Review - ZiNgA BuRgA - 03-27-2012, 03:42 PM
RE: Product Review - TrailerReview - 05-10-2012, 03:54 AM
RE: Product Review - RateU - 05-10-2012, 04:17 AM
RE: Product Review - TrailerReview - 05-10-2012, 04:50 AM
RE: Product Review - TrailerReview - 05-10-2012, 05:25 AM
RE: Product Review - RateU - 05-10-2012, 05:05 AM
RE: Product Review - TrailerReview - 05-10-2012, 05:12 AM
RE: Product Review - RateU - 05-10-2012, 05:23 AM
RE: Product Review - RateU - 05-10-2012, 05:53 AM
RE: Product Review - TrailerReview - 05-10-2012, 06:02 AM
RE: Product Review - RateU - 05-10-2012, 06:17 AM
RE: Product Review - TrailerReview - 05-10-2012, 06:31 AM
RE: Product Review - RateU - 05-10-2012, 06:46 AM
RE: Product Review - TrailerReview - 05-10-2012, 07:00 AM
RE: Product Review - ZiNgA BuRgA - 05-10-2012, 10:44 AM
RE: Product Review - TrailerReview - 05-11-2012, 01:55 AM
RE: Product Review - RateU - 05-11-2012, 03:29 AM
RE: Product Review - TrailerReview - 05-11-2012, 03:52 AM
RE: Product Review - RateU - 05-11-2012, 03:56 AM
RE: Product Review - TrailerReview - 05-11-2012, 04:14 AM
RE: Product Review - RateU - 05-11-2012, 04:46 AM
RE: Product Review - TrailerReview - 05-11-2012, 04:59 AM
RE: Product Review - TrailerReview - 05-11-2012, 05:17 AM
RE: Product Review - RateU - 05-11-2012, 05:14 AM
RE: Product Review - RateU - 05-11-2012, 05:25 AM
RE: Product Review - TrailerReview - 05-11-2012, 05:32 AM
RE: Product Review - RateU - 05-11-2012, 05:40 AM
RE: Product Review - TrailerReview - 05-11-2012, 05:46 AM
RE: Product Review - cichociemny - 06-28-2012, 01:19 AM
RE: Product Review - RateU - 06-28-2012, 03:49 AM
RE: Product Review - cichociemny - 06-29-2012, 02:33 AM
RE: Product Review - RateU - 06-29-2012, 02:54 AM
RE: Product Review - Glas - 07-26-2012, 11:13 AM
RE: Product Review - Glas - 07-27-2012, 12:49 AM
RE: Product Review - RateU - 07-27-2012, 01:20 AM
RE: Product Review - Glas - 07-27-2012, 01:48 AM
RE: Product Review - RateU - 07-27-2012, 03:03 AM
RE: Product Review - Glas - 07-27-2012, 04:14 AM
RE: Product Review - glhowe1 - 09-15-2012, 04:34 AM
RE: Product Review - ZiNgA BuRgA - 09-15-2012, 09:37 AM
RE: Product Review - glhowe1 - 09-15-2012, 09:59 AM
RE: Product Review - glhowe1 - 09-15-2012, 10:54 AM
RE: Product Review - glhowe1 - 09-15-2012, 01:21 PM
RE: Product Review - ZiNgA BuRgA - 09-15-2012, 03:56 PM
RE: Product Review - glhowe1 - 09-15-2012, 10:21 PM
RE: Product Review - RateU - 10-08-2012, 02:36 AM
RE: Product Review - nier3 - 10-18-2012, 11:59 PM
RE: Product Review - RateU - 10-20-2012, 01:07 AM
RE: Product Review - Glas - 11-23-2012, 02:20 AM
RE: Product Review - RateU - 12-12-2012, 06:20 AM
RE: Product Review - RateU - 01-03-2013, 03:10 AM
RE: Product Review - Shemo - 02-19-2013, 04:55 AM
RE: Product Review - ZiNgA BuRgA - 02-19-2013, 09:53 AM
RE: Product Review - Shemo - 02-19-2013, 02:36 PM
RE: Product Review - RateU - 02-20-2013, 02:38 AM
RE: Product Review - Shemo - 02-20-2013, 03:04 AM
RE: Product Review - RateU - 02-20-2013, 04:58 AM
RE: Product Review - Matteo Russo - 04-01-2013, 09:34 AM
RE: Product Review - ZiNgA BuRgA - 04-01-2013, 10:35 AM
RE: Product Review - Matteo Russo - 04-01-2013, 09:08 PM
RE: Product Review - ZiNgA BuRgA - 04-01-2013, 10:58 PM
RE: Product Review - Shemo - 04-10-2013, 01:12 AM
RE: Product Review - RateU - 04-10-2013, 05:22 AM
RE: Product Review - Shemo - 04-10-2013, 05:33 AM
RE: Product Review - Glas - 01-27-2014, 02:53 PM
RE: Product Review - ZiNgA BuRgA - 01-27-2014, 03:49 PM
RE: Product Review - Glas - 01-28-2014, 05:23 AM
RE: Product Review - Glas - 02-22-2014, 11:22 AM
RE: Product Review - ZiNgA BuRgA - 02-22-2014, 01:42 PM
RE: Product Review - Glas - 02-23-2014, 02:43 AM
RE: Product Review - jason07 - 02-18-2015, 11:28 PM
RE: Product Review - ZiNgA BuRgA - 02-23-2015, 05:10 PM
RE: Product Review - jason07 - 02-28-2015, 11:53 PM
RE: Product Review - ZiNgA BuRgA - 03-01-2015, 05:20 PM
RE: Product Review - adsol93 - 05-07-2015, 10:37 PM
RE: Product Review - adsol93 - 05-07-2015, 11:50 AM
RE: Product Review - ZiNgA BuRgA - 05-07-2015, 01:42 PM
RE: Product Review - beartest - 06-27-2015, 11:52 PM
RE: Product Review - ZiNgA BuRgA - 06-28-2015, 01:22 PM
RE: Product Review - beartest - 06-29-2015, 12:24 PM
RE: Product Review - Marisa - 03-11-2016, 07:02 PM
RE: Product Review - habbla - 03-12-2016, 01:14 AM
RE: Product Review - ZiNgA BuRgA - 03-12-2016, 08:01 AM
RE: Product Review - Marisa - 03-13-2016, 09:49 AM
RE: Product Review - ZiNgA BuRgA - 03-14-2016, 05:44 PM
RE: Product Review - Marisa - 03-14-2016, 07:53 PM
RE: Product Review - ZiNgA BuRgA - 03-15-2016, 09:56 AM
RE: Product Review - Marisa - 03-15-2016, 10:14 PM
RE: Product Review - nolie - 12-31-2016, 11:19 PM
RE: Product Review - crow - 03-06-2018, 07:28 AM
RE: Product Review - ZiNgA BuRgA - 03-06-2018, 10:05 AM
RE: Product Review - crow - 03-06-2018, 10:40 AM
RE: Product Review - RateU - 03-06-2018, 10:20 PM
RE: Product Review - glaukos - 04-12-2019, 07:27 PM
RE: Product Review - RateU - 04-13-2019, 01:35 AM

 Standard Tools
Forum Jump: