News: When asking for support, it helps us and you, if you read the Posting Guidelines

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

December 16, 2019, 06:40:40 AM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 189283
  • Total Topics: 20776
  • Online Today: 65
  • Online Ever: 629
  • (November 08, 2018, 01:36:54 PM)
Users Online
Users: 0
Guests: 57
Total: 57

Author Topic: Link goes no where  (Read 2937 times)

0 Members and 1 Guest are viewing this topic.

Offline tino

  • Developer
  • *
  • Posts: 1704
Re: Link goes no where
« Reply #40 on: December 03, 2018, 07:45:44 AM »
If you change the follwing in that function
Code: [Select]
                echo parse_bbc($context['TPortal']['article']['body']);

To this

Code: [Select]
            if (preg_match('/^\[[^\]]+]([^[]+)/', $context['TPortal']['article']['body'], $arr))
                echo parse_bbc($context['TPortal']['article']['body']);
            else
                echo $context['TPortal']['article']['body'];

It should work ok providing you don't have bbc tags in your post.

Offline bigguy

  • Beta Tester
  • *
  • Posts: 263
  • Be Nice...
    • What's Ur Beef
Re: Link goes no where
« Reply #41 on: December 03, 2018, 07:51:23 AM »
That looks a lot better. Very awesome.  8) Works like a charm.  O0

Offline tino

  • Developer
  • *
  • Posts: 1704
Re: Link goes no where
« Reply #42 on: December 03, 2018, 07:58:10 AM »
That looks a lot better. Very awesome.  8) Works like a charm.  O0

That isn't a long term fix, it just solves it for now whilst we investigate the actual cause of the problem.

Offline bigguy

  • Beta Tester
  • *
  • Posts: 263
  • Be Nice...
    • What's Ur Beef
Re: Link goes no where
« Reply #43 on: December 03, 2018, 08:25:01 AM »
Well, glad I could point it out to ya's. Thanks for the temp fix guys. It'll be nice when fixed permanently.

Offline @rjen

  • Support Team
  • *
  • Posts: 1932
    • FJR-club Nederland
Re: Link goes no where
« Reply #44 on: December 03, 2018, 08:29:28 AM »
Thanks for you patience.

We have been doing quite some testing on TP2.1 recently, but I am quite sure there may be more things missed, also due to the codebase that is still changing all the time  >:(

Since you are using 2.1 for 'real' you may find issues before we do: any report is welcome!
Running TP1.6.4 on SMF2.0 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 RC2
Want to check what php version I am testing on? See: PHP Info

Offline bigguy

  • Beta Tester
  • *
  • Posts: 263
  • Be Nice...
    • What's Ur Beef
Re: Link goes no where
« Reply #45 on: December 03, 2018, 08:43:25 AM »
I will make sure I report anything I find. ;)

Offline tino

  • Developer
  • *
  • Posts: 1704
Re: Link goes no where
« Reply #46 on: December 03, 2018, 09:29:15 AM »
I just did a clean install of SMF from todays copy and 1.6.1 and I still can't recreate this issue. I don't know what is causing it as the parser shoud just handle the input correctly.

Can someone else do a completely clean install and let me know the results?

Offline @rjen

  • Support Team
  • *
  • Posts: 1932
    • FJR-club Nederland
Re: Link goes no where
« Reply #47 on: December 03, 2018, 09:31:17 AM »
I have a clean install locally that I installed a few weeks ago.

This morning I overwrote all files with Github version of today and then I ran the upgrade. Problem reproduced there too.

Is that clean enough?
Running TP1.6.4 on SMF2.0 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 RC2
Want to check what php version I am testing on? See: PHP Info

Offline tino

  • Developer
  • *
  • Posts: 1704
Re: Link goes no where
« Reply #48 on: December 03, 2018, 09:41:25 AM »
I have a clean install locally that I installed a few weeks ago.

This morning I overwrote all files with Github version of today and then I ran the upgrade. Problem reproduced there too.

Is that clean enough?

I'd prefer a completely clean install with a empty database. But yeh that's pretty close... I don't get why mine doesn't do it. What is your boardurl on your local one?

Offline @rjen

  • Support Team
  • *
  • Posts: 1932
    • FJR-club Nederland
Re: Link goes no where
« Reply #49 on: December 03, 2018, 09:42:49 AM »
Sorry, that's on Xampp, so you cant get to it...
Running TP1.6.4 on SMF2.0 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 RC2
Want to check what php version I am testing on? See: PHP Info