Style for xbtit 2.5.4

  • 19 Replies
  • 1541 Views
*

Offline tojoaijo

  • **
  • 38
  • +0/-0
Style for xbtit 2.5.4
« on: October 09, 2017, 02:08:55 pm »
Hi everybody,

can anyone guide me how to create a new style for xbtit 2.5.4 please?
Or if you already have some style to suggest to me?

Thanks

*

Offline bhorer_alo

  • ****
  • 397
  • +0/-0
  • I'm Back!
    • OtakuBT.com
Re: Style for xbtit 2.5.4
« Reply #1 on: October 09, 2017, 07:01:21 pm »
Copy the folder: 'style/xbtit_default' to a new directory.
You can install the copied style as a new one from Admin CP
Modify main.tpl and main.css to make your own style
I'm a novice, eager to learn.
otakubt.com

*

Offline King Cobra

  • XBTIT Maintainer / Developer
  • *****
  • 529
  • +0/-0
  • xbtitFM Administrator
Re: Style for xbtit 2.5.4
« Reply #2 on: October 10, 2017, 01:46:27 pm »
Hi everybody,

can anyone guide me how to create a new style for xbtit 2.5.4 please?
Or if you already have some style to suggest to me?

Thanks
If you can't make your own theme I can do a theme design for a fee of course or if you find a theme you like here in the forum I can modify it to work
« Last Edit: October 10, 2017, 01:48:05 pm by King Cobra »

*

Offline tojoaijo

  • **
  • 38
  • +0/-0
Re: Style for xbtit 2.5.4
« Reply #3 on: October 11, 2017, 10:57:03 am »
Thanks for your help.
For now, I want to make a theme design which have:
  • Left side: the categories of torrents on the server
  • Right side: the latest torrens and latest posts on forum
I don't know if you have an idea of ​​what I want to do but I put a capture in the attachment :D

*

Offline King Cobra

  • XBTIT Maintainer / Developer
  • *****
  • 529
  • +0/-0
  • xbtitFM Administrator
Re: Style for xbtit 2.5.4
« Reply #4 on: October 11, 2017, 11:14:27 am »
you really don't need a theme you need the side blocks put back in the script like it was before the script got converted to bootstrap

*

Offline tojoaijo

  • **
  • 38
  • +0/-0
Re: Style for xbtit 2.5.4
« Reply #5 on: October 11, 2017, 01:17:43 pm »
So, how I can do this if you can help me?

*

Offline bhorer_alo

  • ****
  • 397
  • +0/-0
  • I'm Back!
    • OtakuBT.com
Re: Style for xbtit 2.5.4
« Reply #6 on: October 11, 2017, 07:17:14 pm »
I got sideblocks back. I'm almost there to integrate bootstrap 4
I'll commit to the master branch once I'm done.


See attached Preview
I'm a novice, eager to learn.
otakubt.com

*

Offline tojoaijo

  • **
  • 38
  • +0/-0
Re: Style for xbtit 2.5.4
« Reply #7 on: October 12, 2017, 08:15:54 am »
woawww, it's look good  ;D I like it  :D
I just miss the categories for this appearance there.
Good work Bhorer_alo  ;)
I'll wait for it

*

Offline bhorer_alo

  • ****
  • 397
  • +0/-0
  • I'm Back!
    • OtakuBT.com
Re: Style for xbtit 2.5.4
« Reply #8 on: October 14, 2017, 12:18:08 pm »
thanks
I'm a novice, eager to learn.
otakubt.com

*

Offline King Cobra

  • XBTIT Maintainer / Developer
  • *****
  • 529
  • +0/-0
  • xbtitFM Administrator
Re: Style for xbtit 2.5.4
« Reply #9 on: October 16, 2017, 12:40:57 am »
categories block is a custom block that don't come with xbtit so try doing a search for it in the forum

*

Offline King Cobra

  • XBTIT Maintainer / Developer
  • *****
  • 529
  • +0/-0
  • xbtitFM Administrator
Re: Style for xbtit 2.5.4
« Reply #10 on: November 06, 2017, 04:19:26 am »
@bhorer_alo
how is it going on adding the side blocks back in?

*

Offline tojoaijo

  • **
  • 38
  • +0/-0
Re: Style for xbtit 2.5.4
« Reply #11 on: November 06, 2017, 08:47:05 am »
Hi all,
How I can activate the side block again?

*

Offline tojoaijo

  • **
  • 38
  • +0/-0
Re: Style for xbtit 2.5.4
« Reply #12 on: November 10, 2017, 08:18:56 am »
I found the missing code to activate the sideblock :)
On the source code on github (at main.tpl), some line of code is missing, we have just these on content row:
Code: [Select]
<!-- Content Row -->
        <div class="row">
            <!-- Content Column -->
            <div class="col-md-12">

Or on other source code, I have this:
Code: [Select]
<!-- Content Row -->
        <div class="row">
            <!-- Content Column -->
            <div class="col-md-12">
                <div id="bodyarea" style="padding:4ex 0 0 0;">
                    <table border="0" align="center" cellpadding="0" cellspacing="0" width="100%">
                        <tr>
                            <td valign="top" width="5" rowspan="2"></td>
                            <if:HAS_LEFT_COL>
                                <td valign="top" id="col" width="150"><tag:main_left /></td>
                                <td valign="top" width="5" rowspan="2"></td>
                            </if:HAS_LEFT_COL>
                            <td id="mcol" valign="top"><tag:main_content /></td>
                            <if:HAS_RIGHT_COL>
                                <td valign="top" width="5" rowspan="2"></td>
                                <td valign="top" id="col" width="150"><tag:main_right /></td>
                            </if:HAS_RIGHT_COL>
                            <td valign="top" width="5" rowspan="2"></td>
                        </tr>
                    </table>
                    <br />
                    <table align="center" width="100%" cellpadding="0" cellspacing="0" border="0">
                        <tr>
                            <td valign="top" width="5" rowspan="2"></td>
                            <td id="mcol" valign="top"><tag:main_footer /></td>
                            <td valign="top" width="5" rowspan="2"></td>
                        </tr>
                    </table>
                    <br />
                </div>
 </div>
</div>
<!-- /.row -->

But I don't remember where I have that source code, perhaps here on the forum.
I have a active sideblock now (see pictures)
If someone need, this is my main.tpl with the sideblock active (see attachment)

*

Offline King Cobra

  • XBTIT Maintainer / Developer
  • *****
  • 529
  • +0/-0
  • xbtitFM Administrator
Re: Style for xbtit 2.5.4
« Reply #13 on: November 10, 2017, 10:36:59 am »
it may work but that isn't the proper way to have it for theme done with bootstrap

*

Offline tojoaijo

  • **
  • 38
  • +0/-0
Re: Style for xbtit 2.5.4
« Reply #14 on: November 10, 2017, 12:58:05 pm »
so, how can I do?

 


Powered by EzPortal