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.

Legend buttons

Page 1 of 2 1, 2  Next

View previous topic View next topic Go down

Solved Legend buttons

Post by Broomhilda on Sun Mar 26, 2017 9:31 pm

Hello Forumotion:

I thought I was having rank buttons made for the Legend but they turned out to be for the rank under the user name Shocked ..they look cool there as well..but I would like them in the Legend as well..how do I put them in there..

I am using the new theme by Ange Tuteur.."Forumactif Edge"

BROOMHILDA'S SIMS2

Thank you for your help in advance..


Last edited by Broomhilda on Wed Mar 29, 2017 11:51 pm; edited 1 time in total
avatar
Broomhilda
Forumember

Female Posts : 350
Reputation : 41
Language : English
Location : Missouri

http://broomhildassims2.my-freeforum.com/

Back to top Go down

Solved Re: Legend buttons

Post by Draxion on Sun Mar 26, 2017 11:00 pm

Hello.

Do you mean the images for 'new post', 'no post', and 'locked topic', etc?


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1062
Reputation : 156
Language : English
Location : USA

http://dawnofthedragons.forumotion.com/

Back to top Go down

Solved Re: Legend buttons

Post by Broomhilda on Sun Mar 26, 2017 11:02 pm

No..the Legend..that is on the home page at the bottom..for like Admin, Mod, and things like that..
avatar
Broomhilda
Forumember

Female Posts : 350
Reputation : 41
Language : English
Location : Missouri

http://broomhildassims2.my-freeforum.com/

Back to top Go down

Solved Re: Legend buttons

Post by Draxion on Sun Mar 26, 2017 11:04 pm

So you want to assign rank images to the members inside the user groups, correct?


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1062
Reputation : 156
Language : English
Location : USA

http://dawnofthedragons.forumotion.com/

Back to top Go down

Solved Re: Legend buttons

Post by SLGray on Sun Mar 26, 2017 11:04 pm

Do you mean the legend in the who's online section?


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

avatar
SLGray
Administrator
Administrator

Male Posts : 38508
Reputation : 2589
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: Legend buttons

Post by Broomhilda on Sun Mar 26, 2017 11:06 pm

No I already have that..the buttons that I have had made I don't know how to put them in the Legend area..

Gray you posted at the same time I did..yes that is what I am talking about..thank you
avatar
Broomhilda
Forumember

Female Posts : 350
Reputation : 41
Language : English
Location : Missouri

http://broomhildassims2.my-freeforum.com/

Back to top Go down

Solved Re: Legend buttons

Post by SLGray on Sun Mar 26, 2017 11:13 pm



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

avatar
SLGray
Administrator
Administrator

Male Posts : 38508
Reputation : 2589
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: Legend buttons

Post by Broomhilda on Sun Mar 26, 2017 11:26 pm

Gray, sort of..here is one of many that someone made for me..and I would like them in the Legend



avatar
Broomhilda
Forumember

Female Posts : 350
Reputation : 41
Language : English
Location : Missouri

http://broomhildassims2.my-freeforum.com/

Back to top Go down

Solved Re: Legend buttons

Post by Draxion on Sun Mar 26, 2017 11:27 pm

Where exactly would you like them inside the legend?


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1062
Reputation : 156
Language : English
Location : USA

http://dawnofthedragons.forumotion.com/

Back to top Go down

Solved Re: Legend buttons

Post by Broomhilda on Sun Mar 26, 2017 11:29 pm

I would like to replace the ones that are there with the ones that were made for me..
avatar
Broomhilda
Forumember

Female Posts : 350
Reputation : 41
Language : English
Location : Missouri

http://broomhildassims2.my-freeforum.com/

Back to top Go down

Solved Re: Legend buttons

Post by Draxion on Sun Mar 26, 2017 11:34 pm

I have never executed something like this before but it's worth a shot. Put this into your JavaScripts.

Title: Legend Images Replacement (or anything else you desire).
Placement: Homepage
Code:
$(document).ready(function() {
  $('#wio_groups > b:nth-child(1) > a').replaceWith('<a href="http://broomhildassims2.my-freeforum.com/g13-site-owner"><img src="https://i58.servimg.com/u/f58/18/93/66/48/site_o10.gif" /></a>');
});


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1062
Reputation : 156
Language : English
Location : USA

http://dawnofthedragons.forumotion.com/

Back to top Go down

Solved Re: Legend buttons

Post by APE on Sun Mar 26, 2017 11:36 pm

you mean like this right ?

It's now like this:


You want it like this:





avatar
APE
Manager
Manager

Male Posts : 9891
Reputation : 916
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: Legend buttons

Post by Broomhilda on Sun Mar 26, 2017 11:37 pm

Gray, yes exactly..thank you..is there a way of changing those..
avatar
Broomhilda
Forumember

Female Posts : 350
Reputation : 41
Language : English
Location : Missouri

http://broomhildassims2.my-freeforum.com/

Back to top Go down

Solved Re: Legend buttons

Post by Draxion on Sun Mar 26, 2017 11:38 pm

@Broomhilda wrote:Gray, yes exactly..thank you..is there a way of changing those..

Did the code not work?
avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1062
Reputation : 156
Language : English
Location : USA

http://dawnofthedragons.forumotion.com/

Back to top Go down

Solved Re: Legend buttons

Post by Broomhilda on Sun Mar 26, 2017 11:40 pm

I'm sorry Draxion I haven't tried it yet..give me a minute
avatar
Broomhilda
Forumember

Female Posts : 350
Reputation : 41
Language : English
Location : Missouri

http://broomhildassims2.my-freeforum.com/

Back to top Go down

Solved Re: Legend buttons

Post by SLGray on Sun Mar 26, 2017 11:40 pm

Are you using Edge by Ange Tuteur?


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

avatar
SLGray
Administrator
Administrator

Male Posts : 38508
Reputation : 2589
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: Legend buttons

Post by Draxion on Sun Mar 26, 2017 11:41 pm

Edited (Removed)


Last edited by Draxion on Sun Mar 26, 2017 11:43 pm; edited 1 time in total
avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1062
Reputation : 156
Language : English
Location : USA

http://dawnofthedragons.forumotion.com/

Back to top Go down

Solved Re: Legend buttons

Post by Broomhilda on Sun Mar 26, 2017 11:42 pm

Yes I am Gray

EDIT:
Ok I had to copy and paste all my JavaScripts to a program before I did this just to be on the safe side..now I will add yours Draxion

EDIT:
No it didn't work????
avatar
Broomhilda
Forumember

Female Posts : 350
Reputation : 41
Language : English
Location : Missouri

http://broomhildassims2.my-freeforum.com/

Back to top Go down

Solved Re: Legend buttons

Post by APE on Mon Mar 27, 2017 2:00 am

try adding the code Draxion and then put it on all pages



avatar
APE
Manager
Manager

Male Posts : 9891
Reputation : 916
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: Legend buttons

Post by Broomhilda on Mon Mar 27, 2017 2:06 am

Ape when I added the code..it took off the original Legend "site owner" and didn't add the new one..
avatar
Broomhilda
Forumember

Female Posts : 350
Reputation : 41
Language : English
Location : Missouri

http://broomhildassims2.my-freeforum.com/

Back to top Go down

Solved Re: Legend buttons

Post by APE on Mon Mar 27, 2017 2:34 am

ok then the code is not working right im sure when @Draxion gets time he will look in to this more for you as I'm not that good with codes Wink



avatar
APE
Manager
Manager

Male Posts : 9891
Reputation : 916
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: Legend buttons

Post by Draxion on Mon Mar 27, 2017 2:38 am

Yeah... I was afraid that would happen. I think the code didn't work since the legend is generated by the server and the choices you made in the admin panel. There is another way you can do it and that is to simply remove the entire legend and then add one there, custom made with the images you wanted. To do this would require editing the template and as you have Forumotion Edge, I don't know the options available if you can or cannot since I don't use that version.
avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1062
Reputation : 156
Language : English
Location : USA

http://dawnofthedragons.forumotion.com/

Back to top Go down

Solved Re: Legend buttons

Post by Broomhilda on Mon Mar 27, 2017 3:26 am

I think I will for Ange Tuteur for his help on this..since it is his theme..he will know what to do..I will leave this open just in case..and if Ange can help then I will close it..

Thank you Draxion, Ape, and Gray for your help
avatar
Broomhilda
Forumember

Female Posts : 350
Reputation : 41
Language : English
Location : Missouri

http://broomhildassims2.my-freeforum.com/

Back to top Go down

Solved Re: Legend buttons

Post by Ange Tuteur on Mon Mar 27, 2017 4:13 am

Hi @Broomhilda,

Add the following CSS rules to your forum's stylesheet.
Admin Panel > Display > Colors
Code:
/* hide font, remove background and padding */
#wio_groups a {
  font-size:0;
  background:none !important;
  padding:0;
}

/* site owner */
#wio_groups a[href^="/g13-"]:after {
  content:url(https://i58.servimg.com/u/f58/18/93/66/48/site_o10.gif);
}

/* administrator */
#wio_groups a[href^="/g1-"]:after {
  content:url(https://i58.servimg.com/u/f58/18/93/66/48/site_o10.gif);
}

/* moderator */
#wio_groups a[href^="/g12-"]:after {
  content:url(https://i58.servimg.com/u/f58/18/93/66/48/site_o10.gif);
}

/* sims2 affiliates */
#wio_groups a[href^="/g8-"]:after {
  content:url(https://i58.servimg.com/u/f58/18/93/66/48/site_o10.gif);
}

/* sims3 affiliates */
#wio_groups a[href^="/g9-"]:after {
  content:url(https://i58.servimg.com/u/f58/18/93/66/48/site_o10.gif);
}

/* non-sims affiliate */
#wio_groups a[href^="/g11-"]:after {
  content:url(https://i58.servimg.com/u/f58/18/93/66/48/site_o10.gif);
}

I only had https://i58.servimg.com/u/f58/18/93/66/48/site_o10.gif to work with, so you'll need to replace that image link in the code for the other groups. I added comments which should make it easier for you, but if you need any help just let us know. salut

@Draxion wrote:To do this would require editing the template and as you have Forumotion Edge, I don't know the options available if you can or cannot since I don't use that version.
All the templates are editable on Forumactif Edge, in fact you can look at all of them on Github to get an idea of the theme's structure. Wink
https://github.com/SethClydesdale/forumactif-edge/tree/master/templates

If a template is not present, that means it hasn't been modified for the theme and is instead using the default phpbb3 template.
avatar
Ange Tuteur
Forumaster

Male Posts : 13133
Reputation : 2820
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Legend buttons

Post by Broomhilda on Mon Mar 27, 2017 4:46 am

Hi Ange Tuteur..omgosh I wasn't expecting you on till sometime next week thank you..

Now Shocked Confused ok I see what you did..lol..I have 13 of those lol..so what I do is Confused lol I think I have this..but I copied and pasted that CSS in my Open Office just in case lol..

Then I what??? What does this mean If a template is not present, that means it hasn't been modified for the theme and is instead using the default phpbb3 template.

I forgot to add..now does this remove the default ones and adds the new ones right..

Thank you again Ange..for your help..I will let you know Glasses getting my glasses cleaned for this don't want any spots on them..omgosh..lol

EDIT:
Ok now what does the site owner with the g13 and the admin g1 ....I was just going to copy and paste each one but then when one of them didn't come up I went back and noticed these..

Here are the others that I didn't put on there: sims4 affiliate, banned, creator designer, research assistant, staff creator designer, website technician and there might be more in the future all depends on the traffic..

Now I had switched the Sims4 Affiliate and the Non Sims Affiliate around and that is when I noticed..

sorry about this..and thank you
avatar
Broomhilda
Forumember

Female Posts : 350
Reputation : 41
Language : English
Location : Missouri

http://broomhildassims2.my-freeforum.com/

Back to top Go down

Solved Re: Legend buttons

Post by Draxion on Mon Mar 27, 2017 9:05 am

@Ange Tuteur wrote:
@Draxion wrote:To do this would require editing the template and as you have Forumotion Edge, I don't know the options available if you can or cannot since I don't use that version.
All the templates are editable on Forumactif Edge, in fact you can look at all of them on Github to get an idea of the theme's structure. Wink
https://github.com/SethClydesdale/forumactif-edge/tree/master/templates

If a template is not present, that means it hasn't been modified for the theme and is instead using the default phpbb3 template.

Okay, @Ange Tuteur, thank you for that information. :

@Broomhilda wrote:Then I what??? What does this mean If a template is not present, that means it hasn't been modified for the theme and is instead using the default phpbb3 template.

I forgot to add..now does this remove the default ones and adds the new ones right..

That was directed toward me since it was related to my statement about the templates on the Forumotion Edge version. Wink
avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1062
Reputation : 156
Language : English
Location : USA

http://dawnofthedragons.forumotion.com/

Back to top Go down

Solved Re: Legend buttons

Post by Ange Tuteur on Mon Mar 27, 2017 9:31 pm

@Broomhilda wrote:EDIT:
Ok now what does the site owner with the g13 and the admin g1 ....I was just going to copy and paste each one but then when one of them didn't come up I went back and noticed these..

Here are the others that I didn't put on there: sims4 affiliate, banned, creator designer, research assistant, staff creator designer, website technician and there might be more in the future all depends on the traffic..

Now I had switched the Sims4 Affiliate and the Non Sims Affiliate around and that is when I noticed..

sorry about this..and thank you
@Broomhilda I can't see the id's for these groups, so you'll have to create the CSS for them manually.

Go to Admin Panel > Users and Groups > Group Administration and click on the group name to view the group. In the Address bar you can see the id of the group, copy this id for use in the CSS code that will follow in my post.

In the example, the link for my group is "/g8-translators" with the number 8 being the group's id, so I'll copy this for my CSS code.

Below is the CSS code template I've setup for the groups. Go ahead and copy it into your stylesheet.
Code:
/* GROUP_NAME */
#wio_groups a[href^="/g0-"]:after {
  content:url(IMAGE);
}
Now replace the following things :

GROUP_NAME : Replace this with the name of the group. ( this is a comment for identification, so the name doesn't need to be exact )

/g0- : Replace the 0 with the ID of your group.

IMAGE : Replace this with the URL of your image.

As an example, here's what my CSS would look like for the translators group :
Code:
/* translators */
#wio_groups a[href^="/g8-"]:after {
  content:url(https://imgfast.net/users/3412/19/22/63/smiles/969538151.gif);
}

Basically you have to repeat these steps for each group. If you have any questions let me know.

P.S.
Add this CSS rule to your stylesheet :
Code:
#wio_groups a:after {
  color:#000;
  content:attr(href);
  font-size:12px;
}
It'll show the link to the groups that are currently hidden.
avatar
Ange Tuteur
Forumaster

Male Posts : 13133
Reputation : 2820
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Legend buttons

Post by Broomhilda on Tue Mar 28, 2017 5:05 am

Omgosh thank you Ange Tuteur..that seems so simple Shocked

I will let you know when I get these up and running..thank you so much..for all your help and patience lol..
------------
P.S.
Add this CSS rule to your stylesheet :

Code:
Select Content

#wio_groups a:after {
color:#000;
content:attr(href);
font-size:12px;
}

It'll show the link to the groups that are currently hidden.

Now do I have to do this part..???

---------
EDIT:
Except for the last section of this post..I have all of them on the Legend..

Thank you all for your help..awesome job explaining this to me..

Right now I need one more thing from Ange Tuteur on this and then it can be solved..
avatar
Broomhilda
Forumember

Female Posts : 350
Reputation : 41
Language : English
Location : Missouri

http://broomhildassims2.my-freeforum.com/

Back to top Go down

Solved Re: Legend buttons

Post by Ange Tuteur on Wed Mar 29, 2017 9:08 pm

You're welcome. Wink

That CSS rule was optional ; it shows the group on the legend even when it doesn't have a custom image. If your groups already have a custom image, then that rule wont have any effect on them.
avatar
Ange Tuteur
Forumaster

Male Posts : 13133
Reputation : 2820
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Legend buttons

Post by Broomhilda on Wed Mar 29, 2017 11:51 pm

Thank you Ange Tuteur so much for your help

Also want to thank everyone else that helped..

We can solved this..
avatar
Broomhilda
Forumember

Female Posts : 350
Reputation : 41
Language : English
Location : Missouri

http://broomhildassims2.my-freeforum.com/

Back to top Go down

Page 1 of 2 1, 2  Next

View previous topic View next topic Back to top


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