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.

Changing the login screen?

View previous topic View next topic Go down

Solved Changing the login screen?

Post by Titch on February 18th 2012, 11:15 am

Hello again everyone!

Again in need of some pointers, My forum is a team members only forum and I have set the permissions as such.

However I would like to add some text to the initial log in screen to say that only team members will be allowed to register or something to that effect.

I have used the "login pop up" box thing which works fine except it does not show on the log in page?

Any help appreciated.

Thanks.

Titch
New Member

Posts : 8
Reputation : 1
Language : English

Back to top Go down

Solved Re: Changing the login screen?

Post by MrMario on February 18th 2012, 6:51 pm

Hello,

For the login page, you want to edit it you must use Phpbb2 or PunBB.

MrMario
Helper
Helper

Male Posts : 22186
Reputation : 1830
Language : test

http://test.com

Back to top Go down

Solved Re: Changing the login screen?

Post by Titch on February 18th 2012, 9:55 pm

Rideem3 wrote:You can change the titles of the login form and register form on the login page with JavaScript (for phpBB3):

Admin Panel -> Modules -> JavaScript Codes Management -> Make sure it's on! -> Create new -> Title it login -> Select in all pages -> Paste:
Code:
if (window.location.pathname == "/login") {
$(function() {
$('form[name="form_login"] div.h3').text('Login Text Here');
$('div.panel div.h3').text('Register Text Here');
});
}


That susses it thanks Very Happy

Is there a way I can change the color of the Text for that bit?
Sorry not to good with JS :p

Titch
New Member

Posts : 8
Reputation : 1
Language : English

Back to top Go down

Solved Re: Changing the login screen?

Post by Titch on February 18th 2012, 10:18 pm

The text isnt actually white though, Its yellow.
Think its being overriden by the CSS?

Titch
New Member

Posts : 8
Reputation : 1
Language : English

Back to top Go down

Solved Re: Changing the login screen?

Post by Titch on February 18th 2012, 10:25 pm

You sir are a legend.

Thank You Very Happy

Sorted.

Titch
New Member

Posts : 8
Reputation : 1
Language : English

Back to top Go down

View previous topic View next topic Back to top


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