Posted by Coding Bug

Val|G2|7.8.22
NRLC|Smilus (#395601)


View Forum Posts


Posted on
2024-03-09 11:47:10
What gameplay feature is this bug affecting?
HTML [Maybe CSS Coding]

What's the issue? Please include any error messages you receive and as much detail as possible.
There are a few issues with player coding in lioden right now - most of which are a result of the server change, and others have been here but have been made worse by the server change

as of late my, and many other players, problem has been clan pages - When I insert my code into a clan page there are random pieces of my code being deleted and random code being added in places that it doesn't belong

I have a few screenshots of the issues, one of them being this one. When I was editing the size of the lions headshots the sizes of the icons were also being changed - because the 'width=size' code was being duplicated and added to the headers as well when I clicked save

On top of this, when I save the description with the full code one of two things is always deleted - the box with the HTMLs background, font, etc. or the last box in the code [in this case the 'partnerships' box]

even with deleting the last box - every time you save the clans description the background is broken. either because the coding disappears or, as I've found, is duplicated 1-3 times which causes it to not show up on top of breaking the title box.

Any links relating to this bug? For example, if a particular lion is bugging, what is the link to that lion?


Any screenshots you can provide us with?


^ This screenshot highlights the issue of random code being added where it doesnt belong




^ those two screenshots show how the code & HTML look after I add the Partnership box back into the code



^ This screenshot shows how the partnership box reacts after adding the background coding back in

Please provide us with step by step explanation how this bug happened so we can attempt to replicate it. If it's complex, please include screenshots where possible:
The only steps I took were inserting my code into the clans description, and from there is where the problems occurred - I had to either get rid of the HTMLs background coding, or the last box in the code [7 boxes in total, with the last box intact]



Hrt Icon 0 players like this post! Like?

Edited on 09/03/24 @ 11:48:07 by Val|G2|7.8.22 NRLC|Smilus (#395601)

Michael (#16)

Famous
View Forum Posts


Posted on
2024-03-09 11:53:40
And this is the code from the PasteBin, correct?



Hrt Icon 0 players like this post! Like?

Val|G2|7.8.22
NRLC|Smilus (#395601)


View Forum Posts


Posted on
2024-03-09 11:56:18
It is, yes - it works perfectly fine on forums - just not the clans page



Hrt Icon 0 players like this post! Like?

Michael (#16)

Famous
View Forum Posts


Posted on
2024-03-09 12:01:06
Do you have a PasteBin with the full code / all of the sections?

This one doesn't have the Partnerships section: https://pastebin.com/qS794vGw



Hrt Icon 0 players like this post! Like?

Val|G2|7.8.22
NRLC|Smilus (#395601)


View Forum Posts


Posted on
2024-03-09 12:08:24
It does - theres two codes in that paste bin,

one for the clans front page and one for their forum - but there's a clear split between the two,

I just put the first half into a test forum, and the last box is there - none of them are labeled but that's so the owner of the clan could put whatever information they wanted into those boxes

First Half -


Second Half -



That very last box - which is the same as the title box - is the partnerships box



Hrt Icon 0 players like this post! Like?


Edited on 09/03/24 @ 12:08:41 by Val|G2|7.8.22 NRLC|Smilus (#395601)

Michael (#16)

Famous
View Forum Posts


Posted on
2024-03-09 12:16:16
This is what I get when I paste the code into a clan description and save it:
https://www.lioden.com/clan.php?id=824



Hrt Icon 0 players like this post! Like?

Val|G2|7.8.22
NRLC|Smilus (#395601)


View Forum Posts


Posted on
2024-03-09 12:17:23
Thats so odd, because still when I paste it - it isnt working

did you try just pasting the first half - and not the forum as well?



Hrt Icon 0 players like this post! Like?

Michael (#16)

Famous
View Forum Posts


Posted on
2024-03-09 12:21:37
Updated with just the first half, everything before the "!!!!!!FORUM HTML STARTS HERE!!!!!!"



Hrt Icon 0 players like this post! Like?

Val|G2|7.8.22
NRLC|Smilus (#395601)


View Forum Posts


Posted on
2024-03-09 12:22:49
Thats so frustrating, because its still not working for me - even though Im changing nothing about the code when adding it to the clans description

aside from adding the information wanted by the owner



Hrt Icon 0 players like this post! Like?

Michael (#16)

Famous
View Forum Posts


Posted on
2024-03-09 12:24:10
Can you add it back into the clan description and I can take a look at the code there?



Hrt Icon 0 players like this post! Like?

Val|G2|7.8.22
NRLC|Smilus (#395601)


View Forum Posts


Posted on
2024-03-09 12:25:21
The code actually still isnt working right now lol - the title box has disappeared

do you need me to add the code without any information? or just add the background & Partnerships box back in?




Hrt Icon 0 players like this post! Like?

Michael (#16)

Famous
View Forum Posts


Posted on
2024-03-09 12:28:59
Add in whatever you need to be in there, that way we can figure it all out at once.



Hrt Icon 0 players like this post! Like?

Val|G2|7.8.22
NRLC|Smilus (#395601)


View Forum Posts


Posted on
2024-03-09 12:31:15
got it - should be good to go now



Hrt Icon 0 players like this post! Like?

Michael (#16)

Famous
View Forum Posts


Posted on
2024-03-09 12:35:00
Alright, can you put the code that you're putting in there into a PasteBin so I can compare it to what's being saved?



Hrt Icon 0 players like this post! Like?

Val|G2|7.8.22
NRLC|Smilus (#395601)


View Forum Posts


Posted on
2024-03-09 12:37:27
Can do

https://pastebin.com/PDSxuaFG



Hrt Icon 0 players like this post! Like?

Michael (#16)

Famous
View Forum Posts


Posted on
2024-03-09 12:39:17
Okay, now I see. When I use that code and put it in the first time, it works. Then as soon as I hit save again, it breaks.

Give me a bit, and I'll take a look into this. I'll get back to you sometime today!

Thank you for your patience with this.



Hrt Icon 0 players like this post! Like?







Memory Used: 623.61 KB - Queries: 0 - Query Time: 0.00000 - Total Time: 0.00354s