| Author |
Message |
sjmiller85
Nuke Soldier


Joined: May 15, 2007
Posts: 16
|
Posted:
Mon May 21, 2007 12:28 am |
  |
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. |
|
|
   |
 |
astalavistabd
Captain


Joined: Dec 19, 2004
Posts: 663
Location: Canada
|
Posted:
Mon May 21, 2007 11:13 pm |
  |
|
        |
 |
sjmiller85
Nuke Soldier


Joined: May 15, 2007
Posts: 16
|
Posted:
Tue May 22, 2007 11:35 pm |
  |
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! |
|
|
   |
 |
Boagrius
Nuke Cadet


Joined: May 23, 2007
Posts: 1
|
Posted:
Wed May 23, 2007 3:09 am |
  |
|
   |
 |
astalavistabd
Captain


Joined: Dec 19, 2004
Posts: 663
Location: Canada
|
Posted:
Sat May 26, 2007 9:52 am |
  |
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&meta=topn'.META_LNK.'">'.TOPN_LNK.'</a> ::
<a href="'.$CPG_URL.'&file=thumbnails&meta=lastup'.META_LNK.'">'.LASTUP_LNK.'</a> ::
<a href="'.$CPG_URL.'&file=thumbnails&meta=toprated'.META_LNK.'">'.TOPRATED_LNK.'</a> ::
<a href="'.$CPG_URL.'&file=thumbnails&meta=lastcom'.META_LNK.'">'.LASTCOM_LNK.'</a> ::
<a href="'.$CPG_URL.'&file=thumbnails&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;
|
=======================
 |
_________________ Free PHPNuke Themes, PHPNuke Modules, PHPNuke Blocks (No Registration Required) |
|
        |
 |
sjmiller85
Nuke Soldier


Joined: May 15, 2007
Posts: 16
|
Posted:
Sat May 26, 2007 2:03 pm |
  |
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? |
|
|
   |
 |
jammyme
Nuke Soldier


Joined: Jan 29, 2007
Posts: 22
Location: South Yorkshire, UK
|
Posted:
Wed Jul 18, 2007 10:40 am |
  |
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. |
|
|
    |
 |
|
|