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:23:34 AM

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

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

Quote from: @rjen on December 03, 2018, 01:27:06 PM
Sorry, that was not the frontpage...

attached the correct one

The only difference I can see is yours has a block article. Although no idea how to enable that one  >:(

@rjen

Ok, I have now removed all panels and set the frontpage to 'Selected topics only'
Running Latest TP on SMF2.1 at: www.fjr-club.nl

tino

Quote from: @rjen on December 03, 2018, 01:40:29 PM
Ok, I have now removed all panels and set the frontpage to 'Selected topics only'

Same and now mine does the same queries as your's but still works  :knuppel2: :knuppel2: :knuppel2: :doh: :doh: ::)

I just don't get it!

bigguy

My front page has these options checked/enabled:

Forum-posts and articles - sorted on date
Frontpanel will be added before content
D for article layouts and articles + icons

And what is this block of code.

(To reset custom layout, clear all text below and save)


tino

I know where yours is failing now. It's in TPSubs and the function tp_renderarticle

I don't have the same issue and can't replicate at all but I can see how it would fail as Read More is already set when parse_bbc is called again in that function.

bigguy

Is there anyway to fix it at all. ??

tino

Quote from: bigguy on December 03, 2018, 02:15:34 PM
Is there anyway to fix it at all. ??

Yes... I just have to break it ;D

bigguy

I have that file open and found the location. Is there supposed to be two lines like this:
    global $context, $txt, $scripturl, $boarddir, $smcFunc;
    global $image_proxy_enabled, $image_proxy_secret, $boardurl;

tino

Quote from: bigguy on December 03, 2018, 02:22:53 PM
I have that file open and found the location. Is there supposed to be two lines like this:
    global $context, $txt, $scripturl, $boarddir, $smcFunc;
    global $image_proxy_enabled, $image_proxy_secret, $boardurl;


Yeh there is nothing wrong with doing that. I did it to split the two globals up as one was for the avatar changes. Although now I have changed it again I should tidy that up..


tino

The more I look at the code, the more I think it is a bug with the parse_bbc function. It is trying to parse html as bbc. That shouldn't be happening.