Go to Profile
As per xyz/torrents/details?id=1
When nobody downloading, it should not show this:
Peers List:
Warning: Torrents::details(): This PDORow is not from a writable result set in //.xyz/controllers/Torrents.php on line 1023 Call Stack: 0.0001 405664 1. {main}() //.xyz/index.php:0 0.0025 514352 2. Router->__construct() //xyz/index.php:5 0.0029 520336 3. Torrents->details() //xyz/core/Router.php:45
It should just show: "Nobody downloading" or "No Leechers"
"STorrents2020, post: 68657, member: 20382":
It’s because your logged in as admin, so you get the user edit form and fields, and since there is a password field to edit for that user ID, the browser thinks you want to login or change your password. I don’t know why this field is filled in already.
Thanks ST, but annoying non the less...please hand me your skills hahaha
I do not know what you did, but check this >>
Index.php, home page
Changed the topic name, as issues are small, and changes are FAST!
[USER=20288]@m-jay[/USER],
At this moment both the Torrent description and the Torrent NFO is creating long text fields, stretching in to the comments below.
Would you think it is a good idea to have both fields serve different purpose? Or maybe hide one, and show one.
I do not fully understand the need to have 2 big text fields more or less showing the same contents. Am I wrong?
Hey M-Jay.
Each time visiting the ....xyz/accountdetails?id=1, and going back to any other page, you are asked to save your password.
[ATTACH type="full"]5558[/ATTACH]
Thanks for the fix!
I just downloaded the latest code from GIT, and uploading torrent worked flawless.
Looking at the torrent details, the field for leaving the comment floats over the NFO text. You would expect it to be hanging just below this field correct?
Or for the NFO not to be visible at all, but showing as popup when clicking the info link.
[ATTACH type="full"]5549[/ATTACH]
Our current Bonus Exchange page looks like this >>
[ATTACH type="full"]5546[/ATTACH]
[USER=20288]@m-jay[/USER] , is there something I might be doing wrong, or have not looked at?
Would you need more info from my side to help check?
Checked the permissions, check the PHP modules. All looks ok.
Torrent file is copied as well.
[ATTACH type="full"]5538[/ATTACH]
Still have the same error message though.
Have to mention other code here.
Please have a look at xbtitFM v3.x , they have a good solution for this.
Do not know if proper coding, but solution is ok.
Using the current code, I tried uploading torrent.
[ATTACH type="full" alt="1589563241592.png"]5533[/ATTACH]
I checked the directory permissions during the site creation, and double checked before upload the torrent. Still...
[ATTACH type="full" alt="1589563397195.png"]5534[/ATTACH]
Is it supposed to be like this? Code still being developed?
I would like to suggest that any hack/mod/dependency can be easily installed, and removed.
And controlled from the admin panel by the switch of a button.
Two reasons:
1 - the standard code should be able to update without affecting the installed mod. Unless the mod needs to be updated as well...then instructions should go out to the developer.
2 - It will separate hack/mod from standard code, which is a must. Hacks/mods can post security risk - how to control those if you do not control the code.
[ATTACH type="full"]5531[/ATTACH]
With 3.1 seconds loading on server >>
[ATTACH type="full"]5532[/ATTACH]
Ok,
I commented out the theme.css (won 0.5 Sec )
I followed the link provided by ST " Optimized my.cnf configuration for MySQL/MariaSQL (on Ubuntu, CentOS etc. servers) - my.cnf " (won 3 sec )
Note that I have not changed any of the my.cnf optimized example, just copied and pasted.
So at this moment, went from 5-6 sec loading of index, to now 3-3.5 seconds. 50% improvement.
All other pages loading in a fraction of a second (0.1 - 0.2 seconds)
Maybe I can find some more tuning in the my.cnf to make it load faster.
Finally also shut down majority of default loaded modules on the php7 config, which may have given another 0.5 sec.
"m-jay, post: 68565, member: 20288":
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
The delay is not present on all the other pages in the site, only the index. Other pages have same performance as the code from before the session implementation.
Yes it maybe related to the mysql server. I switched to another server - and the load time for the index cut in half to about 2.5sec.
Still on the high side, but maybe some tweaking of the server may solve this.
Would you have some suggestions for the tweaking of the mysql server?
Modules would be php modules correct? Let me look there as well.
After updating to the latest git-code, which includes the session changes and the new theme, the load time of the pages, especially the index.php page is long.
With all block, except the navigation block disabled, load time varies from 6-12 seconds. Other pages take a bout 2-3 seconds to load.
Note that both the site code and database run on the same server here at home. Using the code from April 30th, the pages load within a fraction of a second. (0.01 sec)
[ATTACH type="full" alt="LongLoadTime.JPG"]5528[/ATTACH]
[ATTACH type="full"]5529[/ATTACH]
[ATTACH type="full"]5530[/ATTACH]
"m-jay, post: 68537, member: 20288":
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">
Yes this seems to do the trick, nice solution!
On screens with a width less then 768px it will hide the left column all together.
I went through the different pages, and the upload page (torrent name field) seems to push the page out of the screen.
Another thing worth find-tuning is the text in for example the navigation block slide in over the other text when compressing the with of the page.
This would happen for example on your iPad. One solution would be to use the following statement instead: <div class="col-sm-2 d-none d-lg-block sidenav">
This would hide the left column on screens with lower then 992px. But then the left column does not fill out to the full with. (see attached screenshot)
[ATTACH type="full"]5512[/ATTACH]
"STorrents2020, post: 68523, member: 20382":
This can be achieved to be responsive in pure CSS, further complying across all modern browsers with some hand work. The only selector to focus on would be the viewport css max-width 100% and respective meta tag. There are table classes that can be assigned by adding a responsive class to a table tag, and it will take care of the responsiveness automatically, lesaving very little work for existing TT table markup (anywhere </table>, etc)
Where exactly is the menu causing you issues? Or is stock not mobile?
Hey ST, yes the stock no mobile friendly. The PDO version from M-Hay will also overflow the right side of the screen when viewed on mobile.
My coding skills very limited, took me 2 weeks of trial and error and learning to get where I am now!
Your skills much more advanced then mine, for sure!
The idea that I have of the mobile version is that the menu should show the "hamburger" icon below certain px.
Also now, on your mobile, it will show all the blocks, for example when you select the forum - you would expect the forum to just show - and not all the other blocks from the left column on top first...with the forum somewhere in the middle. Of course for the desktop the view should stay same, but on the mobile the left column should not show - other them when you select home screen.