1
jbouv55151
Re: One page per user
  • 2004/11/18 13:21

  • jbouv55151

  • Just popping in

  • Posts: 6

  • Since: 2004/11/18


Thanks, good idea, It's an another way to do it.
But my problem is still there.



2
jbouv55151
Re: One page per user
  • 2004/11/18 11:32

  • jbouv55151

  • Just popping in

  • Posts: 6

  • Since: 2004/11/18


This is exactly what I have done :
- a page named mapage.php located in XOOPS root path.
<?php
include("mainfile.php");
include(
"include/functions.php");
include(
XOOPS_ROOT_PATH."/header.php");

$xoopsOption['show_rblock'] = 1;
$lien$xoopsUser->getVar('uid');
include(
"pages/$lien.php");
include(
XOOPS_ROOT_PATH."/footer.php");
?>


- a page named 1.php located in "pages" folder
<?php
include("../mainfile.php");
?>
<html>
<body>
*** ICI VOTRE CODE HTML ***
</body>
</html>


When I am login withe the webmaster account with the id 1 and I go to the mapage.php, I see a fully whithe page, nothing of my website.
I would like to see *** ICI VOTRE CODE HTML ***.
I don't understand anything.
Help-me...



3
jbouv55151
Re: Any help with moving site to new host?
  • 2004/11/18 11:05

  • jbouv55151

  • Just popping in

  • Posts: 6

  • Since: 2004/11/18


Just save your complete db from your actual host.
Import it to your new host. This by php my admin.
After on your new host, upload a new XOOPS and all your modules. Just install with informations of the new host (dbname, dbuser,...) and when the installation script will tried to create db, he will say tables already exist.
After you just need to go on your website.
I think it's everything.



4
jbouv55151
Re: New links!
  • 2004/11/18 10:47

  • jbouv55151

  • Just popping in

  • Posts: 6

  • Since: 2004/11/18


Use the module multi-menu.



5
jbouv55151
Re: Any help with moving site to new host?
  • 2004/11/18 10:42

  • jbouv55151

  • Just popping in

  • Posts: 6

  • Since: 2004/11/18


Are you changing of host or just the location on the same host ?



6
jbouv55151
One page per user
  • 2004/11/18 8:16

  • jbouv55151

  • Just popping in

  • Posts: 6

  • Since: 2004/11/18


Hello everybody,
I am using XOOPS 2.0.7 and I am trying to do a personnal page per user.
I tried to do one page :
- a personnal page per user with private information
- nobody else can see the page
- only the admin can modified this page.

With the help of XOOPS France, I have already do this :
<? php
include("mainfile.php");
include(
"include/functions.php");
include(
XOOPS_ROOT_PATH."/header.php");
$xoopsOption['show_rblock'] = 1;
$lien=$xoopsUser->getVar('uid');
include(
"pageshtml/$lien.html");
include(
XOOPS_ROOT_PATH."/footer.php");
?>

I put this file in the XOOPS root path and my html page in the pageshtml folder. Html pages are named like this user id.html (for the webmaster 1.html).

My problem is I have white page when I can my php page.
I have mistake somewhere but I don't know what.

Can you help me ?




TopTop



Login

Who's Online

157 user(s) are online (98 user(s) are browsing Support Forums)


Members: 0


Guests: 157


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits