[RELEASE] xbtit version 2.2.0 (revision 642)

  • 15 Replies
  • 33151 Views
*

Offline Lupin

  • *****
  • 10,985
  • +0/-0
    • http://www.btiteam.org
[RELEASE] xbtit version 2.2.0 (revision 642)
« on: September 10, 2010, 10:12:04 am »
xbtit v.2.2.0 - revision 642 (Last commit Sept 9th 2010)

DOWNLOAD: http://demo.xbtit.com/index.php?page=torrent-details&id=aabbe23c0565a1b452ac20b943ef35f5975e588a

- INSTALLATION -

the torrent contains instructions and notes
for xbtt and smf options read the instructions FIRST

- QUICK INSTALL -

CREATE db and db user
UPLOAD files to webroot
POINT browser at site
FOLLOW onscreen instructions
DELETE upgrade.php, install.php install.unlock

- INSTRUCTIONS TO UPDATE FROM PREVIOUS XBTIT RELEASE -

Backup your Database and all files before proceeding.

SAVE ./include/settings.php
UNINSTALL your hacks
REPLACE all files
RESTORE ./include/settings.php
DELETE upgrade.php install.php install.unlock
APPLY your hacks

complete change log:
http://btit-tracker.svn.sourceforge.net/viewvc/btit-tracker/BtitT2/branches/beta/?view=log

« Last Edit: September 10, 2010, 10:57:11 am by Lupin »
Please don't PM me about question already asked in forum!

Help or support requested using PM will be billed 50 euros/hour, minimum 1 hour; support on forum is free.

*

DJPlamen

Re: [RELEASE] xbtit version 2.2.0 (revision 642)
« Reply #1 on: September 10, 2010, 10:24:05 am »
10x, guys!  ;)

*

Goggy

Re: [RELEASE] xbtit version 2.2.0 (revision 642)
« Reply #2 on: September 10, 2010, 05:29:00 pm »
Quote
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/tracker/web_root/tracker/include/common.php on line 253

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/tracker/web_root/tracker/include/common.php on line 257
Unknown column 'x.downloaded' in 'field list'

an error that pops up after updating from 2.1.0 to 2.2.0
usually pops up after changing styles. any help please :)

*

Petr1fied

Re: [RELEASE] xbtit version 2.2.0 (revision 642)
« Reply #3 on: September 10, 2010, 09:08:22 pm »
Are you using the XBT backend?

*

Goggy

Re: [RELEASE] xbtit version 2.2.0 (revision 642)
« Reply #4 on: September 11, 2010, 05:01:21 am »
yes, using xbt backend

*

Yeah

Re: [RELEASE] xbtit version 2.2.0 (revision 642)
« Reply #5 on: September 11, 2010, 11:21:25 am »
Thanks ;)

*

Peter

Re: [RELEASE] xbtit version 2.2.0 (revision 642)
« Reply #6 on: September 11, 2010, 11:51:32 am »
i have a problem with this revision when i install themes then i can't see the drop down menu why??

*

Offline friendly

  • ****
  • 718
  • +0/-0
    • Friendly Styles
Re: [RELEASE] xbtit version 2.2.0 (revision 642)
« Reply #7 on: September 11, 2010, 12:14:26 pm »
you would need to tag the dropdown menu in each of the main tpl files in your theme and add the css for the dropdown to main.css of every theme for the dropdown to display  ;)

*

Peter

Re: [RELEASE] xbtit version 2.2.0 (revision 642)
« Reply #8 on: September 11, 2010, 12:21:14 pm »
can u tell me how to do ???

*

Offline friendly

  • ****
  • 718
  • +0/-0
    • Friendly Styles
Re: [RELEASE] xbtit version 2.2.0 (revision 642)
« Reply #9 on: September 11, 2010, 01:04:55 pm »
take a look in Xbtit_default theme

in main.tpl you will find the code you can change width="700" to the width you prefer

Code: [Select]
<TABLE align="center" width="700" cellpadding="0" cellspacing="0" border="0">
      <TR>
        <TD valign="top"> 
    <div id="dropdown">
      <tag:main_dropdown />
   </div></TD>
       </TR>
    </TABLE>

that has to be  added  in main.tpl main.no_columns.tpl and main.left_columns.tpl


now in main.css of the theme you will see this code

Code: [Select]
/* css for dropdown menu */
#menu {width:auto; height:0px; background:transparent; text-align:center; margin:0 auto;}
/* Donot change the values of this menu */
#menu ul {margin:0; padding:0; list-style:none; white-space:nowrap; text-align:left; background:#71a6cf url(images/sitenav.png); border:1px solid #A1BFD9;}
#menu ul {display:inline-block;}

#menu li {margin:0; padding:0; list-style:none;}
#menu li {display:inline-block; display:inline;}
#menu ul ul {position:absolute; left:-9999px; width:150px;}

#menu ul.level1 {margin:3px auto;}
#menu ul.level1 li.level1-li {float:left; display:block; position:relative;}

#menu b {position:absolute;} /* -- for IE6 non-flyout dropdowns to stop flickering - who knows why --*/

#menu a {display:block; font:normal 11px verdana,arial,sans-serif; color:#01223b; line-height:26px; text-decoration:none; padding:0 20px;}
#menu ul.level1 li.level1-li a.level1-a {float:left;}

#menu ul li:hover > ul {visibility:visible; left:0; top:24px;}
#menu ul ul li:hover > ul {visibility:visible; left:100%; top:auto; margin-top:-25px; margin-left:-4px;}
#menu li.left:hover > ul {visibility:visible; left:auto; right:0; top:25px;}
#menu li.left ul li:hover > ul {visibility:visible; left:auto; right:100%; top:auto; margin-top:-25px; margin-right:-4px;}

#menu a:hover ul {left:0; top:25px;}
#menu li.left a:hover ul {left:auto; right:-1px; top:25px;}

#menu li.left ul a {text-align:right;}

#menu a:hover a:hover ul,
#menu a:hover a:hover a:hover ul {left:100%; visibility:visible;}
#menu li.left a:hover a:hover ul,
#menu li.left a:hover a:hover a:hover ul {left:auto; right:0; visibility:visible;}

#menu a:hover ul ul,
#menu a:hover a:hover ul ul {left:-9999px;}
#menu li.left a:hover ul ul,
#menu li.left a:hover a:hover ul ul {left:-9999px;}

#menu li a.drop {background:transparent url(images/white-down.gif) no-repeat right center;}
#menu li a.fly {background:transparent url(images/white-right.gif) no-repeat right center;}
#menu li.left ul a.fly {background:transparent url(images/white-left.gif) no-repeat left center;}

#menu li a:hover,
#menu li a.fly:hover {color:#fff; background-color:#71a6cf; border-top:1px solid #fff; border-bottom:1px solid #A1BFD9;}
#menu li:hover > a,
#menu ul li:hover > a.fly {color:#fff; background-color:#71a6cf; border-top:1px solid #fff; border-bottom:1px solid #A1BFD9;}

#menu table {position:absolute; height:0; width:0; left:0; border-collapse:collapse; margin-top:-6px;}
#menu table table {position:absolute; left:99%; height:0; width:0; border-collapse:collapse; margin-top:-30px; margin-left:-4px;}

#menu li.left table {position:absolute; height:0; width:0; left:auto; right:0; border-collapse:collapse; margin-top:-4px;}
#menu li.left table table {position:absolute; left:auto; right:100%; height:0; width:0; border-collapse:collapse; margin-top:-30px; margin-right:-4px;}
/* end menu */

you will have to add that to your main.css of any themes your going to use and modify to your needs


you will also have to add the images for the dropdown to your images folder in your theme

sitenav.png
white-down.gif
white-right.gif
white-left.gif

you can customise these images for your own by making same or the images you choose but you would have to change it in main.css if you make your own without the same name

hope this helps you understand the new dropdown a little better  :)

*

Peter

Re: [RELEASE] xbtit version 2.2.0 (revision 642)
« Reply #10 on: September 11, 2010, 01:07:27 pm »
thanks for the info friendly i will try it and let you know the result here ;D

*

Offline friendly

  • ****
  • 718
  • +0/-0
    • Friendly Styles
Re: [RELEASE] xbtit version 2.2.0 (revision 642)
« Reply #11 on: September 11, 2010, 01:15:28 pm »
no worries m8 but like i said above if you add the code exact same as above you will have the same effect as xbtit_default theme if you have a darker theme and dont want to mess around with images use the same css and the same images in darklair theme  ;)

*

Petr1fied

Re: [RELEASE] xbtit version 2.2.0 (revision 642)
« Reply #12 on: September 11, 2010, 06:44:02 pm »
NOTE: If you want to use the original menu on the older themes to preserve the look you can use <tag:main_extra /> instead of <tag:main_dropdown /> to display it.

Quote
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/tracker/web_root/tracker/include/common.php on line 253

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/tracker/web_root/tracker/include/common.php on line 257
Unknown column 'x.downloaded' in 'field list'

an error that pops up after updating from 2.1.0 to 2.2.0
usually pops up after changing styles. any help please :)

Are you using the XBT backend?

yes, using xbt backend

In account_change.php find this:
Code: [Select]
get_result("SELECT u.lip, u.cip, $udownloaded as downloaded, $uuploaded as uploaded, u.smf_fid, u.topicsperpage, u.postsperpage,u.torrentsperpage, u.flag, u.avatar, UNIX_TIMESTAMP(u.lastconnect) AS lastconnect, UNIX_TIMESTAMP(u.joined) AS joined, u.id as uid, u.username, u.password, u.random, u.email, u.language,u.style, u.time_offset, ul.* FROM {$TABLE_PREFIX}users u INNER JOIN {$TABLE_PREFIX}users_level ul ON u.id_level=ul.id WHERE u.id = ".(int)$CURUSER['uid']." LIMIT 1;",false,1) or die(mysql_error());
Change to this:
Code: [Select]
get_result("SELECT u.lip, u.cip, $udownloaded as downloaded, $uuploaded as uploaded, u.smf_fid, u.topicsperpage, u.postsperpage,u.torrentsperpage, u.flag, u.avatar, UNIX_TIMESTAMP(u.lastconnect) AS lastconnect, UNIX_TIMESTAMP(u.joined) AS joined, u.id as uid, u.username, u.password, u.random, u.email, u.language,u.style, u.time_offset, ul.* FROM $utables INNER JOIN {$TABLE_PREFIX}users_level ul ON u.id_level=ul.id WHERE u.id = ".(int)$CURUSER['uid']." LIMIT 1;",false,1);
« Last Edit: September 11, 2010, 06:55:36 pm by Petr1fied »

*

Offline Peace_Maker

  • ***
  • 170
  • +0/-0
Re: [RELEASE] xbtit version 2.2.0 (revision 642)
« Reply #13 on: September 12, 2010, 05:08:14 am »
Amazing, the

"View manual installation instructions?"

when auto installation of the hack fails.

Nice one.

*

Petr1fied

Re: [RELEASE] xbtit version 2.2.0 (revision 642)
« Reply #14 on: September 12, 2010, 01:58:17 pm »
Glad you like it. ;D

 


Powered by EzPortal