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 . '"> </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 . '"> </td>' : '';
// Show the [NE Store] button.
echo ($current_action == 'nestore' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : '';
theblackhand.asn.au/forum
Log In - Helper
Password - 123456
What have I done wrong??
Dog
I have no problems accessing your gallery and site under the account you just provided.
would being logged in as admin screw things up?
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.