Welcome to Geeklog, Anonymous Wednesday, April 24 2024 @ 07:51 am EDT

Geeklog Forums

Integrating greeklog with other stuff


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?

Status: offline


Site 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? Wink ) 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

Status: offline


Forum User
Regular Poster
Registered: 01/30/05
Posts: 80
you can also use the externial pages plugin at squatty.com
glFusion - Technology Fused with Style - www.gllabs.org

All times are EDT. The time is now 07:51 am.

  • 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