Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4261
Latest: live627
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43353
Total Topics: 7534
Most Online Today: 146
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 142
Total: 142

Author Topic: Gallery Button  (Read 5063 times)

0 Members and 1 Guest are viewing this topic.

Offline neary

  • Member
  • *
  • Posts: 2
    • View Profile
Gallery Button
« on: November 24, 2007, 11:22:11 am »
I just installed the SMF Gallery Lite, it said the installation was sucessful, pop up menu for me to add catagory and everything, but no button on my forum, why? I checked my Index.template.php, everything is there, but no button, why? What do I need to do to make the gallery button show. I am using the defaul theme.

This is what it show in my Index.template.php

   // the [SMF Gallery] button   if ($context['allow_smfgallery_view'])      echo ($current_action == 'gallery' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '            <td valign="top" class="maintab_' , $current_action == 'gallery' ? 'active_back' : 'back' , '">               <a href="', $scripturl, '?action=gallery">' , $txt['smfgallery_menu']  , '</a>            </td>' , $current_action == 'gallery' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

Can anyone tell me please? I would greatly appreciate.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16481
    • View Profile
Re: Gallery Button
« Reply #1 on: November 24, 2007, 09:04:32 pm »
That looks good if you are using the default theme attach your index.template.php and we can take a look.

Also make sure that the permissions are set correctly.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline neary

  • Member
  • *
  • Posts: 2
    • View Profile
Re: Gallery Button
« Reply #2 on: November 25, 2007, 03:42:13 am »
it works now, thanks. ;D

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
5432 Views
Last post June 28, 2008, 10:51:56 pm
by rgsknr
1 Replies
4642 Views
Last post August 07, 2008, 07:39:07 pm
by SMFHacks
4 Replies
4497 Views
Last post December 09, 2010, 08:57:56 am
by SMFHacks
1 Replies
5424 Views
Last post May 25, 2014, 11:59:35 pm
by SMFHacks
3 Replies
3279 Views
Last post November 02, 2014, 09:59:18 pm
by shuban

+- Recent Topics

Recent Items On Main Index by SMFHacks
July 22, 2024, 07:53:34 pm

SMF Gallery Pro 10.0 - Released! by SMFHacks
July 21, 2024, 11:18:35 am

Opportunity to use more hooks by SMFHacks
July 21, 2024, 11:08:45 am

Installation error: code not found by SMFHacks
July 20, 2024, 10:30:33 am

Installation warning: file not found by SMFHacks
July 20, 2024, 10:30:19 am

Setting a photo as invisible by SMFHacks
July 16, 2024, 11:05:06 pm

2.1.4 - Using drag and drop. by SMFHacks
July 16, 2024, 10:35:13 pm

Rate own images by SMFHacks
July 16, 2024, 10:25:55 pm

Site upgrade to 2.1 by SMFHacks
July 12, 2024, 07:47:03 am

Issues with Pretty URLs 4.1 by Randem
June 27, 2024, 07:32:22 pm

Powered by EzPortal