» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 60
0 members and 60 guests
No Members online
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
buy Rimonabant - Help dieters achieve significant weight loss without having to slog in the gym

Register Now! Contact Us

About this Page
This is a discussion on Page denided to anonymous within the Nuke 7.x - General forums, part of the PHP-Nuke 7.x category; Hi to all, and excuse me for my english. I need of a great help. I've created one page ...



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

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-17-2006, 07:01 AM
Junior Member
 
Join Date: Sep 2006
Location: Italy
Posts: 5
Page denided to anonymous
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
  #2 (permalink)  
Old 09-17-2006, 05:38 PM
dar63's Avatar
Moderator
 
Join Date: Oct 2002
Location: UK
Posts: 473
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
__________________
http://phpnuke-uk.net
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 09-18-2006, 06:42 AM
Junior Member
 
Join Date: Sep 2006
Location: Italy
Posts: 5
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
Allow Anonymous to Posting killtodeath Nuke 7.x - General 1 10-13-2006 06:08 PM
Anonymous Post User_ID sitenatto Nuke 7.x - General 1 09-08-2004 01:24 PM
Anonymous Comment Usernames NSC_Ian Site design 0 07-26-2004 12:03 PM
Assign avatar for Guest or Anonymous mikem FAQ/Fixes 0 07-25-2003 09:54 AM
Why I'm Being Called 'Anonymous'? DyNaMiX Purged Topics 16 06-21-2003 06:49 PM


All times are GMT -5. The time now is 04:46 PM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.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