Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12

Thread: phpnuke help

  1. #1
    Member
    Join Date
    Aug 2003
    Location
    Jordan
    Posts
    59
    Member #
    2454
    hi, i installed php nuke .. actually its in the cpanel i didn't do anything i just chose install and everything worked fine .. but now i was adding some links in the downloads and i got this message

    Warning: setlocale(): Passing locale category name as string is deprecated. Use the LC_* -constants instead. in /home/dianaka/public_html/content/modules/Downloads/index.php on line 968


    what should i do to take it off please help

    http://diana-karazon.net/content/mod...name=Downloads

  2.  

  3. #2
    WDF Staff Wired's Avatar
    Join Date
    Apr 2003
    Posts
    7,656
    Member #
    1234
    Liked
    137 times
    What's on the index page, line 968?
    The Rules
    Was another WDF member's post helpful? Click the like button below the post.

    Admin at houseofhelp.com

  4. #3
    Member
    Join Date
    Aug 2003
    Location
    Jordan
    Posts
    59
    Member #
    2454
    setlocale ("LC_TIME", "$locale");

  5. #4
    Member
    Join Date
    Aug 2003
    Location
    Jordan
    Posts
    59
    Member #
    2454
    any help

  6. #5
    Senior Member nsr81's Avatar
    Join Date
    Oct 2002
    Posts
    1,132
    Member #
    250
    Liked
    15 times
    Use this instead:
    PHP Code:
    setlocale (LC_TIME$locale); 
    Without quotation marks.
    There and Back Again :Ogre:

  7. #6
    Member
    Join Date
    Aug 2003
    Location
    Jordan
    Posts
    59
    Member #
    2454
    thank youuu

  8. #7
    Member
    Join Date
    Aug 2003
    Location
    Jordan
    Posts
    59
    Member #
    2454
    I have another question .. and as its related to php nuke i'll ask it here ... i wanna add links to download in phpnuke and to make it for regestered users only .. i'll link files from my website and i only want members to be able to download these files .. now everything is okay but when they click on the file link they'll know the file source and they can get it from the main source which is my server.. how can i protect these files and use phpnuke to protect it.. like i said so only members can download it .. like they have to login everytime they need the file

    Thank you

  9. #8
    Member
    Join Date
    Aug 2003
    Location
    Jordan
    Posts
    59
    Member #
    2454
    can anyone help me??? please!!

  10. #9
    Senior Member nsr81's Avatar
    Join Date
    Oct 2002
    Posts
    1,132
    Member #
    250
    Liked
    15 times
    Sorry, I'm not familiar with PHPNuke ( any other nuke for that matter). SetLocale problem was simple since I had dealt with it already in a non-nuke context.

    Try looking for a subscription or membership module for php nuke on google
    There and Back Again :Ogre:

  11. #10
    Member
    Join Date
    Aug 2003
    Location
    Jordan
    Posts
    59
    Member #
    2454
    like this website they are protecting files using phpnuke download module

    http://my.amrdiabworld.com/modules.p...ownload&cid=55

    any idea??? pleeeaaase :tired:


Page 1 of 2 1 2 LastLast

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 04:50 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com