• Login
  • Register
  • Login Register
    Login
    Username:
    Password:
  • Home
  • Members
  • Team
  • Help
  • More
    • YouTube
    • Facebook
User Links
  • Login
  • Register
  • Login Register
    Login
    Username:
    Password:

    Quick Links Home Members Team Help
    More Subscribe YouTube Facebook
    D&D Forums - MyBB Plugins & Themes MyBB Ressources Premium MyBB Themes Support how to change postbit star colors

     
    • 0 Vote(s) - 0 Average
    how to change postbit star colors
    kuttysoft
    Offline

    Subscriber
    Posts: 27
    Threads: 7
    Joined: Dec 2018
    Reputation: 0
    #1
    11-26-2019, 05:51 AM
    how to change postbit star colors ... for  separate users groups  Like this on screenshot 


    [Image: Screenshot_336.png]
    AmazOuz
    Offline

    Administrator

    Posts: 272
    Threads: 34
    Joined: Oct 2017
    Reputation: 11
    #2
    11-27-2019, 06:59 PM
    Can you give me your postbit template ?
    kuttysoft
    Offline

    Subscriber
    Posts: 27
    Threads: 7
    Joined: Dec 2018
    Reputation: 0
    #3
    11-27-2019, 09:33 PM (This post was last modified: 11-27-2019, 09:39 PM by kuttysoft.)
    i want add there warning level also sir .. in our theme that's missing

    {$ignore_bit}
    <a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
    <div class="post classic {$unapproved_shade}" style="{$post_visibility}" id="post_{$post['pid']}">
    <div class="post_flexible">
    <div class="post_author scaleimages">
    <center><strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}{$post['authorchange']}</center>
    {$post['useravatar']}<br>
    <div class="author_information">

    <span class="smalltext">
    {$post['usertitle']}<br />
    {$post['userstars']}
    {$post['karmastar']}
    {$post['groupimage']}{$post['ougc_agi']}
    </span>
    </div>
    <div class="author_statistics">
    {$post['user_details']}{$post['newpoints_postbit']}<br />{$post['champions']}<br/>Best Answers : {$post['countsba']} {$post['im']}{$post['usercountry']}{$post['ougc_awards']}{$post['attached_accounts']}

    </div>
    <div class="smalltext" style="background: #212121;padding: 7px;margin: 5px 0;">
    <if $post['regdate']+(60*60*24*1095) <= TIME_NOW then><span style="color: #FF0040;">4 Years of Service</span>
    <elseif $post['regdate']+(60*60*24*1095) <= TIME_NOW then><span style="color: #FF0080;">3 Years of Service</span>
    <elseif $post['regdate']+(60*60*24*730) <= TIME_NOW then><span style="color: #FF00BF;">2 Years of Service</span>
    <elseif $post['regdate']+(60*60*24*365) <= TIME_NOW then><span style="color: #FF00FF;">1 Year of Service</span>
    <elseif $post['regdate']+(60*60*24*330) <= TIME_NOW then><span style="color: #0080FF;">11 Months of Service</span>
    <elseif $post['regdate']+(60*60*24*300) <= TIME_NOW then><span style="color: #00FFFF;">10 Months of Service</span>
    <elseif $post['regdate']+(60*60*24*270) <= TIME_NOW then><span style="color: #00FF80;">9 Months of Service</span>
    <elseif $post['regdate']+(60*60*24*240) <= TIME_NOW then><span style="color: #00FF00;">8 Months of Service</span>
    <elseif $post['regdate']+(60*60*24*210) <= TIME_NOW then><span style="color: #FF4000;">7 Months of Service</span>
    <elseif $post['regdate']+(60*60*24*180) <= TIME_NOW then><span style="color: #FF8000;">6 Months of Service</span>
    <elseif $post['regdate']+(60*60*24*150) <= TIME_NOW then><span style="color: #FFBF00;">5 Months of Service</span>
    <elseif $post['regdate']+(60*60*24*120) <= TIME_NOW then><span style="color: #FFFF00;">4 Months of Service</span>
    <elseif $post['regdate']+(60*60*24*90) <= TIME_NOW then><span style="color: #F4FA58;">3 Months of Service</span>
    <elseif $post['regdate']+(60*60*24*60) <= TIME_NOW then><span style="color: #D8D8D8;">2 Months of Service</span>
    <elseif $post['regdate']+(60*60*24*30) <= TIME_NOW then><span style="color: #848484;">1 Month of Service</span>
    <elseif $post['regdate']+(60*60*24*0) <= TIME_NOW then><span style="color: #848484;">Less Than a Month</span></if>
    </div>
    {$post['achivementspostbit']}
    </div>

    <div class="{$post['ts_class']}">
    <div class="post_head">
    {$post['badge']}
    {$post['posturl']}
    {$post['icon']}
    <span class="post_date"><i class="fa fa-clock-o"></i> {$post['postdate']} <span class="post_edit" id="edited_by_{$post['pid']}">{$post['editedmsg']}{$post['edithistory']}</span></span>
    {$post['subject_extra']}
    </div>
    <div class="post_body scaleimages{$post['abp_solveit_css']}" id="pid_{$post['pid']}">
    {$post['message']}
    </div>
    {$post['attachments']} {$post['extendedpolls']}
    {$post['signature']}
    <div class="post_meta" id="post_meta_{$post['pid']}">
    {$post['iplogged']}
    </div>
    </div>
    </div>
    {$post['myreactions']}<div class="post_controls">
    <div class="postbit_buttons author_buttons float_left">
    {$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}{$post['ougc_feedback_button']}{$post['button_ba']}{$post['button_del_ba']}
    </div>
    <div class="postbit_buttons post_management_buttons float_right">
    {$post['button_solveit']}{$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']}
    </div>
    </div>
    </div>{myadvertisements[zone_3]}

    [Image: Screenshot_349.png]
    [Image: Screenshot_350.png]


    Warning Level & Total Feedback (ougc feedback plugin) both are show in default theme

    please add both in my template too

    Thank You
    AmazOuz
    Offline

    Administrator

    Posts: 272
    Threads: 34
    Joined: Oct 2017
    Reputation: 11
    #4
    12-21-2019, 02:37 AM
    As i don't know how OUGC feedback plugin works (i don't have enough time to look at details right now), i cannot give a solution now.
    For warning stuff i'm replying here : https://developement.design/forum/Thread...nded-theme
    For stars colors for each group, i guess it's not a default functionality in MyBB, perhaps i will write a tutorial about it when i have time Wink
    kuttysoft
    Offline

    Subscriber
    Posts: 27
    Threads: 7
    Joined: Dec 2018
    Reputation: 0
    #5
    12-22-2019, 07:37 AM
    (12-21-2019, 02:37 AM)AmazOuz Wrote: As i don't know how OUGC feedback plugin works (i don't have enough time to look at details right now), i cannot give a solution now.
    For warning stuff i'm replying here : https://developement.design/forum/Thread...nded-theme
    For stars colors for each group, i guess it's not a default functionality in MyBB, perhaps i will write a tutorial about it when i have time Wink

    ok sir hope u give us tut for different color stars
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)



    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    D&D Company

    Home · Members · Team · Help · Contact

    © D&D - Powered by MyBB

    Paris, France

    07 53 04 58 86

    business@developement.design

    About the company We are a growing company of web developers & designers, specialized in MyBB plugins & themes. Our work is our propaganda.

    Linear Mode
    Threaded Mode