 WS Newbie ~PHP Nuke User~Posts: 6
Next Group: 44 posts
nomar05 wrote:
admin wrote: |
I may have a solution. The block as it is right now will only show images if they are not protected. If you set the category view or others to anything other than for all to see then the block will not display them.
Open the block file and look for the following. There are two occurences of them.
Code: |
AND b.auth_viewcat=0
AND b.auth_viewimage=0 |
Delete and try the block again. |
When I comment out those four lines the block says, "There is no content for this block".
Posted: Sat Jul 15, 2006 10:38 am
 New Member ~PHP Nuke User~Posts: 4
Next Group: 1 posts
unquietvoid wrote:will the 4 images random image block allow me to link to an already exisiting gallery, installed separately from phpnuke?
Posted: Sun Jul 16, 2006 9:50 am
 Dedicated Users ~PHP Nuke User~Posts: 158
Next Group: 342 posts
leo51 wrote:Hi, I just now downloaded the 4images block for the first time; never really took notice of it when I downloaded the the Help awhile back.
Installed the block, set these two lines:
Code: |
define('SCRIPT_URL', 'modules/Loose_Gallery/');
$content .= "<center><a href=\"modules.php?name=Loose_Gallery&file=details&image_id=$ |
upload the block and it works perfectly.
For kicks, I am runing Ravenuke76 but I do not think that this has anything to do with the smooth running.
Posted: Sun Jul 16, 2006 10:20 am
 WS Newbie ~PHP Nuke User~Posts: 6
Next Group: 44 posts
nomar05 wrote:The block works great if your gallery catergories are set so all visitors can view them. Just doesn't have content if the permissions are set so only registered users can view the images.
Posted: Sun Jul 16, 2006 2:53 pm
 Dedicated Users ~PHP Nuke User~Posts: 158
Next Group: 342 posts
leo51 wrote:
nomar05 wrote: |
| The block works great if your gallery catergories are set so all visitors can view them. Just doesn't have content if the permissions are set so only registered users can view the images. |
Not sure that is all correct since I have categories set to private, subscribtion, registered users and All and the block is still showing. However, I will have to experiment to see.
Posted: Sun Jul 16, 2006 3:18 pm
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
 |