Custom post background for groups
+2
Cassius Dio
Landshark
6 posters
Page 1 of 1
Custom post background for groups
I looked for a topic like this one, but I only found one for just regular post backgrounds..if I somehow missed it (which, I have a bad feeling I did.) then I apologize.
This is the code I have now, but its only for a regular post background. I want different groups to have their own post background on topics. How do I do that?
- Spoiler:
- .post {
padding: 0 10px;
margin-bottom: 4px;
background-repeat: no-repeat;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
-khtml-border-radius: 10px;
border-radius: 10px;
border: 1px solid #003400;
background-image: url('https://i.servimg.com/u/f73/18/02/55/91/12311.jpg');
background-repeat: repeat-x;
This is the code I have now, but its only for a regular post background. I want different groups to have their own post background on topics. How do I do that?
Last edited by Landshark on February 27th 2013, 10:10 pm; edited 1 time in total
Landshark- Forumember
- Posts : 59
Reputation : 2
Language : English, Spanish
Re: Custom post background for groups
Hi!
1. Go to:
Administration Panel ~> Users & Groups ~> Ranks ~> Rank Administration. Edit the ranks you want to have a special background - . Add to Rank Title :
2. Go to:
Administration Panel ~> Modules ~> HTML & JAVASCRIPT ~> JavaScript codes mangement. Create a new code, and add:
3. Go to:
Administration Panel ~> Display ~> Pictures and colors ~> Colors ~> CSS Stylesheet. Add this code:
1. Go to:
Administration Panel ~> Users & Groups ~> Ranks ~> Rank Administration. Edit the ranks you want to have a special background - . Add to Rank Title :
- Code:
<div class="backgpost">Moderator</div>
2. Go to:
Administration Panel ~> Modules ~> HTML & JAVASCRIPT ~> JavaScript codes mangement. Create a new code, and add:
- Code:
$(document).ready(function(){
$('.post').has('.backgpost').addClass('background_post');
});
3. Go to:
Administration Panel ~> Display ~> Pictures and colors ~> Colors ~> CSS Stylesheet. Add this code:
- Code:
.background_post{
background-image: url('http://i73.servimg.com/u/f73/18/02/55/91/12311.jpg');
background-repeat: repeat-x;
}
Re: Custom post background for groups
I tried doing the steps, but it didn't show. Here's a topic my friend made as a "test" to try this:
http://sscfh.forumotion.com/t1-test#2
http://sscfh.forumotion.com/t1-test#2
Landshark- Forumember
- Posts : 59
Reputation : 2
Language : English, Spanish
Re: Custom post background for groups
Try to replace the JavaScript code I gaved you above with this one:
- Code:
$(document).ready(function(){
$('.post:has(".backgpost")').addClass('background_post');
});
Re: Custom post background for groups
Hi, rhino.freak.
The codes above will set automatically a special background for staff memeber's posts. Like here:
https://help.forumotion.com/t121115-how-can-i-add-a-viewer-counter-for-the-topic-index#798987 - the left part is orange.
The codes above will set automatically a special background for staff memeber's posts. Like here:
https://help.forumotion.com/t121115-how-can-i-add-a-viewer-counter-for-the-topic-index#798987 - the left part is orange.
Re: Custom post background for groups
I'm sorry but as CJ11 said, this is considered as spam. You can always find this topic here, because it will not disappear.MAX-S wrote:Hi SSGS please post above code in my forum http://avacs.pforum.biz and i will try it for my forum staff members. Thanks
Re: Custom post background for groups
@MAX-S: Please use a computer if you cannot copy and paste on your mobile. By posting solutions on your forum, it will only be helpful to you and not other members. If it is posted here in the support forum, other users can benefit too. Hence, we will not allow solutions to be posted elsewhere when it can be posted here.
Re: Custom post background for groups
MAX-S wrote:Your link is about only moderator bg color not for Admin, Co-admin and SuperModerator. I wanna say that Dark orange bg color for Admin, Light orange bg color for Co-admin, Golden yellow bg color for Top user, Dark Yellow bg color for SuperModerator and Dark green bg color for Moderators. So how to make it? Check my forum http://avacs.pforum.biz and i have 5 special users or legends as Admin, co-admin, top user, Supermoderator and moderator. So i want above bg colors for this legends or special members. Thanks
MAX-S wrote:Help
Please don't double/triple post. Your post need to be separated by 24 hours before bumping, replying or adding more information. Please use the edit button instead! This is your second reminder. |
Please do not hijack other user's topics! Open your own topic(Second Reminder)
Sir Chivas™- Helper
- Posts : 6965
Reputation : 457
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||
Re: Custom post background for groups
No one is making new rules.
Please read the rules here.
https://help.forumotion.com/t93820-general-rules
About your problem, he is asking you to post in another thread so that its better to be noticed & could be easily answered.
Please follow the rules & respect the staff members.
Please read the rules here.
https://help.forumotion.com/t93820-general-rules
About your problem, he is asking you to post in another thread so that its better to be noticed & could be easily answered.
Please follow the rules & respect the staff members.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Custom post background for groups
Sanket, he has a thread open related to his issues:
https://help.forumotion.com/t121309-special-bg-color-for-forum-saffs#800872
Thank you. Hope you understand.
https://help.forumotion.com/t121309-special-bg-color-for-forum-saffs#800872
Thank you. Hope you understand.
Sir Chivas™- Helper
- Posts : 6965
Reputation : 457
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||
Re: Custom post background for groups
Please refrain from posting here, that's all. It may be confusing to the creator of this thread. If you have any issues, please make sure to PM me. This doesn't need a response.
Sir Chivas™- Helper
- Posts : 6965
Reputation : 457
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum