Hello Guest [ Registration | Log in ]

Main Menu

Login





 


 Log in Problems?
 New User? Sign Up!

Genealogy Quote

Genealogy: a search for the greatest treasures - our ancestors

Stories

Online

There are 0 Members online.

You can log-in or register for a user account here.
search pnForum latest posts Note: Registered users can subscribe to notifications about new posts Note: Registered users can subscribe to notifications about new posts
Reply to: post nuke .8


Options:




  


:


Author post nuke .8
Wendel

Posts: 82
Patrick,
Yes you are correct. I figured this out a couple of days ago and wanted to work up a version that would work for both PostNuke .800 and .764. They now use different variable names for the information. I also wanted to test it out a bit. I emailed you a version that I believe fixes the problem.
 
 
patrick

Posts: 17
The "URL" doesn't work either and I am not smart enough to figure that one out.
I just know it is stored in the PN_user_data table on row 2 of the pn_uda_id field.
I hope that helps.
 
 
patrick

Posts: 17
In order to get the real name from PN you need to change line 149 in pnuserapi.php from name to _urealname. And...possibly on lines 199 and 200?

So, now when you are logged on the user information in tng is like this:
username admin
description patrick
real name patrick
Prior to fixing the real name issue it was like this:
username admin
description admin
real name blank
There might be a problem with this in that your index_pntng.php file has
Quote if( $currentuser ) {
echo "

$text[welcome] $currentuserdesc.

\n";
}
?>

This will now show the real name instead of the user name. I personally do not care which one it shows, I just wanted to make you aware of it.

Patrick
 
 
patrick

Posts: 17
thanks for the heads up.
Patrick
 
 
Wendel

Posts: 82
It is still working with PostNuke 764. I've confirmed it is not updating correctly with PostNuke 80x. It appears that the way to obtain user information may have changed in PostNuke. I'm still investigating.
 
 
patrick

Posts: 17
sorry, forgot to answer your question.
QuoteHave you checked the pnTNG option to keep TNG user information up to date (near the bottom)?

Yes I have that option checked.
 
 
patrick

Posts: 17
Wendel,
The real name, or true name in postnuke, was filled in prior to setting up tng. I also tried deleting the username in tng and then logging back in but it still does not pass through.

Just to run by you what info got passed to tng:
The guest account has username--Guest and description--blank and real name--Guest Account

The admin account has username--admin and description--admin and real name--blank(should be patrick)
If you are also trying to pass over the website url then that is also blank.

If you need access to my site let me know I can email you my information.
Patrick
 
 
Wendel

Posts: 82
By "not passing through to tng", you mean in the User data on TNG, or on the login screen from index_pnTNG.php (renamed to index.php)?

I'm assuming you mean to the actual TNG user data. If so, a few more questions:

Did you have the real name set when pnTNG created the TNG user? I'm assuming you have that option checked in the pnTNG options.

Have you checked the pnTNG option to keep TNG user information up to date (near the bottom)?





edited by: Wendel, Apr 27, 2008 - 12:04 AM
 
 
patrick

Posts: 17
Wendel,
I got your email, it works great now.
However, I found another problem. My realname from postnuke is not passing through to tng.
Patrick
 
 
Wendel

Posts: 82
Patrick,
Sorry, I had a syntax error in index_pnTNG.php on line 19. I will email you a new version.

Ahh, so the scroll bars. I think I understand. I don't know a way around that right now.
The whole administration part of TNG is not compatible with direct access through PostNuke.
Hence the use of the IFRAMES there. You can always forgo doing administration
items in PostNuke and access directly. You can then add your own .htaccess file to add an
extra layer of login/password.
- Wendel
 
 
Users online:


This list bases on the users active in the last 10 minutes


Powered by pnForum Version 2.6