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.

How can I make the administrators post appear different?

View previous topic View next topic Go down

Solved How can I make the administrators post appear different?

Post by viankova on April 9th 2012, 2:45 pm

Post can I make the administrators post appear different? Like here in the support forum. Here is a screen of what I talk about.

My forum version is phpBB2

Thank you.



Last edited by viankova on April 10th 2012, 9:29 pm; edited 1 time in total

viankova
Forumember

Female Posts : 133
Reputation : 0
Language : Sumen

Back to top Go down

Solved Re: How can I make the administrators post appear different?

Post by viankova on April 9th 2012, 2:55 pm

Will it make it to merge like this? One color into another?

viankova
Forumember

Female Posts : 133
Reputation : 0
Language : Sumen

Back to top Go down

Solved Re: How can I make the administrators post appear different?

Post by Guest on April 9th 2012, 3:13 pm

That is a background image:
http://i.imm.io/hjo8.png

Guest
Guest


Back to top Go down

Solved Re: How can I make the administrators post appear different?

Post by viankova on April 9th 2012, 3:19 pm

Coddy wrote:That is a background image:
http://i.imm.io/hjo8.png

How can I add this image on this code?

Code:
$(function() {
$('tr.post:has(".specialpost") td').css('background-color','#000');
});

Instead the color.

viankova
Forumember

Female Posts : 133
Reputation : 0
Language : Sumen

Back to top Go down

Solved Re: How can I make the administrators post appear different?

Post by Niko on April 9th 2012, 3:22 pm

Hello,

first add the javascript code
Code:
$(function() {
$('tr.post:has(".specialpost") td').css('background-image','url(http://i.imm.io/hjo8.png)');
});

Then edit the rank of the staff members like this:
Code:
<span class="specialpost">Admin</span>

> Done! Mr. Green

Niko
Hyperactive

Male Posts : 2296
Reputation : 97
Language : English, French, Italian, Spanish, Latin

https://www.translationscloud.com/?utm_source=forumotion&utm

Back to top Go down

Solved Re: How can I make the administrators post appear different?

Post by viankova on April 9th 2012, 3:29 pm

And how can I add this for Administrators and another one for another group and both of the pictures to show up?

viankova
Forumember

Female Posts : 133
Reputation : 0
Language : Sumen

Back to top Go down

Solved Re: How can I make the administrators post appear different?

Post by Guest on April 9th 2012, 3:32 pm

Again, edit the members rank, and put also:
Code:
<span class="specialpost">Forum Members</span>

Guest
Guest


Back to top Go down

Solved Re: How can I make the administrators post appear different?

Post by viankova on April 9th 2012, 3:33 pm



This happened. The pictures is repeating itself.

viankova
Forumember

Female Posts : 133
Reputation : 0
Language : Sumen

Back to top Go down

Solved Re: How can I make the administrators post appear different?

Post by Niko on April 9th 2012, 3:35 pm

Use this:

Code:
$(function() {
$('tr.post:has(".specialpost") td').css('background-image','url(http://i.imm.io/hjo8.png) repeat-y scroll left top #E5F1F9');
});

Niko
Hyperactive

Male Posts : 2296
Reputation : 97
Language : English, French, Italian, Spanish, Latin

https://www.translationscloud.com/?utm_source=forumotion&utm

Back to top Go down

Solved Re: How can I make the administrators post appear different?

Post by viankova on April 9th 2012, 3:37 pm

Coddy wrote:Again, edit the members rank, and put also:
Code:
<span class="specialpost">Forum Members</span>

When I add this to the rank the color - let's say white goes to the admin color - not the member.

EDIT

This is not working.

Niko! wrote:Use this:

Code:
$(function() {
$('tr.post:has(".specialpost") td').css('background-image','url(http://i.imm.io/hjo8.png) repeat-y scroll left top #E5F1F9');
});

viankova
Forumember

Female Posts : 133
Reputation : 0
Language : Sumen

Back to top Go down

Solved Re: How can I make the administrators post appear different?

Post by viankova on April 10th 2012, 6:38 pm

bump

viankova
Forumember

Female Posts : 133
Reputation : 0
Language : Sumen

Back to top Go down

Solved Re: How can I make the administrators post appear different?

Post by Guest on April 10th 2012, 6:48 pm

Lol. The same mistake as in another topic. Add this:
Code:
$(function() {
$('tr.post:has(".specialpost") td').css('background','url(http://i.imm.io/hjo8.png) repeat-y scroll left top #E5F1F9');
});
Read this post, http://help.forumotion.com/t106944-gradient-background-color-of-staff#701344 where is explained something. Very Happy

Guest
Guest


Back to top Go down

Solved Re: How can I make the administrators post appear different?

Post by viankova on April 10th 2012, 6:56 pm

I did id. It worked, but is this supposed to be there?


viankova
Forumember

Female Posts : 133
Reputation : 0
Language : Sumen

Back to top Go down

Solved Re: How can I make the administrators post appear different?

Post by Guest on April 10th 2012, 7:12 pm

Can you provide your forum url? Thank you. Smile

Guest
Guest


Back to top Go down

Solved Re: How can I make the administrators post appear different?

Post by viankova on April 10th 2012, 7:13 pm

Here is the url - http://hqtestforum.bulgarianforum.net/

Test account - Test Bot - 123456789qQ

viankova
Forumember

Female Posts : 133
Reputation : 0
Language : Sumen

Back to top Go down

Solved Re: How can I make the administrators post appear different?

Post by Guest on April 10th 2012, 7:28 pm

Replace that JS code with:
Code:
$(function() {
$('tr.post:has(".specialpost") td').addClass('postarespeciala');
});
Then add to your CSS Stylesheet:
Code:
.postarespeciala{
background-image: url(http://i.imm.io/hjo8.png);
background-color: #E5F1F9;
background-repeat: repeat-y;
background-position: left top;
}

Remove all the codes you modified, added, and don't change anything so I can review your forum. Wink

Guest
Guest


Back to top Go down

Solved Re: How can I make the administrators post appear different?

Post by viankova on April 10th 2012, 7:45 pm

@viankova wrote:I did id. It worked, but is this supposed to be there?


Still getting this on the picture.

viankova
Forumember

Female Posts : 133
Reputation : 0
Language : Sumen

Back to top Go down

Solved Re: How can I make the administrators post appear different?

Post by Guest on April 10th 2012, 9:15 pm

Add also in CSS Stylesheet this:
Code:
.post-options{
background: transparent !important;
}

Guest
Guest


Back to top Go down

Solved Re: How can I make the administrators post appear different?

Post by viankova on April 10th 2012, 9:27 pm

Thank you. Solved.

viankova
Forumember

Female Posts : 133
Reputation : 0
Language : Sumen

Back to top Go down

Solved Re: How can I make the administrators post appear different?

Post by SLGray on April 10th 2012, 10:20 pm

Topic Solved & Locked





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


SLGray
Administrator
Administrator

Male Posts : 36641
Reputation : 2443
Language : English
Location : United States

http://ztwds.forumotion.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