Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
User Posts

Go to Profile

Long Load time — 2020-05-12 09:37:21 in M-BiTsy Support
The index is higher than other pages mines 0.07 seconds on index, I'll run it through some performance tests see if anything comes up
2.5 seems really high is it a empty project
— 2020-05-12 06:11:57 in
Thanks for info that will keep the css compact, now new ones ready I'll work on the default theme for the project  looks a bit blockish some rounded corners would help but I'll keep this post updated with examples to help others
— 2020-05-11 21:28:26 in
here is a quick dark theme customstyle.css i made in 2 minutes  ?

body {
   color: #fff;
   background-color: #333333;
   overflow-x:hidden;
}

.card-body {
   border: 10px solid;
   border-image-slice: 1;
   border-width: 5px;
   background-color: #666666;
   border-image-source: linear-gradient(to bottom, #3895D3, #8cc6ec);
}

.card-header {
   color: #fff;
   background-image: -webkit-linear-gradient(top, #072F5F, #3895D3);
   background-image: linear-gradient(to bottom, #072F5F, #3895D3);
   background-repeat: repeat-x;
   border-bottom: 0px;
}

.list-group-item {
   background-color: #666666;
}

a {
   color: #ffff00;
}

.dropdown-item {
   background-color: #666666;
   color: #fff;
}

.dropdown-menu.show {
   background-color: #666666;
}

.navbar-nav .nav-link {
   color: #fff;
}

.navbar {
   background-image: -webkit-linear-gradient(top, #072F5F, #3895D3);
   background-image: linear-gradient(to bottom, #072F5F, #3895D3);
   background-repeat: repeat-x;
}

.showHide {
   float: right;
}

.shoutbox_contain {
   background-color: #666666;
}

.shoutbox_contain {
   background-color: #666666;
}

.shoutbox {
   max-height: 200px;
   overflow: auto;
}

.iframe {
   border: 0;
   width: 100%;
   min-height:220px;
}

.newtd {
   color: #fff;
   background-image: -webkit-linear-gradient(top, #072F5F, #3895D3);
   background-image: linear-gradient(to bottom, #072F5F, #3895D3);
   background-repeat: repeat-x;
}

/* -- Bootstrap Table --*/
.table thead th {
       color: #fff;
       background-color: #072F5F;
       background-image: -webkit-linear-gradient(top, #072F5F, #3895D3);
       background-image: linear-gradient(to bottom, #072F5F, #3895D3);
       background-repeat: repeat-x;
}
.tbody td {
   background-color: #EEEEEE;
}


.navbar-toggler {
   color: #fff;
   background-color: #000;
   border: 1px solid #fff;
}


very short for example but it shows how easy its done
— 2020-05-11 13:14:37 in
The default theme should not be over ridden

When viewing website in goolge right click the element you wish to change we are looking for bootstrap
style and we will edit that to customstyle.css [color=rgb(250, 197, 28)](old css can be added here if needed but id avoid it, havent noticed anything looking odd yet with the old theme,css removed)[/color]

this is the example in pictures
full customstyle.css
.card-header {
   color: #ff0;
   background-color: #ff0000;
}


We only add the lines we edit and this is the same for everything text, inputs, buttons, navbars everything is editable but its alot more cleaner

For a guide heres current github customstyle.css with a image attached
.navbar-nav .nav-link {
   color: #fff;
}

.navbar {
   background-image: -webkit-linear-gradient(top, #072F5F, #3895D3);
   background-image: linear-gradient(to bottom, #072F5F, #3895D3);
   background-repeat: repeat-x;
}

.card-header {
   color: #fff;
   background-image: -webkit-linear-gradient(top, #072F5F, #3895D3);
   background-image: linear-gradient(to bottom, #072F5F, #3895D3);
   background-repeat: repeat-x;
}
.showHide {
   float: right;
}
.shoutbox {
   max-height: 200px;
   overflow: auto;
}
iframe {
   border: 0;
   width: 100%;
   min-height:220px;
}
body {
   overflow-x:hidden;
}

.newtd {
   color: #fff;
   background-image: -webkit-linear-gradient(top, #072F5F, #3895D3);
   background-image: linear-gradient(to bottom, #072F5F, #3895D3);
   background-repeat: repeat-x;
}

/* -- Bootstrap Table --*/
.table thead th {
       color: #fff;
       background-color: #072F5F;
       background-image: -webkit-linear-gradient(top, #072F5F, #3895D3);
       background-image: linear-gradient(to bottom, #072F5F, #3895D3);
       background-repeat: repeat-x;
}
.tbody td {
   background-color: #EEEEEE;
}


.navbar-toggler {
   color: #fff;
   background-color: #000;
   border: 1px solid #fff;
}


Just finished this so the default theme will updated over next few days  so theres a good template custom style.css
— 2020-05-11 12:56:26 in
Here is the new theme for TT MVC/PDO this theme replaced the default and works only with github latest version [color=rgb(250, 197, 28)]11/05/20 [/color]
The github theme customstyle.css will be updated for guidance this is just the new base for others to play with.

The theme is bootstrap and has no css its for members to make there own themes and if you do please share.

The blocks have been edited, and the beginframe/endframe & beginblock/endblock functions too ( https://github.com/M-jay84/Torrent-Trader-MVC-PDO-OOP/commit/7d1539e9808e6696202afd8ab519fd8f9a58bbdb )

Now for the theme

The theme is bootstrap 4 with jquery added and this is the customstyle.css




No thats not a mistake the theme has no css its easy to do and there is a quick guide and examples below [color=rgb(250, 197, 28)]( any css should be in this file so updating bootstrap & theme is easier)[/color]

Because the old css has been removed the files can be cleanup like <table blah balah>   to table,   things like class=b-title but this is not important we are looking for bootstrap

To add theme place in views/themes/  the folder name is changeable, you can rename folder to customtheme1,  customtheme2,  customtheme3 - upload all 3 and each one will be ready no editing links in header
ive made a new theme with no css spirtblue its just bootstrap & jquery.
because all css has been removed all old css can be removed like div class t-title etc

now everything is standard bootstrap and it has a custom css to edit bootstrap directly so in future you update jquery and bootstrap only then add custom.css
ive edited frame & block functions & shoutbox and i should be finished in a few hours

the only thing is it is blank but adding css is easy if anyone wants to paint it
for example all frames and blocks are cards see blank image

for custom.css we just modify custom.css  keeping bootstrap/theme seperate
.card-header {
   padding: .75rem 1.25rem;
   margin-bottom: 0;
   background-color: #007bff;
   border-bottom: 1px solid rgba(0,0,0,.125);
}


now see colour image - this seems little but im hoping to build full site with little css and style

[color=rgb(251, 160, 38)]PS THIS THEME HAS NO CSS AND HAS ONLY HAD THE EXAMPLE ABOVE ADDED[/color]
d-sm-block
should change it to hide on smaller devices on the line in header
think ive got a fix for  left block display on mobile [USER=60]@Propaganda[/USER] if you want to test

add in header d-none d-md-block

<?php if ($site_config["LEFTNAV"]) {?>
 <div class="col-sm-2 d-none d-md-block sidenav">
Session Mod [TTv3] — 2020-05-09 16:42:32 in v3 Mods Completed
updated post my friend  :D
had a quick look at both themes and ill add your changes to project  (y) found a old v2x bootstrap theme like TTCE but smaller and nicer https://github.com/issarapong/TorrentTrader-Bootstrap

Took a bit of editing but managed to get it working and i will combine everything and try finish the theme off. I imagine there will be two outstanding issues
the left block must be enabled ( or 1 of  line code to fix style in theme.css)
the left block displays top on mobiles (this cant be changed because of header but it should be able to be hidden)

The theme was bootstrap 3 so needs some more work all together we should have some thing
i noticed mircomonkeys function does full script with url rewrites but you can replace server global in userlogin function
$where = where($_SERVER['REQUEST_URI'], $row["id"], 0);
This helps with mod rewrite or like me running everything through index
Cheers I'll try it today, css and bootstrap are not my strengths so help is very appreciated header looks alot better on mobiles
is this important js/codyhouse-forms,  still having display problems i can post into database ok just cant see the container
no errors in log which is a good sign but not displaying right, inputs are just empty pages
seems around this
<div id="shoutbox" class="response"></div>
[ATTACH type="full"]5494[/ATTACH]

thought it might be paths but i see you used absolute paths for js did you come across this in development
It's in a template format for views in controllers :love:
Code looks great m8 I'll test this morning  (y)
Session Mod [TTv3] — 2020-05-05 04:42:55 in v3 Mods Completed
The class has a nice little pdo connection this can be global so you can use pdo on v3

   public function connect() {
     global $site_config;
     global $pdo;
     // create a db connection
     $pdo = new PDO('mysql:host='.$site_config['mysql_host'].';dbname='.$site_config['mysql_db'], $site_config['mysql_user'], $site_config['mysql_pass']);
       return $pdo;
   }


example of using session pdo connect ( for use in functions add $pdo = connect(); or global $pdo;)
  if (!isset($_SESSION["uid"])) {
   header("Location: logout.php");
 }
 $pdo = connect();
 if (!$pdo) {
   die("Could not connect");
 }
 $sql = "select * from sessions where id=:id";
 $statement = $pdo->prepare($sql);
 $myarray = array();
 $myarray[':id'] = $id;
 $statement->execute($myarray);
I can see it too seems fine
Are you on xampp or other server
[url='http://mydomain.com/']http://mydomain.com[/url] is that the domain? on xampp its localhost on a server it would be some other url
Session Mod [TTv3] — 2020-05-03 09:55:15 in v3 Mods Completed
First post updated m8  (y) and thanks for the tip all advice, help and ideas are very appreciated :D
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 2
  • Members: 0
  • Guests online: 2
  • Comments: 3
  • Messages: 1,728