Welcome, Guest. Please login or register.
Did you miss your activation email?
May 24, 2012, 08:10:26 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155442 Posts in 21702 Topics by 7735 Members
Latest Member: th8nuqds760dw
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Log in  (Read 1163 times)
ivanisevic82

Offline Offline

Posts: 93


« on: October 12, 2008, 06:53:50 PM »

Hi!
I'd like to put in my web site a login module.
I tried to copy and paste the php and css part of other template (for exaple "round", default template of websitebaker) but it doesn't work.
Sure I make something wrong, but I don't understand what!

Can you help me?

Maybe you can post the most simple example of login (php+css) and after, I can customize it and learn better how it works.

Thank you for your support!

Bye!
Logged
Ruud
WebsiteBaker Org e.V.

Offline Offline

Posts: 2294



WWW
« Reply #1 on: October 12, 2008, 08:03:54 PM »

Hi Ivanisevic,

Your question is handled in the help pages.
Please read them first before asking the forum.

http://help.websitebaker.org/pages/en/advanced-docu/designer-guide/enhanced-template-elements.php#anker3

There is a full example, inclusing a css.
This explanation also tells you that you have to enable login in the WB backend.

Ruud
Logged

Professional WebsiteBaker Solutions
ivanisevic82

Offline Offline

Posts: 93


« Reply #2 on: October 13, 2008, 03:13:26 PM »

I saw that link.
I put the php part in php file and the css part in css.
After I active the login by the setting panel...but all the screen is white, my website is not visible more.

Thank for your help!
Logged
Ruud
WebsiteBaker Org e.V.

Offline Offline

Posts: 2294



WWW
« Reply #3 on: October 13, 2008, 03:25:30 PM »

Try selecting round as your template and see if the login box works there.

The white screen means you did something wrong in the PHP part.
To find what is wrong, try setting the errorlevel in the backend -> settings -> advanced settings to E_ALL.
That should display an error instead of a white screen.


Ruud
Logged

Professional WebsiteBaker Solutions
ivanisevic82

Offline Offline

Posts: 93


« Reply #4 on: October 14, 2008, 03:07:37 PM »

Thank you Ruud, now my login module is ok! Smiley

But I need another help...I saw that there are not link, but "echo", for example:
Code:
<?php echo FORGOT_URL?>

So, my questions are 2:

1) If I want change the word that will be viewed in my site, how can I customize them?

2) If I want to insert a module for registration, how can I put in the link, if I have to use ECHO and not a normal link to registration page?

Thank you!
Logged
Ruud
WebsiteBaker Org e.V.

Offline Offline

Posts: 2294



WWW
« Reply #5 on: October 14, 2008, 04:10:00 PM »

1) The words you want to change are in the /language/ directory.
For every language there is a file with all the standard texts.

2.1) There is no registration module.
2.2) You do not need to use the echo. It is just the PHP way of outputting a variable to the browser.

Ruud


Logged

Professional WebsiteBaker Solutions
ivanisevic82

Offline Offline

Posts: 93


« Reply #6 on: October 14, 2008, 04:37:32 PM »

1) Ok, thanks

2.1) I thought there was a registration module (or signup) becouse I saw this in the link of hte guide:
Code:
    <?php if(is_numeric(FRONTEND_SIGNUP)) { ?>
      <a href="<?php echo SIGNUP_URL?>"><?php echo $TEXT['SIGNUP']; ?></a>
    <?php ?>
I have this part of code in my template, but I don't see any "signup" link.

2.2) Something like this could be good?
Code:
<a href="http://ivanisevic82.netsons.org/pages/chi-siamo/mission.php">

Thank you!
Logged
Ruud
WebsiteBaker Org e.V.

Offline Offline

Posts: 2294



WWW
« Reply #7 on: October 14, 2008, 04:48:20 PM »

Just like the login you need to activate the signup in the backend > settings > advanced settings.

The reason the URL's are not hardcoded is that when you move the website to another server (I assume the  server you use now is for development only) the URL's will automatically be correct.
Hardcoding URL's in the template is not a good idea.

Ruud
Logged

Professional WebsiteBaker Solutions
ivanisevic82

Offline Offline

Posts: 93


« Reply #8 on: October 14, 2008, 08:47:32 PM »

It say to me, "not group found".
What can I do?
Must I create a group?


Thank you Ruud!
Logged
Ruud
WebsiteBaker Org e.V.

Offline Offline

Posts: 2294



WWW
« Reply #9 on: October 14, 2008, 08:59:48 PM »

Please please please read the help pages.

http://help.websitebaker.org/pages/en/basic-docu/working-with-wb/settings/general-settings.php

Scroll down to "Sign Up". It is all explained there what you need to do.

Quote
In order to minimise automated registrations by spammer bots, you can enable a verification captcha during the sign up process – please see above, under “Captcha Verification”.
In order for automated Sign-up to work, you must:

   1. enable Log-in, in Admin->Settings->General Settings
   2. use a template that uses the login interface
   3. define a group, to which all new site users will automatically belong to – you can do this in Admin->Access->Groups
   4. finally, in Admin->Settings->General Settings->Sign-up, select the group you defined for the new users

Ruud
Logged

Professional WebsiteBaker Solutions
erpe

Offline Offline

Posts: 2077


WWW
« Reply #10 on: October 14, 2008, 09:21:31 PM »

Hi,

if you don't want to read the help pages and lern from them, how to use websitebaker, I think you won't find someone to help you in the near future.

rgds

erpe
Logged

ivanisevic82

Offline Offline

Posts: 93


« Reply #11 on: October 14, 2008, 09:58:10 PM »

Sorry boys, you are in right, firgive me.
When help is in my language is more simple...often when I read in english is difficult to me understand a lot of thing in a time.
I will try to read better before to write again.

Thanks for your help.
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!