News:

Join the Facebook Fan Page.

Main Menu

how to adjust login page

Started by Tomhorse, February 26, 2012, 02:45:39 PM

Previous topic - Next topic

Tomhorse

Hi,

who can help me to adjust the login page of my forum?

See the attachment to see what i mean. I would like to change the message in the part that's in yellow marker.

Thanks in advance!

Tom

Ricky.

Since its not english, I don't know what exactly this message is saying but I think you can change most of the login related errors and message from file :
Themes/default/languages/Login.english.php
For you language it should be
Themes/default/languages/Login.yourlanguage.php

Check that file and

Tomhorse

Hello Ricky,

thank you for your answer. I tried to do what you said, but it seems i don't have acces to all the Dutch files. The English files i can access. I think what you proposed will be the right way to adjust the message that is in the yellow marker, but therefore i will need to acces the Dutch files.
The reason that i want to change that message i because the forum us part of a membershipsite with payment, and the forum should  only be accesable for the members.

Tom

Ricky.

I hope you are using FTP, since you are seeing that message in Dutch then there must be dutch files, please give a deep look once again.

Tomhorse

There are indeed Dutch files(see the screenshot in attachment), but the problem is that they are not accessible, only the English ones are.

Sir Osis of Liver


That makes no sense, but you can hardcode the revised text in Login.template.php in the kick_guest template.



// Show the message or default message.
echo '
<p class="information centertext">
', empty($context['kick_message']) ? $txt['only_members_can_access'] : $context['kick_message'], '<br />



Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Tomhorse

Hello Krash,

that's all Chinese for me, i'm not familiar with those terms. You see, the only thing that i wish to achieve is that my forum is only available for members of my website(still under construction). The possibility for guests to register on the login page should be deleted.
Is it not possible that i myself make the username and password for a new member? If so, then i just have to know ho to get rid of the message with registration-link.

Many thanks,

Tom

JimM

Welcome to SMF Tomhorse.

What happens when you try to access the dutch language files?  Have you tried moving a copy to your desktop, editing and then copying over the file on the server? 
Jim "JimM" Moore
Former Support Specialist

Tomhorse

@JimN,

I just don't undertstand. All the English files all clickable, but the dutch filetitles are not, they are just plain text. So, i cannot copy them either.

Quote from: Tomhorse on February 29, 2012, 10:28:59 AM
You see, the only thing that i wish to achieve is that my forum is only available for members of my website(still under construction). The possibility for guests to register on the login page should be deleted.
Is it not possible that i myself make the username and password for a new member? If so, then i just have to know ho to get rid of the message with registration-link.


Kermit

You better use one of FTP Clients for editing your site files
My Mods
Please don't PM/mail me for support,unless i invite you
Formerly known as Duncan85
Quote
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

A. Einstein

Advertisement: