Sign Up! Login: Password: New User? Forgot? Support
Code 
 
 
Forums 
Forums : Menu > Join this Guild text
Mottie (SuperAdmin) 4/28/2010 9:53 AM EST : RE: Join this Guild text
ACK!
Mottie
Posts: 3884

0
Like

0
Dislike

Updated this code... the images were replaces with bullets in the top menu, so I made it so you can add them back. And I also added a way to hide the link completely.
Characters: Mottie Motty Mortie Ooshiny Mot Fudgems
TopBottom

Durete (Applicant) 11/12/2010 1:54 PM EST : RE: Join this Guild text

Durete
Posts: 80

0
Like

0
Dislike

Hmm, this doesn't seem to work for me :S

I got:

<script type="text/javascript">
 var hideJoinLink = true;
 var leftArrow = 'http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/leftarrow.gif';
 var rightArrow = 'http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/rightarrow.gif';
 var joinTitle = 'Become a sapper!';

 // Don't change anything below
 // ***************************

 var tm = $('.WfTopmenu');
 var sm = $('.gpWidget-sitenav a[href*=FillApp]');
 if (hideJoinLink) {
  tm.find('.welcomeBullet').parent().after('<br>').hide();
  sm.parent().hide();
 } else if (tm.length) {
  tm.find(".welcomeBullet:eq(0)").html('<img src="' + leftArrow + '">');
  tm.find(".welcomeBullet:eq(1)").html('<img src="' + rightArrow + '">');
  tm.find("b:contains('Join')").html(joinTitle);
 } else {
  sm.find("b:contains('Join')").html(joinTitle);
  sm.prev('img').attr('src',leftArrow);
  sm.next('img').attr('src',rightArrow);
 }
</script>

and people still apply to the guild on a daily basis
TopBottom

Mottie (SuperAdmin) 11/12/2010 6:46 PM EST : RE: Join this Guild text
ACK!
Mottie
Posts: 3884

0
Like

0
Dislike

Hi Durete!

It worked for me when I set "var hideJoinLink = false" (don't use capital letters). Setting it to true hides it from view so you can't see it at all. Also make sure you are not logged into the site, otherwise all you will see is the welcome message.
Characters: Mottie Motty Mortie Ooshiny Mot Fudgems
TopBottom

Durete (Applicant) 11/14/2010 7:20 AM EST : RE: Join this Guild text

Durete
Posts: 80

0
Like

0
Dislike

Yep that's what I wish to do : Completely hide it so people can't apply anymore!

we started as a small raiding guild but we've already passed the 140 members and everyday people keep applying..
So want to make it impossible to apply
TopBottom

Mottie (SuperAdmin) 11/14/2010 7:34 PM EST : RE: Join this Guild text
ACK!
Mottie
Posts: 3884

0
Like

0
Dislike

Hi Durete!

Ok, so I'm confused then.. is it working for you?
Characters: Mottie Motty Mortie Ooshiny Mot Fudgems
TopBottom

Durete (Applicant) 11/15/2010 12:42 PM EST : RE: Join this Guild text

Durete
Posts: 80

0
Like

0
Dislike

What I am trying to do:
-hide the join link so no-one can apply anymore

what I tried to do:
-with the script in my above post in the footer.html

What does work:
 - it does change the name

what doesn't work:
-it doesn't hide the link at all, you can still apply to the guild.


hope it's more clear now
TopBottom

Mottie (SuperAdmin) 11/15/2010 4:57 PM EST : RE: Join this Guild text
ACK!
Mottie
Posts: 3884

0
Like

0
Dislike

Hi Durete!

Oops, I found the problem... just grab the updated code from the first post

Sorry about that!
Characters: Mottie Motty Mortie Ooshiny Mot Fudgems
TopBottom

Durete (Applicant) 11/22/2010 9:40 AM EST : RE: Join this Guild text

Durete
Posts: 80

0
Like

0
Dislike

Thanks for the fix!

<3
TopBottom

Durete (Applicant) 11/29/2010 1:48 PM EST : RE: Join this Guild text

Durete
Posts: 80

0
Like

0
Dislike

Eeks!

had today another applicant while using your newest script for it O.o

http://sappedgirls.guildportal.com

*really clueless now about what to do why this is happening*
TopBottom

Mottie (SuperAdmin) 11/29/2010 4:44 PM EST : RE: Join this Guild text
ACK!
Mottie
Posts: 3884

0
Like

0
Dislike

Hi Durete!

Well it is possible for people to have browsers with javascript turned off, in that case there is nothing I can do to prevent it. Also if someone already has the link URL to apply, that is another bypass. I think the best we can do is ask GuildPortal to add an option to turn it completely off.
Characters: Mottie Motty Mortie Ooshiny Mot Fudgems
TopBottom

 
 
Key 
New posts No new posts
New posts ( popular ) No new posts ( popular )
New posts ( sticky ) No new posts ( sticky )
New posts ( locked ) No new posts ( locked )
 
 
Who's Online 
There are   members online.
 
 
So-and-so has logged on!
%title%
%message%