Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 78
6 members and 72 guests
danansceclasqe6, hypye4notherape, lnkmastes, pilgrlowlf7spea, ral4yqkeighqtx5, watcy5gerp
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
tattoo fonts
http://www.checkoutmyink.com/category/tattoo-fonts-tattoo

Go Back   Nukemods Forum > PHP-Nuke 7.x > Nuke 7.x - General

Reply
 
LinkBack Thread Tools Display Modes
Page denided to anonymous
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 5
Join Date: Sep 2006
Location: Italy
Page denided to anonymous - 09-17-2006, 08:01 AM

Hi to all,
and excuse me for my english.
I need of a great help.
I've created one page in php, added to my phpnuke as a module. Now, I want that anly registered can have th access too this page.
In my personal page, I use this query, becouse I've integrated the all site in phpBB mods:
Code:
$phpbb_root_path = './forum/';
define ('IN_PHPBB', true);
include_once($phpbb_root_path . 'extension.inc');
include_once($phpbb_root_path . 'common.' . $phpEx);
include_once($phpbb_root_path . 'includes/bbcode.' . $phpEx);
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
if (!$userdata['session_logged_in'])
{
        $querystring = '';
        if (isset($_SERVER['QUERY_STRING']))
        {
            $querystring = '&' . $_SERVER['QUERY_STRING'];
        }
        redirect(append_sid('login.' . $phpEx . '?redirect=../against.php' . $PHP_SELF  . $querystring , false));
}
How can I create one similar query for my phpnuke?
Please answer to me.
Thanks :wink:
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Moderator
 
dar63's Avatar
 
Status: Offline
Posts: 473
Join Date: Oct 2002
Location: UK
09-17-2006, 06:38 PM

Quote:
I've created one page in php, added to my phpnuke as a module. Now, I want that anly registered can have th access too this page.
Set the module to registered only then. 8O
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
Junior Member
 
Status: Offline
Posts: 5
Join Date: Sep 2006
Location: Italy
09-18-2006, 07:42 AM

I thinked that use the module as you have indicated, the link on Menù block was not reachable... but your advise goes so fine... THANKS!
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Assign avatar for Guest or Anonymous mikem FAQ/Fixes 2 01-25-2012 06:52 PM
Allow Anonymous to Posting killtodeath Nuke 7.x - General 1 10-13-2006 07:08 PM
Anonymous Post User_ID sitenatto Nuke 7.x - General 1 09-08-2004 02:24 PM
Anonymous Comment Usernames NSC_Ian Site design 0 07-26-2004 01:03 PM
Why I'm Being Called 'Anonymous'? DyNaMiX Purged Topics 16 06-21-2003 07:49 PM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31