Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - kholmes

Pages: [1]
1
Installation, Update & Configuration / Tried what you said
« on: May 10, 2002, 02:33:44 PM »
Hi Jan,

I tried what you said to copy the info from /templated/default/user_loginform.html

and it just shows up on my page like this
{lang_user_name}
 
{lang_password}
 
  {lang_auto_login}

 
» {lang_lost_password}
» {lang_register}


I just copied and pasted this into my page..

<table width="100%" border="0" cellpadding="4" cellspacing="0">
  <tr>
    <td valign="top" align="left">
      <form action="{url_login}" method="post">
        {lang_user_name}<br />
        <input type="text" size="10" name="user_name" class="logininput" />
        <br />
        {lang_password}<br />
        <input type="password" size="10" name="user_password" class="logininput" />
        <br />
        <table border="0" cellspacing="0" cellpadding="0">
          <tr valign="top">
            <td>
              <input type="checkbox" name="auto_login" value="1" />
            </td>
            <td><span class="smalltext">{lang_auto_login}</span></td>
          </tr>
        </table>
        <br />
      <input type="submit" value="{lang_login}" class="button" />
      </form>
      &raquo; <a href="{url_lost_password}">{lang_lost_password}</a><br />
     &raquo; <a href="{url_register}">{lang_register}</a></td>
  </tr>
</table>


I know that it won't work,  just sitting inside the .php file.. IT just shows up as {url_login}, but how do I get this into my main page.

Thanks again for all the help

2
Installation, Update & Configuration / Just another quick question?
« on: May 09, 2002, 08:16:50 PM »
I want to provide a login form and a register form.. I noticed that in the templates directory there are user_loginform.html and  a register_form.html  I know I can't link to these directly because there is no php code, but is there a way to make it so they can register and login without having to click the 4images section of my site, so they can go into my site login or register and then have access to 4images without being asked to login again.


Thanks again

3
Installation, Update & Configuration / Thanks Jan
« on: May 09, 2002, 07:41:58 PM »
Thanks Jan that worked great

 :D

4
I tried what you suggested, but I am getting an error

Warning: Cannot add header information - headers already sent by (output started at /var/lib/apache/htdocs/atvnb/index2.php:3) in /var/lib/apache/htdocs/atvnb/members/photos/4images/includes/sessions.php on line 129

Warning: Cannot add header information - headers already sent by (output started at /var/lib/apache/htdocs/atvnb/index2.php:3) in /var/lib/apache/htdocs/atvnb/members/photos/4images/includes/sessions.php on line 130

This is what my code looks like

<?php
define('ROOT_PATH', './members/photos/4images/');
include(ROOT_PATH.'global.php');
?>
I also tried to define the ROOT_PATH like this
<?php
define('ROOT_PATH', '/var/lib/apache/htdocs/atvnb/members/photos/4images'); include(ROOT_PATH.'global.php');
?>
Does this have to be anywhere specific? or can it just be put anywhere in my HTML code?

Then I just copied an pasted the code that you suggested into the table where I wanted the info to be shown, but I get that error stated above..

Any help would be greatly appreciated

5
Installation, Update & Configuration / Easier Integration
« on: May 07, 2002, 04:03:29 AM »
Is there a way to easier integrate 4images with my site.. Instead of the user having to register to have access to certain things then register again to have access to 4 images. I like displaying "Welcome John you are now logged in"  I tried to figure out howto use 4images auth info, but it doesn't seem to work. Is there a simple way to integrate this into my site so the user doesn't have to register 2 different times.


Thanks

Pages: [1]