Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
external script as a plugin / module
#2
Well you will have to look at our code and figure it out, there is no api ( well there is one for getting page data, but it is not very advanced )

You can start by looking at login_functions and how it validates users. Our authentication system is pretty crappy, its just a cookie check on some salted values, and a global for $USR based on another user name cookie.

main files of interest are
inc/common.php
from there you can see the includes for login_functions, basic.php, cookie_functions.php

If you just want to use this script in gs then make it a plugin and use our user functions and remove the auth from the plugin script. But without more details about a particular project there is not much else to tell you.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply


Messages In This Thread
external script as a plugin / module - by phpman - 2013-12-12, 13:51:21
RE: external script as a plugin / module - by shawn_a - 2013-12-13, 00:26:49



Users browsing this thread: 1 Guest(s)