Advertisement:

Author Topic: TinyPortal  (Read 776132 times)

Offline @rjen

  • Full Member
  • ***
  • Posts: 570
  • Gender: Male
    • FJR-club Nederland
Re: TinyPortal
« Reply #2660 on: May 15, 2020, 02:02:42 PM »
2. The button collapse of the panels (looks like plus or minus) causes an error in Chrome:
Uncaught TypeError: Cannot read property 'style' of null
    at togglepanel (index.php? action = forum: 100)
    at HTMLAnchorElement.onclick (index.php? action = forum: 233)


The same error occurs on the forum tinyportal.net/index.php?action=forum
Is there anything to do with this?

Looking for this, where exactly do you get this error? Probably by inspecting the webpage, put I cannot find it...
Running SMF 2.0 with Tinyportal 1.6.6 at www.fjr-club.nl

Offline makuta_ii

  • Newbie
  • *
  • Posts: 3
Re: TinyPortal
« Reply #2661 on: May 15, 2020, 03:25:51 PM »
Looking for this, where exactly do you get this error? Probably by inspecting the webpage, put I cannot find it...
See screen)

Offline Maxxim

  • Newbie
  • *
  • Posts: 5
Re: TinyPortal
« Reply #2662 on: May 23, 2020, 09:50:59 AM »
I tried googling, but the query is a bit difficult to formulate, and the search results I got were from many years ago, so I have to ask.

Is there (still) no way to run TinyPortal outside of the forum directory?
Similar to those who asked before me, my forum is at mysite.com/forum/ , and I'd very much like the portal home page to show at mysite.com

Is there an elegant solution for that or have I no other choice but to move the forum to the root directory of my website and run repair_settings.php ?

Offline lurkalot

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,614
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: TinyPortal
« Reply #2663 on: May 23, 2020, 11:46:09 AM »
I tried googling, but the query is a bit difficult to formulate, and the search results I got were from many years ago, so I have to ask.

Is there (still) no way to run TinyPortal outside of the forum directory?
Similar to those who asked before me, my forum is at mysite.com/forum/ , and I'd very much like the portal home page to show at mysite.com

Is there an elegant solution for that or have I no other choice but to move the forum to the root directory of my website and run repair_settings.php ?

You can run the TP index page as Standalone.  Tino wrote some info in our resource boards on how to do so.  https://www.tinyportal.net/index.php?topic=36058.0

I haven't used it myself, so if you need ay assistance with it please drop in over at tinyportal.net and ask.   ;)

Offline Maxxim

  • Newbie
  • *
  • Posts: 5
Re: TinyPortal
« Reply #2664 on: May 24, 2020, 06:12:59 AM »
Thank you very much @lurkalot, that solution worked!
It produced a PHP warning, however.
Code: [Select]
Warning: call_user_func() expects parameter 1 to be a valid callback, no array or string given in <full path to www root>\index.php on line 15As you suggested, I'll register and ask for assistance at tinyportal.net.

Offline cornflakes

  • Newbie
  • *
  • Posts: 7
Re: TinyPortal
« Reply #2665 on: Yesterday at 10:27:01 PM »
Hi!  I'm new to SMF forums and just getting my feet wet with this stuff.
I love the options that TinyPortal offers and it's exactly what I was looking for.

I have one question about my index board layout.  I have it so that there is a small
preview of the topic along with a photo.   The problem is the text doesn't wrap around
the photo (like you see in newspapers to save space and minimize all the empty
space).  The text just starts underneath the photo but when I look at my home page
it looks like a waste of space as there are huge blank areas next to the photo.

Is there a way to wrap the text so that I can fill in the empty spaces?  Here is
a sample screenshot of what I mean and how it looks right now without text wrap:


Offline lurkalot

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,614
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: TinyPortal
« Reply #2666 on: Today at 02:37:14 AM »
Hi!  I'm new to SMF forums and just getting my feet wet with this stuff.
I love the options that TinyPortal offers and it's exactly what I was looking for.

I have one question about my index board layout.  I have it so that there is a small
preview of the topic along with a photo.   The problem is the text doesn't wrap around
the photo (like you see in newspapers to save space and minimize all the empty
space).  The text just starts underneath the photo but when I look at my home page
it looks like a waste of space as there are huge blank areas next to the photo.

Is there a way to wrap the text so that I can fill in the empty spaces?  Here is
a sample screenshot of what I mean and how it looks right now without text wrap:

Glad you like TP, thanks for giving it a go.  ;)

I'm assuming your image in the post is displaying in the same way, and that's why it's mimicking the output on the front page preview. If you were to float that image to the left in the actual topic then I'm pretty sure it would do the same in the preview.   I just tried this to check, albeit in SMF 2.1 which has the float left and right bbc built into the editor. Screenshots below.

I think there's a float image mod somewhere for SMF 2.0 somewhere on the mods site. This one perhaps, https://custom.simplemachines.org/mods/index.php?mod=2305