Little problems with the RPG features (bars,boards etc)

Page 1 of 2 1, 2  Next

Go down

In progress Little problems with the RPG features (bars,boards etc)

Post by Gurufissu on September 5th 2019, 6:44 pm

Hello everyone,

Long ago, I tried to configure a little bit rpg features of my RP forum, trying to have some fancy and original things. That ended up giving me something pretty cool : http://prntscr.com/p2ah6p

But, because there is always a but... there is this thing I can't fix, it should be pretty easy, but can't get my hand on. See the board at the right, how could I get it up, I know the process to do so for most of the case, but here, days I am trying without finding out Little problems with the RPG features (bars,boards etc) 1f611

Secondo : see the bars in the left, they look fine right ? Actually they do, but only when they are half full or more (more or less), under that, it's all blurred, because the picture used is "crushed" ? I don't know if there is any solution for this, might not have any, but if they would be one, I'd love to hear it ! What I understand of it : I'd need to make a code, that would load the picture used for the bar, part by part, instead of loading it fully, but yeah I don't know how to code that at all, so if anyone can help I love you

Some links so you can check what's wrong or not :

- The caracter sheet of Geralt, where the bar is well displayed (mostly for the board upping thing I suppose) : http://continentem.forumactif.com/u3rpg
- The caracter sheet where the bars isn't displayed well : http://continentem.forumactif.com/u96rpg

You might need an account to check those links, feel free to create one ! And tell me if I forgot anything, or if I can do anything to help you to help me ! Razz
Gurufissu
Gurufissu
Forumember

Posts : 84
Reputation : 2
Language : French

http://continentem.forumactif.com/

Back to top Go down

In progress Re: Little problems with the RPG features (bars,boards etc)

Post by SarkZKalie on September 5th 2019, 7:02 pm

You might need an account to check those links, feel free to create one ! And tell me if I forgot anything, or if I can do anything to help you to help me !
Why don't you try to provide us a test account instead? Sorry but I didn't see anything wrong in guest view


Little problems with the RPG features (bars,boards etc) Sarkzk10
SarkZKalie
SarkZKalie
Support Moderator
Support Moderator

Male Posts : 1110
Reputation : 179
Language : English

https://www.rotavn.xyz/

Back to top Go down

In progress Re: Little problems with the RPG features (bars,boards etc)

Post by Gurufissu on September 5th 2019, 7:04 pm

Didn't thought about that, here it is :

Username: Guest
Password: guest123

Gurufissu
Gurufissu
Forumember

Posts : 84
Reputation : 2
Language : French

http://continentem.forumactif.com/

Back to top Go down

In progress Re: Little problems with the RPG features (bars,boards etc)

Post by SarkZKalie on September 5th 2019, 7:11 pm

I'm not understand this at all. Could you please explain more details?
Secondo : see the bars in the left, they look fine right ? Actually they do, but only when they are half full or more (more or less), under that, it's all blurred, because the picture used is "crushed"


Little problems with the RPG features (bars,boards etc) Sarkzk10
SarkZKalie
SarkZKalie
Support Moderator
Support Moderator

Male Posts : 1110
Reputation : 179
Language : English

https://www.rotavn.xyz/

Back to top Go down

In progress Re: Little problems with the RPG features (bars,boards etc)

Post by Gurufissu on September 5th 2019, 7:13 pm

See that : http://prntscr.com/p2ay7a

When the bars are half full or more, they are fine, they look good, but under that, it looks very bad, blurry and all !

X = Bad
~ = Ok
V = Good
Gurufissu
Gurufissu
Forumember

Posts : 84
Reputation : 2
Language : French

http://continentem.forumactif.com/

Back to top Go down

In progress Re: Little problems with the RPG features (bars,boards etc)

Post by skouliki on September 5th 2019, 8:08 pm

hi

i dont think its blurry, it is just the image
try to change the image to a solid color
skouliki
skouliki
Manager
Manager

Female Posts : 7383
Reputation : 1030
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

In progress Re: Little problems with the RPG features (bars,boards etc)

Post by Gurufissu on September 5th 2019, 8:10 pm

Here is the picture : https://2img.net/image.noelshack.com/fichiers/2018/36/2/1536091664-magie7.png

That's what I use, and what I want. Solid color isn't fine for me. What I need, I think, would be a code that make the forum use this picture progressively, instead of utilizing it fully for the bar... I don't know if I am understandable here Confused
Gurufissu
Gurufissu
Forumember

Posts : 84
Reputation : 2
Language : French

http://continentem.forumactif.com/

Back to top Go down

In progress Re: Little problems with the RPG features (bars,boards etc)

Post by SLGray on September 5th 2019, 9:35 pm

Maybe if you redesign the image where the black/gray areas were not on the right side.


Little problems with the RPG features (bars,boards etc) Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 46802
Reputation : 3278
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

In progress Re: Little problems with the RPG features (bars,boards etc)

Post by skouliki on September 6th 2019, 8:15 am

is this a better result for you ?
Little problems with the RPG features (bars,boards etc) Scre1408

in order to have this result, you must style every image using the object fit element as below
Code:

<img src="https://image.noelshack.com/fichiers/2018/36/2/1536091220-barre-aard.png" width="40" height="12" alt="1/5" style="
    object-fit: cover;
">
skouliki
skouliki
Manager
Manager

Female Posts : 7383
Reputation : 1030
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

In progress Re: Little problems with the RPG features (bars,boards etc)

Post by Gurufissu on September 6th 2019, 3:32 pm

@skouliki wrote:is this a better result for you ?
Little problems with the RPG features (bars,boards etc) Scre1408

in order to have this result, you must style every image using the object fit element as below
Code:

<img src="https://image.noelshack.com/fichiers/2018/36/2/1536091220-barre-aard.png" width="40" height="12" alt="1/5" style="
    object-fit: cover;
">

That's indeed a better result ! But I don't quite understand how I am supposed to do that ? A javascript ? Just tried it, and it doesn't seem to work Confused
Gurufissu
Gurufissu
Forumember

Posts : 84
Reputation : 2
Language : French

http://continentem.forumactif.com/

Back to top Go down

In progress Re: Little problems with the RPG features (bars,boards etc)

Post by skouliki on September 6th 2019, 3:52 pm

where are those images uploaded? placed
skouliki
skouliki
Manager
Manager

Female Posts : 7383
Reputation : 1030
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

In progress Re: Little problems with the RPG features (bars,boards etc)

Post by Gurufissu on September 6th 2019, 3:56 pm

They are uploaded on "noelshack", an image host site; and I placed with the forumotion tool, here for the "Aard bar" (the light blue one) : http://prntscr.com/p2oxr8
Gurufissu
Gurufissu
Forumember

Posts : 84
Reputation : 2
Language : French

http://continentem.forumactif.com/

Back to top Go down

In progress Re: Little problems with the RPG features (bars,boards etc)

Post by skouliki on September 6th 2019, 4:01 pm

ok but do you have a css style for those images in your css sheet? or a js?
skouliki
skouliki
Manager
Manager

Female Posts : 7383
Reputation : 1030
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

In progress Re: Little problems with the RPG features (bars,boards etc)

Post by Gurufissu on September 6th 2019, 4:01 pm

No !
Gurufissu
Gurufissu
Forumember

Posts : 84
Reputation : 2
Language : French

http://continentem.forumactif.com/

Back to top Go down

In progress Re: Little problems with the RPG features (bars,boards etc)

Post by APE on September 6th 2019, 7:18 pm

@skouliki they are added by the ACP in the RPG settings Wink
No need for any CSS files for it as they are Vote bars as such Wink

There is no real way to stop it looking like that as the system add's a repeat to resize the image you use in the ACP.


Little problems with the RPG features (bars,boards etc) Left1212Little problems with the RPG features (bars,boards etc) Center11Little problems with the RPG features (bars,boards etc) Right112
Little problems with the RPG features (bars,boards etc) Ape_b110
Little problems with the RPG features (bars,boards etc) Ape1010
APE
APE
Administrator
Administrator

Male Posts : 14971
Reputation : 1619
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

In progress Re: Little problems with the RPG features (bars,boards etc)

Post by skouliki on September 6th 2019, 7:38 pm

yes i think the only way to fix this is by adding another image
i can make you a similar one not solid but similar
skouliki
skouliki
Manager
Manager

Female Posts : 7383
Reputation : 1030
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

In progress Re: Little problems with the RPG features (bars,boards etc)

Post by Gurufissu on September 6th 2019, 7:41 pm

I don't think adding different images would change it. I mean, if the resolution is low, the quality will deteriorate when the bar is full, when the resolution is high, the quality is bad when the bar is low !

But if you wanna try, let's go :p

There is 4 parts in a bar : the end in the left (gray), the end in the right (gray too), the colored thing in the middle, and the "black" thing in the middle when there is no color.

Like here the first bar : http://continentem.forumactif.com/u96rpg
Gurufissu
Gurufissu
Forumember

Posts : 84
Reputation : 2
Language : French

http://continentem.forumactif.com/

Back to top Go down

In progress Re: Little problems with the RPG features (bars,boards etc)

Post by Occultist on September 6th 2019, 7:48 pm

@APE, did you try to stop it from looking like that? I'll make a guess and say that you didn't.

Anyway, to achieve the look from Skouliki's post, you can add this to your CSS file:
Code:
.column1 img:nth-child(2n){
object-fit:cover;
}

As about moving that block up, this code may or may not solve it:
Code:
#profile-advanced-details .column2{
position:relative;
top:-330px;
}

This will make it go up but may or may not work on every profile if the first row is of varying size. If that's the case, we need to make some edits to the rpg_sheet template.

Honestly, I've never seen more spaghetti code than the one in a forumotion template.
Occultist
Occultist
Forumember

Posts : 181
Reputation : 48
Language : English and couple others

https://idonthaveaforum.forumotion.com

Back to top Go down

In progress Re: Little problems with the RPG features (bars,boards etc)

Post by Gurufissu on September 6th 2019, 7:52 pm

@Occultist wrote:@APE, did you try to stop it from looking like that? I'll make a guess and say that you didn't.

Anyway, to achieve the look from Skouliki's post, you can add this to your CSS file:
Code:
.column1 img:nth-child(2n){
object-fit:cover;
}

As about moving that block up, this code may or may not solve it:
Code:
#profile-advanced-details .column2{
position:relative;
top:-330px;
}

This will make it go up but may or may not work on every profile if the first row is of varying size. If that's the case, we need to make some edits to the rpg_sheet template.

Honestly, I've never seen more spaghetti code than the one in a forumotion template.

When you say "CSS file", what are you talking about ? The CSS Sheet, or the big file of the theme ? Because for the latter, I don't know how to modify it Hello

Edit : and the code didn't work to move up the block hmm. What is the "first row" ?
Gurufissu
Gurufissu
Forumember

Posts : 84
Reputation : 2
Language : French

http://continentem.forumactif.com/

Back to top Go down

In progress Re: Little problems with the RPG features (bars,boards etc)

Post by Occultist on September 6th 2019, 7:53 pm

The sheet(Admin Panel->Display->Colors->CSS stylesheet).
Occultist
Occultist
Forumember

Posts : 181
Reputation : 48
Language : English and couple others

https://idonthaveaforum.forumotion.com

Back to top Go down

In progress Re: Little problems with the RPG features (bars,boards etc)

Post by Gurufissu on September 6th 2019, 7:55 pm

Yeah right, I put them there : http://prntscr.com/p2s5ju

By the way, have you seen my proposal about that ? "What I need, I think, would be a code that make the forum use this picture progressively, instead of utilizing it fully for the bar" ; don't you think that's the solution ?
Gurufissu
Gurufissu
Forumember

Posts : 84
Reputation : 2
Language : French

http://continentem.forumactif.com/

Back to top Go down

In progress Re: Little problems with the RPG features (bars,boards etc)

Post by Occultist on September 6th 2019, 8:07 pm

I don't see the code in the css file. Do you have the Force the basic CSS or the Optimize your CSS options activated? Try deactivating them.

The only other posibility I can think of is you having too many lines/characters in you CSS. Go to the overall_header template, and right before
Code:
</head>
, add this code:
Code:
<style>
.column1 img:nth-child(2n){
object-fit:cover;
}
#profile-advanced-details .column2{
position:relative;
top:-330px;
}
</style>

As about your proposal, that will probably work but will not be easy to do because the html code is very badly structured and can't be edited through templates. It can be done through javascript, though.
Occultist
Occultist
Forumember

Posts : 181
Reputation : 48
Language : English and couple others

https://idonthaveaforum.forumotion.com

Back to top Go down

In progress Re: Little problems with the RPG features (bars,boards etc)

Post by Gurufissu on September 7th 2019, 12:00 am

I have the optimized thing! I'll try to desactive it, when home, I can't modify it on phone, I don't know why xd and we have like 300 lines, I think it's ok, otherwise they you it's too much

I'll try it soon, when at home! And yeah I figured it was through javascript that it should be done, but if it's hard hmm

EDIT : with the code added at the top, it started to work ! Thank you so much man ! I am adding that by the way : it started to work, and in the same time, it did suppress the "html" things. So it looks like that (i had no "</head> anyway) : http://prntscr.com/p2uytz

Plus, just found out that : the bars were not appearing well, when getting full and all. Like one problem is resolved, another one shows on xd... --> http://prntscr.com/p2uzon
Gurufissu
Gurufissu
Forumember

Posts : 84
Reputation : 2
Language : French

http://continentem.forumactif.com/

Back to top Go down

In progress Re: Little problems with the RPG features (bars,boards etc)

Post by SLGray on September 7th 2019, 12:41 am

</head> is not in the CSS stylesheet, but in a template.


Last edited by SLGray on September 7th 2019, 12:49 am; edited 1 time in total


Little problems with the RPG features (bars,boards etc) Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 46802
Reputation : 3278
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

In progress Re: Little problems with the RPG features (bars,boards etc)

Post by Gurufissu on September 7th 2019, 12:48 am

Oh... Sorry... Yes, I did that, thank you. Shall I keep what I wrote in the CSS (it's the same code) ?

But still, the same problem I enounced in my previous message is there :/
Gurufissu
Gurufissu
Forumember

Posts : 84
Reputation : 2
Language : French

http://continentem.forumactif.com/

Back to top Go down

In progress Re: Little problems with the RPG features (bars,boards etc)

Post by SLGray on September 7th 2019, 12:50 am

If the CSS works, you do not need to modify the template.


Little problems with the RPG features (bars,boards etc) Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 46802
Reputation : 3278
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

In progress Re: Little problems with the RPG features (bars,boards etc)

Post by Gurufissu on September 7th 2019, 1:00 am

The CSS works when put at the top. Why it is this way ?
Gurufissu
Gurufissu
Forumember

Posts : 84
Reputation : 2
Language : French

http://continentem.forumactif.com/

Back to top Go down

In progress Re: Little problems with the RPG features (bars,boards etc)

Post by brandon_g on September 7th 2019, 3:23 am

If it's only working at the top, it could be there are errors in css further down in your css stylesheet, as it reads the code from top to bottom, which explains why it works at the top of your stylesheet but not the bottom.

Do you have issues with any other css codes?

-Brandon


Little problems with the RPG features (bars,boards etc) Brando10
Remember to mark your topic Little problems with the RPG features (bars,boards etc) Solved15 when a solution is found.
brandon_g
brandon_g
Manager
Manager

Male Posts : 8706
Reputation : 781
Language : English
Location : USA

https://www.broadcastingduo.com

Back to top Go down

In progress Re: Little problems with the RPG features (bars,boards etc)

Post by Gurufissu on September 7th 2019, 2:06 pm

Thanks for your reply :

I do not have any known issue at least hm
Gurufissu
Gurufissu
Forumember

Posts : 84
Reputation : 2
Language : French

http://continentem.forumactif.com/

Back to top Go down

In progress Re: Little problems with the RPG features (bars,boards etc)

Post by skouliki on September 14th 2019, 1:41 pm

is this solved?
skouliki
skouliki
Manager
Manager

Female Posts : 7383
Reputation : 1030
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Page 1 of 2 1, 2  Next

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum