Close

Results 1 to 11 of 11
  1. #1
    DF Rookie StoneHalo's Avatar
    Join Date
    Jan 2004
    Location
    UK
    Posts
    4
    Thanks
    0
    Thanked:        0
    Karma Level
    0

    'Powered by' removal

    Hello all,

    Does anyone use Coppermine photo gallery? - http://coppermine.sourceforge.net/

    If so, have you any idea what file the 'Powered by Coppermine Photo Gallery' text is located in?

    I need to remove this and place it in my footer file but they have 'hidden' it somewhere!

    They won't help on their forums because they don't want anyone removing it (I just want to MOVE it) even though the GPL licence states it is fine to remove it if you wish.

    Thanks for any help

  2. #2
    DF VIP Member Crossman's Avatar
    Join Date
    Apr 2002
    Location
    (Up North) UK
    Posts
    375
    Thanks
    121
    Thanked:        10
    Karma Level
    294

    Default Re: 'Powered by' removal

    Get Textpad (www.textpad.com) or similar editor like ultraedit as they all are similar. Then select search -> find in files, type in the text you are looking for, select the directory on you local machine with the site in it. Hit the tit and it will find all instances of the text and edit away...

    Crossman.

  3. #3
    DF VIP Member wizard1974uk's Avatar
    Join Date
    Feb 2002
    Location
    Midlands
    Posts
    3,107
    Thanks
    0
    Thanked:        0
    Karma Level
    416

    Default Re: 'Powered by' removal

    Is this intergrated into vbulletin? If so does coppermine create its own templates? If so search one of their templates and you may find it.

  4. #4
    DF Rookie StoneHalo's Avatar
    Join Date
    Jan 2004
    Location
    UK
    Posts
    4
    Thanks
    0
    Thanked:        0
    Karma Level
    0

    Default Re: 'Powered by' removal

    Unfortunately, searching for the text doesn't work, they must have used some sort of code to produce the text in the browser.

    Other than the user database, there is no integration with vB.

  5. #5
    DF VIP Member nitelife's Avatar
    Join Date
    Nov 2002
    Location
    Reading, Berks
    Posts
    1,170
    Thanks
    115
    Thanked:        13
    Karma Level
    337

    Default Re: 'Powered by' removal

    Are you searching in just txt files? You need to search in more than that. Extend the file extensions when you do the search and you might have more luck.

  6. #6
    DF VIP Member hjf288's Avatar
    Join Date
    Aug 2003
    Location
    UK
    Posts
    853
    Thanks
    0
    Thanked:        18
    Karma Level
    289

    Default Re: 'Powered by' removal

    its quite simple - They often arent too obvious and use a string like $version try looking for that...

    Or look for powered by... $Version or something

  7. #7
    DF VIP Member hxbro's Avatar
    Join Date
    Nov 2000
    Location
    Behind a wall
    Posts
    2,731
    Thanks
    4
    Thanked:        18
    Karma Level
    477

    Default Re: 'Powered by' removal

    I've done a search must be doing something clever, I can't find it anywhere. I'd need to install it and see it running to work out exactly where its coming from.

    It might be grabbed from elsewhere...

  8. #8
    DF MaSter bananas33's Avatar
    Join Date
    Nov 2003
    Location
    e lancs
    Posts
    64
    Thanks
    0
    Thanked:        0
    Karma Level
    252

    Default Re: 'Powered by' removal

    (e.g.) index.php calls pagefooter() - comment that call out and it's gone, but...

    if you want to change it, the function is defined in the theme being used and does this: echo $template_footer; which is set in load_template() in functions.inc.php. that function decodes a base64 encoded serialized array which has inside it the message itself:

    Code:
    Array
    (
        [l] => {GALLERY}
        [s] => <div class="footer" align="center" style="padding-top: 10px;">Powered by <a href="http://coppermine.sf.net/" target="_blank">Coppermine Photo Gallery</a></div>
    )
    ok?
    Last edited by bananas33; 22nd January 2004 at 02:30 PM. Reason: untainted closing tags

  9. #9
    DF Rookie StoneHalo's Avatar
    Join Date
    Jan 2004
    Location
    UK
    Posts
    4
    Thanks
    0
    Thanked:        0
    Karma Level
    0

    Default Re: 'Powered by' removal

    Thanks bananas

    I was with you until the 'base64 encoded serialized array...' :coffee: How do I edit the text you pasted above? :nowords:

    Thanks

  10. #10
    DF MaSter bananas33's Avatar
    Join Date
    Nov 2003
    Location
    e lancs
    Posts
    64
    Thanks
    0
    Thanked:        0
    Karma Level
    252

    Default Re: 'Powered by' removal

    the easiest way to sort it is to insert something after this line:

    $tmpl_loc = unserialize(base64_decode(LOC));

    in functions.inc.php - it's line 352 in the copy I have here. comment out that line, and the one before it's a waste of time too:

    $tmpl_loc = array();

    and stick something like this in:

    $tmpl_loc = array("l" => "{GALLERY}", "s" => '<div class="footer" align="center" style="padding-top: 10px;">Powered by something else</div>');

  11. #11
    DF Rookie StoneHalo's Avatar
    Join Date
    Jan 2004
    Location
    UK
    Posts
    4
    Thanks
    0
    Thanked:        0
    Karma Level
    0

    Default Re: 'Powered by' removal

    You're a star!

    Thank you very much, that got it

Similar Threads

  1. Novell client removal
    By JWG22 in forum PC Problems
    Replies: 1
    Last Post: 6th March 2003, 09:33 AM
  2. anyone else getting this virus [merged] with removal tool
    By Gavin M in forum The Dog and Duck
    Replies: 8
    Last Post: 4th January 2003, 03:56 PM
  3. Thermal compound removal?
    By Thrush in forum PC Hardware
    Replies: 11
    Last Post: 20th October 2002, 05:47 PM

Social Networking Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •