Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 81
7 members and 74 guests
bearmchdressesr, danansceclasqe6, gratoiduat5kmes, hypye4notherape, lnkmastes, ral4yqkeighqtx5, watcy5gerp
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
tattoo fonts
http://www.checkoutmyink.com/category/tattoo-fonts-tattoo

Go Back   Nukemods Forum > NM Staff > Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
Old
  (#11 (permalink))
Senior Member
 
Status: Offline
Posts: 619
Join Date: Oct 2002
Location: Alabama, USA
01-05-2003, 04:32 PM

Alternative to this is:

Random Pic block
Description: random pic block for nuke, this isnt for My_eGallery (or any other gallery), its just a simple random pic block where you put pics in a random directory under images folder.

I am using it on my site as a center block.
You can get it here.

http://www.mtechnik.net
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
gallery block working...sort of, still have a problem :[
Old
  (#12 (permalink))
Junior Member
 
Status: Offline
Posts: 77
Join Date: Oct 2002
Location: USA
gallery block working...sort of, still have a problem :[ - 01-23-2003, 11:01 PM

Well, the good news is I figured out the gallery random pic block...i reread over the thread and it made more sense...anywho I get this error now...if i see at my index and refresh it, sometimes it displays the picture correctly and sometimes I get this error...im guessing something to do with the rand() function is whats messing it up...anyone have any ideas?

Code:
Warning: rand() expects parameter 2 to be long, string given in /home/wolskidk/public_html/iF/modules/gallery/block-random.php on line 138
ERROR: requested index [] out of bounds [2]
Fatal error: Call to a member function on a non-object in /home/wolskidk/public_html/iF/modules/gallery/classes/Album.php on line 642
And for reference purposes line 138 ( in block-random.php ) reads:

Code:
$choose = rand(1, $count);
And line 642 ( album.php )

Code:
return $photo->isHidden();
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
html code for random pic block
Old
  (#13 (permalink))
Junior Member
 
Status: Offline
Posts: 7
Join Date: Feb 2003
html code for random pic block - 02-19-2003, 07:41 PM

I think my only problem with the block is the html code for it.

can anyone tell me the syntax to put in the text box? the block appears but there is no image.

tsm
(thanks so much)

clubcosmic
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Problems with random block
Old
  (#14 (permalink))
Junior Member
 
Status: Offline
Posts: 39
Join Date: Aug 2002
Location: USA
Problems with random block - 02-19-2003, 08:43 PM

I followed the directions in the readme but when i make the block i get this

http://www.ligs.us/pic.JPG

when i put the link thats in the block in the browser it shows a random picture

Any ideas what I could be doing wrong????
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: Problems with random block
Old
  (#15 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
Re: Problems with random block - 02-19-2003, 09:01 PM

Quote:
Originally Posted by samson
I followed the directions in the readme but when i make the block i get this

http://www.ligs.us/pic.JPG

when i put the link thats in the block in the browser it shows a random picture

Any ideas what I could be doing wrong????
Make sure that all you are putting in the text box for the new block is this

Code:
http://your.server/modules.php?op=modload&name=gallery&file=index&include=block-random.php
no quotes, no href tag..just that. I imagine you are already doing that... :?
Change you.server to your web address of course.

mikem
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
..
Old
  (#16 (permalink))
Junior Member
 
Status: Offline
Posts: 39
Join Date: Aug 2002
Location: USA
.. - 02-19-2003, 09:05 PM

this is exactly what i put in the content sextion


Code:
http://counterstrike.longisland.com/portal/modules.php?op=modload&name=gallery&file=index&include=block-random.php
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#17 (permalink))
Junior Member
 
Status: Offline
Posts: 20
Join Date: Nov 2002
02-19-2003, 09:53 PM

Has anyone tried this block for gallery?

http://www.phpnukedownloads.de/modul...=search&query=


This is how its described..

Description:


Found the Random Photo code on the Gallery website, but it didn't work exactly right for PHP-Nuke 6.0. I modified the code slightly to make it work. Readme file included.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
.
Old
  (#18 (permalink))
Junior Member
 
Status: Offline
Posts: 39
Join Date: Aug 2002
Location: USA
. - 02-19-2003, 10:08 PM

I just tried that one and i get this

http://www.ligs.us/pic2.JPG

   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
i fixed my block
Old
  (#19 (permalink))
Junior Member
 
Status: Offline
Posts: 7
Join Date: Feb 2003
i fixed my block - 02-21-2003, 11:35 AM

ok, i finally have it working. since my gallery folder in my modules is spelled with uppercase G, then in the content for the block i had to change the code to ----> modules.php?op=modload&name=Gallery&file=index&inc lude=block-random.php

using "Gallery" instead of "gallery"

hope this helps.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#20 (permalink))
Junior Member
 
Status: Offline
Posts: 4
Join Date: Feb 2003
Location: The Netherlands
02-24-2003, 05:41 AM

Well... I got the same problem :?

This is my code;

Code:
http://morra.info/html/modules.php?op=modload&name=gallery&file=index&include=block-random.php
The result is that i get the above text in the block and no image or whatsoever....

phpNuke is launched from http://morra.info/html/ , could that be the problem??? The gallery-dir is "gallery", all lower case.

What am I doing wrong?
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems in IE 7 Snotrocket Open topics 7 07-27-2007 05:00 PM
problems from 6.0 to 7.5 turpentyne Nuke 7.x - General 12 04-12-2005 07:31 PM
sql problems evilsmiley Nuke 7.x - Themes 1 03-25-2005 05:28 PM
Some problems Pain Purged Topics 3 04-27-2003 03:23 PM
Problems with index.php HELP ME! darkdan Purged Topics 7 01-01-2003 09:28 PM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31