Advertisement:

Author Topic: TinyPortal  (Read 775915 times)

Offline lurkalot

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,613
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: TinyPortal
« Reply #2580 on: January 28, 2020, 05:52:16 PM »
Try hitting save on that article and see if it fixes the problem.

Offline d3vcho();

  • Sempiterno
  • On Hiatus
  • SMF Hero
  • *
  • Posts: 4,258
  • Gender: Male
    • frandominguez03 on GitHub
Re: TinyPortal
« Reply #2581 on: January 29, 2020, 02:11:54 AM »
Unfortunately that didn't make it.

"Greeting Death as an old friend, they departed this life as equals."

Offline lurkalot

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,613
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: TinyPortal
« Reply #2582 on: January 29, 2020, 03:16:58 AM »
Hmm,  What happens if you create a new HTML article, does that display ok?

Online @rjen

  • Full Member
  • ***
  • Posts: 569
  • Gender: Male
    • FJR-club Nederland
Re: TinyPortal
« Reply #2583 on: January 29, 2020, 04:01:59 AM »
Remove the html bit at start and end ... that is the problem

Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
And the closing < html> tag
Running SMF 2.0 with Tinyportal 1.6.6 at www.fjr-club.nl

Offline d3vcho();

  • Sempiterno
  • On Hiatus
  • SMF Hero
  • *
  • Posts: 4,258
  • Gender: Male
    • frandominguez03 on GitHub
Re: TinyPortal
« Reply #2584 on: January 29, 2020, 04:23:20 AM »
Remove the html bit at start and end ... that is the problem

Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
And the closing < html> tag

Thanks for the fast answers. Sorry, that didn't make it either.

"Greeting Death as an old friend, they departed this life as equals."

Online @rjen

  • Full Member
  • ***
  • Posts: 569
  • Gender: Male
    • FJR-club Nederland
Re: TinyPortal
« Reply #2585 on: January 29, 2020, 04:27:24 AM »
That’s strange! It works for me... see attached...

Any chance you can give me an admin account for the site in question?
Running SMF 2.0 with Tinyportal 1.6.6 at www.fjr-club.nl

Offline d3vcho();

  • Sempiterno
  • On Hiatus
  • SMF Hero
  • *
  • Posts: 4,258
  • Gender: Male
    • frandominguez03 on GitHub
Re: TinyPortal
« Reply #2586 on: January 29, 2020, 04:29:45 AM »
That’s strange! It works for me... see attached...

Any chance you can give me an admin account for the site in question?

Lurkalot PMed me like an hour ago and I gave him admin credentials. Let's see if he can figure it out.

Thanks a lot @rjen!

"Greeting Death as an old friend, they departed this life as equals."

Online @rjen

  • Full Member
  • ***
  • Posts: 569
  • Gender: Male
    • FJR-club Nederland
Re: TinyPortal
« Reply #2587 on: January 29, 2020, 04:41:56 AM »
 8)

Mick knows where to find me if needed...
Running SMF 2.0 with Tinyportal 1.6.6 at www.fjr-club.nl

Online @rjen

  • Full Member
  • ***
  • Posts: 569
  • Gender: Male
    • FJR-club Nederland
Re: TinyPortal
« Reply #2588 on: January 29, 2020, 08:24:11 AM »
Had another look, and it may be that the article is created using the wysiwyg editor...
This adds styling to the code ( < p> elements ) breaking the layout.

Note: if you want to write pure HTML into a HTML article you should not use the wysiwyg editor, but maintain it in the Source view...
try this: go into the article, make sure that the wysiwyg editor is switched off: (View Source, Ctrl+Shift+S)

The entire HTML code should be pasted in there. You can leave all the < head> stuff in there too...

Code: [Select]
<head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Tutorial Coming Soon</title> <style type="text/css"> <!-- .tutcont343rf3wr2reg32rg h1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 36px; font-weight: 700; color: #cd3301; margin: 0px; } .tutcont343rf3wr2reg32rg p { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; } .tutcont343rf3wr2reg32rg h2 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; font-weight: 700; color: #205c7e; font-style: normal; white-space: normal; text-indent: 0px; word-spacing: normal; line-height: normal; margin: 0px; } .tutcont343rf3wr2reg32rg h3 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; font-weight: 700; color: #cd3301; } .tutcont343rf3wr2reg32rg .tutdisc { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9px; font-weight: 400; } .tutcont343rf3wr2reg32rg img { float: left; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; margin-top: 0px; margin-right: 8px; margin-bottom: 8px; margin-left: 8px; } .tutcont343rf3wr2reg32rg p img { display: block; border: 2px solid #000000; text-align: center; background-position: center; float: none; margin-right: auto; margin-left: auto; } .tutcont343rf3wr2reg32rg { width: 700px; } .tutcont343rf3wr2reg32rg object { text-align: center; } .tutcont343rf3wr2reg32rg a { color: #cc3301; font-weight: 700; } .tutcont343rf3wr2reg32rg1 { width: 700px; } --> </style> </head> <body> <div class="tutcont343rf3wr2reg32rg"> <h1><img src="http://www.pro-jump.co.uk/PJF09/PJF-tutotials.jpg" alt="Pro-Jump Forum Tutorials" width="200" height="200" /> <strong>Tutorial Coming Soon</strong></h1> <h2>By: Add your name here!<br /> </h2> <p>Have a bit of spare time?<br /> Can you make an awesome tutorial for this page?<br /> Dab hand with a video or camera?<br /> Then you're just the kind of person we need to help us make this site a great resource for the PowerBocking community.<br /> <br /> If you want to claim this page and become a PJF contributor then please contact <strong><a href="http://www.projumpforum.co.uk/index.php?action=profile;u=1" title="View the profile of webmaster">me</a></strong> via pm - Thank you :)</p></div> </body>
« Last Edit: January 29, 2020, 08:34:18 AM by @rjen »
Running SMF 2.0 with Tinyportal 1.6.6 at www.fjr-club.nl

Offline d3vcho();

  • Sempiterno
  • On Hiatus
  • SMF Hero
  • *
  • Posts: 4,258
  • Gender: Male
    • frandominguez03 on GitHub
Re: TinyPortal
« Reply #2589 on: January 29, 2020, 08:34:03 AM »
Had another look, and it may be that the article is created using the wysiwyg editor...

try this:
go into the article, make sure that the wysiwyg editor is switched off: (View Source, CTRL_Shift+S)

The entire HTML code should be pasted in there...

Code: [Select]
<head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Tutorial Coming Soon</title> <style type="text/css"> <!-- .tutcont343rf3wr2reg32rg h1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 36px; font-weight: 700; color: #cd3301; margin: 0px; } .tutcont343rf3wr2reg32rg p { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; } .tutcont343rf3wr2reg32rg h2 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; font-weight: 700; color: #205c7e; font-style: normal; white-space: normal; text-indent: 0px; word-spacing: normal; line-height: normal; margin: 0px; } .tutcont343rf3wr2reg32rg h3 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; font-weight: 700; color: #cd3301; } .tutcont343rf3wr2reg32rg .tutdisc { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9px; font-weight: 400; } .tutcont343rf3wr2reg32rg img { float: left; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; margin-top: 0px; margin-right: 8px; margin-bottom: 8px; margin-left: 8px; } .tutcont343rf3wr2reg32rg p img { display: block; border: 2px solid #000000; text-align: center; background-position: center; float: none; margin-right: auto; margin-left: auto; } .tutcont343rf3wr2reg32rg { width: 700px; } .tutcont343rf3wr2reg32rg object { text-align: center; } .tutcont343rf3wr2reg32rg a { color: #cc3301; font-weight: 700; } .tutcont343rf3wr2reg32rg1 { width: 700px; } --> </style> </head> <body> <div class="tutcont343rf3wr2reg32rg"> <h1><img src="http://www.pro-jump.co.uk/PJF09/PJF-tutotials.jpg" alt="Pro-Jump Forum Tutorials" width="200" height="200" /> <strong>Tutorial Coming Soon</strong></h1> <h2>By: Add your name here!<br /> </h2> <p>Have a bit of spare time?<br /> Can you make an awesome tutorial for this page?<br /> Dab hand with a video or camera?<br /> Then you're just the kind of person we need to help us make this site a great resource for the PowerBocking community.<br /> <br /> If you want to claim this page and become a PJF contributor then please contact <strong><a href="http://www.projumpforum.co.uk/index.php?action=profile;u=1" title="View the profile of webmaster">me</a></strong> via pm - Thank you :)</p></div> </body>
It seems the code is pasted into the WYSIWYG editor. This adds styling to the code ( < p> elements ) breaking the layout.

Note: if you want to write pure HTML into a HTML article you should not use the wysiwyg editor, but maintain it in the Source view...

That was it. Thanks a lot @rjen!

Great support here :)

"Greeting Death as an old friend, they departed this life as equals."

Offline d3vcho();

  • Sempiterno
  • On Hiatus
  • SMF Hero
  • *
  • Posts: 4,258
  • Gender: Male
    • frandominguez03 on GitHub
Re: TinyPortal
« Reply #2590 on: January 29, 2020, 08:44:37 AM »
One last thing. In the post I linked I saw a SMF editor. In the rest I'm not able to see those. Please see attached screenshot.


"Greeting Death as an old friend, they departed this life as equals."

Online @rjen

  • Full Member
  • ***
  • Posts: 569
  • Gender: Male
    • FJR-club Nederland
Re: TinyPortal
« Reply #2591 on: January 29, 2020, 09:14:36 AM »
The editor is only applicable for HTML and BBC articles.

If your article is somehow not flagged as such, there is no WYSIWYG editor available.
I think Lurkalot suggested setting the first one to 'HTML' (which you tried) so that may explain it.

So somehow the articles in your forum seem to be incorrect in the database (perhaps due to changes from your unidentified old version of TP). Setting them to HTML while using the Source View mode seems to fix them...

If you want to check in the database, look in table smf_tp_articles and check the value for field 'type': it should contain the value 'html'. If it does not you may change it and see the result...
« Last Edit: January 29, 2020, 09:26:41 AM by @rjen »
Running SMF 2.0 with Tinyportal 1.6.6 at www.fjr-club.nl

Offline d3vcho();

  • Sempiterno
  • On Hiatus
  • SMF Hero
  • *
  • Posts: 4,258
  • Gender: Male
    • frandominguez03 on GitHub
Re: TinyPortal
« Reply #2592 on: January 29, 2020, 09:39:51 AM »
Yeah, even though they're listed as HTML, they aren't. I have to change them to another i.e PHP and then change back to HTML and the editor displays. Thanks!

"Greeting Death as an old friend, they departed this life as equals."

Offline lurkalot

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,613
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: TinyPortal
« Reply #2593 on: January 29, 2020, 12:30:04 PM »
Glad you got it sorted with @rjen's assistance.  8) 

I have only just returned home from my day job, so looks like you're all set.  If you get stuck on something please don't hesitate to ask.  ;)

Offline big red

  • Semi-Newbie
  • *
  • Posts: 89
Re: TinyPortal
« Reply #2594 on: February 07, 2020, 02:55:11 PM »
Hello

Fresh install of SMF 2.0.17 in Xampp and Admin showing zero errors. Just installed the most up to date version of TP and now have several types of errors.

  Just read through the last 3 pages of posts and didn't see this reported. If the errors are minimal i can just probably leave as is.

Code: [Select]
8 Trying to access array offset on value of type nullApply Filter: Only show the errors from this fileFile: C:/xampp/htdocs/final/Sources/TPortal.php
Line: 2978

Code: [Select]
8192: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`Apply Filter: Only show the errors from this fileFile: C:/xampp/htdocs/final/Sources/TPassimilate.php
Line: 682

Code: [Select]
8192: Array and string offset access syntax with curly braces is deprecatedApply Filter: Only show the errors from this fileFile: C:/xampp/htdocs/final/Sources/Subs-Package.php
Line: 2820

Offline lurkalot

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,613
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: TinyPortal
« Reply #2595 on: February 07, 2020, 03:36:24 PM »
What PHP version is you XAMPP running?

Online @rjen

  • Full Member
  • ***
  • Posts: 569
  • Gender: Male
    • FJR-club Nederland
Re: TinyPortal
« Reply #2596 on: February 07, 2020, 03:54:24 PM »
I am guessing 7.4.1?

These are the errors we found with the latest php version, and we are testing TP165 for it.
If it is an earlier PHP version I would like to know which?
Running SMF 2.0 with Tinyportal 1.6.6 at www.fjr-club.nl

Offline big red

  • Semi-Newbie
  • *
  • Posts: 89
Re: TinyPortal
« Reply #2597 on: February 07, 2020, 03:55:13 PM »
What PHP version is you XAMPP running?

7.4.1

Online @rjen

  • Full Member
  • ***
  • Posts: 569
  • Gender: Male
    • FJR-club Nederland
Re: TinyPortal
« Reply #2598 on: February 07, 2020, 03:59:16 PM »
There you go...

I was not even aware the SMF 2.0.17 is tested on 7.4.1...
You may be one of the first trying it... it may be better to stay on 7.3 for now.
But if you want to go with 7.4, the next release of TP will address these errors...
Running SMF 2.0 with Tinyportal 1.6.6 at www.fjr-club.nl

Offline big red

  • Semi-Newbie
  • *
  • Posts: 89
Re: TinyPortal
« Reply #2599 on: February 07, 2020, 04:05:54 PM »
There you go...

I was not even aware the SMF 2.0.17 is tested on 7.4.1...
You may be one of the first trying it... it may be better to stay on 7.3 for now.
But if you want to go with 7.4, the next release of TP will address these errors...

Sure - not noticing any forum problems with these errors so i'll just live with them until the next TP Release!

  Another question if i may - possible to have more that 1 TP Shoutbox? Would like to have 2 running separate from each other.