(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?
Don't know why, but now it's working.
Oo
I didn't changed anything.
But it's ok, because it's working
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']}" />
|
Are you using the latest version of XThreads?
(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.
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?
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.
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
You can use div float right and div float left for that, replacing this code from the pf_forumdisplay_threadlist template:
and remove the description on the right from your pf_forumdisplay_thread template.
Here is an example for that:
pf_forumdisplay_threadlist:
HTML Code
<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}&sortby=subject&order=asc">{$lang->thread}</a> {$orderarrow['subject']} | <a href="{$sorturl}&sortby=starter&order=asc">{$lang->author}</a> {$orderarrow['starter']} | <a href="{$sorturl}&sortby=replies&order=desc">{$lang->replies}</a> {$orderarrow['replies']} | <a href="{$sorturl}&sortby=views&order=desc">{$lang->views}</a> {$orderarrow['views']} {$ratingcol} | <a href="{$sorturl}&sortby=lastpost&order=desc">{$lang->lastpost}</a> {$orderarrow['lastpost']}</strong>
</span>
<span class="float_right">
<strong><a href="misc.php?action=markread&fid={$fid}{$post_code_string}">{$lang->markforum_read}</a> | <a href="usercp2.php?action={$add_remove_subscription}subscription&type=forum&fid={$fid}&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
<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.