Customizing SMF > Modifications and Packages

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

<< < (68/73) > >>

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?

--- End quote ---

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........

--- End quote ---
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:

--- Code: --- <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>

--- End code ---
just extend it:

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

--- End code ---

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

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........

--- End quote ---
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:

--- Code: --- <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>

--- End code ---
just extend it:

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

--- End code ---

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

--- End quote ---


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..............

--- End quote ---
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

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

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version