Well... in your test forum - source page I see you use this css code:
#threadlistavatar img
and is missing from your original forum.
Try this: In AdminCP -> Templates & Style -> Themes -> (click on your default used theme - something with the name "lust" I think) and edit "global.css" in "Advanced Mode". At the end add this:
#threadlistavatar img {
-moz-border-radius: 3px;
background-color: #FCFCFF;
border: 1px solid black;
max-height: 35px;
max-width: 35px;
padding: 2px;
}
and save.
// Later edit:
You not have defined "#threadlistavatar" in your css (used by <td id="threadlistavatar"> in "forumdisplay_thread" template).
Anyway... in
http://my-notepad.biz/mnp-testing/ check "forumdisplay_thread" template for this theme. There is your css code of "threadlistavatar" which is missing from "forumdisplay_thread" template in
http://forum.my-notepad.biz/
I hope you understand.
(2011-12-21, 04:19 AM)MyBB Tuneup Wrote: [ -> ]Well... in your test forum - source page I see you use this css code:
#threadlistavatar img
and is missing from your original forum.
Try this: In AdminCP -> Templates & Style -> Themes -> (click on your default used theme - something with the name "lust" I think) and edit "global.css" in "Advanced Mode". At the end add this:
#threadlistavatar img {
-moz-border-radius: 3px;
background-color: #FCFCFF;
border: 1px solid black;
max-height: 35px;
max-width: 35px;
padding: 2px;
}
and save.
// Later edit:
You not have defined "#threadlistavatar" in your css (used by <td id="threadlistavatar"> in "forumdisplay_thread" template).
Anyway... in http://my-notepad.biz/mnp-testing/ check "forumdisplay_thread" template for this theme. There is your css code of "threadlistavatar" which is missing from "forumdisplay_thread" template in http://forum.my-notepad.biz/
I hope you understand.
This is what's in my forum_display_thread template, what do I need to change?
<tr>
<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><img src="{$theme['imgdir']}/{$folder}.gif" alt="{$folder_label}" title="{$folder_label}" /></td>
<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%">{$icon}</td>
<td class="{$bgcolor}{$thread_type_class}">
{$attachment_count}
<div>
<span>{$prefix} {$gotounread}{$thread['threadprefix']}<a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}"><span style="color: {$thread['tcolor']}">{$thread['subject']}</span></a>{$thread['multipage']}</span>
<div class="author smalltext">{$thread['profilelink']}</div>
</div>
</td>
<td align="center" class="{$bgcolor}{$thread_type_class}"><a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts}</td>
<td align="center" class="{$bgcolor}{$thread_type_class}">{$thread['views']}</td>
{$rating}
<td class="{$bgcolor}{$thread_type_class}" style="white-space: nowrap; text-align: right;">
<span class="lastpost smalltext">{$lastpostdate} {$lastposttime}<br />
<a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}</span>
</td>
{$modbit}
</tr>
(2011-12-21, 01:20 PM)markwesley Wrote: [ -> ]This is what's in my forum_display_thread template, what do I need to change?
<tr>
<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><img src="{$theme['imgdir']}/{$folder}.gif" alt="{$folder_label}" title="{$folder_label}" /></td>
<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%">{$icon}</td>
<td class="{$bgcolor}{$thread_type_class}">
{$attachment_count}
<div>
<span>{$prefix} {$gotounread}{$thread['threadprefix']}<a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}"><span style="color: {$thread['tcolor']}">{$thread['subject']}</span></a>{$thread['multipage']}</span>
<div class="author smalltext">{$thread['profilelink']}</div>
</div>
</td>
<td align="center" class="{$bgcolor}{$thread_type_class}"><a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts}</td>
<td align="center" class="{$bgcolor}{$thread_type_class}">{$thread['views']}</td>
{$rating}
<td class="{$bgcolor}{$thread_type_class}" style="white-space: nowrap; text-align: right;">
<span class="lastpost smalltext">{$lastpostdate} {$lastposttime}<br />
<a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}</span>
</td>
{$modbit}
</tr>
Try to replace with this code:
<tr>
<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><img src="{$theme['imgdir']}/{$folder}.gif" alt="{$folder_label}" title="{$folder_label}" /></td>
<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%">{$icon}</td>
<td class="{$bgcolor}{$thread_type_class}">
<!-- start: avatarthreadlist_index -->
<style type="text/css">
#threadlistavatar img {
-moz-border-radius: 3px;
background-color: #FCFCFF;
border: 1px solid black;
max-height: 35px;
max-width: 35px;
padding: 2px;
}
</style>
<!-- end: avatarthreadlist_index -->
{$attachment_count}
<div>
<span>{$prefix} {$gotounread}{$thread['threadprefix']}<a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}"><span style="color: {$thread['tcolor']}">{$thread['subject']}</span></a>{$thread['multipage']}</span>
<div class="author smalltext">{$thread['profilelink']}</div>
</div>
</td>
<td align="center" class="{$bgcolor}{$thread_type_class}"><a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts}</td>
<td align="center" class="{$bgcolor}{$thread_type_class}">{$thread['views']}</td>
{$rating}
<td class="{$bgcolor}{$thread_type_class}" style="white-space: nowrap; text-align: right;">
<span class="lastpost smalltext">{$lastpostdate} {$lastposttime}<br />
<a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}</span>
</td>
{$modbit}
</tr>
//Later edit: please, let me know if this working or not. I think your code of this theme contain some "<div>" that are not closed...
Thank you , that worked a treat another problem I have is when I select threads for moderation the number at the bottom where (0) is does not increase & if I press go it gives me some message saying that nothing was selected or that my session has expired, but the session has not expired as I logged in few mins previous.
See screenshot.
It seems like there are some Javascript errors on your site. I didn't look in too much detail, but maybe jQuery and Prototype are conflicting? Try adding this to the bottom of your headerinclude template:
<script>
jQuery.noConflict();
</script>
Thanks Dennis but it did not work.
<link rel="alternate" type="application/rss+xml"
title="{$lang->latest_threads} (RSS 2.0)"
href="{$mybb->settings['bburl']}/syndication.php" />
<link rel="alternate" type="application/atom+xml"
title="{$lang->latest_threads} (Atom 1.0)"
href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/prototype.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1600"></script>
<script type="text/javascript" src="http://code.jquery.com/jquery.min.js"></script>
<script type="text/javascript">jQuery.noConflict();</script>
{$stylesheets}
<script type="text/javascript">
<!--
var cookieDomain = "{$mybb->settings['cookiedomain']}";
var cookiePath = "{$mybb->settings['cookiepath']}";
var cookiePrefix = "{$mybb->settings['cookieprefix']}";
var deleteevent_confirm = "{$lang->deleteevent_confirm}";
var removeattach_confirm = "{$lang->removeattach_confirm}";
var loading_text = '{$lang->ajax_loading}';
var saving_changes = '{$lang->saving_changes}';
var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";
var my_post_key = "{$mybb->post_code}";
var imagepath = "{$theme['imgdir']}";
// -->
</script>
{$newpmmsg}
{$highslide_script}
<script>
jQuery.noConflict();
</script>
That is what is in my headerinclude template, I have no idea why it automatically adds
Sorry I didn't notice, you already had that code earlier in your template... hmm