MyBB Community Forums

Full Version: MyTrade theme
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Thanks, I need help for remove the sidebar of latest activity for space out the forum... It's possible ?

Thanks for your reply

http://pasteboard.co/2p0QJBul.png

I want remove the count sujet/message and space out the forum please
(2015-08-01, 12:37 PM)nikiips Wrote: [ -> ]Thanks, I need help for remove the sidebar of latest activity for space out the forum... It's possible ?

Thanks for your reply

http://pasteboard.co/2p0QJBul.png

I want remove the count sujet/message and space out the forum please

Ok it's quite a tutorial, let me check all the steps and wait for the edit of this post.

EDIT:

1. Remove the Thread/Posts words:

ACP > Templates & Styles > MyTrade Templates > Forum Bit Templates > forumbit_depth1_cat

Replace all the template with this code


<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead{$expthead}" colspan="5">
<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
<div><span class="cattitle"><a href="{$forum_url}">{$forum['name']}</a></span>&nbsp;&nbsp;<span class="catdesc">{$forum['description']}</span></div>
</td>
</tr>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
<tr>
<td class="tcat" colspan="2" align="left" style="padding-left: 54px;"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong></strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap; padding-right: 20px;"></td>
<td class="tcat" width="200" align="left" style="padding-left: 7px;"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$sub_forums}
</tbody>
</table>
<br />


2. Remove the latest activity (or sidebar)

ACP > Templates & Styles > MyTrade Templates > Index Page Templates > index

Replace all the index template with this new one


<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
lang.no_new_posts = "{$lang->no_new_posts}";
lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}
{$forums}
<br class="clear" /><br />
{$boardstats}
{$footer}
</body>
</html>

Now go to ACP > Templates & Styles > MyTrade Templates > Ungrouped Templates > headerinclude

Search and delete this code (only this code):


<script type="text/javascript">
jQuery(function($) {
    $(".clickedbuttons").hide();
    $(".buttons").click(function() {
        $(".sidebar").animate({height: "hide", opacity: 0}, 500,
            function() {
                $(".forums").animate({width: "984px"}, 500);
            });
        $(this).hide();
        $(".clickedbuttons").show();
        $.cookie("sidebar","collapsed", {expires: 365});
        return false;
    });
    $(".clickedbuttons").click(function() {
        $(".forums").animate({width: "724px"}, 500,
            function() {
                $(".sidebar").animate({height: "show", opacity: 1}, 500);
            });
        $(this).hide();
        $(".buttons").show();
        $.cookie("sidebar","expanded", {expires: 365});
        return false;
    });
    if($.cookie("sidebar") == "collapsed") {
        $(".buttons").hide();
        $(".clickedbuttons").show();
        $(".forums").css("width","984px");
        $(".sidebar").hide();
    };
});
</script>

ACP > Templates & Styles > MyTrade Templates > Navigation Templates > nav

Replace all the template with this code:


<fieldset class="breadcrumb">
 <span class="crumbs">{$nav}{$activesep}
<span class="crust">{$activebit}</span>
</span>
</fieldset>


That's all. I don't do this kind of "tutorials" anymore, so please, from now to the future, only reports errors with the theme.

Any other HTML/CSS related thing that are not an error (Like customizing things) it's up to you.

Cheers.
(2015-08-01, 10:39 PM)eNvy Wrote: [ -> ]
(2015-08-01, 12:37 PM)nikiips Wrote: [ -> ]Thanks, I need help for remove the sidebar of latest activity for space out the forum... It's possible ?

Thanks for your reply

http://pasteboard.co/2p0QJBul.png

I want remove the count sujet/message and space out the forum please

Ok it's quite a tutorial, let me check all the steps and wait for the edit of this post.

EDIT:

1. Remove the Thread/Posts words:

ACP > Templates & Styles > MyTrade Templates > Forum Bit Templates > forumbit_depth1_cat

Replace all the template with this code


<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead{$expthead}" colspan="5">
<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
<div><span class="cattitle"><a href="{$forum_url}">{$forum['name']}</a></span>&nbsp;&nbsp;<span class="catdesc">{$forum['description']}</span></div>
</td>
</tr>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
<tr>
<td class="tcat" colspan="2" align="left" style="padding-left: 54px;"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong></strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap; padding-right: 20px;"></td>
<td class="tcat" width="200" align="left" style="padding-left: 7px;"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$sub_forums}
</tbody>
</table>
<br />


2. Remove the latest activity (or sidebar)

ACP > Templates & Styles > MyTrade Templates > Index Page Templates > index

Replace all the index template with this new one


<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
lang.no_new_posts = "{$lang->no_new_posts}";
lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}
{$forums}
<br class="clear" /><br />
{$boardstats}
{$footer}
</body>
</html>

Now go to ACP > Templates & Styles > MyTrade Templates > Ungrouped Templates > headerinclude

Search and delete this code (only this code):


<script type="text/javascript">
jQuery(function($) {
    $(".clickedbuttons").hide();
    $(".buttons").click(function() {
        $(".sidebar").animate({height: "hide", opacity: 0}, 500,
            function() {
                $(".forums").animate({width: "984px"}, 500);
            });
        $(this).hide();
        $(".clickedbuttons").show();
        $.cookie("sidebar","collapsed", {expires: 365});
        return false;
    });
    $(".clickedbuttons").click(function() {
        $(".forums").animate({width: "724px"}, 500,
            function() {
                $(".sidebar").animate({height: "show", opacity: 1}, 500);
            });
        $(this).hide();
        $(".buttons").show();
        $.cookie("sidebar","expanded", {expires: 365});
        return false;
    });
    if($.cookie("sidebar") == "collapsed") {
        $(".buttons").hide();
        $(".clickedbuttons").show();
        $(".forums").css("width","984px");
        $(".sidebar").hide();
    };
});
</script>

ACP > Templates & Styles > MyTrade Templates > Navigation Templates > nav

Replace all the template with this code:


<fieldset class="breadcrumb">
 <span class="crumbs">{$nav}{$activesep}
<span class="crust">{$activebit}</span>
</span>
</fieldset>


That's all. I don't do this kind of "tutorials" anymore, so please, from now to the future, only reports errors with the theme.

Any other HTML/CSS related thing that are not an error (Like customizing things) it's up to you.

Cheers.
Very very thanks for your tutorial is very good but sorry after these etapes my website resembles that: http://pasteboard.co/2peJeaQp.png

Its just possible help me one last time please...

but in the section the thread/messsage are still there... you have just remove the one of the home... how to remove all the site and also on the inside of the section please...

http://pasteboard.co/2pfjEhpD.png
I don't know why the categories look like that, if you follow all the steps, it should be fine... Let me check again.

EDIT: If you follow all the steps, the categories expands like the forum. Check again if you have any extra code there.

To remove the other two words:

ACP > Templates & Styles > MyTrade Templates > Forum Display Templates > forumdisplay_subforum

Replace all the code with this:

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="5" align="left"><strong>{$lang->sub_forums_in}</strong></td>
</tr>
<tr>
<td class="tcat" colspan="2" align="left" style="padding-left: 54px;"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong></strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap; padding-right: 20px;"></td>
<td class="tcat" width="200" align="left" style="padding-left: 7px;"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$forums}
</table>
<br />
Great the all thread/posts are removed...  Very thanks

But in the subforum i want... : http://pasteboard.co/2pWn6g1f.png

and in the home please i want this: http://pasteboard.co/2pWBgePV.png

Very thanks for your help Heart
(2015-08-02, 12:02 PM)nikiips Wrote: [ -> ]Great the all thread/posts are removed...  Very thanks

But in the subforum i want... : http://pasteboard.co/2pWn6g1f.png

and in the home please i want this: http://pasteboard.co/2pWBgePV.png

Very thanks for your help Heart

I finally found your site, you have a MESS with the code, and that's why you keep seeing that wrong.

Last and not less, you remove BOTH copyrights, my credits and the MyBB credits, no more support for people who disrespect my work and the MyBB team work.

God bless you.
Oops I did not really notice what is on it is an error and i bad parameter... I do know how put it agai since I wanted to modify the footer template for remove the navigation and "about us" , sorry... I am a beginner, but how do you put it I do not know develoopper. Please

How can I put copyright since it is a mistake when they were deleted

That is what copyright ? because I managed to put it , I install another template myTrade and then I replace the footer with the new. it's correct or it's an another Copyright ?

http://pasteboard.co/2qs3gyaq.png
MyTrade theme updated to 1.8.5, and removed the sidebar with the latest activity script.
Thanks, you have a guide!
Hey quick question, did you keep the css in for the second column that contained latest activity? I want to mess with it and replace that column with my own content.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17