You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 60 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Coppermine Photo Album [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
sjmiller85
Nuke Soldier
Nuke Soldier


Joined: May 15, 2007
Posts: 16


PostPosted: Mon May 21, 2007 12:28 am Reply with quoteBack to top

I have used Coppermine as my primary photo album for all of my websites, but a recent request has come up that I need some assistance with. I would like to use Coppermine photo album, but eliminate the extra features on the main page. More specifically, I would like to eliminate the sections of "Last Edition" "Most Viewed" and "Random Pictures" as well as the annoying advertisement section from the main page. Does anyone have a script that eliminates all 4 of those sections. All I would like on the front page is the specific photo galleries. If anyone would be willing to share a modified script to eliminate those 4 sections, I'd GREATLY appreciate it! Thankyou.
Find all posts by sjmiller85View user's profileSend private message
astalavistabd
Captain
Captain


Joined: Dec 19, 2004
Posts: 663

Location: Canada

PostPosted: Mon May 21, 2007 11:13 pm Reply with quoteBack to top

You mean those few navigation buttons at the very top and the ads at the bottom. Sure i can give it a try. Which version are you using?

=======================

Image
Image

_________________
Free PHPNuke Themes, PHPNuke Modules, PHPNuke Blocks (No Registration Required)
Find all posts by astalavistabdView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
sjmiller85
Nuke Soldier
Nuke Soldier


Joined: May 15, 2007
Posts: 16


PostPosted: Tue May 22, 2007 11:35 pm Reply with quoteBack to top

Thankyou very much for the offer Asta

I am using Coppermine for Php-Nuke v1.3.1c

To be more specific on what I was hoping for:

Rid completely of the following:

  • Random Pictures display
  • Most Viewed Display
  • "I need more Space!" link at the top
  • The 3rd party advertisement display below the Random Pictures display
  • Any other 3rd party advertisement links that are incorporated that I did not catch (I believe that the advertisement section as well as the request for more space are the only 2, but I am not certain).


Thank you VERY much for offering to take a look at this Asta. I appreciate it!
Find all posts by sjmiller85View user's profileSend private message
Boagrius
Nuke Cadet
Nuke Cadet


Joined: May 23, 2007
Posts: 1


PostPosted: Wed May 23, 2007 3:09 am Reply with quoteBack to top

thx
Find all posts by BoagriusView user's profileSend private message
astalavistabd
Captain
Captain


Joined: Dec 19, 2004
Posts: 663

Location: Canada

PostPosted: Sat May 26, 2007 9:52 am Reply with quoteBack to top

sorry, i got side tracked with other stuff. If you want to delete those navigation buttons from coppermine image gallery just remove them from coppermine themes (look for main_menu.inc inside the theme you are using).

Remove These lines:

Code:

<a href="'.$CPG_URL.'&file=thumbnails&amp;meta=topn'.META_LNK.'">'.TOPN_LNK.'</a> ::
                        <a href="'.$CPG_URL.'&file=thumbnails&amp;meta=lastup'.META_LNK.'">'.LASTUP_LNK.'</a> ::
                        <a href="'.$CPG_URL.'&file=thumbnails&amp;meta=toprated'.META_LNK.'">'.TOPRATED_LNK.'</a> ::
                        <a href="'.$CPG_URL.'&file=thumbnails&amp;meta=lastcom'.META_LNK.'">'.LASTCOM_LNK.'</a> ::
                       
                       
                        <a href="'.$CPG_URL.'&file=thumbnails&amp;meta=favpics">'.FAV_LNK.'</a><br>
                     :: <a href="'.$CPG_URL.'&file=search">'.SEARCH_LNK.'</a> ::
                        <a href="'.$CPG_URL.'&file=help" title="'.HELP_TITLE.'" class="helplink">Help</a>
                       
                        :: <a href="modules.php?name=coppermine&file=paypal">I need more Space!</a> :: <br>


2nd, The ad is showing through anycontent.php, now if you remove the inclusion line of the file from index.php, i think it will work.

Remove:
Code:

     case 'anycontent':
                    include("$CPG_M_DIR/anycontent.php");
                break;



=======================

Image
Image

_________________
Free PHPNuke Themes, PHPNuke Modules, PHPNuke Blocks (No Registration Required)
Find all posts by astalavistabdView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
sjmiller85
Nuke Soldier
Nuke Soldier


Joined: May 15, 2007
Posts: 16


PostPosted: Sat May 26, 2007 2:03 pm Reply with quoteBack to top

Awesome!! Thanks a million asta!! One last thing, I would like the excess "Last Additions" "Most Viewed" and "Random pictures" slides below the albums, removed. What would the code be that I would need to remove for those?
Find all posts by sjmiller85View user's profileSend private message
jammyme
Nuke Soldier
Nuke Soldier


Joined: Jan 29, 2007
Posts: 22

Location: South Yorkshire, UK

PostPosted: Wed Jul 18, 2007 10:40 am Reply with quoteBack to top

Glad you've sorted it, but theres a much simpler way to be rid of much of this - in your Coppermine Config panel simple change the setting for "The content of the main page", from here you can remove all but the links I believe - I don't remember editing any code to remove the 3rd Party Ads.
Find all posts by jammymeView user's profileSend private messageVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.201 Seconds - 356 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::