That's not what I asked for. There is a reason why I want to use bhcb
Ehm. I didn't tell you to use c*p*a*l*e*a*d - I told you about a plugin.
Hint: that plugin also works for bhcb.
If you bought the program contact support. BHW is not the BHCB support forum.
Ok, I'm using ver. 2.0 of the script, but can't get it to work on single Wordpress posts. The box pops up, but the links are screwed up. I did read all the threads here on bhw about the script, but there was nothing that eventually worked.
Thanks
That's not what I asked for. There is a reason why I want to use bhcb
Why don't you just say it the easy way. I'm sure many people would appreciate that
Brad is on the forum now...but yeah the support leaves a lot to be desired...i ususally dont get into disputes with dudes online but im starting to hate all these dudes who say they are not support for whatever program dudes are asking about...first of all...the majority of posts and shares on here are about not paying for the shit...and in that spirit a lil help every now and then is to be expected...even for shit that dudes pay for (like i did with bhcb) u still dont get very good help...brad helped me out the nite i bought it and that was that...I've had other problems but he couldnt resolve them...w/e...to the O.P.
what u need to do is look for this plug in for custom header...its by uber-something (google it) put the custom header plugin on and then put ur location of the lock in the field like this <script type="text/javascript" src="http://www.yoursite.com/lock.js"></script>
Instead of logging in via an FTP program login to an FTP manager throug CPanel/Plesk, as some FTP managers will not show your htaccess file.
What did the warrior forum say to edit? Right click on the file and click edit and then save afterwards to make changes to it.That is not the problem. Can see htaccess but don't know what changes have to be made there![]()
<?php if ( is_single() ){ ?>
<script type="text/javascript" src="lock.js"></script>
</<?php } ?>
<?php
$js_cb = get_post_meta($post->ID, 'gateway', fale);
if (!empty($js_cb) && is_single()) {
echo '<script type="text/javascript" src="';
echo $js_cb;
echo '"></script>';
}
?>
The script is looking for the goto.php in the permalink directory, but of course it's not there, but in the root folder
Though I loved BHCB for a while, I wanted to have 'advanced' gateway so I built my own. I no longer use BHCB.
This is how I used to add it (or any gateway script):
To make it execute or load only on posts and pages (all), paste the following code in header.php:
Code:<?php if ( is_single() ){ ?> <script type="text/javascript" src="lock.js"></script> </<?php } ?>
It sets a rule IF the page is single (single means posts/pages), load the javascript ELSE do nothing.
OR
To add it on specific (individual posts) -
Paste the following code in header.php, before </head> tag:
Code:<?php $js_cb = get_post_meta($post->ID, 'gateway', fale); if (!empty($js_cb) && is_single()) { echo '<script type="text/javascript" src="'; echo $js_cb; echo '"></script>'; } ?>
Now all you have to do is create a "Custom Field" for the post - Name: gateway Value: full URL to your lock.js (e.g. http://domain.com/blog/lock.js).
Are you using it on sub-directories?