Please HELP! Gonna end up offing myself! Redirect on one of the links Please HELP! Gonna end up offing myself! Redirect on one of the links
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Please HELP! Gonna end up offing myself! Redirect on one of the links

Started by DerekL, July 13, 2006, 08:34:37 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DerekL

so I'd like to use my own custom uploader an incorporate it with coppermine so when they click "Upload a file" it will go to my uploader URL instead of coppermines upload.php

how in the hell is this possible? i cant figure it out for the life of me! the links are hidden to change them

Abbas Ali

It is not that easy to use a custom uploader. You will have to incorporate cpg's code in your custom uploader.

Changing the link of 'Upload File' to your custom uploader would be the last thing. First make your custom uploader work by directly accessing its URL.
Chief Geek at Ranium Systems

DerekL

Quote from: Abbas Ali on July 13, 2006, 08:53:07 AM
It is not that easy to use a custom uploader. You will have to incorporate cpg's code in your custom uploader.

Changing the link of 'Upload File' to your custom uploader would be the last thing. First make your custom uploader work by directly accessing its URL.

I can't find where to change the link to Upload File. It's hidden somewhere. Instead of directing to upload.php I want it to direct to sitename.com/uploader

But for some reason it's hidden

Nibbler

Stop saying it's hidden just because you can't find it. Copy the relevent code from themes/sample/theme.php to your theme.php and modify your copy.

DerekL

I've searched every file possible. I can't find the <a href="upload.php" title="Upload a file into an album".>Upload file</a      line ANYWHERE. all I want to do is change upload.php to upload/publicupload

Joachim Müller

This discussion is leading nowhere - you're searching for the wrong thing. Post a link to your coppermine-driven page and zip your custom them and attach it to your posting using "additional options" when composing your message. We can then tell you what exactly to do.
However, this will be the easy part (as Abbas Ali already suggested) - the link to upload.php will then be changed. Making your custom uploader feed the proper data into coppermine's database is the tricky thing, don't expect help on this issue from us. Don't get me wrong, but I doubt that you'll be able to accomplish the difficult part if you already fail to solve the easy part on your own.