MyBB Community Forums

Full Version: transparency
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
guys im wondering how i can make the thread section squares transparent.

so you can see the background
http://i58.tinypic.com/ri925d.png


and also i want to move this to the blank red square any ideas?
http://i57.tinypic.com/282hqfo.png

myweb: www.cs-palace.com


Or show the attachments
thank you, Kadir Smile
You can try using css opacity property:


opacity: 0.5;
(2014-08-22, 11:26 AM)Kadirtekin Wrote: [ -> ]1. guys im wondering how i can make the thread section squares transparent.
so you can see the background

2. and also i want to move this to the blank red square any ideas?

1. in global.css find .tborder, .trow1, .trow2 and remove the background attribute for them.. alternately you can also add the opacity to all three as suggested by marcus123... but be aware that this changes will affect the entire forum not just the index page...

2. ACP >> Templates >> Member Templates >> member_profile find


</table>
</td>
<td><img src="{$theme['imgdir']}/pixel.gif" height="1" width="8" alt=""/></td>
<td width="50%" valign="top">
{$profilefields}
{$signature}
{$modoptions}
{$adminoptions}
{$buddy_options}
</td>
</tr>
</table>



and change it as


</table>
<br />
{$profilefields}
{$signature}
{$modoptions}
{$adminoptions}
{$buddy_options}
</td>
<td><img src="{$theme['imgdir']}/pixel.gif" height="1" width="8" alt=""/></td>
<td width="50%" valign="top">
//** this part will have the user comments and other plugins used on the forum **//
</td>
</tr>
</table>
(2014-08-22, 01:28 PM)mmadhankumar Wrote: [ -> ]
(2014-08-22, 11:26 AM)Kadirtekin Wrote: [ -> ]1. guys im wondering how i can make the thread section squares transparent.
so you can see the background

2. and also i want to move this to the blank red square any ideas?

1. in global.css find .tborder, .trow1, .trow2 and remove the background attribute for them.. alternately you can also add the opacity to all three as suggested by marcus123... but be aware that this changes will affect the entire forum not just the index page...

2. ACP >> Templates >> Member Templates >> member_profile find




</table>
</td>
<td><img src="{$theme['imgdir']}/pixel.gif" height="1" width="8" alt=""/></td>
<td width="50%" valign="top">
{$profilefields}
{$signature}
{$modoptions}
{$adminoptions}
{$buddy_options}
</td>
</tr>
</table>



and change it as


</table>
<br />
{$profilefields}
{$signature}
{$modoptions}
{$adminoptions}
{$buddy_options}
</td>
<td><img src="{$theme['imgdir']}/pixel.gif" height="1" width="8" alt=""/></td>
<td width="50%" valign="top">
//** this part will have the user comments and other plugins used on the forum **//
</td>
</tr>
</table> 


i did what you said now i got this problem..
this was not what i meant -.-

look attachment
(2014-08-22, 03:17 PM)Kadirtekin Wrote: [ -> ]i did what you said now i got this problem..
this was not what i meant -.-
look attachment

that was not I mean either... looks like you moved entire td, while you need to move only the variables...

could you please post that template here....
(2014-08-22, 04:11 PM)mmadhankumar Wrote: [ -> ]
(2014-08-22, 03:17 PM)Kadirtekin Wrote: [ -> ]i did what you said now i got this problem..
this was not what i meant -.-
look attachment

that was not I mean either... looks like you moved entire td, while you need to move only the variables...

could you please post that template here....

<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->profile}</title>
{$headerinclude}
{$profiledesigncss}
</head>
<body>
{$header}
{$headerannounce}
{myshoutbox_abcd}
{$profiledesigneditor}
<div id="profile-container">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trow1">
<table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td class="trow1" width="75%">
<span class="largetext"><strong>{$formattedname}{$profile_report_link}</strong></span></br>

({$usertitle})</br>{$userpagelink}
<span class="smalltext">

{$groupimage}{$gi}
{$userstars}<br/>
<br/>
<strong>{$lang->registration_date}</strong> {$memregdate}<br />
<strong>{$lang->date_of_birth}</strong> {$membday} {$membdayage}<br />
<strong>{$lang->local_time}</strong> {$localtime}<br />
<strong>{$lang->postbit_status}</strong> {$online_status}
</span>
</td><td width="25%" align="right" valign="middle">{$avatar}</td></tr></table>
</td>
</tr>
{$awaybit}
</table>
<br/>
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td width="50%" valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td colspan="2" class="thead"><strong>{$lang->users_forum_info}</strong></td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->joined}</strong></td>
<td class="trow1">{$memregdate}</td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->lastvisit}</strong></td>
<td class="trow2">{$memlastvisitdate} {$memlastvisittime}</td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->total_posts}</strong></td>
<td class="trow1">{$memprofile['postnum']} ({$lang->ppd_percent_total})<br /><span class="smalltext">(<a href="search.php?action=finduserthreads&amp;uid={$uid}">{$lang->find_threads}</a> &mdash; <a href="search.php?action=finduser&amp;uid={$uid}">{$lang->find_posts}</a>)</span></td>
</tr>




<tr>
<td class="trow2"><strong>{$lang->timeonline}</strong></td>
<td class="trow2">{$timeonline}</td>
</tr>
{$profile_views}
{$referrals}
{$reputation}
{$warning_level}<!-- ProfileComments -->{$pf_statistics}<!-- /ProfileComments -->
</table>
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td colspan="2" class="thead"><strong>{$lang->users_contact_details}</strong></td>
</tr>
{$sendemail}
<tr>
<td class="{$bgcolors['pm']}"><strong>{$lang->pm}</strong></td>
<td class="{$bgcolors['pm']}"><a href="private.php?action=send&amp;uid={$memprofile['uid']}">{$lang->send_pm}</a></td>
</tr>
</tr></table>

{$socialsites}

</td>


</table>
<br />
{$profilefields}
{$signature}
<!-- ProfileComments -->{$comments_index}<!-- /ProfileComments -->
 {$modoptions}
{$adminoptions}
</td>
<td><img src="{$theme['imgdir']}/pixel.gif" height="1" width="8" alt=""/></td>
<td width="50%" valign="top">
</td>
</tr>
</table>


i removed a few of em cause it got doubled, and changed the order.

i also used the one you send me but i had the same problem as i got now, only i had a few things double listed

well thats my member_profile template take a look please.. -.-
seems like the rows and columns (tr and td) are not correctly aligned... try with this edited template below....


<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->profile}</title>
{$headerinclude}
{$profiledesigncss}
</head>
<body>
{$header}
{$headerannounce}
{myshoutbox_abcd}
{$profiledesigneditor}
<div id="profile-container">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trow1">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td class="trow1" width="75%">
<span class="largetext"><strong>{$formattedname}{$profile_report_link}</strong></span></br>
({$usertitle})</br>{$userpagelink}
<span class="smalltext">
{$groupimage}{$gi}
{$userstars}<br/>
<br/>
<strong>{$lang->registration_date}</strong> {$memregdate}<br />
<strong>{$lang->date_of_birth}</strong> {$membday} {$membdayage}<br />
<strong>{$lang->local_time}</strong> {$localtime}<br />
<strong>{$lang->postbit_status}</strong> {$online_status}
</span>
</td>
<td width="25%" align="right" valign="middle">{$avatar}</td>
</tr>
</table>
</td>
</tr>
{$awaybit}
</table>
<br/>
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td width="50%" valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td colspan="2" class="thead"><strong>{$lang->users_forum_info}</strong></td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->joined}</strong></td>
<td class="trow1">{$memregdate}</td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->lastvisit}</strong></td>
<td class="trow2">{$memlastvisitdate} {$memlastvisittime}</td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->total_posts}</strong></td>
<td class="trow1">{$memprofile['postnum']} ({$lang->ppd_percent_total})<br /><span class="smalltext">(<a href="search.php?action=finduserthreads&amp;uid={$uid}">{$lang->find_threads}</a> &mdash; <a href="search.php?action=finduser&amp;uid={$uid}">{$lang->find_posts}</a>)</span></td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->timeonline}</strong></td>
<td class="trow2">{$timeonline}</td>
</tr>
{$profile_views}
{$referrals}
{$reputation}
{$warning_level}<!-- ProfileComments -->{$pf_statistics}<!-- /ProfileComments -->
</table>
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td colspan="2" class="thead"><strong>{$lang->users_contact_details}</strong></td>
</tr>
{$sendemail}
<tr>
<td class="{$bgcolors['pm']}"><strong>{$lang->pm}</strong></td>
<td class="{$bgcolors['pm']}">
<a href="private.php?action=send&amp;uid={$memprofile['uid']}">{$lang->send_pm}</a></td>
</tr></table>
{$socialsites}
{$profilefields}
{$signature}
{$modoptions}
{$adminoptions}
</td>
<td><img src="{$theme['imgdir']}/pixel.gif" height="1" width="8" alt=""/></td>
<td width="50%" valign="top">
<!-- ProfileComments -->{$comments_index}<!-- /ProfileComments -->
</td>
</tr>
</table>