Logo

Mister Wong iconTechnorati iconDigg icondel.icio.us iconma.gnolia iconFurl iconNewsvine iconReddit iconYahoo MyWeb iconBlinkbits iconGoogle iconSimpy iconBlogmarks icon

  C-Zell-Karzinom e.V. - Hilfe zur Selbsthilfe Hello unlogged user | [ Register | Log in ]  
Search
Add to Google

Menu
|--> Home
|--> FAQ
|--> Suchen
|--> Forum

Mail Liste/Newsletter
You are currently not logged in, but you can still subscribe to our newsletter.




Sprachen
Sprache auswählen:

Deutsch English

Google page transl.
   

Credits & License Information

Back to main Credits page

Help for advProfile version 2.0

// File : $Id: help.txt,v 1.3 2005/05/16 16:29:19 Chestnut Exp $
// ----------------------------------------------------------------------
// POST-NUKE Content Management System
// Copyright (C) 2001 by the Post-Nuke Development Team.
// http://www.postnuke.com/
// ----------------------------------------------------------------------
// Based on:
// PHP-NUKE Web Portal System - http://phpnuke.org/
// Thatware - http://thatware.org/
// ----------------------------------------------------------------------
// LICENSE
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License (GPL)
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// To read the license please visit http://www.gnu.org/copyleft/gpl.html
// ----------------------------------------------------------------------
// Original Author of file: Franky Chestnut - PNConcept.com !
// Purpose of file: Help.txt for the advProfile Mod.
// ----------------------------------------------------------------------

Upload, Initialize, Activate...

In modules/NS-Users/user.php, replace the function :

function user_user_userinfo()
{

...

}

by this one :

function user_user_userinfo()
{

$uname = pnVarCleanFromInput('uname');
pnRedirect(pnModUrl('advProfile', 'user', 'main', array('uname' => $uname)));

}

Arrange your template like you wish.
For User defined field, use your constant...

For the label : <!--[pnml name="_YOURCONSTANT"]-->
For the value : <!--[$YOURCONSTANT_VALUE]-->

V. 1.2

To hide some fields or plugins, you can use the permissions...

Examples :

This will hide the Signature :
All Groups | advProfile | _SIGNATURE::14 | None
...........................Field Label::Field Id

This will hide the last10links plugin
All Groups | advProfile:: | Plugin::last10links.php | None

You can create different pages...
By creating a advProfile_user_yourpage.tlp in the pntemplates folder,
you can access the page by adding &page=yourpage in your link

You can also add the link to the advprofile_user_menu.tpl
<!--[pnmodurl modname="advProFile" type="user" func="main" uname=$USERNAME_VALUE page="yourpage"]-->

See http://dev.pnconcept.com/module-advProFile.html for demo.

;)
Chestnut !
http://www.pnconcept.com
http://www.postnuke-france.org

 

| Allgemeine Nutzungsbedingungen | Datenschutzhinweis | Impressum
Diese WebSite wurde mit PostNuke erstellt - PostNuke ist als freie Software unter der GNU/GPL Lizenz erhältlich.

Website powered by PostNuke PHP Language Powered by PHPEdit Best viewed with OpenEyes Get Firefox!

Bad Behavior has blocked 2 access attempts in the last 7 days.

 
Register
Page created in 0.90150094032288 seconds.