Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

August 12, 2022, 05:56:10 PM

Login with username, password and session length

Recent Posts

Pages: [1] 2 ... 10
1
Chit chat / Re: Can someone help me unlock my original account? hygron
« Last post by Hygron.TOO on August 06, 2022, 07:56:06 PM »
I was just able to reacquire hygron@hygronomics.com.  I had no access to that email, but I believe I did just get it set up again.  Thanks for the reply, that might work since I have the email current.
2
Support / Re: Hyperlinks not working on Front Page
« Last post by Kokoro on August 06, 2022, 04:12:45 PM »
Thank you!  That fixed it great!
3
Support / Re: Hyperlinks not working on Front Page
« Last post by @rjen on July 25, 2022, 01:44:57 AM »
Just tested the fixes on two test sites and as far as I can see they fix the problem with the links in bbc articles.
4
Support / Re: Hyperlinks not working on Front Page
« Last post by tino on July 24, 2022, 02:53:33 PM »
https://github.com/Tinyportal/TinyPortal/blob/7652754b0ad9a81e3d96a73d3b1a2df6409a1cdc/Sources/TPortalAdmin.php#L1010

This line also needs to be changed to

Code: [Select]
      if($context['TPortal']['editarticle']['type'] != 'bbc') {
        $context['TPortal']['editarticle']['body'] = $smcFunc['htmlspecialchars']($context['TPortal']['editarticle']['body'], ENT_QUOTES);
      }
5
Support / Re: Hyperlinks not working on Front Page
« Last post by tino on July 24, 2022, 02:43:39 PM »
Try adding this the line above here:

https://github.com/Tinyportal/TinyPortal/blob/7652754b0ad9a81e3d96a73d3b1a2df6409a1cdc/Sources/TPArticle.php#L431

Code: [Select]
            // BBC we need to encode quotes
            if( ($_REQUEST['tp_article_type'] == 'bbc') && ($setting == 'body') ) {
              $value = $smcFunc['htmlspecialchars']($value, ENT_QUOTES);
            }

That breaks things for me and add's localhost on the second save, but I'm not sure if that's my environment.
6
Support / Re: Hyperlinks not working on Front Page
« Last post by @rjen on July 24, 2022, 02:27:10 PM »
I can reproduce it, so I can verify the fix
7
Support / Re: Hyperlinks not working on Front Page
« Last post by tino on July 24, 2022, 02:19:41 PM »
Create a bbc article with a hyperlink enclosed in quotes. Save it and view. Try the link. If it works, edit the article and save it again. Try the link again.

Done that, it links through ok.

I'll add what I think is the fix. But I can't verify it.
8
Support / Re: Hyperlinks not working on Front Page
« Last post by @rjen on July 24, 2022, 02:17:17 PM »
Create a bbc article with a hyperlink enclosed in quotes. Save it and view. Try the link. If it works, edit the article and save it again. Try the link again.
9
Support / Re: Hyperlinks not working on Front Page
« Last post by tino on July 24, 2022, 01:46:58 PM »
What am I doing wrong? As I can't recreate it atm

See the images for what I have done..
10
Support / Re: Hyperlinks not working on Front Page
« Last post by @rjen on July 11, 2022, 11:26:39 AM »
It did not come back: that issue was with php blocks. And that still works …
Pages: [1] 2 ... 10