Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: angiexx1 on January 17, 2011, 09:29:35 AM

Title: Tab removal
Post by: angiexx1 on January 17, 2011, 09:29:35 AM
I have uninstalled coppermine from my website and replaced it with Aeva media

But on the theme I have I put a tab at the top saying gallery and cant remember where to go to remove it

my site is here

http://www.tutz2tagz.com/smf/index.php?action=media

If anyone can point me in the right direction please

Thanks

Angie
Title: Re: Tab removal
Post by: Illori on January 17, 2011, 09:31:45 AM
Sources/subs.php
Title: Re: Tab removal
Post by: angiexx1 on January 17, 2011, 09:47:38 AM
Thanks
Am in there now but where in there am I looking
Title: Re: Tab removal
Post by: RustyBarnacle on January 17, 2011, 09:52:44 AM
Search for $buttons and you will see the array that makes each button.  You should be able to figure out which was for coppermine form there.
Title: Re: Tab removal
Post by: sAce on January 17, 2011, 10:02:25 AM
or search for "http://www.tutz2tagz.com/coppermine"
Title: Re: Tab removal
Post by: angiexx1 on January 17, 2011, 10:02:45 AM
Thanks have just had a thought

If remember correctly it was done on the theme which is outline so think it is in there that the change was made someone on the forum here helped me with it
Title: Re: Tab removal
Post by: angiexx1 on January 17, 2011, 10:07:17 AM
ok have found my old posts and it was subs.php

here is how it was all done

http://www.simplemachines.org/community/index.php?topic=381221.msg2630088#msg2630088

coppermine is now longer installed on the site, but the gallery navigation tab at the top is which am trying to figure how to remove
will go look again at subs.php

Thanks you
Title: Re: Tab removal
Post by: angiexx1 on January 17, 2011, 10:12:35 AM
If I go to my cpanel and then file manager then smf/sources/subs.php am I in the right place as cannot find anything in there relating to it
Title: Re: Tab removal
Post by: Bigguy on January 17, 2011, 10:15:30 AM
Yes you are in the right place to find Subs.php.
Title: Re: Tab removal
Post by: sAce on January 17, 2011, 10:16:02 AM
Quote from: S-Ace on January 17, 2011, 10:02:25 AM
or search for "http://www.tutz2tagz.com/coppermine"
Title: Re: Tab removal
Post by: angiexx1 on January 17, 2011, 10:47:06 AM
ok thought had found it removed it and nothing changed hmmmmmm I no its something I am missing so will keep looking to see what am not doing
Title: Re: Tab removal
Post by: angiexx1 on January 17, 2011, 10:48:44 AM
I cant search for coppermine it wasnt bridged and have removed coppermine from my site so that url doesnt work
Title: Re: Tab removal
Post by: angiexx1 on January 17, 2011, 10:49:37 AM
ahhhh do you mean in the subs php file

I did and thought had deleted it but it hasnt made any difference to my site navigation tabs
Title: Re: Tab removal
Post by: Bigguy on January 17, 2011, 10:50:44 AM
He means search for that url in the Subs.php file. Then remove the code to get rid of the tab. :)

EDIT: Did you clear your forum cache. ???
Title: Re: Tab removal
Post by: angiexx1 on January 17, 2011, 04:41:45 PM
no i didnt clear the cache but will do shortly thanks
Title: Re: Tab removal
Post by: angiexx1 on January 17, 2011, 05:13:25 PM
ok dont know what has gone wrong with this but now both portamx and smf on my site are down

all I am getting is the following sentence on a plain white screen

Parse error: syntax error, unexpected ',' in /home/tutztagz/public_html/smf/Sources/Subs.php on line 3944
Title: Re: Tab removal
Post by: kat on January 17, 2011, 05:14:31 PM
Can I suggest that you attach that file to your next post, so that someone can take a look at it? ;)
Title: Re: Tab removal
Post by: angiexx1 on January 17, 2011, 05:18:59 PM
ok have got portamx and the forum back up but still need to get rid of the gallery navigation tab lol

and after the last attempt hmmmmmmmmmmm not sure what i removed that was wrong as php is way beyond me at this minuite
Title: Re: Tab removal
Post by: Illori on January 17, 2011, 05:19:53 PM
attach your subs.php file and someone can edit it for you, tell us exactly where you want the new button to go to.
Title: Re: Tab removal
Post by: angiexx1 on January 17, 2011, 05:56:01 PM
Kat thanks we must of posted at the same time nearly
Illori will attach it shortly. Thank you
Title: Re: Tab removal
Post by: angiexx1 on January 17, 2011, 06:01:27 PM
ok there are two attachments

one explains what am trying to remove and the other is the subs.php file

Thank you

Angie
Title: Re: Tab removal
Post by: Bigguy on January 17, 2011, 06:43:12 PM
Try this it should work
Title: Re: Tab removal
Post by: angiexx1 on January 18, 2011, 03:19:03 AM
Bigguy thank you so much that has done the job for me :)


Angie
Title: Re: Tab removal
Post by: angiexx1 on January 18, 2011, 04:30:45 AM
I will mark this solved
Title: Re: Tab removal
Post by: kat on January 18, 2011, 05:39:03 AM
Nice one, BG!
Title: Re: Tab removal
Post by: Bigguy on January 18, 2011, 11:53:49 AM
Not a problem at all. I'm glad to help out. :)