Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 61
3 members and 58 guests
bea9qgchcomberc, garere3denstc3t, int5nwernetmarx
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
» .:.

Go Back   Nukemods Forum > NM Staff > Purged Topics

Closed Thread
 
LinkBack Thread Tools Display Modes
configuring gallery...
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 77
Join Date: Oct 2002
Location: USA
configuring gallery... - 01-02-2003, 11:24 AM

ok i got gallery working ( yay! ) but I'm stumped on something.. I want to get my gallery to look like nukemods gallery...where as when you enter the gallery you see a bunch of pictures...on mine i uploaded 2 pics, but when I initially click on the 'gallery' link I only see one pic..in the top it says "1 album, 2 photos" ...i just want all the pics i have to be shown at once when you 1st click... any ideas?

-dan
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old
  (#2 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
01-02-2003, 12:37 PM

That is because our Links to our Gallery are actually linked to the Albums, not the Galleries main paeg. We didn't do anything special really.

mikem
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
how?
Old
  (#3 (permalink))
Junior Member
 
Status: Offline
Posts: 77
Join Date: Oct 2002
Location: USA
how? - 01-02-2003, 03:08 PM

wow, i hate being a newb...how exactly can i do that?..link it to the albums that is.

-dan
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old
  (#4 (permalink))
Junior Member
 
Status: Offline
Posts: 89
Join Date: Nov 2002
Location: USA
01-02-2003, 03:35 PM

Ohhh ohh one I can actually answer while Mike is sleeping on the job

They just did it by putting static html links in thier Menu Block.

Look at the links that are created when you click on phpbb2 styles or Nuke theme packs and there is your answers

If they had the link point to http://www.nukemods.com/modules.php?name=Gallery - then it would look as you are probably used to seeing gallery look at first glance.

Instead they linked directly to the albums using these two links:

http://www.nukemods.com/modules.php?...view_album.php for the albulm that contains styles

and

http://www.nukemods.com/modules.php?...view_album.php for the album that contains Theme Packs

The main part of the link that differentiates is obviously the set_albulmName= part. You see the first one that =styles and in the second one it is set to =packs

So basically just throw in a good old fashioned html link that points directly to your album. If you are unsure of what the link should be just visit your gallery and click on the albulm the proper address should be displayed for you up in the address bar, copy and paste that in some html tags like so:
Code:
name of Link
and you should be good to go!
 Send a message via ICQ to Cyberclark  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old
  (#5 (permalink))
Junior Member
 
Status: Offline
Posts: 31
Join Date: Dec 2002
01-02-2003, 03:37 PM

you click on the album you want to be shown when you first click on the link. copy the link and paste it into your Main Menu *if* you're using the user-made Main Menu like NukeMods. If you're just using the Modules Menu, then beats me. :?


Discombobulated Newb...
 Send a message via ICQ to BULLWiNkLE Send a message via AIM to BULLWiNkLE Send a message via MSN to BULLWiNkLE  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old
  (#6 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
01-02-2003, 03:42 PM

Am I supposed to be awake now?

and Who let Cyberclark in here? :?

mikem
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
doh....
Old
  (#7 (permalink))
Junior Member
 
Status: Offline
Posts: 77
Join Date: Oct 2002
Location: USA
doh.... - 01-02-2003, 04:02 PM

ahem, I don't mean to be SUPER NEWB, but where exactly do I change it? I understand what your saying, I just don't know which file I'm editing...

-dan
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old
  (#8 (permalink))
Junior Member
 
Status: Offline
Posts: 89
Join Date: Nov 2002
Location: USA
01-02-2003, 04:29 PM

Well basically the easiest way is to use an html block for your main menu rather than the standard modules block that comes with Nuke standard.

One such block can be found over at anor's corner and is a pretty standard one that alot of sites use. Of course you would have to go through and edit the links to fit your needs.

Or you can just make your own block by editing the block-sample_block.php that should be in the blocks folder.

It starts out looking like so:

Code:
<?php

/************************************************************************/
/* PHP-NUKE: Web Portal System                                          */
/* ===========================                                          */
/*                                                                      */
/* Copyright (c) 2002 by Francisco Burzi                                */
/* http://phpnuke.org                                                   */
/*                                                                      */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/************************************************************************/

if (eregi("block-Sample_Block.php",$PHP_SELF)) {
    Header("Location: index.php");
    die();
}

$content = "Add your content here";

?>
you can edit it to something like:

Code:
<?php

/************************************************************************/
/* PHP-NUKE: Web Portal System                                          */
/* ===========================                                          */
/*                                                                      */
/* Copyright (c) 2002 by Francisco Burzi                                */
/* http://phpnuke.org                                                   */
/*                                                                      */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/************************************************************************/

if (eregi("block-Sample_Block.php",$PHP_SELF)) {
    Header("Location: index.php");
    die();
}

//This will make a link for album 1
$content .= "<img src=images/blocks/bullet.gif><a href=\"modules.php?set_albumName=albulm1&op=modload&name=Gallery&file=index&include=view_album.php \">"._ALBUM1."</a>
\n";
//Don't forget to make an entry in your lang file for _ALBUM1 and make it read what you really want the link to say

//This will make a link to album 2
$content .= "<img src=images/blocks/bullet.gif><a href=\"modules.php?set_albumName=albulm2&op=modload&name=Gallery&file=index&include=view_album.php \">"._ALBUM2."</a>
\n";
//Don't forget to make an entry in your lang file for _ALBUM2 and make it read what you really want the link to say

?>
Save that as something like block-Gallery_Links.php then go into your blocks section in the admin and activate that block and volia you should have a little block with two lines in it that are links to album1 and album2. the will also have an image in front of them that I called bullet.gif, you could remove this image if you wanted to or find some cool looking bullet icon that fits your theme and throw that into your images/blocks directory and name it bullet.gif and voila you should have little icons in front of each link as well.


Hope that makes sense for ya if not I am sure mikem can make sense of my gibberish for ya
 Send a message via ICQ to Cyberclark  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old
  (#9 (permalink))
Member
 
Status: Offline
Posts: 359
Join Date: Nov 2002
Location: Michigan, USA
01-02-2003, 04:41 PM

why dont you just create a new block through the nuke admin and just add the html there, then activate
  Send a message via AIM to ReNeGaDe  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
bleh
Old
  (#10 (permalink))
Junior Member
 
Status: Offline
Posts: 77
Join Date: Oct 2002
Location: USA
bleh - 01-02-2003, 05:03 PM

dangit! im using the stock nuke menu :[ this seems mighty complicated...just to change a link!

-dan
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

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
7.5 gallery hondaforumscouk Nuke 7.x - General 2 04-14-2005 04:18 PM
Gallery help Evil Open topics 6 06-16-2003 06:23 PM
E-Gallery help plz Lupo Purged Topics 1 06-04-2003 01:03 AM
gallery elb0m Open topics 4 05-04-2003 11:34 PM
Gallery Mod TeHsU Purged Topics 5 12-01-2002 08:05 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