Hello Guest [ Registration | Log in ]

Main Menu

Login





 


 Log in Problems?
 New User? Sign Up!

Genealogy Quote

I found a cuckoo's nest in my family tree.

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

to previous topic new topic send as email Print topic to next topic

Start ::  PostNuke ::  pnTNG ::  post nuke .8
Moderated by: Wendel, admin

Goto page : Previous Page 1 | 2
Bottom 

post nuke .8

Wendel Posted: 28.04.2008, 08:36



registered: Jun. 2005
Posts: 82

Status: offline
last visit: 03.05.08
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.
Top  Profile send PM Homepage quote
 
patrick Posted: 29.04.2008, 00:54



registered: Feb. 2008
Posts: 17

Status: offline
last visit: 03.05.08
thanks for the heads up.
Patrick
Top  Profile send PM Homepage quote
 
patrick Posted: 02.05.2008, 04:02



registered: Feb. 2008
Posts: 17

Status: offline
last visit: 03.05.08
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<?php
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
Top  Profile send PM Homepage quote
 
patrick Posted: 02.05.2008, 04:09



registered: Feb. 2008
Posts: 17

Status: offline
last visit: 03.05.08
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.
Top  Profile send PM Homepage quote
 
Wendel Posted: 02.05.2008, 23:07



registered: Jun. 2005
Posts: 82

Status: offline
last visit: 03.05.08
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.
Top  Profile send PM Homepage quote
 
Goto page : Previous Page 1 | 2


Options reply







Users online:


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


Powered by pnForum Version 2.6