News: Welcome to the TinyPortal Support site.

Login  |  Register
HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

August 23, 2019, 05:56:32 PM

Login with username, password and session length

Recent

Members
  • Total Members: 3751
  • Latest: tom888
Stats
  • Total Posts: 188693
  • Total Topics: 20746
  • Online Today: 96
  • Online Ever: 629
  • (November 08, 2018, 01:36:54 PM)
Users Online
Users: 0
Guests: 15
Total: 15

Author Topic: A brief look into TinyPortal  (Read 3140 times)

0 Members and 1 Guest are viewing this topic.

Offline Diego

  • Jr. Member
  • **
  • Posts: 10
A brief look into TinyPortal
« 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



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:

Offline illori

  • Administrator
  • *
  • Posts: 2051
Re: A brief look into TinyPortal
« Reply #1 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.

Offline lurkalot

  • Administrator
  • *
  • Posts: 6147
    • Camera Craniums
Re: A brief look into TinyPortal
« Reply #2 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

Offline illori

  • Administrator
  • *
  • Posts: 2051
Re: A brief look into TinyPortal
« Reply #3 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 then you can select the size of the device and browse.

in chrome right click and inspect click this button then you can select the device you want to preview with and browse.

Offline lurkalot

  • Administrator
  • *
  • Posts: 6147
    • Camera Craniums
Re: A brief look into TinyPortal
« Reply #4 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 then you can select the size of the device and browse.

in chrome right click and inspect click this button 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.  :-[

Offline Diego

  • Jr. Member
  • **
  • Posts: 10
Re: A brief look into TinyPortal
« Reply #5 on: December 28, 2015, 11:37:46 PM »
It should be fine while using the curve responsive mod :)

Thanks for the feedback

Offline illori

  • Administrator
  • *
  • Posts: 2051
Re: A brief look into TinyPortal
« Reply #6 on: December 29, 2015, 03:23:07 AM »
Diego, i sent you a pm earlier can you take a look?

Offline lurkalot

  • Administrator
  • *
  • Posts: 6147
    • Camera Craniums
Re: A brief look into TinyPortal
« Reply #7 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.