TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

March 28, 2024, 08:01:24 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,104
  • Total Topics: 21,212
  • Online today: 143
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 94
  • Total: 94

Link goes no where

Started by bigguy, December 03, 2018, 03:04:29 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tino

If you change the follwing in that function

                echo parse_bbc($context['TPortal']['article']['body']);


To this


            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.

bigguy

That looks a lot better. Very awesome.  8) Works like a charm.  O0

tino

Quote from: bigguy on December 03, 2018, 02:51:23 PM
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.

bigguy

Well, glad I could point it out to ya's. Thanks for the temp fix guys. It'll be nice when fixed permanently.

@rjen

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 Latest TP on SMF2.1 at: www.fjr-club.nl

bigguy

I will make sure I report anything I find. ;)

tino

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?

@rjen

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 Latest TP on SMF2.1 at: www.fjr-club.nl

tino

Quote from: @rjen on December 03, 2018, 04:31:17 PM
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?

@rjen

Sorry, that's on Xampp, so you cant get to it...
Running Latest TP on SMF2.1 at: www.fjr-club.nl