Sign Up! Login: Password: New User? Forgot? Support
Top Mods!
Wowhead Search
by sonofsamedi
Digital Clock
by Wolfar15
Admin Forums
Welcome to the GuildPortal Help Community! These forums are for admin-to-admin help.
Available Forums
Forums : Pimp My Site! > Recruitment Box
Pcooper89 (New Admin) 5/18/2010 10:40 AM EST : Recruitment Box
Pcooper89
Posts: 6
Getting Started!

Dear All,

Below is my guild portal site (forgive me i am quite new at this)

http://smockpanja.guildportal.com/Guild.aspx?GuildID=355117&TabID=2973178

I really liked the idea of having both the open and closed class box as well as the by spec recruitment box. Only problem now is i can't work out where i change the individual class levels (low medium high). I tried to copy the script from my CP but when i go to post it won't let citing the html as an issue.
  
I know i have to implement the coding (deathknight : "M,l,H") for each class into the script But when i try to put it between  recruitByTalent(); i t just makes the whole recruitment by need section disappear 

Please help. 

Cheers
TopBottom

Mottie (MVP) 5/18/2010 7:19 PM EST : RE: Recruitment Box
GuildPortal MVP
Mottie
Posts: 3884
Zomgawsh Poster

Hi Pcooper89!

You need to use curly brackets {} instead of parenthesis ( ) around the deathknight variable, like this:
recruitByTalent({deathknight : "M,l,H"});
TopBottom

Pcooper89 (New Admin) 5/18/2010 7:51 PM EST : RE: Recruitment Box
Pcooper89
Posts: 6
Getting Started!

Awesome thank you Mottie !!!
Should of probably asked how i do the rest of them as well . How do you set up the next class (druid), do they need to be on separate lines or have something separating the classes ?

Cheers 
TopBottom

Mottie (MVP) 5/19/2010 12:58 AM EST : RE: Recruitment Box
GuildPortal MVP
Mottie
Posts: 3884
Zomgawsh Poster

Hi Pcooper89!

Are the examples I provided at the bottom of the post not helpful? I would appreciate any feedback on the instructions, examples or anything in general about the post. If you find any part of it confusing, it would help me improve the post and maybe make it easier for someone else in the future.

Anyway, to add more, just separate each group with a comma (in red), like so:
recruitByTalent({
  defaultNeed: "Low",
  mage : "m,h,l",
  warrior: "l,l,h"
});
You could even put it all in one line if you want, I break it apart (like above) to make it easier to read
recruitByTalent({ defaultNeed: "Low", mage : "m,h,l", warrior: "l,l,h" });
Just make sure the last entry ( warrior: "l,l,h" in the example above ) does NOT have a comma after it - IE will cough up a lung at you if you do.
TopBottom

Admins Online
There are   members online.
So-and-so has logged on!
%title%
%message%