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.
The forum of the forums
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 October 26th 2013, 2:09 pm

    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 October 30th 2013, 2:18 pm; 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 October 26th 2013, 3:48 pm

    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 October 28th 2013, 7:53 pm

    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 October 30th 2013, 1:30 am

    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 October 30th 2013, 6:55 am

    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 October 30th 2013, 11:19 am

    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 October 30th 2013, 2:18 pm

    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™ October 30th 2013, 11:33 pm

    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.

      Current date/time is November 11th 2024, 10:34 pm