Home
FAQ
Contact
Home
Help
Search
Login
Register
Thingamablog Forums
>
Community
>
HowTo
>
Category Password
Username
Password
Thingamablog Forums
>
Community
>
HowTo
>
Category Password
Pages: [
1
]
« previous
next »
Print
Author
Topic: Category Password (Read 2172 times)
ton
Regular
Posts: 11
Category Password
«
on:
December 19, 2005, 10:57:10 AM »
Hi all,
Is there a way to password protect a Category
from within Thingamablog
? That is to restrict viewing of that category posts to members only.
If not is there a way, to introduce password protection by other means?
Without locking up the whole site
and resticting access to all but members.
Failing this, are there any plans to introduce this feature in the future? I guess this can be done by a check-box in "Categories" when they are created to restrict access by adding a password?
Just exploring possibilities. Any views are welcome.
Regards, Toni
Logged
Mark (Gazetteer)
Guru
Posts: 102
Category Password
«
Reply #1 on:
December 20, 2005, 05:07:31 PM »
Sorry for the delay in replying but had to have a good think about this.
I don't think there is an way to password protect a category from within Thingamablog (maybe some scripting would work) but it is possible to protect a page with .htaccess on an server if your host allows it.
Take a look at this tutorial I found:
http://www.htmlite.com/HTA006.php
Using the method given, you could create a category for instance called "secret" (cat_secret.html) and them protect that page with the .htaccess file.
The tutorial gives reasonable instructions but you will need to know if your host allows you to use .htaccess and the path to your web directory. This isn't the http:// type but the location in your web hosts directory structure.
Logged
jrfoleyjr
Regular
Posts: 38
Category Password
«
Reply #2 on:
April 28, 2008, 12:01:35 AM »
Quote from: "Gazetteer"
Sorry for the delay in replying but had to have a good think about this.
I don't think there is an way to password protect a category from within Thingamablog (maybe some scripting would work) but it is possible to protect a page with .htaccess on an server if your host allows it.
Take a look at this tutorial I found:
http://www.htmlite.com/HTA006.php
Using the method given, you could create a category for instance called "secret" (cat_secret.html) and them protect that page with the .htaccess file.
The tutorial gives reasonable instructions but you will need to know if your host allows you to use .htaccess and the path to your web directory. This isn't the http:// type but the location in your web hosts directory structure.
I realize that the original post and reply are ancient but people read these because they are still visible and sometimes can be helpfull.
If the server is an apache server, ask the sysadmin if you are allowed to use .htaccess and .htpasswd, also there are a few lines in the apache http.conf config file that are effective at blocking online users from accessing any file beginning .ht do ask your sysadmin for instructions on uploading these.
Here is a .htaccess file I used to password protect a member directory:
#example htaccess file locate .htaccess in each directory
#you want to protect. The .htpasswd file may be located
#wherever is convenient. These comments are only here
#for this reply and may be removed
#save the next 4 lines to a text file renamed as .htaccess
AuthUserFile c:/offlinestore/.htpasswd
AuthName EnterPassword
AuthType Basic
require valid-user
and the ,htpasswd file
#example .htpasswd file
#name:password
joeblow:12laguardia34
joshuadoore:blackhand99
l33t0n3:abbracadabra
I have my own server and chose to locate the htpasswd file outside the apache server path for added security. You will need access to it to be able to edit for name and password changes.
It contains the name and password for access example; joeyd:mypasswd
Logged
Talk to the world using Ham Radio.
See
www.arrl.org
for info on getting a ham license in the USA. In other countries see your local Amateur Radio Society web page.
kayanat
Newbie
Posts: 1
Category Password
«
Reply #3 on:
March 08, 2009, 05:18:10 AM »
I need a password protecting html code that only asks for a password and not a username? I DON'T want a pop-up javascript that will just ask for a password. That I have used and found out it doesn't work in Internet Explorer. I want a script that asks for a password, no username. It's hard to find because they all have usernames. I hope to get some help out here.
_________________
keyword research
~
keyword tool
~
keyword tracking
~
affiliate elite
Logged
shoppe
Global Moderator
Guru
Posts: 172
Category Password
«
Reply #4 on:
March 09, 2009, 06:50:46 AM »
Sure thing. But first, what's the URL to your Thingamablog?
Logged
Stephan Hoppe
- Suspect Information, Ideas, and Opinions - rarely updated and of dubious quality.
PENS Retail Services
- Retail Consulting.
brody
Newbie
Posts: 2
Category Password Option
«
Reply #5 on:
March 11, 2009, 10:33:49 AM »
I am currently researching the question on a specific category password. I already have a thingamablog website that requires a login once you try to move around the blog. Currently I set one so:
1) Entry pages are not password protected, but you can only see one entry. (this keeps Google happy so my most important pages, the entry pages are indexed properly).
2) Once visitor tries to leave that entry (usually arrived by a google search), to go to another entry, home or category pages, the site looks to see if visitor logged in, if not, they are redirected to login. It uses a cookie read to detect log in.
if you want to see the login redirect site, go here:
http://blog.tibetankungfu.net/archives/2009/03/entry_327.html
if you want to see the picture and js script, go here:
http://www.advancedchiropracticcenter.net/archives/cat_energymedicine.html
the issue will be writing a script that will read by that category and require a password. I am sure I can do it. I did it with other javascripts and pictures so each category gets a specific pic or script (ie. advertisement banner).
category_name.js and category_name.jpg
I will get back to you
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> News
-----------------------------
Support
-----------------------------
=> Thingamablog Help
=> Bugs
-----------------------------
Community
-----------------------------
=> Templates
=> HowTo
=> General Discussion
Powered by SMF 1.1.10
|
SMF © 2006-2009, Simple Machines LLC
Loading...