I am using RC2 and CPG 1.4.5 I believe
I have the button installed right but what I need to do is have it so when you click on it is go here: http://www.games-n-things.net/gallery/
I have this right now and the button shows up fine. Its the link I need work on.
// Show the [gallery] button.
echo ($current_action == 'gallery' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td class="maintab_' , $current_action == 'gallery' ? 'active_back' : 'back' , '">
<a href="', $scripturl, 'http://www.games-n-things.net/gallery">' , $txt[120] , '</a>
</td>' , $current_action == 'gallery' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
I did what this guy did: http://www.tinyportal.net/smf/index.php?topic=4270.msg35115#msg35115
Used $txt[120] in my index.english.php file.
Change this line
<a href="', $scripturl, 'http://www.games-n-things.net/gallery">' , $txt[120] , '</a>
To
<a href="', $scripturl, '?action=coppermine">Gallery</a>
And rename your gallery folder to coppermine
Yeah that did nothing.
I dont have the gallery in my forums root. Is that the problem?
I would think the way I had it would work I just have to figure out what the link should be.
I fixed it its:
<a href="http://www.games-n-things.net/gallery/">Gallery</a>
Quote from: [Mitch] on May 08, 2006, 04:32:24 PM
Yeah that did nothing.
I dont have the gallery in my forums root. Is that the problem?
Shouldnt be a problem as long as you have the paths set properly.
On another note, Is your gallery integrated to your TP Database Mitch?
Gerrymo I got it to work now. And yes it is bridged.
Have you had a look at this?
http://www.simplemachines.org/community/index.php?topic=19518.0;all
It fully wraps coppermine into SMF (but also works for TP). I've used it, and it works. Just follow the steps in the thread. Easy. The only thing I did was a small alteration to the coppermine template to make it look a bit better.
Ive looked at it but I think my problem was that there wasnt a coppermine theme that looked like the them I am using on my site.