ColorFul Theme - Postbit Author details like inlobos

Spartak

Well-known member
Member
Joined
9 yrs. 9 mth. 5 days
Messages
587
Reaction score
8,878
Wallet
0$
ColorFul Theme - Postbit Author details like inlobos

THEME:<a href="
Please, Log in or Register to view URLs content!
" target="_blank" rel="noopener" class="mycode_url">
Please, Log in or Register to view URLs content!
</a><br />
<br />
Hello everyone,<br />
If you are using ColorFul Theme you have notice that author details looks different in postbit,<br />
<br />
It look like this<br />
<img src="
Please, Log in or Register to view URLs content!
" data-original-url="https://i.ibb.co/tD2F8Nh/avatar-2.png" loading="lazy" alt="[Image: avatar-2.png]" class="mycode_img" /><br />
<br />
Use the following tutorial if you want to look like this (Only in postbit classic<br />
<br />
<img src="
Please, Log in or Register to view URLs content!
" data-original-url="https://i.ibb.co/xD2pjSf/avatar-2-Copy.png" loading="lazy" alt="[Image: avatar-2-Copy.png]" class="mycode_img" /><br />
<br />
<br />
1<img src="
Please, Log in or Register to view URLs content!
" alt="Big Grin" title="Big Grin" class="smilie smilie_5" />ownload the following image and create some userbars<br />
<img src="
Please, Log in or Register to view URLs content!
" data-original-url="https://i.ibb.co/Jr7N0FL/member.png" loading="lazy" alt="[Image: member.png]" class="mycode_img" /><br />
<br />
2:Go<br />
ACP&gt;&gt;Templates and style&gt;&gt;Templates&gt;&gt;Colorful Templates&gt;&gt;Postbit&gt;&gt;postbit_author_user<br />
and replace everything with this<br />
<pre data-deferred="true" class="block-code line-numbers language-none"><code class="language-none">&lt;div class=&quot;post-row-dlts&quot;&gt;
&lt;div class=&quot;post-icon-dlts&quot;&gt;&lt;i class=&quot;fa fa-user&quot;&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;post-row-inner-dlts&quot;&gt;&lt;span style=&quot;float: left&quot;&gt;Member for:&lt;/span&gt; &lt;span style=&quot;float: right&quot;&gt;
&lt;if $post['regdate']+(60*60*24*1095) &lt;= TIME_NOW then&gt;&lt;span style=&quot;color: #FF0040;&quot;&gt;4 Years of Service&lt;/span&gt;
&lt;elseif $post['regdate']+(60*60*24*1095) &lt;= TIME_NOW then&gt;&lt;span style=&quot;color: #FF0080;&quot;&gt;3 Years&lt;/span&gt;
&lt;elseif $post['regdate']+(60*60*24*730) &lt;= TIME_NOW then&gt;&lt;span  style=&quot;color: #FF00BF;&quot;&gt;2 Years&lt;/span&gt;
&lt;elseif $post['regdate']+(60*60*24*365) &lt;= TIME_NOW then&gt;&lt;span  style=&quot;color: #FF00FF;&quot;&gt;1 Year&lt;/span&gt;
&lt;elseif $post['regdate']+(60*60*24*330) &lt;= TIME_NOW then&gt;&lt;span  style=&quot;color: #0080FF;&quot;&gt;11 Months&lt;/span&gt;
&lt;elseif $post['regdate']+(60*60*24*300) &lt;= TIME_NOW then&gt;&lt;span  style=&quot;color: #00FFFF;&quot;&gt;10 Months&lt;/span&gt;
&lt;elseif $post['regdate']+(60*60*24*270) &lt;= TIME_NOW then&gt;&lt;span  style=&quot;color: #00FF80;&quot;&gt;9 Months&lt;/span&gt;
&lt;elseif $post['regdate']+(60*60*24*240) &lt;= TIME_NOW then&gt;&lt;span  style=&quot;color: #00FF00;&quot;&gt;8 Months&lt;/span&gt;
&lt;elseif $post['regdate']+(60*60*24*210) &lt;= TIME_NOW then&gt;&lt;span  style=&quot;color: #FF4000;&quot;&gt;7 Months&lt;/span&gt;
&lt;elseif $post['regdate']+(60*60*24*180) &lt;= TIME_NOW then&gt;&lt;span  style=&quot;color: #FF8000;&quot;&gt;6 Months&lt;/span&gt;
&lt;elseif $post['regdate']+(60*60*24*150) &lt;= TIME_NOW then&gt;&lt;span  style=&quot;color: #FFBF00;&quot;&gt;5 Months&lt;/span&gt;
&lt;elseif $post['regdate']+(60*60*24*120) &lt;= TIME_NOW then&gt;&lt;span  style=&quot;color: #aaa;&quot;&gt;4 Months&lt;/span&gt;
&lt;elseif $post['regdate']+(60*60*24*90) &lt;= TIME_NOW then&gt;&lt;span style=&quot;color: #aaa;&quot;&gt;3 Months&lt;/span&gt;
&lt;elseif $post['regdate']+(60*60*24*60) &lt;= TIME_NOW then&gt;&lt;span  style=&quot;color: #aaa;&quot;&gt;2 Months&lt;/span&gt;
&lt;elseif $post['regdate']+(60*60*24*30) &lt;= TIME_NOW then&gt;&lt;span  style=&quot;color: #aaa;&quot;&gt;1 Month&lt;/span&gt;
&lt;elseif $post['regdate']+(60*60*24*21) &lt;= TIME_NOW then&gt;&lt;span  style=&quot;color: #aaa;&quot;&gt;3 Weeks&lt;/span&gt;
&lt;elseif $post['regdate']+(60*60*24*14) &lt;= TIME_NOW then&gt;&lt;span  style=&quot;color: #aaa;&quot;&gt;2 Weeks&lt;/span&gt;
&lt;elseif $post['regdate']+(60*60*24*7) &lt;= TIME_NOW then&gt;&lt;span  style=&quot;color: #aaa;&quot;&gt;1 Week&lt;/span&gt;
&lt;elseif $post['regdate']+(60*60*24*6) &lt;= TIME_NOW then&gt;&lt;span  style=&quot;color: #aaa;&quot;&gt;6 days&lt;/span&gt;
&lt;elseif $post['regdate']+(60*60*24*5) &lt;= TIME_NOW then&gt;&lt;span  style=&quot;color: #aaa;&quot;&gt;5 days&lt;/span&gt;
&lt;elseif $post['regdate']+(60*60*24*4) &lt;= TIME_NOW then&gt;&lt;span  style=&quot;color: #aaa;&quot;&gt;4 days&lt;/span&gt;
&lt;elseif $post['regdate']+(60*60*24*3) &lt;= TIME_NOW then&gt;&lt;span  style=&quot;color: #aaa;&quot;&gt;3 days&lt;/span&gt;
&lt;elseif $post['regdate']+(60*60*24*2) &lt;= TIME_NOW then&gt;&lt;span  style=&quot;color: #aaa;&quot;&gt;2 days&lt;/span&gt;
&lt;elseif $post['regdate']+(60*60*24*1) &lt;= TIME_NOW then&gt;&lt;span  style=&quot;color: #aaa;&quot;&gt;1 day&lt;/span&gt;
&lt;elseif $post['regdate']+(60*60*24*0) &lt;= TIME_NOW then&gt;&lt;span  style=&quot;color: #aaa;&quot;&gt;Few hours&lt;/span&gt;&lt;/if&gt;
&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;div class=&quot;post-row-dlts&quot;&gt;
&lt;div class=&quot;post-icon-dlts&quot;&gt;&lt;i class=&quot;fa fa-book&quot;&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;post-row-inner-dlts&quot;&gt;&lt;span style=&quot;float: left&quot;&gt;{$lang-&gt;postbit_threads}&lt;/span&gt; &lt;span style=&quot;float: right&quot;&gt;&lt;a href=&quot;/search.php?action=finduserthreads&amp;uid={$post['uid']}&quot;&gt;{$post['threadnum']}&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;div class=&quot;post-row-dlts&quot;&gt;
&lt;div class=&quot;post-icon-dlts&quot;&gt;&lt;i class=&quot;fa fa-comments&quot;&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;post-row-inner-dlts&quot;&gt;&lt;span style=&quot;float: left&quot;&gt;{$lang-&gt;postbit_posts}&lt;/span&gt; &lt;span style=&quot;float: right&quot;&gt;&lt;a href=&quot;/search.php?action=finduser&amp;uid={$post['uid']}&quot;&gt;{$post['postnum']}&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</code></pre><br />
<br />
3:Go<br />
ACP&gt;&gt;Templates and style&gt;&gt;Templates&gt;&gt;Colorful Templates&gt;&gt;Postbit&gt;&gt;postbit_classic<br />
and replace everything with thi<span style="color: #838383;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: Tahoma, Verdana, Arial, sans-serif;" class="mycode_font">s</span></span></span><br />
<pre data-deferred="true" class="block-code line-numbers language-none"><code class="language-none">{$ignore_bit}{$deleted_bit}
&lt;a name=&quot;pid{$post['pid']}&quot; id=&quot;pid{$post['pid']}&quot;&gt;&lt;/a&gt;
&lt;div class=&quot;post classic {$unapproved_shade}&quot; style=&quot;{$post_visibility}&quot; id=&quot;post_{$post['pid']}&quot;&gt;
&lt;div class=&quot;d-flex mobile-postbit-classic&quot;&gt;
&lt;div class=&quot;post_author scaleimages&quot;&gt;

&lt;!-- POSTBIT CLASSIC BACKGROUND --&gt;
&lt;if $post['fid6'] then&gt;
&lt;div class=&quot;Postbitclas-Bg-image&quot; style=&quot;background-image: url({$post['fid6']});&quot;&gt;&lt;/div&gt;
&lt;else&gt;
&lt;/if&gt;
&lt;!-- POSTBIT CLASSIC BACKGROUND --&gt;


{$post['onlinestatus']}
&lt;br&gt;
&lt;div class=&quot;postbit-classic-stars&quot;&gt;{$post['userstars']}&lt;/div&gt;
&lt;div class=&quot;author_avatar&quot;&gt;{$post['useravatar']}&lt;/div&gt;
&lt;strong&gt;&lt;center&gt;&lt;span class=&quot;largetext&quot;&gt;{$post['profilelink']}{$post['newpoints_shop_items']}&lt;/span&gt;&lt;/center&gt;&lt;/strong&gt;

&lt;!-- AUTHRO INFORMATIONS --&gt;
&lt;div class=&quot;author_information&quot;&gt;
&lt;span class=&quot;smalltext&quot;&gt;

&lt;!-- REP AND LIKES --&gt;
&lt;div class=&quot;d-flex&quot;&gt;&lt;div class=&quot;post-stat&quot;&gt;&lt;span class=&quot;largetext&quot;&gt;&lt;a href=&quot;reputation.php?uid={$uid}&quot;&gt;&lt;strong class=&quot;reputation_positive&quot;&gt;{$post['replink']}&lt;/strong&gt;&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span class=&quot;x-smalltext text-uppercase&quot;&gt;Rep&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;post-sta2t&quot;&gt;&lt;span class=&quot;largetext&quot;&gt;
&lt;strong class=&quot;&lt;if ($post['tyl_unumrcvtyls'] &gt; 0) then&gt;reputation_positive&lt;/if&gt;
&lt;if ($post['tyl_unumrcvtyls'] == 0) then&gt;reputation_neutral&lt;/if&gt;
&lt;if ($post['tyl_unumrcvtyls'] &lt; 0) then&gt;reputation_negitive&lt;/if&gt;&quot;&gt;
{$post['tyl_unumrcvtyls']}
&lt;/strong&gt;
&lt;/span&gt;&lt;br&gt;
&lt;span class=&quot;x-smalltext text-uppercase&quot;&gt;Likes&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;!-- REP AND LIKES --&gt;

&lt;!-- USERTITLE --&gt;
&lt;div class=&quot;Usertittle-postbitclassic&quot;&gt;&lt;span class=&quot;title_numb_{$usergroup['gid']}&quot;&gt;{$post['usertitle']}&lt;/span&gt;&lt;/div&gt;
&lt;!-- USERTITLE --&gt;
&lt;/span&gt;
&lt;/div&gt;
&lt;!-- AUTHRO INFORMATIONS --&gt;


&lt;!-- GROUP IMAGE --&gt;
&lt;div class=&quot;groupimage-postbitclassic&quot;&gt;{$post['groupimage']}&lt;/div&gt;
&lt;!-- GROUP IMAGE --&gt;

&lt;!-- USERS-DETAILS-CLASSIC --&gt;
&lt;div class=&quot;postclas-userdtls&quot;&gt;


&lt;div class=&quot;user-postbitclassic-details&quot;&gt;
{$post['user_details']}
{$post['profilefield']}

&lt;center&gt;{$post['ougc_awards']}&lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;



&lt;!-- USERS-DETAILS-CLASSIC --&gt;



&lt;/div&gt;
&lt;div class=&quot;post_content&quot;&gt;
&lt;div class=&quot;post_head&quot;&gt;
{$post['posturl']}
{$post['icon']}
&lt;span class=&quot;post_date&quot;&gt;{$post['postdate']} &lt;span class=&quot;post_edit&quot; id=&quot;edited_by_{$post['pid']}&quot;&gt;{$post['editedmsg']}&lt;/span&gt;&lt;/span&gt;
{$post['subject_extra']}
&lt;/div&gt;
&lt;div class=&quot;post_body scaleimages&quot; id=&quot;pid_{$post['pid']}&quot;&gt;
{$post['message']}
&lt;/div&gt;
{$post['attachments']}
{$post['signature']}
&lt;div class=&quot;post_meta&quot; id=&quot;post_meta_{$post['pid']}&quot;&gt;
{$post['iplogged']}
&lt;div class=&quot;float_right&quot;&gt;
{$post['poststatus']}
&lt;/div&gt;
&lt;/div&gt;
{$post['input_editreason']}
&lt;/div&gt;

&lt;/div&gt;
&lt;div style=&quot;{$post['tyl_display']}&quot; id=&quot;tyl_{$post['pid']}&quot;&gt;{$post['thankyoulike_data']}&lt;/div&gt;
&lt;div class=&quot;post_controls&quot;&gt;
&lt;div class=&quot;postbit_buttons author_buttons float_left&quot;&gt;
{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
&lt;/div&gt;
&lt;div class=&quot;postbit_buttons post_management_buttons float_right&quot;&gt;
{$post['button_tyl']}{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_mention']}{$post['button_report']}{$post['button_warn']}{$post['button_purgespammer']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</code></pre><br />
<br />
GO<br />
ACP&gt;&gt;Templates and styles&gt;&gt;Themes&gt;&gt;Colorful Theme&gt;&gt; custom.css<br />
and add this<br />
<pre data-deferred="true" class="block-code line-numbers language-none"><code class="language-none">.post-row-dlts{display: flex;background: #242424;align-items: center;margin: 2px 8px;border-radius: 2px;width: 90%;}
.post-icon-dlts{padding: 9px; background: #1c1c1c; margin-right: .1rem; border-radius: 2px 0 0 2px;}
.post-row-inner-dlts{padding: 5px; width: 100%;}
.groupimage-postbitclassic img{position: relative;width: 192px;z-index: 3;}
.postclas-userdtls {position: relative;top: -39px;z-index: 1;}</code></pre><br />
<br />
Find this<br />
<pre data-deferred="true" class="block-code line-numbers language-none"><code class="language-none">.user-postbitclassic-details{background-color: #1c1c1c;width: 160px;margin: auto auto;border-top: 2px solid #333030;border-bottom: 2px solid #272727;border-left: 2px solid #272727;border-right: 2px solid #272727;margin-bottom: 10px;}</code></pre><br />
and replace with this<br />
<pre data-deferred="true" class="block-code line-numbers language-none"><code class="language-none">.user-postbitclassic-details{width: 185px;margin: auto auto;}</code></pre>


Please, Log in or Register to view URLs content!
 
Top Bottom