6 Custom buttons / tabs and menu's (upto 4)

Started by ɔɔɔɔɔɔuɥoɾ, July 26, 2010, 03:35:28 PM

Previous topic - Next topic

Ozzie

to see the buttons with that mod you have got to set permissions for each membergroup in admin




Btw if you had only read the previous posts in this thread you would have found your solution

2000+ games available to download

MrMike

You'll need to set the permissions under members within the admin area.

Quote from: nemzeti on November 09, 2011, 10:58:04 AM
hi
I installed a custom button, it works, but only the admin can see the costumized button, a normal user can't see it, and I don't know why? can u help me please?
(I use SMF 2.0)

trekkie2444

Any help with this error?

http://e-p1.net/index.php?pretty;board=welcome-to-the-forum!.0
8: Undefined index: newbutton
File: /home/onerinconhill/public_html/Themes/default/MessageIndex.template.php
Line: 76

Inti31

I've one question.... - maybe this is asked/answered but I did not fight through all pages...
Would be nice to get a solution for that...

Is it possible to open a set link (for button 5 for example) in a new window? - I've implemented a shoutbox which should open in a new window.

cheers Inti31

my forum
my testforum


my mods - which I only made them work for 2.0 Gold:
Topics Filter v3.2 SMF 2.0 Gold
MemberNumber

sharks

It works but can you please update this mod to include the position of the new button? Currently, when adding a new button using your modification, the button always appears to the right of the "Help" button, in the top forum menu. I would like to add new buttons after the "Members" button. How to do that? Please add this crucial option - it would also be a great opportunity to make fix it for 2.0.2 as your mod currently states full compatibility only with 2.0RC3.

Thanks in advance and Merry Christmas! :D

Realinfo

can't we have 7 or 8 buttons............. as I used all six.......... now I need 1-2 more............

Matthew K.

Menu Editor Lite will be out soon which will allow you an unlimited quantity.

Sapozhnik

Hi.
My site is multilingual but all names of button is identical for all.
How can I change the mode to show the different names for the users?

BR

Matthew K.

Quote from: Sapozhnik on March 19, 2012, 04:55:44 PM
Hi.
My site is multilingual but all names of button is identical for all.
How can I change the mode to show the different names for the users?

BR

Not easy to accomplish, and definitely not possible with this modification.

Ron Austin

#329
I love the idea of this mod and have installed your ver .5 on my SMF ver 2.02.

I added a main button and it works great, but then I tried to add a button with a menu.

I left the main URL blank and added 2 menu items with links.

When I hover or click on the menu button nothing happens.

Am I doing this wrong?

AHMER

IF U ARE LOOKING FOR A WEBMASTER THEN EMAIL ME @ ahmerfish [at] hotmail [dot]com

TheListener


Inti31

This mod works fine - I updated it for myself - now I've 8 custom buttons with up to 8 submenus (just for 3 of it)...

one question

Is it possible to re-arrange the admin section?
in original it looks like the 1st shot and I would like to have it like the 2nd shot..
i only want the url next to the title/name of button instead of seeing the url input line below

possible?

cheers Inti31
my forum
my testforum


my mods - which I only made them work for 2.0 Gold:
Topics Filter v3.2 SMF 2.0 Gold
MemberNumber

trekkie2444

How can I add more sub buttons past the first 4? Adding buttons separately using the tutorial wasn't working for me, so I have to go through this mod.

Realinfo

Quote from: Inti31 on May 10, 2012, 02:50:52 AM
This mod works fine - I updated it for myself - now I've 8 custom buttons with up to 8 submenus (just for 3 of it)...

one question

Is it possible to re-arrange the admin section?
in original it looks like the 1st shot and I would like to have it like the 2nd shot..
i only want the url next to the title/name of button instead of seeing the url input line below

possible?

cheers Inti31

Guide us........... How u upgrade it........

Squash

Quote from: Ron Austin on April 02, 2012, 01:19:30 PM
I love the idea of this mod and have installed your ver .5 on my SMF ver 2.02.

I added a main button and it works great, but then I tried to add a button with a menu.

I left the main URL blank and added 2 menu items with links.

When I hover or click on the menu button nothing happens.

Am I doing this wrong?

I have the same issue but after reading this entire thread realize I use a core based theme....the author of this mod has stated a few times in the 12+ pages of posts it will not work as is with a core based theme. I also saw he said he uses or used a core based theme and has done his own edits to make it work I believe.

If you are using a core based theme, then it is probably the issue you are suffering from....... it won't work besides adding the initial buttons..no hovering.

Inti31

Quote from: Realinfo on June 03, 2012, 03:53:37 AM

Guide us........... How u upgrade it........
this is not really a big deal... - just a lot of extra lines...

have a look to the 6custombuttons05.xml
in original you find this:

<file name="$sourcedir/ManagePermissions.php">
<operation>
<search position="before"><![CDATA[
'profile_remote_avatar' => array(false, 'profile', 'use_avatar'),
]]></search>
<add><![CDATA[
            'custombuttons_showbutton1' => array(false, 'custombuttons_showbuttons', 'custombuttons_showbuttons'),
            'custombuttons_showbutton2' => array(false, 'custombuttons_showbuttons', 'custombuttons_showbuttons'),
            'custombuttons_showbutton3' => array(false, 'custombuttons_showbuttons', 'custombuttons_showbuttons'),
            'custombuttons_showbutton4' => array(false, 'custombuttons_showbuttons', 'custombuttons_showbuttons'),
            'custombuttons_showbutton5' => array(false, 'custombuttons_showbuttons', 'custombuttons_showbuttons'),
            'custombuttons_showbutton6' => array(false, 'custombuttons_showbuttons', 'custombuttons_showbuttons'),
]]></add>
</operation>
</file>

just extend it:

            'custombuttons_showbutton7' => array(false, 'custombuttons_showbuttons', 'custombuttons_showbuttons'),
            'custombuttons_showbutton8' => array(false, 'custombuttons_showbuttons', 'custombuttons_showbuttons'),
]]></add>
</operation>
</file>


so you have to do for each file is named in that xml...
It is simple copy and paste and then just modify the button numbers...

cheers Inti31
my forum
my testforum


my mods - which I only made them work for 2.0 Gold:
Topics Filter v3.2 SMF 2.0 Gold
MemberNumber

Realinfo

Quote from: Inti31 on June 03, 2012, 07:00:27 AM
Quote from: Realinfo on June 03, 2012, 03:53:37 AM

Guide us........... How u upgrade it........
this is not really a big deal... - just a lot of extra lines...

have a look to the 6custombuttons05.xml
in original you find this:

<file name="$sourcedir/ManagePermissions.php">
<operation>
<search position="before"><![CDATA[
'profile_remote_avatar' => array(false, 'profile', 'use_avatar'),
]]></search>
<add><![CDATA[
            'custombuttons_showbutton1' => array(false, 'custombuttons_showbuttons', 'custombuttons_showbuttons'),
            'custombuttons_showbutton2' => array(false, 'custombuttons_showbuttons', 'custombuttons_showbuttons'),
            'custombuttons_showbutton3' => array(false, 'custombuttons_showbuttons', 'custombuttons_showbuttons'),
            'custombuttons_showbutton4' => array(false, 'custombuttons_showbuttons', 'custombuttons_showbuttons'),
            'custombuttons_showbutton5' => array(false, 'custombuttons_showbuttons', 'custombuttons_showbuttons'),
            'custombuttons_showbutton6' => array(false, 'custombuttons_showbuttons', 'custombuttons_showbuttons'),
]]></add>
</operation>
</file>

just extend it:

            'custombuttons_showbutton7' => array(false, 'custombuttons_showbuttons', 'custombuttons_showbuttons'),
            'custombuttons_showbutton8' => array(false, 'custombuttons_showbuttons', 'custombuttons_showbuttons'),
]]></add>
</operation>
</file>


so you have to do for each file is named in that xml...
It is simple copy and paste and then just modify the button numbers...

cheers Inti31


If you upload your MOD............ I can also use it..............

Inti31

Quote from: Realinfo on June 03, 2012, 09:06:16 AM
If you upload your MOD............ I can also use it..............
It is not allowed to attach mods are created by the mod author without his permission.
Also - all my mods (like this) are fully customized for german-utf8 - so you have a bigger part to tranlate everything as when you copy and paste the lines and set just the numbers.
and, by the way - this is good training to see how smf works..

cheers inti31
my forum
my testforum


my mods - which I only made them work for 2.0 Gold:
Topics Filter v3.2 SMF 2.0 Gold
MemberNumber

trekkie2444

What do you edit to add more dropdown options instead of just more buttons?

Advertisement: