Errors and strange problems after putting up a new forum

Kilowallow

Well-known member
Registered
Joined
Jul 6, 2019
Messages
87
Points
28

Reputation:

Problem 1 )

The username of the second account is shifted right, and has a gap on the left.

Screen Shot 2022-12-12 at 3.53.39 PM.png




Problem 2)

I get this error when I try to change my username color.

Screen Shot 2022-12-12 at 2.43.32 PM.jpg




Problem 3) Is SFCore needed for the Park 2.2 theme style?

Screen Shot 2022-12-12 at 9.22.17 AM.jpg





Problem 4) I get this error when I try to change the time preference.

Screen Shot 2022-12-12 at 11.38.25 AM.png


Screen Shot 2022-12-12 at 11.38.33 AM.jpg
 

Kilowallow

Well-known member
Registered
Joined
Jul 6, 2019
Messages
87
Points
28

Reputation:

Problem 5) I get this error when I try to change my usergroup.


Screen Shot 2022-12-12 at 4.08.35 PM.png
Screen Shot 2022-12-12 at 4.08.52 PM.jpg
 

thomsa

Moderator
Staff member
Moderator
S.V.I.P Member
Collaborate
Registered
Joined
Jun 22, 2019
Messages
1,067
Points
173

Reputation:

@Kilowallow

1 check your modify css
3 install addon [Stylesfactory] SFCore
2,4,5 disable addon all and test if not error enable addon one for test.

i thik addon conflict.
 

Kilowallow

Well-known member
Registered
Joined
Jul 6, 2019
Messages
87
Points
28

Reputation:

@thomsa I was able to fix the problems with your advice, thank you very much. The last problem I have is the "IP sharing" doesn't work, because there are only two users on the forum, but it says we share the same IP, even though we don't.
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,514
Points
523

Reputation:

@thomsa I was able to fix the problems with your advice, thank you very much. The last problem I have is the "IP sharing" doesn't work, because there are only two users on the forum, but it says we share the same IP, even though we don't.
KilowallowAre you using cloudflare?
 
View previous replies…

thomsa

Moderator
Staff member
Moderator
S.V.I.P Member
Collaborate
Registered
Joined
Jun 22, 2019
Messages
1,067
Points
173

Reputation:

Kilowallow

Well-known member
Registered
Joined
Jul 6, 2019
Messages
87
Points
28

Reputation:

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,514
Points
523

Reputation:

The ip issue was fixed after I told the guy who runs the server it can be bitmitigate. Thanks to @BattleKing
I'm not sure if it uses CDN or Loadbalance, but I think CDN.
KilowallowIt would be good to post the complete config solution here, so that others know it as well
 

Kilowallow

Well-known member
Registered
Joined
Jul 6, 2019
Messages
87
Points
28

Reputation:

@BattleKing do you know how to remove this branding on the chat add-on?

IMG_9902.jpg
 

thomsa

Moderator
Staff member
Moderator
S.V.I.P Member
Collaborate
Registered
Joined
Jun 22, 2019
Messages
1,067
Points
173

Reputation:

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,514
Points
523

Reputation:

SNap!

Collaborate
Collaborate
Registered
Joined
Mar 17, 2022
Messages
561
Points
253

Reputation:

was already answered inside the thread in post
BattleKingNot Secure, found into code

PHP:
class Listener
{
    public static function renderCopyright()
    {
        if (\XF::config('bsRemoveCopyright'))
        {
            return '';
        }

        $request = \XF::app()->request();
        if (! ($domain = $request->getServer('HTTP_HOST')))
        {
            $boardUrl = \XF::options()->boardUrl;
            $urlParts = parse_url($boardUrl);

            if ($urlParts['host'])
            {
                $domain = $urlParts['host'];
            }
            else
            {
                $domain = $boardUrl;
            }
        }

        return '<a href="https://devsell.io/?utm_source=' . urlencode($domain) . '&utm_medium=chat_addon&utm_campaign=product_branding" target="_blank" rel="nofollow" class="chat-copyright">Add-on by 021</a>';
    }
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,514
Points
523

Reputation:

Not Secure, found into code

PHP:
class Listener
{
    public static function renderCopyright()
    {
        if (\XF::config('bsRemoveCopyright'))
        {
            return '';
        }

        $request = \XF::app()->request();
        if (! ($domain = $request->getServer('HTTP_HOST')))
        {
            $boardUrl = \XF::options()->boardUrl;
            $urlParts = parse_url($boardUrl);

            if ($urlParts['host'])
            {
                $domain = $urlParts['host'];
            }
            else
            {
                $domain = $boardUrl;
            }
        }

        return '<a href="https://devsell.io/?utm_source=' . urlencode($domain) . '&utm_medium=chat_addon&utm_campaign=product_branding" target="_blank" rel="nofollow" class="chat-copyright">Add-on by 021</a>';
    }
SNap!What is not secure?
The best is the template modification for my understanding.
 
Top