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.

Image list remove from message profile

View previous topic View next topic Go down

Image list remove from message profile

Post by Guest on May 27th 2013, 11:41 am

So, I have a pet system on my forum and people can ask for new pets, but then their old pets attributes will be lost. The thing is that, I can't remove the attribute's names from the profile, only the points from it. (you can see them below the sleepin' doggy "Varázserő", "Élet", "Tehetség")



I put each level of attributes in image lists. How can I remove it from a profile if it was set to be shown once?



Thanks for all the help! Mr. Green

Guest
Guest


Back to top Go down

Re: Image list remove from message profile

Post by Ultron's Vision on May 27th 2013, 12:47 pm

Go to Administration Panel -> Users & Groups -> Profiles, look for the profile fields you have and set Display to "Profile" instead of "Profile and Messages" (you might need to translate the terms I used to your language but it should be same, no matter which version you're using).

Ultron's Vision
Forumember

Male Posts : 634
Reputation : 45
Language : English | German | HTML | JavaScript | PHP | C++ | Perl | Java
Location : Vienna, Austria

http://duelacademy.net

Back to top Go down

Re: Image list remove from message profile

Post by Guest on May 27th 2013, 1:21 pm

Thanks you for your reply! Very Happy
The thing is that, I'd like it to remain for everyone else on the forum. I want it to be removed only from those, who reseted their pets' points. So that's why I'd like somehow an optional option... you know, where you can choose if they're seen or not on someone's profile. blackeye

ps. sorry if my explanation is odd. ._.

Guest
Guest


Back to top Go down

Re: Image list remove from message profile

Post by Ultron's Vision on May 27th 2013, 1:34 pm

No, I get you.

What's your forum's URL and do you publicly let guests see the bars you're referring to?

Ultron's Vision
Forumember

Male Posts : 634
Reputation : 45
Language : English | German | HTML | JavaScript | PHP | C++ | Perl | Java
Location : Vienna, Austria

http://duelacademy.net

Back to top Go down

Re: Image list remove from message profile

Post by Guest on May 27th 2013, 1:45 pm

Link: http://tophun.hungarianforum.com/

Guests can see almost everything. ~

Some people in this topic have pets with extra things. o.o
http://tophun.hungarianforum.com/t194-bekukkantas-egy-uj-maze-ba#1462

If I set the display only to "Profile" instead of "Profile and Messages", then everyone's title is removed. But i don't want everyone's removed. ._.

In the second link you can see the poster "Dia", she's having the "Varázserő" etc. titles, although her pet has no extra power. She used to have, but changed her pet, therefore shes not eligible to have those titles yet. ._. xD

Guest
Guest


Back to top Go down

Re: Image list remove from message profile

Post by Ultron's Vision on May 27th 2013, 1:57 pm

Yeah, I've seen.

I'll be on my PC soon, I'll give it a shot then.

Ultron's Vision
Forumember

Male Posts : 634
Reputation : 45
Language : English | German | HTML | JavaScript | PHP | C++ | Perl | Java
Location : Vienna, Austria

http://duelacademy.net

Back to top Go down

Re: Image list remove from message profile

Post by Guest on May 27th 2013, 2:33 pm

Thank you so much for your time! Mr. Green

Guest
Guest


Back to top Go down

Re: Image list remove from message profile

Post by Ultron's Vision on May 27th 2013, 2:40 pm

Try adding this in your CSS Stylesheet under Administration Panel -> Display -> Pictures and Colors -> Colors -> CSS Stylesheet.

Code:
* img[src="http://i1320.photobucket.com/albums/u537/MayaGrayx3/empty_zps77de6574.png"] {
display: none !important;
}

Ultron's Vision
Forumember

Male Posts : 634
Reputation : 45
Language : English | German | HTML | JavaScript | PHP | C++ | Perl | Java
Location : Vienna, Austria

http://duelacademy.net

Back to top Go down

Re: Image list remove from message profile

Post by Guest on May 27th 2013, 2:43 pm

It's not working. TT

Guest
Guest


Back to top Go down

Re: Image list remove from message profile

Post by Ultron's Vision on May 27th 2013, 3:11 pm

Mmmmm, try it with this JavaScript (Administration Panel -> Modules -> HTML & JavaScript -> JavaScript pages management -> Create a new JavaScript page; choose any title and select "In all the pages").

Code:
jQuery(document).ready(function(){

jQuery('img[src="http://i1320.photobucket.com/albums/u537/MayaGrayx3/empty_zps77de6574.png"]').each(function(){

if(jQuery(this).prev().is(".label")){

jQuery(this).prev().css('display','none');

jQuery(this).css('display','none');

}

});

});


Last edited by Ultron's Vision on May 27th 2013, 5:08 pm; edited 1 time in total

Ultron's Vision
Forumember

Male Posts : 634
Reputation : 45
Language : English | German | HTML | JavaScript | PHP | C++ | Perl | Java
Location : Vienna, Austria

http://duelacademy.net

Back to top Go down

Re: Image list remove from message profile

Post by Guest on May 27th 2013, 5:04 pm

Still not working. Mr. Green

Guest
Guest


Back to top Go down

Re: Image list remove from message profile

Post by Ultron's Vision on May 27th 2013, 5:09 pm

Made a syntax error, try again; replace the code with the overworked one.

Ultron's Vision
Forumember

Male Posts : 634
Reputation : 45
Language : English | German | HTML | JavaScript | PHP | C++ | Perl | Java
Location : Vienna, Austria

http://duelacademy.net

Back to top Go down

Re: Image list remove from message profile

Post by Guest on May 27th 2013, 5:15 pm

I'm sorry, but it's still not working.
Shall we give up? lol Lol

Guest
Guest


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