Thread Rating:
  • 2 Votes - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Product Review
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,338
Joined: Jan 2008
Post: #21
RE: Product Review
(06-21-2011 05:45 AM)bxx Wrote:  Did i have to change anything in the "Display Format" ?
Shouldn't need to.

Can you post what you're trying to put into the "Developer Website" field which gives you the error?

My Blog
06-21-2011 07:29 AM
Find all posts by this user Quote this message in a reply
bxx Offline
Junior Member
**
Posts: 23
Joined: May 2011
Post: #22
RE: Product Review
Don't know why, but now it's working.

Oo

I didn't changed anything.

But it's ok, because it's working Smile
06-21-2011 04:59 PM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,326
Joined: Mar 2010
Post: #23
RE: Product Review
Update (need at least XThreads 1.47):

1. pf_forumdisplay_thread template:
Find (around line #13):

HTML Code
<img src="{$GLOBALS['threadfields']['pfpic']['url']}/thumb320x240" alt="{$thread['subject']} Screenshot" title="{$thread['subject']} Screenshot" width="{$GLOBALS['threadfields']['pfpic']['thumbs']['320x240']['w']}" height="{$GLOBALS['threadfields']['pfpic']['thumbs']['320x240']['h']}" />


Replace with:

HTML Code
<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']}" />


Find (around line #77):

HTML Code
<img src="{$GLOBALS['threadfields']['pfpic']['url']}/thumb88x66" alt="{$thread['subject']} Screenshot" title="{$thread['subject']} Screenshot" width="{$GLOBALS['threadfields']['pfpic']['thumbs']['88x66']['w']}" height="{$GLOBALS['threadfields']['pfpic']['thumbs']['88x66']['h']}" />


Replace with:

HTML Code
<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']}" />


2. pf_postbit_first template.
Find (around line #19):

HTML Code
<img src="{$GLOBALS['threadfields']['pfpic']['url']}/thumb160x120" alt="" title="{$GLOBALS['threadfields']['pfname']}" />


Replace with:

HTML Code
<img src="{$GLOBALS['threadfields']['pfpic']['thumbs']['160x120']['url']}" alt="" title="{$GLOBALS['threadfields']['pfname']}" />


10-23-2011 05:13 AM
Find all posts by this user Quote this message in a reply
Shemo Offline
Member
***
Posts: 184
Joined: Jan 2008
Post: #24
RE: Product Review
nice review system here, rateu!

I cannot, for the life of me, get the images to work for some reason.

just applied your latest update, too:
http://andrewshemo.com/testforum/forumdi...d=6&page=1
11-18-2011 04:25 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,338
Joined: Jan 2008
Post: #25
RE: Product Review
Are you using the latest version of XThreads?

My Blog
11-18-2011 07:50 PM
Find all posts by this user Quote this message in a reply
Shemo Offline
Member
***
Posts: 184
Joined: Jan 2008
Post: #26
RE: Product Review
(11-18-2011 07:50 PM)ZiNgA BuRgA Wrote:  Are you using the latest version of XThreads?

I was using 1.45 on my test forum.  just updated it to 1.47 and ran the update in the admin cp and we're good to go.

thanks for the reply.
(This post was last modified: 11-19-2011 03:36 AM by Shemo.)
11-19-2011 03:04 AM
Find all posts by this user Quote this message in a reply
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #27
RE: Product Review
I used the Suggestion Forum Example to build a Product Review but I am liking this example better.  I think it is possible to build this example and then change the key in my forum to match.  Yes?  Anything I need to watch during the conversion?

[Image: gallery_2_628_39582.jpg]
(This post was last modified: 11-19-2011 08:54 AM by RocketFoot.)
11-19-2011 08:53 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,326
Joined: Mar 2010
Post: #28
RE: Product Review
Because the xtsug_status (Suggestion Forum example) custom thread fields is an Option Buttons, and the pfcat (Product Review Forum example) is a single select Listbox, I think it is OK to rename the key name.

For the other custom thread fields (Product Review Forum example has more than one custom thread fields), you can use Custom Moderator Tools to set the value as a "default" value. XThreads inserts a tools inside the Custom Moderation Tools to mass update it.

11-20-2011 03:37 AM
Find all posts by this user Quote this message in a reply
Shemo Offline
Member
***
Posts: 184
Joined: Jan 2008
Post: #29
RE: Product Review
rateu:

is it possible to replace the descriptions on the right with a static category section and then make the actual thread section on the left a bit wider?

something like what leefish did with the book review mod and having the genre section on the right.  rather than having a genre, have a category section for the categories we imputed in the category custom thread fields.

example:
Categories
cat 1 (1 thread)
cat 2 (5 threads)
cat 3(0 threads)
cat 4 (3 threads)

here's what I'm talking about with leefish's mod:
http://mybbhacks.zingaburga.com/attachment.php?aid=127
(This post was last modified: 11-20-2011 10:55 AM by Shemo.)
11-20-2011 10:26 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,326
Joined: Mar 2010
Post: #30
RE: Product Review
You can use div float right and div float left for that, replacing this code from the pf_forumdisplay_threadlist template:

Code:
{$threads}{$nullthreads}

and remove the description on the right from your pf_forumdisplay_thread template.

Here is an example for that:
pf_forumdisplay_threadlist:

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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<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}{$post_code_string}">{$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>
	{$selectall}
</table>
<br class="clear" />
<div class="float_right" style="width: 20%;">
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
		<tr>
			<td class="thead">
				<div align="center">
					<strong>Category</strong>
				</div>
			</td>
		</tr>
		<tr>
			<td class="trow1 {$filters_set['__all']['nullactive']}">
				<strong><a href="{$forumurl}">All</a>
			</td>
		</tr>
		<tr>
			<td class="trow1 {$filters_set['pfcat']['active']['Software']}">
				<strong><a href="{$forumurl_q}filtertf_pfcat=Software">Software</a>
			</td>
		</tr>
		<tr>
			<td class="trow1 {$filters_set['pfcat']['active']['Hardware']}">
				<strong><a href="{$forumurl_q}filtertf_pfcat=Hardware">Hardware</a>
			</td>
		</tr>
		<tr>
			<td class="trow1 {$filters_set['pfcat']['active']['Other']}">
				<strong><a href="{$forumurl_q}filtertf_pfcat=Other">Other</a>
			</td>
		</tr>
	</table>
</div>
<div class="float_left" style="width: 78%;">
	{$threads}{$nullthreads}
</div>
<br class="clear" /><br />
<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/shwothread.php?tid=288">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}


pf_forumdisplay_thread:

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
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
	<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>
<br />


Create .filtertf_active css class if you don't have it yet.


(This post was last modified: 11-21-2011 04:10 AM by RateU.)
11-21-2011 04:02 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: