News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Custom Tab

Started by Deprecated, September 17, 2008, 12:43:00 AM

Previous topic - Next topic

neteater

how to remove a tab

kojack

Quote from: gemigene on November 07, 2008, 02:42:30 PM
I inserted target="_blank" in the following line and it works, does this look right to you?

<a href="', !empty($modSettings['custom_tab_execute_url']) ? $modSettings['custom_tab_execute_url'] : $scripturl, '" target="_blank">',
               !empty($modSettings['custom_tab_label']) ? $modSettings['custom_tab_label'] : $txt['custom_tab_label_default'],'</a>

Thanks,
Gene

Just wanted to thank Deprecated for this mod, and Gene for posting on how to enable the tab to open in a new window.

I am a total noob to SMF and in a matter of hours (after messing things up for days) I was able to bring my forum on line and get this tab thing working the way I intented.

-Kojack

Whizzy

#102
will there be an update for 1.1.10, i wanted to instal but the index.php modification failed, was looking to do it manual but given string is not present in the current index.php, else please tell me where to put this new string
_______________________________________________________________________________________________

never mind, was looking in wrong file, found it..works ok on 1.1.10

Siirist

#103
Greetings,

This information should please many.
 

I installed a test forum using SMF ver 2.0 RC 1-2 in order to run a test for FlashChat Integration,
http://custom.simplemachines.org/mods/index.php?mod=611
(which is compatible with FlashChat ver4.7,
but is not compatible with FlashChat ver5.0).

As a result, I got FlashChat ver5.0 to work with SMF ver 2.0 RC 1-2, but I still needed a link to the chatroom.
So, I decided to try it on the test forum and it functions perfectly.

I am not promising that it will work for others as this was the ONLY MOD INSTALLED and that may be why it worked.

I have attached two screen shots for your convenience.

Please remember that this may not work for you depending on if it conflicts with another mod or your themes or other software you may have on a forum.

ALWAYS ALWAYS ALWAYS BACKUP ESPECIALLY BEFORE MAKING CHANGES.

Be Well and Good Luck,
Cloud Walker
Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

W7 riso

#104
Hi,
Is it possible to change the program that this last option could be changed?, think I want to link the button to my second Forum while I'm on my first Forum.

For example I'm on www.windows7newsinfo.com/smf (installed the button here!) and I want the button goes to www.windows8newsinfo.com/smf or even to some other address so not to my forum's main index URL (default).
Perhaps some extra option in Your great Mod?
I need some help on this because it would be great if the members and guests could switch easily Forum just by pushing the button
QuoteCustom tab execute URL: Enter your URL here. Defaults to your forum's main index URL.

riso
Admin.
W7Ni and W8Ni

mattconley2011

It wont let me install this mod :( i get this
An Error Has Occurred!
You cannot download or install new packages because the Packages directory or one of the files in it are not writable!

what do i do?

dreaded

#106
Hi,

   Have edited everything and the cutom button shows up in the default theme alright, but when i switch to the babylon theme, it only shows the 'custom' link and  no button.

I've edited the babylon index.template.php and also made a custom button and transferred it into the ./Themes/babylon/images/english/custom.gif, yet i only see the 'custom' link(empty sign) on the babylon theme.

What could be wrong?

PS: Am using the 1.1.10 babylon theme


Zidane5555

Hi there, I am trying to add a new tab to soccerfanbase.com !!

I have downloaded the package and that was successful. I can see the custom tab page under Features in the admin page. I have ticked off the allow guests and members to see tab and added URL but when I click save no tab shows up ?

FACT* Using version 1.1.8  of SMF and using the Blue Ace theme.

So can anyone tell me whats wrong or what I have missed out on!

Your help is greatly appreciated !

Zidane5555

Guys can someone please help me with the post above ^^^

THANKS A LOT IN ADVANCE.

Zidane5555

NVM, thanks to Stanimir's method it worked.

Cheers

dreaded

Quote from: Zidane5555 on September 12, 2009, 02:22:58 PM
Guys can someone please help me with the post above ^^^

THANKS A LOT IN ADVANCE.

Edit your theme's index.template.php  manually

Shark-Time

hello can any one explain that how to make it possible that if some one clicks on the tab.. it should be opened in a new window..not in the same window..


Providing Cheapest Offshore Hosting as low as 5$/year.
MoneyBookers | AlertPay
Pm Me

ɔɔɔɔɔɔuɥoɾ

Thanks for the mod, works great no errors on install either.

Would it be possible to ad more custom tabs in future updates?

Custom tab 1
Name:
Link:
Custom tab 2
Name:
Link:
Custom tab 3
Name:
Link:
Custom tab 4
Name:
Link:
of course, that would require more coding as to not display the tab at all if not been used.

Thanks in Advanced.


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

TheListener

Am looking at adding a tab for events rather than list them all in the affiliates area.

This would be viewable for guests and members.

Is this possible?


ɔɔɔɔɔɔuɥoɾ

The tab has permission settings.


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

TheListener

Not quite what I meant John but thanks anyways.

Have installed the mod on my test forum, however what i would like to know is how do i make it a seperate page?

ɔɔɔɔɔɔuɥoɾ

The custom tab just redirects to a given link it does not have a page on it, you can link it to a simple portal custom page though, if that helps


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

TheListener

Off exploring the portal I go  :D

FragaCampos

Hello there.
How can i make a button visible only to a certain usergroup created by me?
As i understand the permissions only apply to admins, guests and members, correct?

Advertisement: