Welcome to Geeklog, Anonymous Saturday, November 23 2024 @ 05:00 pm EST
Geeklog Forums
Integrating greeklog with other stuff
Mick
Anonymous
I have a pen friend script that I would like to integrate into greeklog, so that when a user registers to greeklog at the same time they also register into the penfriend script.
Is this easy to do?
Is this easy to do?
11
13
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Hard to tell without knowing that other script. It might be easy, it might be hard ...
Geeklog (where did that extra 'r' come from? ) makes information on the currently logged-in user available in global variables ($_USER array). So if you need, say, the username, you could refer to $_USER['username'] and use that in the other script. You'd have to include Geeklog's lib-common.php first, which bears the risk of name collission for function names ...
bye, Dirk
Geeklog (where did that extra 'r' come from? ) makes information on the currently logged-in user available in global variables ($_USER array). So if you need, say, the username, you could refer to $_USER['username'] and use that in the other script. You'd have to include Geeklog's lib-common.php first, which bears the risk of name collission for function names ...
bye, Dirk
16
9
Quote
All times are EST. The time is now 05:00 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content