Only fill this in if you're a spammer huh? Your name :
Your email :
Your message :
Dec
4th
2008

Protect your blogs

Posted in : Plugins & Widgets

I hear you knocking

There's been many a request on the b2evolution forums for a way to make blogs so that they can only be seen by members. The usual response has been "hack this file and then make sure that you make posts as protected" .... which is great and stuff, but it's hardly "friendly" when you have several blogs that need protecting and you also want a tad more than "are they logged in?". Soooooo, I made a plugin to do it for me ;)

How does it work?

It's dead simple really, first go grab the plugin from BOPIT, unzip it, upload it, meander into admin and install it .... that was the hard part. For any blog that you wish to protect just put am:protected in the blog notes field and press save ...... and that's it! Instant protected blog ;)

What happens now?

From now on when a visitor tries to reach any blog marked as protected they'll automatically be redirected to the login screen with a message of your choice being displayed to them to explain why. If a registered user tries to reach a protected blog that they're not a member of, they'll get sent back to your homepage ... or whatever you slapped into your $baseurl ... but you chose that.

As well as taking care of the visitors / non-members for you this plugin will also automatically change any posts created, or edited, with a status of "published" to "protected" if it's in a protected blog , just to be sure to be sure ;)

I'm sure you'll let me know if it doesn't work,
¥

Trackback URL (right click and copy shortcut/link location)

Trackback url for this post
Note : This trackback url is time limited so use it within 30 minutes or the SpamHound will snarl at you.

http://waffleson.co.uk/z/?k=37532592633103238257253fefd51950fc3dd40d93f090973

Replied on : 12/04/08 @ 11:09 am #1

FRIST!

er... w00t? Or something along those lines.

oh and thanks for this. I'm in the process of upgrading and certainly see the value here ... though I probably won't use it on my personal installation because a comment pushing v!agra is better than no comment ;)
 
 
¥åßßå users avatar

Posts : 1057

Joined : 10/05/05

Location : 127.0.0.1

Reply to comment 15107 by ¥åßßå

Replied on : 12/05/08 @ 04:38 pm #2

Take yer time, the forums bandwidth is waaaaay down nowadays :D

¥

I may have opened the door, but you entered of your own free will

 
 
Gary users avatar

Posts : 417

Joined : 04/04/05

Reply to comment 15105 by Gary

Replied on : 12/04/08 @ 04:46 pm #3

As we sleep in our beds at night, the staff at AM pull another rabbit out of the bag. A fresh shiny new plug-in just in time for Christmas :)

Not seen your holiday photo's yet ;)

Gz

Blog-a-doodle-do :D  http://garysblog.co.uk

 
 
¥åßßå users avatar

Posts : 1057

Joined : 10/05/05

Location : 127.0.0.1

Reply to comment 15106 by ¥åßßå

Replied on : 12/05/08 @ 04:37 pm #4

I'm trying to get the price up so I can make a killing in the january sales :D

*note to self* take holiday photos to show Gary .... damn, thought you'd never ask ... you have a scanner right?

¥

I may have opened the door, but you entered of your own free will

 
 
Gary users avatar

Posts : 417

Joined : 04/04/05

Reply to comment 15109 by Gary

Replied on : 12/05/08 @ 05:59 pm #5

Lol, Yes I have a scanner mate. Look forward to seeing them.
Have a good weekend.

Gz

Blog-a-doodle-do :D  http://garysblog.co.uk

 
 
Gary users avatar

Posts : 417

Joined : 04/04/05

Reply to comment 15121 by Gary

Replied on : 12/10/08 @ 09:08 am #6

* found a window in my diary *

Ya photo's are scanned in and wrote to cd for you :)

Gz

Blog-a-doodle-do :D  http://garysblog.co.uk

 
 
¥åßßå users avatar

Posts : 1057

Joined : 10/05/05

Location : 127.0.0.1

Reply to comment 15122 by ¥åßßå

Replied on : 12/10/08 @ 09:16 am #7

Excellent, cheers mate ;)

¥

I may have opened the door, but you entered of your own free will

 
 
Gary users avatar

Posts : 417

Joined : 04/04/05

Reply to comment 15123 by Gary

Replied on : 12/10/08 @ 10:49 am #8

No worries :)

Gz

Blog-a-doodle-do :D  http://garysblog.co.uk

 
 

Leave a comment

Your email address will not be displayed on this site.
Your URL will be displayed.
About you

Just fill in the bits you want, none of it is required



Your email address will only be used to send you adverts for viagra and rolex watches.



(Line breaks become <br />)
Leave a comment
Code:
=> :!: :?: :idea: :) :D :p B) ;) :> :roll: :oops: :| :-/ :( >:( :'( |-| :>> ;D :)) 88| :lalala: :crazy: >:XX :o
 
 
 

X