Support Spidean |
Do you like our FREE downloads? How about the FREE support for the FREE downloads? Please help us out and donate any amount! It's fast and easy through PayPal.
|
gracelessone
Newbie   Posts: 3 Registered: 6/17/2004 Status: Offline
|
posted on 10/21/2004 at 10:51 AM |
I'm going insane...
I am trying to get AT .8 and BSCI Permissions system to work. At the same
time. On the same site. Together. Before I get old and gray and/or throw
the laptop out of the window...
I'm working with PN 726 and AT .8
I have read and tried the Baohx fix, with no success.
( http://www.baohx.com/modules.php?op=modload&name=News&a
mp;file=article&sid=69&mode=thread&order=0&thold=0 )
With both programs (AT & BSCI) initialized and active the site just
hangs and won't load at all.
I love this program, I'm willing to upgrade to the pro version if that will
fix the problem... but I don't see any indication that it will. Having to
choose between the two programs is very difficult, and I'd rather not have
to, but unfortunately that seems to be my only option.
help!
gracie
[Edited on 22/10/2004 by gracelessone] |
| |
| |
gracelessone
Newbie   Posts: 3 Registered: 6/17/2004 Status: Offline
|
posted on 10/22/2004 at 05:34 PM |
I realized I didn't actually give any info. Just to clarify...
I'm running Postnuke 0.7.2.6-3
BSCIpermissions - version 1.1 2004/01/22
Autotheme .8
I load the AT files.
Initilize and Activate
Go through BSCI set AT to Admin access
non AT theme - created new block - BSCI settings are ignored.
I altered this file...
AutoTheme/includes/postnuke/atAPI.php
<? if (!$modinfo) {
$modinfo['name'] = "Core";
}
Which will be near the end of the
file.
Now replace this line:
echo pnBlockShow($modinfo['name'], $block['bkey'], $block);
With this:
// BEGIN BSCIpermissions verification
if(pnModAvailable('BSCIpermissions')){
if(pnModGetVar('BSCIpermissions','activatePermissions')
&& pnModGetVar('BSCIpermissions','activateBlocks')){
if (!pnModAPILoad('BSCIpermissions', 'user')) {
$result->MoveNext();
}
if(pnModAPIFunc('BSCIpermissions', 'user',
'canAccessBlock',array('bid'=>$block['bid']))){
echo pnBlockShow($modinfo['name'], $block['bkey'], $block);
}
}else{
echo pnBlockShow($modinfo['name'], $block['bkey'], $block);
}
}else{
echo pnBlockShow($modinfo['name'], $block['bkey'], $block);
}
// END BSCIpermissions verification?>
(instructions are from Boahx post noted above)
I log out ... then log in.. I see "Logging you in hang tight" ..... and it
never loads.
??? |
| |
Shawn
Administrator   Posts: 4575 Registered: 10/7/2002 Status: Online
|
posted on 10/23/2004 at 08:57 AM |
I haven't looked into BSCI permissions but will check it when I have some
time.
Thanks!
-Shawn |
| |
|
|
|
|