Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4260
Latest: Verrick
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 43323
Total Topics: 7527
Most Online Today: 276
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 263
Total: 263

Author Topic: Help on new installation  (Read 7815 times)

0 Members and 1 Guest are viewing this topic.

Offline kerbe

  • Member
  • *
  • Posts: 8
    • View Profile
Help on new installation
« on: May 10, 2008, 11:27:27 am »
I just bought pro and installed it, I had lite before
The pro installed with no errors but now I have two buttons for the gallery, they both go to the same area
I tried uninstalling lite but it gave me errors and I do not want to lose all the images in the gallery, any ideas???

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16464
    • View Profile
Re: Help on new installation
« Reply #1 on: May 10, 2008, 01:39:54 pm »
You need to edit themes/default/index.template.php and remove the second gallery button.

You maybe also missing some permissions since you did not uninstall the lite edition before pro.
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 kerbe

  • Member
  • *
  • Posts: 8
    • View Profile
Re: Help on new installation
« Reply #2 on: May 10, 2008, 02:45:03 pm »
hey kind of new to this, I went to the code but didnt see the code, isnt that dynamic?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16464
    • View Profile
Re: Help on new installation
« Reply #3 on: May 10, 2008, 03:10:47 pm »
Search for inside index.template.php

Find
Code: [Select]
// 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>' : '';

And just remove one since there should be two in your case.
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 kerbe

  • Member
  • *
  • Posts: 8
    • View Profile
Re: Help on new installation
« Reply #4 on: May 10, 2008, 03:25:21 pm »
Thanks for your help but there is no such code in there why would that be

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16464
    • View Profile
Re: Help on new installation
« Reply #5 on: May 10, 2008, 03:27:07 pm »
Attach your Themes/default/index.template.php file and I will take a look.
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 kerbe

  • Member
  • *
  • Posts: 8
    • View Profile
Re: Help on new installation
« Reply #6 on: May 10, 2008, 03:50:47 pm »
attached

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16464
    • View Profile
Re: Help on new installation
« Reply #7 on: May 10, 2008, 04:08:34 pm »
I do not see any gallery buttons in that file attached is that the one from the default theme folder?
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 kerbe

  • Member
  • *
  • Posts: 8
    • View Profile
Re: Help on new installation
« Reply #8 on: May 10, 2008, 04:09:48 pm »
yep, and I checked the other two I have installed but not using, weird right

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16464
    • View Profile
Re: Help on new installation
« Reply #9 on: May 10, 2008, 04:13:56 pm »
Are you copying it from the right forum from your ftp?
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 kerbe

  • Member
  • *
  • Posts: 8
    • View Profile
Re: Help on new installation
« Reply #10 on: May 10, 2008, 04:22:25 pm »
what an ass, I forgot my programmer made two directories for testing, THANK YOU
hey you need a job?? I could use some good programmers

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16464
    • View Profile
Re: Help on new installation
« Reply #11 on: May 10, 2008, 04:30:56 pm »
Nah I am good I got lots of projects to work on.
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/

 

Related Topics

  Subject / Started by Replies Last post
9 Replies
5327 Views
Last post February 28, 2013, 03:12:47 pm
by SMFHacks
3 Replies
3060 Views
Last post August 17, 2013, 08:28:54 am
by SMFHacks
10 Replies
6744 Views
Last post August 19, 2015, 11:27:35 pm
by nightware
8 Replies
5673 Views
Last post July 09, 2017, 04:00:34 am
by donk
3 Replies
3689 Views
Last post March 23, 2018, 05:09:58 pm
by SMFHacks

+- Recent Topics

Failed to open stream: File name too long by Randem
June 21, 2024, 10:40:41 am

Attachment images Upsidedown or Sideways by SMFHacks
June 18, 2024, 10:53:24 am

JSON decode error: The maximum stack depth has been exceeded by SMFHacks
June 14, 2024, 10:15:16 pm

“Insert from Gallery” by donk
June 10, 2024, 01:26:57 pm

Pretty Urls extras by SMFHacks
May 13, 2024, 10:28:54 am

Mod question by Verrick
May 11, 2024, 02:42:50 pm

i have paid but cant download ad pro. by SMFHacks
May 02, 2024, 11:29:38 pm

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Powered by EzPortal