How can I Password Protect a specific Forum? Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
4 posters

    How can I Password Protect a specific Forum?

    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    Solved How can I Password Protect a specific Forum?

    Post by Van-Helsing Sat 26 Oct 2013, 13:09

    Hi all,
    How can I Password Protect a specific forum with password in my forum with JavaScript and/or CSS? I have tried some of the tuturials here without success. Furthermore I was red the tutorials in AvacWeb:
    Spoiler:
    Could you help me? Is this code correct? How can I make it work?
    I am using the following javascripts:

    Spoiler:

    Spoiler:

    Are these scripts correct or must I put them in one script?

    * My Forum Version is PHPBB2.

    Best Regards,
    Dark-Avenger


    Last edited by Dark-Avenger on Wed 30 Oct 2013, 13:18; edited 3 times in total
    [NH]Shadow
    [NH]Shadow
    Forumember


    Male Posts : 28
    Reputation : 3
    Language : English, Русский, Svenska, Español

    Solved Re: How can I Password Protect a specific Forum?

    Post by [NH]Shadow Sat 26 Oct 2013, 14:48

    I am coding a JS mod that will do this; the password protect for forums is a relatively simple patch, but this is not its only function, so it might be a few weeks before it is finished.
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    Solved Re: How can I Password Protect a specific Forum?

    Post by Van-Helsing Mon 28 Oct 2013, 18:53

    Bump?
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    Solved Re: How can I Password Protect a specific Forum?

    Post by Van-Helsing Wed 30 Oct 2013, 00:30

    Bump
    Kaizer Lee
    Kaizer Lee
    Active Poster


    Female Posts : 1064
    Reputation : 54
    Language : English, Tagalog, Spanish and Chinese
    Location : Philippines

    Solved Re: How can I Password Protect a specific Forum?

    Post by Kaizer Lee Wed 30 Oct 2013, 05:55

    Hi, I tested it out on my forum and it worked.

    Can you please check if there are scripts conflicting with these code? You can do that by trying to delete one script (Make sure you have a hard copy of it) and see if there'll be an effect to the Password script and then put it back if it doesn't Smile
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    Solved Re: How can I Password Protect a specific Forum?

    Post by Van-Helsing Wed 30 Oct 2013, 10:19

    Hi all,
    I have clean all other javascripts and placed these in two javascripts and the codes are:

    Javascript For Password Protected Forums
    Spoiler:

    Main Javascript for forum password protection
    Spoiler:
    I ve just placed them and I have removed the forum cookies but its not working.Sad 

    Best Regards,
    Dark-Avenger
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    Solved Re: How can I Password Protect a specific Forum?

    Post by Van-Helsing Wed 30 Oct 2013, 13:18

    Ok guys I have fix it. I was put the two scripts into one and disabled the Google Analytics Javascript. That JavaScript conflicts the Forum Password Protection Javascript.

    Thank you all for your assistance.
    Best Regards,
    Dark-Avenger
    Sir Chivas™
    Sir Chivas™
    Helper
    Helper


    Male Posts : 6980
    Reputation : 457
    Language : EN, FR, ES
    Location : || CSS || HTML || Graphics Designs || Support ||

    Solved Re: How can I Password Protect a specific Forum?

    Post by Sir Chivas™ Wed 30 Oct 2013, 22:33

    Dark-Avenger wrote:Hi all,
    I have clean all other javascripts and placed these in two javascripts and the codes are:

    Javascript For Password Protected Forums
    Spoiler:

    Main Javascript for forum password protection
    Spoiler:
    I ve just placed them and I have removed the forum cookies but its not working.Sad 

    Best Regards,
    Dark-Avenger
    Dark-Avenger wrote:Ok guys I have fix it. I was put the two scripts into one and disabled the Google Analytics Javascript. That JavaScript conflicts the Forum Password Protection Javascript.

    Thank you all for your assistance.
    Best Regards,
    Dark-Avenger
    Please don't double/triple post. Your post need to be separated by 24 hours before bumping, replying or adding more information. Please use the edit button instead!


    Topic Solved & Locked.