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.

Custom post background for groups

View previous topic View next topic Go down

Custom post background for groups

Post by Landshark on February 27th 2013, 3:25 am

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.

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://i73.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 : 27
Reputation : 2
Language : English, Spanish

Back to top Go down

Re: Custom post background for groups

Post by Cassius Dio on February 27th 2013, 5:43 am

Hi! Very Happy

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');
});
Placement: Topics.

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;
}

Cassius Dio
Forumember

Male Posts : 581
Reputation : 79
Language : Romanian &English
Location : Yellow Submarine

http://beatles.forummo.com/

Back to top Go down

Re: Custom post background for groups

Post by Landshark on February 27th 2013, 9:49 pm

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


Landshark
Forumember

Posts : 27
Reputation : 2
Language : English, Spanish

Back to top Go down

Re: Custom post background for groups

Post by Cassius Dio on February 28th 2013, 6:43 am

Try to replace the JavaScript code I gaved you above with this one:
Code:
$(document).ready(function(){
$('.post:has(".backgpost")').addClass('background_post');
});

Cassius Dio
Forumember

Male Posts : 581
Reputation : 79
Language : Romanian &English
Location : Yellow Submarine

http://beatles.forummo.com/

Back to top Go down

Re: Custom post background for groups

Post by Rhino.Freak on February 28th 2013, 9:54 am

what exactly will it do? can anyone tell me?

Rhino.Freak
Helper
Helper

Male Posts : 1246
Reputation : 105
Language : English
Location : Mumbai, India

http://freetest.forumotion.net/

Back to top Go down

Re: Custom post background for groups

Post by Cassius Dio on February 28th 2013, 6:14 pm

Hi, rhino.freak.

The codes above will set automatically a special background for staff memeber's posts. Like here:
http://help.forumotion.com/t121115-how-can-i-add-a-viewer-counter-for-the-topic-index#798987 - the left part is orange. Wink

Cassius Dio
Forumember

Male Posts : 581
Reputation : 79
Language : Romanian &English
Location : Yellow Submarine

http://beatles.forummo.com/

Back to top Go down

Re: Custom post background for groups

Post by MAX-S on March 5th 2013, 7:25 am

Hi SSGS please post above code in my forum http://avacs.pforum.biz and i will try it for my forum staff members. Thanks

MAX-S
Forumember

Male Posts : 136
Reputation : 2
Language : English, Bengali, Hindi
Location : Bangladesh

http://avacs.pforum.biz

Back to top Go down

Re: Custom post background for groups

Post by Cassius Dio on March 5th 2013, 7:42 am

@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
I'm sorry but as CJ11™ said, this is considered as spam. You can always find this topic here, because it will not disappear. Shocked

Cassius Dio
Forumember

Male Posts : 581
Reputation : 79
Language : Romanian &English
Location : Yellow Submarine

http://beatles.forummo.com/

Back to top Go down

Re: Custom post background for groups

Post by MAX-S on March 5th 2013, 7:50 am

why this will be spam?? Strange question...it will be helpful for me. It is just request for code coz i am unable to copy pase from here becoz m using mobile set

MAX-S
Forumember

Male Posts : 136
Reputation : 2
Language : English, Bengali, Hindi
Location : Bangladesh

http://avacs.pforum.biz

Back to top Go down

Re: Custom post background for groups

Post by Base on March 5th 2013, 9:53 am

@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.

Base
Forumaster

Male Posts : 10386
Reputation : 1687
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

Re: Custom post background for groups

Post by MAX-S on March 5th 2013, 10:18 am

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


Last edited by MAX-S on March 5th 2013, 1:08 pm; edited 1 time in total (Reason for editing : change)

MAX-S
Forumember

Male Posts : 136
Reputation : 2
Language : English, Bengali, Hindi
Location : Bangladesh

http://avacs.pforum.biz

Back to top Go down

Re: Custom post background for groups

Post by MAX-S on March 5th 2013, 3:26 pm

Help Cool

MAX-S
Forumember

Male Posts : 136
Reputation : 2
Language : English, Bengali, Hindi
Location : Bangladesh

http://avacs.pforum.biz

Back to top Go down

Re: Custom post background for groups

Post by Sir Chivas™ on March 5th 2013, 4:04 pm

@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 Cool

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™
Support Moderator
Support Moderator

Male Posts : 6783
Reputation : 430
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

Re: Custom post background for groups

Post by MAX-S on March 5th 2013, 4:34 pm

Mr. Chivas whats your problem? you are making new rules? I am here for solving problem not for dancing. Strange you are! 1st you told me it is spam and you are telling hijack??omg!! You have no ability to solve any essue so why you are giving abstract to solve any essue. Explain me

MAX-S
Forumember

Male Posts : 136
Reputation : 2
Language : English, Bengali, Hindi
Location : Bangladesh

http://avacs.pforum.biz

Back to top Go down

Re: Custom post background for groups

Post by Sanket on March 5th 2013, 4:40 pm

No one is making new rules.
Please read the rules here.
http://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

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Re: Custom post background for groups

Post by Sir Chivas™ on March 5th 2013, 4:41 pm

Sanket, he has a thread open related to his issues:
http://help.forumotion.com/t121309-special-bg-color-for-forum-saffs#800872


Thank you. Hope you understand.



Attention!
- Please provide your forum URL at all times.
- When the issue is solved, please mark it as solved.



Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6783
Reputation : 430
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

Re: Custom post background for groups

Post by MAX-S on March 5th 2013, 4:54 pm

Here is solution for me about this essue and i made new topic about this essue perhaps i will not get this useful information there...am i right? So m asking here about this essue for easy discussions or solution. And this is not meaning that i hijacked this topic

MAX-S
Forumember

Male Posts : 136
Reputation : 2
Language : English, Bengali, Hindi
Location : Bangladesh

http://avacs.pforum.biz

Back to top Go down

Re: Custom post background for groups

Post by Sir Chivas™ on March 5th 2013, 4:57 pm

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.



Attention!
- Please provide your forum URL at all times.
- When the issue is solved, please mark it as solved.



Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6783
Reputation : 430
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

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