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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 790
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 503
  • Total: 503

Lost access to my Gallery (CPG) after adding buttons to link to it.

Started by Maddog452, September 23, 2007, 06:24:42 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Maddog452

I followed the instructions in the How To section (http://www.tinyportal.net/index.php?topic=9919) to add a button to link to my Gallery which is bridged to SMF/TP.  Unfortunately now when I click on it, it reopens the log in screen and when I log in (althought I shouldn't have to) if bumps me into the home screen of TP (on my website).

What have I done wrong

My code changes are:


if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm', 'forum', 'tpadmin', 'gallery', 'nestore')))
      $current_action = $context['current_action'];


and i added:

   // Show the [gallery] button.
   echo ($current_action == 'gallery' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'help' ? 'active_back' : 'back' , '">
               <a href="http://www.theblackhand.asn.au/gallery">gallery</a>
            </td>' , $current_action == 'gallery' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';
   // Show the [NE Store] button.
   echo ($current_action == 'nestore' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'help' ? 'active_back' : 'back' , '">
               <a href="http://www.shop.theblackhand.asn.au">NE Store</a>
            </td>' , $current_action == 'nestore' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';



theblackhand.asn.au/forum
Log In - Helper
Password - 123456

What have I done wrong??
Dog

IchBin

I have no problems accessing your gallery and site under the account you just provided.

Maddog452


G6Cad

You need to clear your cache and tempinternet files afteryou have logged off your forum.
Then afyer you done that, you logg into your forum again and browse to your gallery through the button, that should bring the bridge to work as it should.

This website is proudly hosted on Crocweb Cloud Website Hosting.