Jump to content

Chestnut - IPBFangorn 4.0+


Lawliet

Recommended Posts

It depends on your skills in .css

The one what you should do it's use designer tools builded in every browser. Just click right mouse on interesting you element and choose "Inspect element". There you should find informations about place which you clicked. Then just find interesting you "div" in .css files (ipb_styles.css mostly) and edit the color.

A few people whose bought for example Aktolia (other skin of IPBFangorn) want to help in edit colors, but we see what we're purchasing. Support concerns bugs and errors. (sometimes a little skin edition).

Link to comment
Share on other sites

Hi,

I am changing the theme now.

What is the easiest way to change the logo?

Can I remove the background picker & where do I edit the background images in the .ccs? (I think I will just have a plain white background - no images)

Link to comment
Share on other sites

To change logo text, go to Admin Control Panel -> Look & Feel -> Chestnut -> defaultHeader

<a href='{$this->settings['board_url']}' title='{$this->lang->words['go_home']}' rel="home" accesskey='1'>Chestnut</a>

Just change the "Chestnut" text to other whatever you want.

If you want to hide background picker go to Admin Control Panel -> Look & Feel -> Chestnut -> ipbfangorn_js
Replace all content to :

<script type="text/javascript">
    jQuery.noConflict();
  jQuery(document).ready(function() {  
        jQuery(window).scroll(function(){
            if (jQuery(this).backtotop() > 100) {
                jQuery('.backtotop, .tops, .smoothtop').fadeIn();
            } else {
                jQuery('.backtotop, .tops, .smoothtop').fadeOut();
            }
        });
 
        jQuery('.backtotop, .tops, .smoothtop').click(function(){
            jQuery("html, body").animate({ scrollTop: 0 }, 600);
            return false;
        });
 
    });

    jQuery('.branding, #header_bar').blurjs({
       source: 'body',
       radius: 10,
       overlay: 'rgba(0, 0, 0, 0.4)',
    });
});
</script>

As you see, when you delete images, your header is empty. Why? Because he's taking background from background image and replacing it to brush background. To repair it - go to .css -> ipb_styles.css

If you want to add an image:

Find:

body {
        /*background-image: url({style_images_url}/backgrounds/bac2.png);*/
        background-repeat: no-repeat;
        background-position: top;
        background-color: #282624;
    font: normal 12px OpenSans_regular, helvetica, arial, sans-serif;
    position: relative;
}

There you can set a background image.

If you don't want an any image as your background just find:

.branding {

and add above this:

background: rgba(0, 0, 0, 0.5);

Now we should hide that paintbrush. Go to global_template

Find:

<div id="dropdown"></div>

Replace to:

<div id="dropdown hide"></div>
Link to comment
Share on other sites

Do you know why this might be happening?

'>

Maybe it is the achievements addon I have?

Why avatars in your topic view are too big? Did you change something? Give for us address to your community - this will be very helpfully to resolve this problem. Try to off all hooks or/and applications and then look on it.

Turn on Chestnut for guests (make it visable).

Link to comment
Share on other sites

Do you know why this might be happening?

'>

Maybe it is the achievements addon I have?

Okay, follow these steps or re-download Chestnut which new version will be uploaded tonight.

1. Go to Admin Control Panel -> Look & Feel -> Chestnut -> userInfoPane

replace all content to:

<div itemscope itemtype="http://schema.org/Person" class='user_details'>
<if test="$author['_online']"><img src="{style_images_url}/online.png" alt="" class='user_online' data-tooltip="Online" /><else /><img src="{style_images_url}/offline.png" alt="" class='user_online' data-tooltip="Offline" /></if>
    <span class='hide' itemprop="name">{$author['members_display_name']}</span>
    <ul class='basic_info'>
        <if test="membertitle:|:$author['member_title']">
            <p class='desc member_title'>{$author['member_title']}</p>
        </if>
        <if test="avatar:|:$author['member_id']">
            <li class='avatar'>
                <if test="canSeeProfiles:|:$this->memberData['g_is_supmod'] OR ( $this->memberData['g_mem_info'] && ! IPSMember::isInactive( $author ) )">
                <a itemprop="url" href="{parse url="showuser={$author['member_id']}" template="showuser" seotitle="{$author['members_seo_name']}" base="public"}" title="{$this->lang->words['view_profile']}: {$author['members_display_name']}" class='ipsUserPhotoLink'>
                </if>
                <if test="hasVariable:|:$this->settings['member_topic_avatar_max']">
                    <img itemprop="image" src='{$author['pp_main_photo']}' class='ipsUserPhoto ipsUserPhoto_large' />
                <else />
                    <img itemprop="image" src='{$author['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_large' />
                </if>
                <if test="canSeeProfiles2:|:$this->memberData['g_is_supmod'] OR ( $this->memberData['g_mem_info'] && ! IPSMember::isInactive( $author ) )">
                </a>
                </if>
            </li>
        <else />
            <li class='avatar'>
                <img itemprop="image" src='{$author['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_large' />
            </li>
        </if>
<div class="ipbf_information">
        <li class='group_title'>
            {$author['_group_formatted']}
        </li>
        <if test="rankimage:|:$author['member_rank_img']">
            <li class='group_icon'>
            <if test="rankimageimage:|:$author['member_rank_img_i'] == 'img'">
                <img src='{$author['member_rank_img']}' alt='' />
            <else />
                {$author['member_rank_img']}
            </if>
            </li>
        </if>
        <if test="postCount:|:$author['member_id']">
        <li class='post_count desc lighter'>
            {parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"} {$this->lang->words['m_posts']}
        </li>
        </if>
        <if test="authorwarn:|:$author['show_warn']">
            <li>
                <if test="hasWarningId:|:$options['wl_id']">
                    <img src='{$this->settings['img_url']}/warn.png' class='clickable' onclick='warningPopup( this, {$options['wl_id']} )' title='{$this->lang->words['warnings_issued']}' />
                </if>
                <a class='desc lighter blend_links' href='{parse url="app=members&amp;module=profile&amp;section=warnings&amp;member={$author['member_id']}&amp;from_app={$this->request['app']}&amp;from_id1={$contentid}&amp;from_id2={$options['id2']}" base="public"}' id='warn_link_{$contentid}_{$author['member_id']}' title='{$this->lang->words['warn_view_history']}'>{parse expression="sprintf( $this->lang->words['warn_status'], $author['warn_level'] )"}</a>
            </li>
        </if>
    </ul>
    
    <if test="authorcfields:|:$author['custom_fields'] != """>
        <ul class='custom_fields'>
            <foreach loop="customFieldsOuter:$author['custom_fields'] as $group => $data">
                <foreach loop="customFields:$author['custom_fields'][ $group ] as $field">
                    <if test="$field != ''">
                        <li>
                            {$field}
                        </li>
                    </if>
                </foreach>
            </foreach>

        </ul>
    </if>

</div>

2. Go to Admin Control Panel -> Look & Feel -> Chestnut -> includeRTL

replace all content to:

<php>$this->isRtlLang    = false;</php>
<foreach loop="langData:$this->cache->getCache('lang_data') as $data">
    <if test="checkrtl:|:intval($this->member->language_id) == intval($data['lang_id'])">
        <if test="isrtl:|:$data['lang_isrtl']">
            <if test="$this->isRtlLang = true"></if>
        </if>
    </if>
</foreach>
<if test="importrtlcss:|:$this->isRtlLang AND is_file( DOC_IPS_ROOT_PATH . '/' . PUBLIC_DIRECTORY . '/style_css/' . $this->registry->output->skin['_csscacheid'] . '/ipb_rtl.css' )">
    <link rel="stylesheet" type="text/css" media="screen" href="{$this->settings['public_dir']}style_css/{$this->registry->output->skin['_csscacheid']}/ipb_rtl.css" />
    <script type='text/javascript'>
        var rtlFull    = "{$this->settings['public_dir']}style_css/{$this->registry->output->skin['_csscacheid']}/ipb_rtl.css";
        var isRTL    = true;
    </script>
<else />
    <if test="importrtlcss:|:$this->isRtlLang AND is_file( DOC_IPS_ROOT_PATH . '/' . PUBLIC_DIRECTORY . '/style_css/ipb_rtl.css' )">
        <link rel="stylesheet" type="text/css" media="screen" href="{$this->settings['public_dir']}style_css/ipb_rtl.css" />
        <script type='text/javascript'>
            var rtlFull    = "{$this->settings['public_dir']}style_css/ipb_rtl.css";
            var isRTL    = true;
        </script>
    </if>
</if>
<if test="importrtlcss:|:$this->isRtlLang AND is_file( DOC_IPS_ROOT_PATH . '/' . PUBLIC_DIRECTORY . '/style_css/' . $this->registry->output->skin['_csscacheid'] . '/ipb_rtl_ie.css' )">
    <!--[if lte IE 7]>
    <link rel="stylesheet" type="text/css" media="screen" href="{$this->settings['public_dir']}style_css/{$this->registry->output->skin['_csscacheid']}/ipb_rtl_ie.css" />
    <![endif]-->
    <script type='text/javascript'>
        var rtlIe    = "{$this->settings['public_dir']}style_css/{$this->registry->output->skin['_csscacheid']}/ipb_rtl_ie.css";
    </script>
<else />
    <if test="importrtlcss:|:$this->isRtlLang AND is_file( DOC_IPS_ROOT_PATH . '/' . PUBLIC_DIRECTORY . '/style_css/ipb_rtl_ie.css' )">
        <!--[if lte IE 7]>
        <link rel="stylesheet" type="text/css" media="screen" href="{$this->settings['public_dir']}style_css/ipb_rtl_ie.css" />
        <![endif]-->
        <script type='text/javascript'>
            var rtlIe    = "{$this->settings['public_dir']}style_css/ipb_rtl_ie.css";
        </script>
    </if>
</if>
<if test="hasMemberTopicMax:|:$this->settings['member_topic_avatar_max']">
    <!-- Forces topic photo to show without thumb -->
    <style type='text/css'>
        .ipsUserPhoto_variable { max-width: {parse expression="intval($this->settings['member_topic_avatar_max'])"}px !important; }
        <if test="RTLMargin:|:$this->isRtlLang">
            .post_body { margin-right: {parse expression="((intval($this->settings['member_topic_avatar_max']  + 25 ) < 185 ) ? 185 : intval($this->settings['member_topic_avatar_max']  + 25 ) )"}px; }
        <else />
            .post_body { margin-left: {parse expression="((intval($this->settings['member_topic_avatar_max']  + 25 ) < 185 ) ? 185 : intval($this->settings['member_topic_avatar_max']  + 25 ) )"}px; }
        </if>
    </style>
</if>

3. Go to Admin Control Panel -> Look & Feel -> Chestnut -> Other Global Templates -> generateTopicIcon

replace all content to:

<if test="$imgArray['is_moved']">
    <span title="{$this->lang->words['pm_moved']}">{parse replacement="t_moved_topic"}<img src="{style_images_url}/t_moved.png" alt="" /></span>
</if>
<if test="$imgArray['is_closed']">
    <span title="{$this->lang->words['pm_locked']}">{parse replacement="t_closed"}</span>
</if>
<if test="!$imgArray['is_closed']">
<if test="$imgArray['is_hot']">
    <span title="{$this->lang->words['pm_popular']}">{parse replacement="t_hot_unread"}</span>
</if></if>
<if test="!$imgArray['is_hot']">
<if test="!$imgArray['is_closed']">
<if test="empty( $unreadUrl ) && ! $imgArray['is_moved']">
<if test="$imgArray['show_dot']">{parse replacement="t_read_dot"}<else /><img src="{style_images_url}/t_read.png" alt="" /></if>
</if>
<if test="gotolatestwrap:|: ! empty( $unreadUrl ) && ! $imgArray['is_moved']">
    <a href='{$unreadUrl}' title='{$this->lang->words['first_unread_post']}'>
    <if test="$imgArray['show_dot']">
        {parse replacement="t_unread_dot"}
    <else />
        {parse replacement="t_unread"}
    </if>
    </a>
</if>
</if>
</if>

Go to Admin Control Panel -> Look & Feel -> Chestnut -> css -> ipb_styles.css

Find:

.post_body {
        background: #353e38 url({style_images_url}/gradient-table.png) repeat-x top;
    margin: -1px 0px -10px 205px;
    padding: 5px 15px 0 15px;
}

replace to:

.post_body {
        background: #353e38 url({style_images_url}/gradient-table.png) repeat-x top;
    margin: -2px 0px -10px 205px;
    padding: 5px 15px 0 15px;
}
Link to comment
Share on other sites

Okay, follow these steps or re-download Chestnut which new version will be uploaded tonight.

1. Go to Admin Control Panel -> Look & Feel -> Chestnut -> userInfoPane

replace all content to:

<div itemscope itemtype="http://schema.org/Person" class='user_details'>
<if test="$author['_online']"><img src="{style_images_url}/online.png" alt="" class='user_online' data-tooltip="Online" /><else /><img src="{style_images_url}/offline.png" alt="" class='user_online' data-tooltip="Offline" /></if>
    <span class='hide' itemprop="name">{$author['members_display_name']}</span>
    <ul class='basic_info'>
        <if test="membertitle:|:$author['member_title']">
            <p class='desc member_title'>{$author['member_title']}</p>
        </if>
        <if test="avatar:|:$author['member_id']">
            <li class='avatar'>
                <if test="canSeeProfiles:|:$this->memberData['g_is_supmod'] OR ( $this->memberData['g_mem_info'] && ! IPSMember::isInactive( $author ) )">
                <a itemprop="url" href="{parse url="showuser={$author['member_id']}" template="showuser" seotitle="{$author['members_seo_name']}" base="public"}" title="{$this->lang->words['view_profile']}: {$author['members_display_name']}" class='ipsUserPhotoLink'>
                </if>
                <if test="hasVariable:|:$this->settings['member_topic_avatar_max']">
                    <img itemprop="image" src='{$author['pp_main_photo']}' class='ipsUserPhoto ipsUserPhoto_large' />
                <else />
                    <img itemprop="image" src='{$author['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_large' />
                </if>
                <if test="canSeeProfiles2:|:$this->memberData['g_is_supmod'] OR ( $this->memberData['g_mem_info'] && ! IPSMember::isInactive( $author ) )">
                </a>
                </if>
            </li>
        <else />
            <li class='avatar'>
                <img itemprop="image" src='{$author['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_large' />
            </li>
        </if>
<div class="ipbf_information">
        <li class='group_title'>
            {$author['_group_formatted']}
        </li>
        <if test="rankimage:|:$author['member_rank_img']">
            <li class='group_icon'>
            <if test="rankimageimage:|:$author['member_rank_img_i'] == 'img'">
                <img src='{$author['member_rank_img']}' alt='' />
            <else />
                {$author['member_rank_img']}
            </if>
            </li>
        </if>
        <if test="postCount:|:$author['member_id']">
        <li class='post_count desc lighter'>
            {parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"} {$this->lang->words['m_posts']}
        </li>
        </if>
        <if test="authorwarn:|:$author['show_warn']">
            <li>
                <if test="hasWarningId:|:$options['wl_id']">
                    <img src='{$this->settings['img_url']}/warn.png' class='clickable' onclick='warningPopup( this, {$options['wl_id']} )' title='{$this->lang->words['warnings_issued']}' />
                </if>
                <a class='desc lighter blend_links' href='{parse url="app=members&amp;module=profile&amp;section=warnings&amp;member={$author['member_id']}&amp;from_app={$this->request['app']}&amp;from_id1={$contentid}&amp;from_id2={$options['id2']}" base="public"}' id='warn_link_{$contentid}_{$author['member_id']}' title='{$this->lang->words['warn_view_history']}'>{parse expression="sprintf( $this->lang->words['warn_status'], $author['warn_level'] )"}</a>
            </li>
        </if>
    </ul>
    
    <if test="authorcfields:|:$author['custom_fields'] != """>
        <ul class='custom_fields'>
            <foreach loop="customFieldsOuter:$author['custom_fields'] as $group => $data">
                <foreach loop="customFields:$author['custom_fields'][ $group ] as $field">
                    <if test="$field != ''">
                        <li>
                            {$field}
                        </li>
                    </if>
                </foreach>
            </foreach>

        </ul>
    </if>

</div>

2. Go to Admin Control Panel -> Look & Feel -> Chestnut -> includeRTL

replace all content to:

<php>$this->isRtlLang    = false;</php>
<foreach loop="langData:$this->cache->getCache('lang_data') as $data">
    <if test="checkrtl:|:intval($this->member->language_id) == intval($data['lang_id'])">
        <if test="isrtl:|:$data['lang_isrtl']">
            <if test="$this->isRtlLang = true"></if>
        </if>
    </if>
</foreach>
<if test="importrtlcss:|:$this->isRtlLang AND is_file( DOC_IPS_ROOT_PATH . '/' . PUBLIC_DIRECTORY . '/style_css/' . $this->registry->output->skin['_csscacheid'] . '/ipb_rtl.css' )">
    <link rel="stylesheet" type="text/css" media="screen" href="{$this->settings['public_dir']}style_css/{$this->registry->output->skin['_csscacheid']}/ipb_rtl.css" />
    <script type='text/javascript'>
        var rtlFull    = "{$this->settings['public_dir']}style_css/{$this->registry->output->skin['_csscacheid']}/ipb_rtl.css";
        var isRTL    = true;
    </script>
<else />
    <if test="importrtlcss:|:$this->isRtlLang AND is_file( DOC_IPS_ROOT_PATH . '/' . PUBLIC_DIRECTORY . '/style_css/ipb_rtl.css' )">
        <link rel="stylesheet" type="text/css" media="screen" href="{$this->settings['public_dir']}style_css/ipb_rtl.css" />
        <script type='text/javascript'>
            var rtlFull    = "{$this->settings['public_dir']}style_css/ipb_rtl.css";
            var isRTL    = true;
        </script>
    </if>
</if>
<if test="importrtlcss:|:$this->isRtlLang AND is_file( DOC_IPS_ROOT_PATH . '/' . PUBLIC_DIRECTORY . '/style_css/' . $this->registry->output->skin['_csscacheid'] . '/ipb_rtl_ie.css' )">
    <!--[if lte IE 7]>
    <link rel="stylesheet" type="text/css" media="screen" href="{$this->settings['public_dir']}style_css/{$this->registry->output->skin['_csscacheid']}/ipb_rtl_ie.css" />
    <![endif]-->
    <script type='text/javascript'>
        var rtlIe    = "{$this->settings['public_dir']}style_css/{$this->registry->output->skin['_csscacheid']}/ipb_rtl_ie.css";
    </script>
<else />
    <if test="importrtlcss:|:$this->isRtlLang AND is_file( DOC_IPS_ROOT_PATH . '/' . PUBLIC_DIRECTORY . '/style_css/ipb_rtl_ie.css' )">
        <!--[if lte IE 7]>
        <link rel="stylesheet" type="text/css" media="screen" href="{$this->settings['public_dir']}style_css/ipb_rtl_ie.css" />
        <![endif]-->
        <script type='text/javascript'>
            var rtlIe    = "{$this->settings['public_dir']}style_css/ipb_rtl_ie.css";
        </script>
    </if>
</if>
<if test="hasMemberTopicMax:|:$this->settings['member_topic_avatar_max']">
    <!-- Forces topic photo to show without thumb -->
    <style type='text/css'>
        .ipsUserPhoto_variable { max-width: {parse expression="intval($this->settings['member_topic_avatar_max'])"}px !important; }
        <if test="RTLMargin:|:$this->isRtlLang">
            .post_body { margin-right: {parse expression="((intval($this->settings['member_topic_avatar_max']  + 25 ) < 185 ) ? 185 : intval($this->settings['member_topic_avatar_max']  + 25 ) )"}px; }
        <else />
            .post_body { margin-left: {parse expression="((intval($this->settings['member_topic_avatar_max']  + 25 ) < 185 ) ? 185 : intval($this->settings['member_topic_avatar_max']  + 25 ) )"}px; }
        </if>
    </style>
</if>

3. Go to Admin Control Panel -> Look & Feel -> Chestnut -> Other Global Templates -> generateTopicIcon

replace all content to:

<if test="$imgArray['is_moved']">
    <span title="{$this->lang->words['pm_moved']}">{parse replacement="t_moved_topic"}<img src="{style_images_url}/t_moved.png" alt="" /></span>
</if>
<if test="$imgArray['is_closed']">
    <span title="{$this->lang->words['pm_locked']}">{parse replacement="t_closed"}</span>
</if>
<if test="!$imgArray['is_closed']">
<if test="$imgArray['is_hot']">
    <span title="{$this->lang->words['pm_popular']}">{parse replacement="t_hot_unread"}</span>
</if></if>
<if test="!$imgArray['is_hot']">
<if test="!$imgArray['is_closed']">
<if test="empty( $unreadUrl ) && ! $imgArray['is_moved']">
<if test="$imgArray['show_dot']">{parse replacement="t_read_dot"}<else /><img src="{style_images_url}/t_read.png" alt="" /></if>
</if>
<if test="gotolatestwrap:|: ! empty( $unreadUrl ) && ! $imgArray['is_moved']">
    <a href='{$unreadUrl}' title='{$this->lang->words['first_unread_post']}'>
    <if test="$imgArray['show_dot']">
        {parse replacement="t_unread_dot"}
    <else />
        {parse replacement="t_unread"}
    </if>
    </a>
</if>
</if>
</if>

Go to Admin Control Panel -> Look & Feel -> Chestnut -> css -> ipb_styles.css

Find:

.post_body {
        background: #353e38 url({style_images_url}/gradient-table.png) repeat-x top;
    margin: -1px 0px -10px 205px;
    padding: 5px 15px 0 15px;
}

replace to:

.post_body {
        background: #353e38 url({style_images_url}/gradient-table.png) repeat-x top;
    margin: -2px 0px -10px 205px;
    padding: 5px 15px 0 15px;
}

Thanks, I will redownload the file & update it. I appreciate your support, you're awesome =D

Link to comment
Share on other sites

Hello

There is some bug.

Go to Admin Control Panel -> Look & Feel -> Chestnut -> includeRTL

replace all content to:

<php>$this->isRtlLang    = false;</php>
<foreach loop="langData:$this->cache->getCache('lang_data') as $data">
    <if test="checkrtl:|:intval($this->member->language_id) == intval($data['lang_id'])">
        <if test="isrtl:|:$data['lang_isrtl']">
            <if test="$this->isRtlLang = true"></if>
        </if>
    </if>
</foreach>
<if test="importrtlcss:|:$this->isRtlLang AND is_file( DOC_IPS_ROOT_PATH . '/' . PUBLIC_DIRECTORY . '/style_css/' . $this->registry->output->skin['_csscacheid'] . '/ipb_rtl.css' )">
    <link rel="stylesheet" type="text/css" media="screen" href="{$this->settings['public_dir']}style_css/{$this->registry->output->skin['_csscacheid']}/ipb_rtl.css" />
    <script type='text/javascript'>
        var rtlFull    = "{$this->settings['public_dir']}style_css/{$this->registry->output->skin['_csscacheid']}/ipb_rtl.css";
        var isRTL    = true;
    </script>
<else />
    <if test="importrtlcss:|:$this->isRtlLang AND is_file( DOC_IPS_ROOT_PATH . '/' . PUBLIC_DIRECTORY . '/style_css/ipb_rtl.css' )">
        <link rel="stylesheet" type="text/css" media="screen" href="{$this->settings['public_dir']}style_css/ipb_rtl.css" />
        <script type='text/javascript'>
            var rtlFull    = "{$this->settings['public_dir']}style_css/ipb_rtl.css";
            var isRTL    = true;
        </script>
    </if>
</if>
<if test="importrtlcss:|:$this->isRtlLang AND is_file( DOC_IPS_ROOT_PATH . '/' . PUBLIC_DIRECTORY . '/style_css/' . $this->registry->output->skin['_csscacheid'] . '/ipb_rtl_ie.css' )">
    <!--[if lte IE 7]>
    <link rel="stylesheet" type="text/css" media="screen" href="{$this->settings['public_dir']}style_css/{$this->registry->output->skin['_csscacheid']}/ipb_rtl_ie.css" />
    <![endif]-->
    <script type='text/javascript'>
        var rtlIe    = "{$this->settings['public_dir']}style_css/{$this->registry->output->skin['_csscacheid']}/ipb_rtl_ie.css";
    </script>
<else />
    <if test="importrtlcss:|:$this->isRtlLang AND is_file( DOC_IPS_ROOT_PATH . '/' . PUBLIC_DIRECTORY . '/style_css/ipb_rtl_ie.css' )">
        <!--[if lte IE 7]>
        <link rel="stylesheet" type="text/css" media="screen" href="{$this->settings['public_dir']}style_css/ipb_rtl_ie.css" />
        <![endif]-->
        <script type='text/javascript'>
            var rtlIe    = "{$this->settings['public_dir']}style_css/ipb_rtl_ie.css";
        </script>
    </if>
</if>
<if test="hasMemberTopicMax:|:$this->settings['member_topic_avatar_max']">
    <!-- Forces topic photo to show without thumb -->
    <style type='text/css'>
        .ipsUserPhoto_variable { max-width: {parse expression="intval($this->settings['member_topic_avatar_max'])"}px !important; }
    </style>
</if>
Link to comment
Share on other sites

Hello @ufshane

The copyright removal can be made as custom work but it costs over 25$. Write a private message to me if you want it.

Is this $25 to remove it or the actual charge for Copy the removal of the copyright, because I can actually make the changes myself...

Also I have a couple of questions...

One is there a way to set a minimum width to say 1024... this is to help with overlapping blocks when we have a leaderboard ad in the forums and the member profiles page has an issue with the global sidebar mod we are using.

Second, on the header change option, should this save for the user or not. Meaning if they choose one of the alternate header images, when they leave the site and come back should it remember the version they chose?

Link to comment
Share on other sites

Is this $25 to remove it or the actual charge for Copy the removal of the copyright, because I can actually make the changes myself...

Also I have a couple of questions...

One is there a way to set a minimum width to say 1024... this is to help with overlapping blocks when we have a leaderboard ad in the forums and the member profiles page has an issue with the global sidebar mod we are using.

Second, on the header change option, should this save for the user or not. Meaning if they choose one of the alternate header images, when they leave the site and come back should it remember the version they chose?

Of course you can do it yourself but then it's illegal. At many websites copyright removal costs over 100$ where theme just 25-30$. It's because informations about authors are very important for store development.

1. In ipb_styles.css try to edit:

#content, .main_width {
  margin: 0 auto;

  width: 87% !important; 
  min-width: 960px;
  max-width: 1400px;
}
and check the results. I don't know how global sidebars works, check it, edit and give me more informations about what part of site would you like to close in 1024px.

2. When members choose an image as header, then the choose (the option) is saving as cookie. The cookie expires for the year and then header images is replaced to default (of course before expire user can edit header again and then the choose is overwritten).
All settings are in "ipbfangorn_js" (in skin structure).
Now I see that there is a problem. I set cookie valid to 7 days. You can edit this value to whatever you want - go to ACP -> Look & Feel -> Chestnut -> ipbfangorn_js
find:

   jQuery("li.bg1 a").on('click', function(){
      jQuery("body").css("background-image", "url({style_images_url}/backgrounds/bac1.png)");
      ipb.Cookie.set("bgimg", "url({style_images_url}/backgrounds/bac1.png)", { expires: 7 });
   });
 
   jQuery("li.bg2 a").on('click', function(){
      jQuery("body").css("background-image", "url({style_images_url}/backgrounds/bac2.png)");
      ipb.Cookie.set("bgimg", "url({style_images_url}/backgrounds/bac2.png)", { expires: 7 });
   });
 
   jQuery("li.bg3 a").on('click', function(){
      jQuery("body").css("background-image", "url({style_images_url}/backgrounds/bac3.png)");
      ipb.Cookie.set("bgimg", "url({style_images_url}/backgrounds/bac3.png)", { expires: 7 });
   });
 
   jQuery("li.bg4 a").on('click', function(){
      jQuery("body").css("background-image", "url({style_images_url}/backgrounds/bac4.png)");
      ipb.Cookie.set("bgimg", "url({style_images_url}/backgrounds/bac4.png)", { expires: 7 });
   });

You can change "expires: 7" to for example "expires: 365" (a year).

Meaning if they choose one of the alternate header images, when they leave the site and come back should it remember the version they chose?

Yes

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...