Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 64
5 members and 59 guests
banpzdhizdorees, cel8zzgebrityho, dryrserventclea, fenqpcinkx5bgpa, jayaab7deep9tfb
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
» .:.

Go Back   Nukemods Forum > NM Staff > Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
Old
  (#11 (permalink))
Moderator
 
Status: Offline
Posts: 737
Join Date: Nov 2002
03-07-2003, 08:54 AM

You are using block-random.php, try ftping that block to your blocks folder, then go into blocks in your admin cp

Make a title for it, leave the RSS blank, in the drop down menu below it select random and save the block.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#12 (permalink))
Senior Member
 
Status: Offline
Posts: 619
Join Date: Oct 2002
Location: Alabama, USA
03-07-2003, 08:59 AM

I believe it goes in the gallery folder, I could be wrong, I never could get it to work.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#13 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
03-07-2003, 02:44 PM

1.Place block-random.php in your Gallery directory.
this should be
modules/gallery/

In your theme.php file Just below this line
Code:
function themesidebox($title, $content) {
paste this
Code:
        if (@file_exists($content)) {
                $fp = fopen ($content, "r");
                $content = fread($fp, filesize($content));
                fclose ($fp);
                $content = "?>$content<?";
                $content = eval($content);
        } else if (eregi("^http", $content)) { 
                $fp = fopen ($content, "r"); 
                $content = fread($fp, 65535); 
                fclose ($fp); 
        }
Then in Nuke Admin/Blocks add the block and the http link like this


Notice there are NO quotes around the http link
Make sure you change the name=gallery if you changed the name of your gallery module. It IS case sensitive.

mikem
   
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
How to put icons in the main menu coldblooded FAQ/Fixes 1 07-19-2011 06:27 AM
How do u add the main menu... shaheer Site design 1 01-23-2005 03:51 AM
phpbb main menu mod Fabo114 Purged Topics 5 05-16-2003 09:09 PM
Main Menu configuration tonychaos nukemods.com 3 12-17-2002 12:06 PM
Modded the main menu and User Menu Konan Purged Topics 0 10-06-2002 12:20 AM




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