TinyPortal

Development => Feedback => Topic started by: Diego on December 28, 2015, 02:05:57 PM

Title: A brief look into TinyPortal
Post by: Diego on December 28, 2015, 02:05:57 PM
Hello there, today I decided to make some test on tiny portal and his responsiveness  :D
I have sent a pull request to the TP repo in github.

Also I noticed a possible bug
Code: (TPortal.php) [Select]
if(empty($context['page_title']))
$context['page_title'] = $context['forum_name'];
}
I don't know if someone ever noticed it, but Profile doest not send $context['page_title'] before TPortal does. Therebefore, it will print $context['forum_name'] instead of the original title of Profile.php

(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fi.imgur.com%2F7pHNkTz.png&hash=77e66c12047541f64becfae7637787d4fd86b201)

Removing that part of the code solves the issue, but I don't know too much about TP and don't know if it will affect something else.  :uglystupid2:
Title: Re: A brief look into TinyPortal
Post by: illori on December 28, 2015, 02:31:37 PM
that has been reported before, and it does not seem to have a fix. it is even possibly causing another bug.
Title: Re: A brief look into TinyPortal
Post by: lurkalot on December 28, 2015, 03:11:14 PM

Hello there, today I decided to make some test on tiny portal and his responsiveness  :D
I have sent a pull request to the TP repo in github.


Diego, thank you so much. I have it installed on one of my test sites right now. I'm not up with mobile tech, but it looks good and seems to pass the google mobile test with flying colours.  O0
Title: Re: A brief look into TinyPortal
Post by: illori on December 28, 2015, 03:23:12 PM
if you have google chrome or firefox, you can use their developer tools to change your view into a mobile view.

in firefox right click inspect element click this button (https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FWUWTLbE.png&hash=8d70943c73c61e58a771d61cf90e72e2c41844b5) then you can select the size of the device and browse.

in chrome right click and inspect click this button (https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FqD5LrIt.png&hash=813e8c4a31cb37d3fb663c1ee55777a87386742d) then you can select the device you want to preview with and browse.
Title: Re: A brief look into TinyPortal
Post by: lurkalot on December 28, 2015, 03:40:45 PM
if you have google chrome or firefox, you can use their developer tools to change your view into a mobile view.

in firefox right click inspect element click this button (https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FWUWTLbE.png&hash=8d70943c73c61e58a771d61cf90e72e2c41844b5) then you can select the size of the device and browse.

in chrome right click and inspect click this button (https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FqD5LrIt.png&hash=813e8c4a31cb37d3fb663c1ee55777a87386742d) then you can select the device you want to preview with and browse.

Thanks Illori. Seems  jumped the gun a bit there. I think the AlphaCentauri was throwing me. It's passing the responsive test when using it. But fails in the default curve theme.

Then again I'm not good with mobile stuff, so don't really know what I should be seeing.  :-[
Title: Re: A brief look into TinyPortal
Post by: Diego on December 28, 2015, 11:37:46 PM
It should be fine while using the curve responsive mod :)

Thanks for the feedback
Title: Re: A brief look into TinyPortal
Post by: illori on December 29, 2015, 03:23:07 AM
Diego, i sent you a pm earlier can you take a look?
Title: Re: A brief look into TinyPortal
Post by: lurkalot on December 30, 2015, 01:22:14 PM
Sorry Diego, I thought I posted a link to test site 2 in this thread. here it is again just in case. http://cctestsite.info/testsite2/index.php?action=forum

On that test site I have the left panel set to 250 and the right panel set at 220. As you can see they are much narrower than those figures set in the panel

If I turn off the right panel the left panel widens slightly to about 200

Registration is enabled If anyone wants a test login.