The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Rules box in Subforum

4 posters

Go down

Solved Rules box in Subforum

Post by Rale May 6th 2024, 8:58 pm

Hello, I'd like to know how to make this ---> https://prnt.sc/0eUZHqb8dwFm on my Forum,

I tried to do it but when I go to Rules in my forum, it shows only while Replying, I want it to show when someone is in my Category (like in screenshot above) ---> https://prnt.sc/PiXcgGcS7UOI
Rale
Rale
New Member

Posts : 22
Reputation : 1
Language : Serbian

Back to top Go down

Solved Re: Rules box in Subforum

Post by Rale May 7th 2024, 4:35 pm

Here is one more example : https://prnt.sc/Khcba1iociHx

Any solutions?
Rale
Rale
New Member

Posts : 22
Reputation : 1
Language : Serbian

Back to top Go down

Solved Re: Rules box in Subforum

Post by TheCrow May 7th 2024, 5:20 pm

Hello @Rale,

Please don't double post. Your posts need to be separated by 24 hours before bumping. Please use the edit button, instead!
Please read our forum rules: ESF General Rules

Are you wanting this only in the careers forum?
If not, is it going to be everywhere the same or different in other forums?

Regards,
TheCrow.


Rules box in Subforum Thecro10
Forum of the Forums

Forumotion Rules | Tips & Tricks |
FAQ | Did you forget your password?



*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
TheCrow
TheCrow
Manager
Manager

Male Posts : 6916
Reputation : 795
Language : Greek, English

https://www.inforumgr.com

Back to top Go down

Solved Re: Rules box in Subforum

Post by Rale May 8th 2024, 5:49 pm

TheCrow wrote:Hello @Rale,

Please don't double post. Your posts need to be separated by 24 hours before bumping. Please use the edit button, instead!
Please read our forum rules: ESF General Rules

Are you wanting this only in the careers forum?
If not, is it going to be everywhere the same or different in other forums?

Regards,
TheCrow.

I want it to be shown in only Careers forum, yeah.
Rale
Rale
New Member

Posts : 22
Reputation : 1
Language : Serbian

Back to top Go down

Solved Re: Rules box in Subforum

Post by SarkZKalie May 9th 2024, 3:20 pm

Could you please provide your site URL here?


Rules box in Subforum Sarkzk10
SarkZKalie
SarkZKalie
Support Moderator
Support Moderator

Male Posts : 1443
Reputation : 220
Language : English

https://rotavn.forumotion.com/

poesia-verses likes this post

Back to top Go down

Solved Re: Rules box in Subforum

Post by Rale May 9th 2024, 6:41 pm

Rale
Rale
New Member

Posts : 22
Reputation : 1
Language : Serbian

Back to top Go down

Solved Re: Rules box in Subforum

Post by TheCrow May 10th 2024, 9:16 am

Hello @Rale,

Thank you for the information you provided.
You can achieve the requested result by adding this javascript in your forum:
Admin Panel > Modules > HTML & JAVASCRIPT : Javascript codes management
Make sure your Javascripts are enabled and then click the Create a new Javascript button.
Fill in the fields as below:
Title * : Whatever you want
Placement : In all the pages
Javascript Code * : copy and paste the below code
Code:
$(function(){
  if (/f18-/.test(window.location.href)){
    $('<div id="annBox"><a href="/"><img src="https://i52.servimg.com/u/f52/18/64/98/14/screen69.png" /></a></div>').insertAfter('.sub-header-info');
  }
});
In this code, I added the picture you sent, with a link wrapped around it. That means that when someone clicks the image it would take them to the main page of the forum. If you want to change where they will be taken, when they click the picture, you can change the
Code:
<a href="/">
from the code and put the link of the topic/forum where you want them to be taken to.

Then you have to go to your CSS and add the below code.
Admin Panel > Display > Pictures and Colors : Colors & CSS > CSS Stylesheet
Code:
div#annBox img {
    max-width: 80%;
}
div#annBox {
    display: inline-block;
    background: #292929;
    border-radius: 10px;
    margin: 10px;
    padding: 10px;
    text-align: center;
}

This would give you this as your result:
Rules box in Subforum Screen70

If there are any further questions, please don't hesitate to let us know here.

Regards,
TheCrow.


Rules box in Subforum Thecro10
Forum of the Forums

Forumotion Rules | Tips & Tricks |
FAQ | Did you forget your password?



*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
TheCrow
TheCrow
Manager
Manager

Male Posts : 6916
Reputation : 795
Language : Greek, English

https://www.inforumgr.com

Ape, SarkZKalie and TonnyKamper like this post

Back to top Go down

Solved Re: Rules box in Subforum

Post by skouliki May 16th 2024, 1:11 pm

if your request is complete, please mark it as Solved.
skouliki
skouliki
Manager
Manager

Female Posts : 15391
Reputation : 1709
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Rules box in Subforum

Post by skouliki May 26th 2024, 8:33 am

Since we have not received a reply from the author i will mark this as solved
If it is not please pm me to reopen it

Problem solved & topic archived.
Please read our forum rules: ESF General Rules
skouliki
skouliki
Manager
Manager

Female Posts : 15391
Reputation : 1709
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Back to top

- Similar topics

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