The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Questions about Coding

View previous topic View next topic Go down

Solved Questions about Coding

Post by Joost on August 12th 2017, 7:06 pm

Hello,

I have various coding questions.

1) How can i center the topic subject name / user post date and time ? (Screenshot) (solved)

2) How can i center the multi-quote , quote , edit , delete , ip and report buttons to the middle ? Smile (Screenshot) (solved)

3) How can i give the line with the username box a
Code:
<br>
code? Smile (Screenshot)
(solved)

4) The online/offline button must be to the left and the username box with date and time to the right. How do I do that? Smile (Screenshot)

5) I use this javascript for a white color on the editor, as i add text in the editor and click on the Switch Editor Mode than have i black letters.. Confused (Screenshot) (Solved)

Code:
$(function() {
  $(function() {
    $(".sceditor-container iframe")
      .contents()
      .find("head")
      .append(
        "<style>body,html,code:before,p,table{color:#FFFFFF!important;}</style>"
      );
  });
});

My testing forum is private, users only. Laughing
I can give you a Pb with my testing account and by Pb the viewtopic_body template. Smile

Thank your for your time and help.

Regards, Joost


Last edited by Joost on August 22nd 2017, 6:19 pm; edited 4 times in total
avatar
Joost
Forumember

Male Posts : 696
Reputation : 7
Language : Dutch
Location : The Netherlands

Back to top Go down

Solved Re: Questions about Coding

Post by Justice™ on August 12th 2017, 7:20 pm

That's a lot of questions Razz The forum is the same as the one you PM'ed me earlier, right?
avatar
Justice™
Forumember

Posts : 524
Reputation : 121
Language : Romanian and English

http://board.realmsn.com

Back to top Go down

Solved Re: Questions about Coding

Post by Joost on August 12th 2017, 7:33 pm

Justice™ wrote:That's a lot of questions Razz The forum is the same as the one you PM'ed me earlier, right?

Hello Justice ,

Thats correct!
I have not change the password from my testing account, you can login on my testing forum as you will.

Thanks! Very Happy
avatar
Joost
Forumember

Male Posts : 696
Reputation : 7
Language : Dutch
Location : The Netherlands

Back to top Go down

Solved Re: Questions about Coding

Post by SLGray on August 12th 2017, 7:37 pm

Please change the title of your topic to something that is related to your question/issue, so that other users will be able to find their question/issue using the search engine.
Please read our forum rules:  ESF General Rules


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

avatar
SLGray
Administrator
Administrator

Male Posts : 41179
Reputation : 2818
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Questions about Coding

Post by Joost on August 12th 2017, 7:49 pm

@SLGray , I'm sorry for my topic title. In what can i change the topic title? Smile
avatar
Joost
Forumember

Male Posts : 696
Reputation : 7
Language : Dutch
Location : The Netherlands

Back to top Go down

Solved Re: Questions about Coding

Post by Draxion on August 13th 2017, 4:15 am

Maybe... "Questions about JavaScript" or "Questions about Coding", or something that relates to the questions in general. Just to give a few ideas.


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1856
Reputation : 232
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Solved Re: Questions about Coding

Post by Joost on August 13th 2017, 9:40 am

I have change my topic title.
avatar
Joost
Forumember

Male Posts : 696
Reputation : 7
Language : Dutch
Location : The Netherlands

Back to top Go down

Solved Re: Questions about Coding

Post by Joost on August 15th 2017, 5:43 pm

*Bumpt topic*
Who can help me with my questions ? Thank you for your time and help
avatar
Joost
Forumember

Male Posts : 696
Reputation : 7
Language : Dutch
Location : The Netherlands

Back to top Go down

Solved Re: Questions about Coding

Post by Justice™ on August 15th 2017, 7:01 pm

1.Add this CSS:
Code:
p.author{
margin:0px !important;
}
2.Add this CSS:
Code:
div.inner [float="left"]{
float:none !important
}
ul.profile-icons{
display:flex;
justify-content:center
}
3.I'm not sure if I got this right:you want to add a space between the box saying Webmaster and the thing under it?
4.You want the online thing to be where the username and date are? And the username and data above the avatar?
5.Add this CSS;
Code:
.sceditor-container>textarea{
color:#f2f2f2 !important;
}
avatar
Justice™
Forumember

Posts : 524
Reputation : 121
Language : Romanian and English

http://board.realmsn.com

Back to top Go down

Solved Re: Questions about Coding

Post by Joost on August 17th 2017, 4:30 pm

Justice™ wrote:1.Add this CSS:
Code:
p.author{
margin:0px !important;
}
2.Add this CSS:
Code:
div.inner [float="left"]{
float:none !important
}
ul.profile-icons{
display:flex;
justify-content:center
}
3.I'm not sure if I got this right:you want to add a space between the box saying Webmaster and the thing under it?
4.You want the online thing to be where the username and date are? And the username and data above the avatar?
5.Add this CSS;
Code:
.sceditor-container>textarea{
color:#f2f2f2 !important;
}

1) Solved

2) Not solved, css code not working.

Code:
div.inner [float="left"]{
float:none !important
}
ul.profile-icons{
display:flex;
justify-content:center
}

3) Correct

4) Correct

5) Solved
avatar
Joost
Forumember

Male Posts : 696
Reputation : 7
Language : Dutch
Location : The Netherlands

Back to top Go down

Solved Re: Questions about Coding

Post by Justice™ on August 17th 2017, 9:36 pm

2.Use this CSS:
Code:
[style*="float:left"]{
float:none !important
}
ul.profile-icons{
display:flex;
justify-content:center
}
3.Add this CSS:
Code:
#profile-advanced-right>.module>.inner>.h3>span{
position:relative;
bottom:2px;
}
You can modify 2px to any other value.
avatar
Justice™
Forumember

Posts : 524
Reputation : 121
Language : Romanian and English

http://board.realmsn.com

Back to top Go down

Solved Re: Questions about Coding

Post by Joost on August 18th 2017, 5:19 pm

Thanks, only question 4 is not solved.
avatar
Joost
Forumember

Male Posts : 696
Reputation : 7
Language : Dutch
Location : The Netherlands

Back to top Go down

Solved Re: Questions about Coding

Post by Draxion on August 18th 2017, 5:33 pm

As for question 4, you want to simply move the online/offline bar to the left side of the avatar and move that other stuff to the right side of what?

Also, I will need to the forum's URL.


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1856
Reputation : 232
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Solved Re: Questions about Coding

Post by Justice™ on August 18th 2017, 5:57 pm

@Draxion, this is the link:http://beta-hpmagicworld.actieforum.com/

I'll look into this one tomorrow(of course if someone else doesn't solve it till then).
avatar
Justice™
Forumember

Posts : 524
Reputation : 121
Language : Romanian and English

http://board.realmsn.com

Back to top Go down

Solved Re: Questions about Coding

Post by Draxion on August 18th 2017, 6:02 pm

Thank you, @Justice™. However, that site requires a login. If you already have that information since you've been assisting, I'll leave it to you. ;P


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1856
Reputation : 232
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Solved Re: Questions about Coding

Post by Joost on August 19th 2017, 9:23 am

@Draxion , i have send you a pb with a test account.
avatar
Joost
Forumember

Male Posts : 696
Reputation : 7
Language : Dutch
Location : The Netherlands

Back to top Go down

Solved Re: Questions about Coding

Post by Draxion on August 19th 2017, 7:23 pm

@Joost, are you sure you didn't solve the 4th question yet? I see you moved the online/offline to the left and the other stuff to the right.


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1856
Reputation : 232
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Solved Re: Questions about Coding

Post by Joost on August 20th 2017, 10:12 am

@Draxion wrote:@Joost, are you sure you didn't solve the 4th question yet? I see you moved the online/offline to the left and the other stuff to the right.

Hello,

No this not solved. I have send a Pb to my test account than can you see the problem. Smile
Screenshot what i have send.

avatar
Joost
Forumember

Male Posts : 696
Reputation : 7
Language : Dutch
Location : The Netherlands

Back to top Go down

Solved Re: Questions about Coding

Post by Draxion on August 20th 2017, 2:32 pm

Sorry, but when I checked when you gave me access, the online/offline was moved to the left side of the avatar and the other stuff was moved to the right. Maybe it's cause of screen sizes I wonder?


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1856
Reputation : 232
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Solved Re: Questions about Coding

Post by Joost on August 20th 2017, 2:38 pm

It's no screen sizes. The online/offline must be moved to the left, and the other must be something to the right. Very Happy
avatar
Joost
Forumember

Male Posts : 696
Reputation : 7
Language : Dutch
Location : The Netherlands

Back to top Go down

Solved Re: Questions about Coding

Post by Draxion on August 20th 2017, 2:40 pm

Alright, since I'm at work and therefore on my phone, I can't show you what I mean by how I seen them both already moved and I think the different screen sizes we both have may be the cause. I'll show you what I mean through a screenshot when I'm home and on my PC.


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1856
Reputation : 232
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Solved Re: Questions about Coding

Post by Draxion on August 20th 2017, 5:31 pm

@Joost, see what I mean how it shows it's already been done?

Screenshot:


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1856
Reputation : 232
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Solved Re: Questions about Coding

Post by APE on August 20th 2017, 6:35 pm

Hello @Joost Please clear your browser cache and cookies and see if the problem is still there.



avatar
APE
Manager
Manager

Male Posts : 11299
Reputation : 1083
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

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

Back to top Go down

Solved Re: Questions about Coding

Post by Joost on August 20th 2017, 6:39 pm

@Draxion wrote:@Joost, see what I mean how it shows it's already been done?

Screenshot:

This issue is not in the topics, only in private messages. See my test pb with the testing account. Smile
avatar
Joost
Forumember

Male Posts : 696
Reputation : 7
Language : Dutch
Location : The Netherlands

Back to top Go down

Solved Re: Questions about Coding

Post by Joost on August 22nd 2017, 5:27 pm

*Bumpt topic* Laughing
avatar
Joost
Forumember

Male Posts : 696
Reputation : 7
Language : Dutch
Location : The Netherlands

Back to top Go down

Solved Re: Questions about Coding

Post by Draxion on August 22nd 2017, 6:04 pm

Oh, no wonder why I was puzzled.

Look in your CSS and find this code.
Code:
div.post .postprofile:before {
    content: url(http://i39.servimg.com/u/f39/14/73/12/96/off110.png);
    position: absolute;
    top: 25px;
    left: 5;
    right: 5;
    z-index: 3;
}

Fix the left property by changing the value "5" to "5px" and that should solve the online/offline issue.

Then, replace this to your existing rule p.author.
Code:
p.author {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 1em;
    line-height: 1.2em;
    padding: 0px 0px 5px;
    display: inline;
    margin-left: 160px;
}


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1856
Reputation : 232
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Solved Re: Questions about Coding

Post by Joost on August 22nd 2017, 6:19 pm

@Draxion , thanks this it's solved now! Very Happy
avatar
Joost
Forumember

Male Posts : 696
Reputation : 7
Language : Dutch
Location : The Netherlands

Back to top Go down

Solved Re: Questions about Coding

Post by Draxion on August 22nd 2017, 6:19 pm

You're welcome!
Problem solved & topic archived.
Please read our forum rules: ESF General Rules


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1856
Reputation : 232
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

View previous topic View next topic Back to top


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