Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 02:12 pm EDT

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?
 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? 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
 Quote

Status: offline

trinity

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
 Quote

All times are EDT. The time is now 02:12 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