4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: NautilusIII on March 31, 2005, 10:31:43 PM

Title: Including 4homepages into an own site
Post by: NautilusIII on March 31, 2005, 10:31:43 PM
Hi,

I am currently trying to include this stuff into my own page.
Adapting the design was easy, but now I got stuck.

1.
I try to use the login mechanism of my own homepage to work together with the login mechanism of 4homepages. I.e. i have removed the login functionality of 4homapges (removed the login box from the front page). I want that if a user logs into my HP via ma login mechanism he is automaticlly logged in into 4homepages . Does anyone know where and what to set into the session or wherever so that this works?

2.
Most links within 4homepages have to be replaced by links to my index.php attached with a get parameter...
I.e. if something is currently pointing to .../categories.php?catid=...&... it has not wo point to mypage/index.php?param=category&catid... so that I can include the appropriate content by myself... but I cannot find where these links are created to change them... anyone an idea here?

Thanks...
Title: Re: Including 4homepages into an own site
Post by: V@no on March 31, 2005, 10:43:22 PM
1.
I try to use the login mechanism of my own homepage to work together with the login mechanism of 4homepages. I.e. i have removed the login functionality of 4homapges (removed the login box from the front page). I want that if a user logs into my HP via ma login mechanism he is automaticlly logged in into 4homepages . Does anyone know where and what to set into the session or wherever so that this works?
no, no one could tell u that without knowing how is your login system works. Your are on your own there, you'll need modify includes/sessions.php


2.
Most links within 4homepages have to be replaced by links to my index.php attached with a get parameter...
I.e. if something is currently pointing to .../categories.php?catid=...&... it has not wo point to mypage/index.php?param=category&catid... so that I can include the appropriate content by myself... but I cannot find where these links are created to change them... anyone an idea here?
again it will require modifying includes/sessions.php
u might see how its done in these mods:
http://www.4homepages.de/forum/index.php?topic=6729.0
http://www.4homepages.de/forum/index.php?topic=5547.0