Download the Zip file.
Download attached Zip file.
1. create a folder in your root directory called “zbblock”
2. CHMOD 777 that folder. <== THIS MUST BE COMPLETED BEFORE SETUP!
3. Unzip and upload the contents of the zip that you downloaded from the above website.
4. Then go to Http://your-site.com/zbblock/setup.php
5. Select option #2.
6. It will give you some code at the top to add to your pages. ***
Go to ROOT folder>>>Application>>>Modules>>>Core>>>Layouts>>>Scripts and edit default.tpl.
At the very top, you will add your code, it should look like this:
<?php require('/micaddicts/zbblock/zbblock.php'); ?><?php /** * SocialEngine * * @category Application_Core * @package Core * @copyright Copyright 2006-2010 Webligo Developments * @license http://www.socialengine.com/license/ * @version $Id: default.tpl 10017 2013-03-27 01:27:56Z jung $ * @author John */
Pay close attention to where I pasted the code.
Replace my link with the one you were given after setup.
Example: <?php require(‘/root/zbblock/zbblock.php’); ?>
7. Edit admin.tpl the same way.
Scroll down to the password section and you will see this:
; *** ZB Block Password *** ; ; Password to control functions of ZB Block ; ?wlpw=<password> to add yourself to the whitelist ; and allow yourself back in. ; ; values: ; "" to neutralize password and turn of control ; functions globally. ; ; "<password>" Password to control functions. ; ; default: zbb_pw = "" zbb_pw = ""
Update the red font with your preferred password:
“zbb_pw = “yourpassword”
9. Then go to: http://your-site.com/zbblock/zbblock.php?wlpw=yourpassword
Once it loads(up to 60 second) it will say you have been added to white list.
10. To test, go to: http://your-site.com/zbblock/zbblock.php?test=xtestx
If a 403 Forbidden Page comes up, you have installed correctly.
11. Update Signatures:
** You should update to the latest signatures.inc as soon as your install is working. The current signatures are not slipstreamed into the main script installation, unless the release date is the same. Any new signatures, up until the next main script release, are a manual install only. Descriptions of the signature files can be found in our forum.
I have attached the most recent signatures.inc as well.
If you would like a direct download link for newer signatures.inc:
MAKE SURE YOU CREATE AND CHMOD777 THE zbblock FOLDER BEFORE SETUP!
***This was the best place I knew where to add the code so that it was on all pages. If you upgrade your SE script, you will have to add that code every time. If someone knows of a better way, please let me know.