We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Astrology/Zodiac symbols | Forum

Topic location: Forum home » Support » General Questions
dave Leader
dave Oct 18 '13

So i did a bit of poking around and googling and it appears i cannot find where anyone has done a plugin for astrology signs and i cannot even find a thread talking about it.  Either my searchs were not using the right keywords or it has not been talked about and i wonder why. 

 

Has anyone added the signs to their site, it would be easy to do just with a simple array and display next to the birthday field..   Hard to believe not even a plugin for this yet...

dave Leader
dave Oct 18 '13

Here is how you do it folks... you add a profile question..

 

set it as as single choice dropdown

 

then copy and paste this in the values area

 

Aries
Taurus
Gemini
Cancer
Leo
Virgo
Libra
Scorpio
Sagittarius

Capricorn
Aquarius
Pisces

 

then finish the question and save. 

 

Now for the symbol addition...

 

the bad part is that you have to add these one at a time in the language area.  You CANNOT paste these directly in the question value (although that would easy)  it wont work because due to the use of html entities and other sanitation of the values field, the code will show in the dropdown instead of the symbol.    So you HAVE to do this one at a time in the language admin and then it will covert on the dropdown to the symbol.

 

so in admin language:

Search       And add code after the name

------        ----------------------------------------------------------

Aries         <span style="color: #F5A9A9;font-weight:bold;">&#9800;</span>
Taurus      <span style="color: #F5A9A9;font-weight:bold;">&#9801;</span>
Gemini      <span style="color: #F5A9A9;font-weight:bold;">&#9802;</span>
Cancer      <span style="color: #F5A9A9;font-weight:bold;">&#9803;</span>
Leo           <span style="color: #F5A9A9;font-weight:bold;">&#9804;</span>
Virgo         <span style="color: #F5A9A9;font-weight:bold;">&#9805;</span>
Libra         <span style="color: #F5A9A9;font-weight:bold;">&#9806;</span>
Scorpio      <span style="color: #F5A9A9;font-weight:bold;">&#9807;</span>
Sagittarius <span style="color: #F5A9A9;font-weight:bold;">&#9808;</span>
Capricorn   <span style="color: #F5A9A9;font-weight:bold;">&#9809;</span>
Aquarius    <span style="color: #F5A9A9;font-weight:bold;">&#9810;</span>
Pisces        <span style="color: #F5A9A9;font-weight:bold;">&#9811;</span>

 

 

easiest way is to just copy and paste the same code to each and just change the number, they are sequential.

 

update added capricorn sorry forgot that one  

The Forum post is edited by dave Oct 20 '13
dave Leader
dave Oct 18 '13

I took the color out of the span

 

removed  color: #F5A9A9;

 

because it dont matter, it still comes out the same.  So you can leave it in or take it out, it has no affect.

Kelvin {the GodFada}
Hello Dave pls i need it too, but getting to the Language, and i select Add, what it ask of is Browse then Add, when i click on the Add, it took me to my HaedDisk.

Pls what should i do to paste the Signs Code to the Language Admin?
pls step by step on how to do that.
Thanks.
dave Leader
dave Oct 20 '13

Hi kelvin 

 

once you add those to your question, then you go to the admin lang and you do a search

 

search for Aries  then add the code after  and repeat till done with all the names Taurus and all of them do search to find them..

 

I guess instead of find i should say search sorry.

Kelvin {the GodFada}
ok, thanks

Kelvin {the GodFada}
Pls one more thing, Whould i paste the code under the (Translation: English (en) in the front of the Green code under the (Original value: English (en)) and will i delete the Aries already written there before pasting the code?
dave Leader
dave Oct 20 '13

no it should look just like above in the box

 

Aries <span style="color: #F5A9A9;font-weight:bold;">&#9800;</span>

 

and so on......

Kelvin {the GodFada}
Thanks Dave, i have done it successfully.
Thanks for your respond.
Kelvin {the GodFada}
No one want to answer me,
Please Dave help me:


Please how can i configure theSMS JOIN? it asking for(API KEY)
and what should i write in the box(
TXT Msg, must have {code} within it!)?
pls help...

Wolfy
Wolfy Oct 20 '13

Thx Dave!! I have also now implemented this successfully on my site :)

What will the code be to show symbols next to Gender please Dave ;)

Abbey
Abbey Oct 20 '13

Quote from Wolfy

Thx Dave!! I have also now implemented this successfully on my site :)

What will the code be to show symbols next to Gender please Dave ;)


http://www.oxwall.org/forum/topic/13787
Wolfy
Wolfy Oct 20 '13
Thx Abbey !! :) lazy me sorry I did not do a search before my question *hides
The Forum post is edited by Wolfy Oct 20 '13
fbkca
fbkca Oct 23 '13
Thanks Dave, this is nice. 


What would be really nice, is if Oxwall just included and calculated their signs based off their birthdate. Then an option to show signs or not...

dave Leader
dave Oct 23 '13

I love the idea, post it here and lets get some votes on it...

 

http://oxwall.uservoice.com

Wilson
Wilson Jan 2 '14

Confirmed  this works great, great mod for sure!


Always great when this community shares with others!


Wilson

dave Leader
dave Sep 23 '14
There has been a change and it is important that you read this 


http://www.oxwall.org/forum/topic/25386


basically it means that the fix is that you can leave the symbol but do not use the span code.