TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 500
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 123
  • Total: 123

Gallery Problems

Started by Mitchâ„¢, May 08, 2006, 04:21:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mitchâ„¢

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 . '">&nbsp;</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 . '">&nbsp;</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.

G6Cad

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

Mitchâ„¢

Yeah that did nothing.

I dont have the gallery in my forums root. Is that the problem?

Mitchâ„¢

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>

gerrymo

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?

Mitchâ„¢

Gerrymo I got it to work now. And yes it is bridged.

gerrymo

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.


Mitchâ„¢

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.

This website is proudly hosted on Crocweb Cloud Website Hosting.