Advertise Here

Author Topic: [Code] Password Protect Topics v2  (Read 2317 times)

0 Members and 2 Guests are viewing this topic.

Offline Agent Moose

  • Moderator
  • *****
  • Posts: 836
  • Do not PM me for Code Support or Request
    • View Profile

  • Total Badges: 32
    Badges: (View All)
    Search Level 6 Tenth year Anniversary Nineth year Anniversary Eighth year Anniversary
[Code] Password Protect Topics v2
« on: May 17, 2010, 12:04:29 am »
Footers:
Code: [Select]
<script type="text/javascript">
TopicProtect("TOPIC ID","PASSWORD");
</script>
<script type="text/javascript" src="http://209.85.62.24/15/114/0/f574961/TopicProtectv2.js"></script>

TOPIC ID = The topic number/ID
PASSWORD = The Password for that topic (case sensitive)

Haven't created a code in awhile, and decided I would update a old code that Stewie343 had made back when SMC was still open :)

Enjoy :)
« Last Edit: May 18, 2010, 09:57:10 am by Agent Moose »
Check out Revolution X's Brand new Code Index!

Offline decoy

  • SMF For Free Member
  • *
  • Posts: 77
    • View Profile
    • Toon Union

  • Total Badges: 13
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: Password Protect Topics v2
« Reply #1 on: May 17, 2010, 07:33:41 pm »
This code replaces that loooooooooooooooooooong code and if so just use the code again and agian for other topics?
                                                                                                                      Joel

Offline Agent Moose

  • Moderator
  • *****
  • Posts: 836
  • Do not PM me for Code Support or Request
    • View Profile

  • Total Badges: 32
    Badges: (View All)
    Search Level 6 Tenth year Anniversary Nineth year Anniversary Eighth year Anniversary
Re: Password Protect Topics v2
« Reply #2 on: May 18, 2010, 09:56:50 am »
Yep.  If you want to add more passwords for topics, add more of these lines:
Code: [Select]
TopicProtect("TOPIC ID","PASSWORD");
Check out Revolution X's Brand new Code Index!

Offline decoy

  • SMF For Free Member
  • *
  • Posts: 77
    • View Profile
    • Toon Union

  • Total Badges: 13
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] Password Protect Topics v2
« Reply #3 on: May 19, 2010, 03:38:59 pm »
nice thx all these infernal codes drive me nuts againg thx helped out alot
                                                                                     Joel

 

Related Topics

  Subject / Started by Replies Last post
8 Replies
2944 Views
Last post January 17, 2008, 06:22:54 am
by LaundryLady
3 Replies
2076 Views
Last post October 16, 2008, 12:37:37 pm
by Josh[y]
1 Replies
1688 Views
Last post October 17, 2008, 07:24:53 pm
by Agent Moose
1 Replies
771 Views
Last post October 23, 2008, 06:45:51 am
by Crasy
55 Replies
22366 Views
Last post September 07, 2012, 04:08:19 am
by clairebear