Support Spidean |
Do you like our FREE downloads? How about the FREE support for the FREE downloads? Please help us out and donate any amount! It's fast and easy through PayPal.
|
Psi-Phy
Newbie   Posts: 1 Registered: 8/20/2005 Status: Offline
|
posted on 8/20/2005 at 08:01 PM |
Please pardon this horrendously newb question, however I am trying to
develop a work around for a LAN Party module. I know PHP ok and I know SQL
ok, but I the PN code is greek to me, so I am by no means a programmer.

I have been trying like crazy to use the base PN functions through my
PostWrapped code. simple things like pnUserLoggedIn() cannot be executed.
I keep getting Fatal error: Call to undefined function pnUserLoggedIn().
Now I use PostWrap 2.5? (latest) however I am using an old version of PN,
.726 I believe. Is version incompatibility my issue, or did I just
completely miss something?
I just did a test page to verify what I am writing here, the test is simply
this:
<?
if(!pnUserLoggedIn()) {
echo "User not logged in.";
} else {
echo "User IS logged in.";
}
?>
And I have that loaded into PostWrap but when I view the link, I get Fatal
error: Call to undefined function pnUserLoggedIn() in test.php
So what have I missed? |
| |
| |
Shawn
Administrator   Posts: 4608 Registered: 10/7/2002 Status: Online
|
posted on 8/20/2005 at 09:03 PM |
PostWrap only display a URL in an iframe within your PN site. Your page
loads independant of PN. It could be on a totally different server, so it
is not loaded into PN, it's results are just displayed.
-Shawn |
| |
|
|
|
|