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
539959055_Inactive (New Admin) 10/2/2008 7:44 AM EST : Join This Guild Text
539959055_Inactive
Posts: 8
Getting Started!

Hello all.
I've searched for this topic but it may not exist.  If it does, please direct me to it.

I would like to change the "Join this guild" option to say something like register for this site without enabling CSS since that will undo everything I have set in place.
TopBottom

Mottie (MVP) 10/14/2008 4:23 PM EST : Join This Guild Text
GuildPortal MVP
Mottie
Posts: 3883
Zomgawsh Poster

Changing the "Join Guild" text & arrows



You can add this Javascript to your custom javascript area (Control Panel > Custom HTML & Script > Custom JS/JQuery > Document Ready Event) to change the "join" text and arrows.

Code
 var hideJoinLink = false;
 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 = 'Come to the Dark Side';

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

 var tm = $('.WfTopMenu'),
  sm = $('.gpWidget-sitenav a[href*=NewUser]');
 if (hideJoinLink) {
  tm.find('.welcomeBullet:eq(0)').add('a[href*=NewUser]').hide();
  sm.parent().hide();
 } else if (tm.length) {
  tm.find(".welcomeBullet:lt(2)").hide();
  tm.find('a[href*=NewUser] b')
   .html('<img src="' + leftArrow + '"> ' + joinTitle + ' <img src="' + rightArrow + '">');
 } else {
  sm.parent().find('img').hide();
  sm.html('<img src="' + leftArrow + '"> ' + joinTitle + ' <img src="' + rightArrow + '">');
 }
Customizing
  • Replace the URL in orange to change the arrows and change the text in purple to what you want the message to say.
  • Change "hideJoinLink" to true if you want to hide the join this guild link completely.
Edit (3/12/2009): Changed the code to work with the new GuildPortal CSS classes (no more StateBar class).
Edit (4/28/2010): Updated the code to work with the new layout and also added an option to hide the join link.
Edit (8/7/2010): Fixed code because it wasn't working in IE.
Edit (11/15/2010): Fixed problem with hiding the join link.
Edit (12/7/2012): Updated to make the script work again.
TopBottom

Draylor (New Admin) 2/26/2009 5:08 AM EST : RE: Join This Guild Text
Draylor
Posts: 424
Fingers of Fury!

Mottie,
    Sorry for being a 'tard', but I entered this into my Footer area, and got nothing up top. Now, I was wondering if I already have script for the Tool Tip pop-ups from Allakazham's site in my footer, will this interfer?

~Draylor
TopBottom

Mottie (MVP) 2/26/2009 5:22 AM EST : RE: Join This Guild Text
GuildPortal MVP
Mottie
Posts: 3883
Zomgawsh Poster

Hey Draylor!

It shouldn't interfere, but maybe try adding the code into the banner area or JQuery code box instead.
TopBottom

Draylor (New Admin) 2/26/2009 12:04 PM EST : RE: Join This Guild Text
Draylor
Posts: 424
Fingers of Fury!

Mottie,
    I noticed in your code - and correct me if I am wrong, but it searchs for the HTML - Join - and replaces it with the images and join title (What ever you input) ... I noticed on my site, I don't have a JOIN title link currently (Even when not logged in) - could this be causing the issue of it not appearing on my page?

~Draylor
TopBottom

Mottie (MVP) 2/26/2009 1:23 PM EST : RE: Join This Guild Text
GuildPortal MVP
Mottie
Posts: 3883
Zomgawsh Poster

Hi Draylor!

Well the code actually searches in the State Bar (top most bar) for the text, the only way that you would see it in action would be to make a second log in name... say Draylor2 and then log into the site. If you are not logged in you won't see it and if you are logged in and part of the guild you won't see it.
TopBottom

Draylor (New Admin) 2/26/2009 2:52 PM EST : RE: Join This Guild Text
Draylor
Posts: 424
Fingers of Fury!

Mottie,
    Thanks as always ... this makes sense! You have helped improve our site and things I've learned thus far 100x ... Thank you thank you thank you!!

    You we're right - created Test account and it is working - thanks again.

~Draylor
TopBottom

Mottie (MVP) 3/12/2009 7:55 PM EST : RE: Join This Guild Text
GuildPortal MVP
Mottie
Posts: 3883
Zomgawsh Poster

Updated this code, since apparently the "StateBar" class no longer exists in the new GP UI.
TopBottom

Lady_Catherine (New Admin) 7/30/2009 7:05 PM EST : RE: Join This Guild Text
Lady_Catherine
Posts: 53
Posts With Wolves

Hi Mottie!
I would like to add a "Gain Access" link on my splash page that links to the 'join this guild' application.  We want to keep our home page for member viewing only.  I know that it can be done, our old guild did this on their GP.   Please help me!  Thanks in advance!
TopBottom

Eph (MVP) 7/31/2009 12:32 AM EST : RE: Join This Guild Text
GuildPortal MVP
Eph
Posts: 596
Zomgawsh Poster

Hi Lady_Catherine,

I know, I know, I'm not Mottie...

Anyway I think I can help ya.

First you will need to get the url to your App. What I did was, made a second account, then go to your site and click the join gulid button. Now with the Application form open copy the url.

You can now go into your splash page, and use the hyperlink manager to add a Gain Access link.
TopBottom

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