Link to the mod (https://custom.simplemachines.org/index.php?mod=3075)
Menu Buttons
(http://www.smfpersonal.net/Adkmods/logo.png) (http://www.smfpersonal.net/)
(http://www.smfpersonal.net/famfamfam/user.png)
Autores/Authors: ^HeRaCLeS^ (http://www.smfpersonal.net/profiles/heracles-u259.html)
enik (http://www.smfpersonal.net/profiles/enik-u417.html)
(http://www.smfpersonal.net/famfamfam/page_white_flash.png)
Características:Este mod permite activar desde la administración una barra de botones extra.
Opciones:
Activar/Desactivar el menu extra
Activar/Desactivar botones (1 a 6)
Ponerle nombre a los botones.
Ingresar el link del los botones.
Alinear los botones a la derecha.
Las opciones de este mod se encuentran en:
Admin -> ModificacionesCopyright 2011 by SMF Personal @ visita www.smfpersonal.net (http://www.smfpersonal.net/) para soporte oficial.
Si tu quieres ayudarnos,por favor visita nuestra seccion de contribuciones: Contribuir (http://www.smfpersonal.net/about.html;sa=contritube-spanish)
(http://www.smfpersonal.net/famfamfam/page_white_flash.png)
Features:This mod allows enable from the administration an extra toolbar.
Options:
Enable/disable the extra menu
Enable/disable buttons (1 to 6)
Write name buttons.
Write link of the buttons.
Align the buttons to the right.
The options of this mod are in:
Admin -> Modification SettingsCopyright 2011 by SMF Personal @ visit www.smfpersonal.net (http://www.smfpersonal.net/) for official support.
If you want help, please visit our contributions section: Contribute (http://www.smfpersonal.net/about.html;sa=contribute)
(http://www.smfpersonal.net/Themes/default/images/post/topicsolved.gif)
Idiomas/Languages: o English
o English-utf8
o Spanish_es
o Spanish_es-utf8
o Spanish_latin
o Spanish_latin-utf8
o portuguese_Pt
o portuguese_Pt-utf8
o portuguese_brazilian
o portuguese_brazilian-utf8
o persian
o persian-utf8
(http://www.smfpersonal.net/Themes/default/images/post/topicsolved.gif)
Compatibilidad/Compatibility: o SMF 2.0.x
(http://www.smfpersonal.net/Themes/default/images/post/topicsolved.gif)
Desarrollador/Developer: Adk-Team (http://www.smfpersonal.net/)
(http://www.smfpersonal.net/Themes/default/images/post/topicsolved.gif)
Traducciones/Translations: o portuguese -->
Joomlamz (http://www.simplemachines.org/community/index.php?action=profile;u=79248)
o persian ----->
mrtarkhan (http://www.simplemachines.org/community/index.php?action=profile;u=255886)
Yes that good work
Nice Mod
When Update dont forget Portuguese
Thank you very much for contribute and comment ;)
Nice modification :)
The mod warned of a "Test failed" in the: /Themes/Alluminium/index.template.php for this Aluminum theme I use as the default theme. What must be done/edited to fix this?
Link to the theme: http://custom.simplemachines.org/themes/index.php?lemma=2436
install the mod with errors and attach file /Themes/Alluminium/index.template.php
Quote from: Adk-Team on July 02, 2011, 04:52:04 PM
install the mod with errors and attach file /Themes/Alluminium/index.template.php
Here's the php file you requested.
Right now, I can see the configuration fields under the "modifications settings", I enabled button 1 and completed all the fields with the info and saved. Just nothing shows on the actual site.
Test please
Quote from: Adk-Team on July 03, 2011, 11:11:19 AM
Test please
Hooah, thank you so much. Tested out fine. Posted links left and right, moved them back and forth. This mod will be helpful!!
Question... will a future update enable permissions for the viewing of the new menu? That way specific membergroups can or can't see the new buttons to click?
Good suggestion.
Take into account
thanks ;)
It 'can change gears with custom icons? Then I have a problem with the 4 key writes to me "right", thanks ..;)
Change the file Icono-Boton.png. In folder images/Boton
Very nice mod! :) Thanks!
Quote from: Adk-Team on July 03, 2011, 03:21:39 PM
Change the file Icono-Boton.png. In folder images/Boton
And 'possible to make them individually (icons)? Thanks a lot ..;) ps Instead ADK topic buttons for?
Quote from: bruce86 on July 03, 2011, 03:14:25 PMThen I have a problem with the 4 key writes to me "right", thanks ..;)
In "index.template.php"
Find:'text' => !empty($modSettings['texto-31']) ? 'right' : 'Button 4',
Change to:'text' => !empty($modSettings['texto-31']) ? $modSettings['texto-31'] : 'Button 4',
Thanks Papoune57!!
I missed that line
Mod updated.
At the risk of sounding silly, what does one put into one of the buttons? That is, if there are specific Admin functions I can use these buttons as shortcuts? Do I enter a full URL in the field?
Sorry, but there are no screenshots or description to look at and see. Some people might not install this MOD without knowing how to use it.
Cal
:o ??? If there screenshot!! in the download.
You can put the link you want
Whether an issue of importance to your site or someone else's site
Actually, the screenshot is of a BLANK form, no examples of how to fill it in. I ask because some MODs require a full URL, others just what goes after '?' in the URL. How are we to know without a description or screenshot, except by asking?
I hope I don't sound rude, because I do not mean to, but the description really doesn't make all of this clear. I like the idea of this MOD, but I'm sure I'm not the only Admin who is reluctant to install a MOD without knowing how to use it.
Regards,
Cal
You can put the address as you want.
Example external url:
http://www.simplemachines.org
Example url of your site:
http://full url
or
index.php?action=help
I am not trying to sound stupid here, but here is my question.
I added 1 button from the ADK menu buttons to my Simple Machines forum. What I want is that when someone clicks on that button/link it will open in the same window. Right now it opens in a new window/tab.
I have tried ?target=self top parent and nothing seems to work.
If I could please get some insight as to how to make this link open in the same window I would sure appreciate it.
Thank you
Larry
Search "function Botonera()" in the file index.template.php and modify:
'target' => '_blank',
with:
'target' => '',
The button you want or all.
Perfect, thank you very much for your quick reply and an excellent mod. That is exactly what I needed to know.
Again thank you
Larry
Updated to SMF 2.0.1 ;)
Regards enik...
Hi, I like this mod and would love to get it working with my Theme ProRed. I didnt quite understand the explanation above for another theme. If I attach my ProRed indextemplate.php, will you help.
thank you
It is possible to add unique icons for every button?
If it possible, how.
Maybe a suggestion for further updates (enter link to icon per button)
Persian (فارسی)
;)
Thank you very very very very much for the contribution ;)
your welcome, my lob :)
persian is RTL
Hi, thanks for the nice mod. One question i was in doubt if i made any mistake while i was trying to personalize the look of the button. Well every thing is working fine, but I wanted to make sure, so i tried to uninstall to re-install. The only think i have did so far was to modify the images at "Themes/default/images/Boton/Icono-Boton.png" but i saved copies and restored the original stuff before trying to uninstall. Well the uninstall check (via package manager) give me an error "Replace - ./Sources/ManageSettings.php Test failed". So finally the question.
How should i proceed to uninstall and re install? If i proceed with this "failed" uninstall what will really happen? Can i do it and than manually uninstall only the stuff at "ManageSettings.php" ? I do not know php, but i have some little programming skills and feel comfortable to do this little changes. Or i need to uninstall every thing by hand?
By the way the stuff at "ManageSettings.php" is exactly stated at"Manual Install Instructions for SMF" at mod page. In time SMF 2.01, shared server.
Ok that's it, sorry for so much text.
Thanks for any help.
Vk
Hi there again. One more question. Could i chose links from buttons to open in the same browser window Ops, sorry, found above. Thanks.
This is how my "personalization" of your great mod is looking so far:
Wich one is better?
vkbr, i think i like #2 the best but they both look good.
If it shows error when uninstalling, you just remove those codes manually.
This has to look at the parse of the mod.
Updated.
New language: persian
Thank you very much mrtarkhan ;)
your welcome
thanks Adk-Team, for good mods.
Thanks for quick answer. I' wont uninstall it anyway. By the way is it possible to use allown some groups and deny other permissoin to see the buttons? .. Again... sorry. Looking forward to that permissions stuff.
thx
vk
Hi
I got a problem here
./Sources/ManageSettings.php fail
and i try this :: find // Mod authors, add any settings UNDER this line. Include a comma at the end of the line and don't remove this statement!!
and replace with : //Adk Menu Buttons
$txt['texto-13'],
'',
array('check', 'texto-14'),
'',
array('check', 'texto-15'),
array('text', 'texto-21', '20'),
array('text', 'texto-28', '20'),
array('check', 'texto-34'),
'',
array('check', 'texto-16'),
array('text', 'texto-22', '20'),
array('text', 'texto-29', '20'),
array('check', 'texto-35'),
'',
array('check', 'texto-17'),
array('text', 'texto-23', '20'),
array('text', 'texto-30', '20'),
array('check', 'texto-36'),
'',
array('check', 'texto-18'),
array('text', 'texto-24', '20'),
array('text', 'texto-31', '20'),
array('check', 'texto-37'),
'',
array('check', 'texto-19'),
array('text', 'texto-25', '20'),
array('text', 'texto-32', '20'),
array('check', 'texto-38'),
'',
array('check', 'texto-20'),
array('text', 'texto-26', '20'),
array('text', 'texto-33', '20'),
array('check', 'texto-39'),
But no working, still fail
i attach my file, please help
Test please ;)
I just copy the file over, and its still says the same, do i do something wrong
You'd have to install the mod FIRST, then try the file he attached.
Quote from: ufferichter on December 23, 2011, 12:10:15 AM
I just copy the file over, and its still says the same, do i do something wrong
I remove the install first then install the mod again and i have copy my new file over but its still says the same as you see on the pic
And now with the new version of smf?
Love your work, I am having issues with this install with theme Flagrantly by, Crip on SMF 2.0.2
ERROR: Add After ./Themes/flagrantly_20g/index.template.php Test failed
I went to manually add Botonera(); but could not find template_menu(); in the index.template.php file. I did find 2 entries for template_menu() but could not add the code correctly.
I have attached the index.template.php. Appreciate any assistance you could provide.
Thank you!
Updated to 2.0.2
Nice mod. Very useful. However, I find the cogged wheel icon and the bold text very brash. Is it possible for me to change it?
SMF 2.0.2 simple portal 2.3.5 default theme
Installed the mod with no errors ...
Configured two buttons and they are displayed next to each other, rther then seperated with the icon ... ( no icon)
Checked images/Boton the png files are there ..
What am I doing wrong
screen output attached .. (Favorilerim and Üye tanıtım supposed to be two seperate menu items but not )
nb.noticed that this happens in Google Chrome. For Opera and Firefox, it is ok. (I mean the icon)
SOLVED... clearing cache of Chrome solved the problem.
Now the question is : How can I reduce the font size and icon size ?
I know it can be done via css but I'm quite novice on this.
Any help will be higly appreciated ...
attached the cropped menu ...
teos55 Url please
liamtoo Yes. From the css
Tried to reduce the font size and image size but cannot aligned .
.buttons_tools a
{
background: url(../images/Boton/Icono-Boton.png) no-repeat ;
width: 109px;
text-decoration: none !important;
text-align: center;
color: #000;
font-weight: bold;
padding-left: 30px;
font-size: 10px;
display: block;
height: 34px;
line-height: 38px;
url PM'ed.
Test please
In index.css
Search:
.buttons_tools
{
clear: both;
margin:0 auto;
overflow: hidden;
padding-top: 5px;
padding-left: 5px;
width: 864px;
}
Replace with:
.buttons_tools
{
clear: both;
margin: 0 auto;
overflow: hidden;
padding-left: 5px;
padding-top: 5px;
width: 700px;
}
Search:
.buttons_tools a
{
background: url(../images/Boton/Icono-Boton.png) no-repeat ;
width: 109px;
text-decoration: none !important;
text-align: center;
color: #000;
font-weight: bold;
padding-left: 30px;
font-size: 10px;
display: block;
height: 34px;
line-height: 38px;
}
Replace with:
.buttons_tools a
{
background: url(../images/Boton/Icono-Boton.png) no-repeat ;
color: #000000;
display: block;
font-size: 10px;
font-weight: bold;
height: 20px;
line-height: 16px;
padding-left: 0;
text-align: center;
text-decoration: none !important;
width: 109px;
}
Regards
thanks ...
SMF 2.0.4 updated ;)
Regards enik...
Greek translation.
(Please use separate files for ANSI and UTF-8 Greek files, otherwise created problem).
// Begin Adk Menu Buttons translated by geogeo.gr
$txt['texto-13'] = 'Adk Menu Buttons';
$txt['texto-14'] = 'Ενεργοποίηση κουμπιών';
$txt['texto-15'] = 'Ενεργοποίηση κουμπιού 1';
$txt['texto-16'] = 'Ενεργοποίηση κουμπιού 2';
$txt['texto-17'] = 'Ενεργοποίηση κουμπιού 3';
$txt['texto-18'] = 'Ενεργοποίηση κουμπιού 4';
$txt['texto-19'] = 'Ενεργοποίηση κουμπιού 5';
$txt['texto-20'] = 'Ενεργοποίηση κουμπιού 6';
$txt['texto-21'] = 'Διεύθυνση URL του κουμπιού 1';
$txt['texto-22'] = 'Διεύθυνση URL του κουμπιού 2';
$txt['texto-23'] = 'Διεύθυνση URL του κουμπιού 3';
$txt['texto-24'] = 'Διεύθυνση URL του κουμπιού 4';
$txt['texto-25'] = 'Διεύθυνση URL του κουμπιού 5';
$txt['texto-26'] = 'Διεύθυνση URL του κουμπιού 6';
$txt['texto-28'] = 'Όνομα κουμπιού 1';
$txt['texto-29'] = 'Όνομα κουμπιού 2';
$txt['texto-30'] = 'Όνομα κουμπιού 3';
$txt['texto-31'] = 'Όνομα κουμπιού 4';
$txt['texto-32'] = 'Όνομα κουμπιού 5';
$txt['texto-33'] = 'Όνομα κουμπιού 6';
$txt['texto-34'] = 'Στοίχιση δεξιά';
$txt['texto-35'] = 'Στοίχιση δεξιά';
$txt['texto-36'] = 'Στοίχιση δεξιά';
$txt['texto-37'] = 'Στοίχιση δεξιά';
$txt['texto-38'] = 'Στοίχιση δεξιά';
$txt['texto-39'] = 'Στοίχιση δεξιά';
// End Adk Menu Buttons
Thanks ;)
We can give to each button another icon?
Quote// Begin Adk Menu Buttons $txt['texto-13'] = 'Adk Menu Buttons'; $txt['texto-14'] = 'Enable Buttons'; $txt['texto-15'] = 'Enable button 1'; $txt['texto-16'] = 'Enable button 2'; $txt['texto-17'] = 'Enable button 3'; $txt['texto-18'] = 'Enable button 4'; $txt['texto-19'] = 'Enable button 5'; $txt['texto-20'] = 'Enable button 6'; $txt['texto-21'] = 'Write the URL of the button 1'; $txt['texto-22'] = 'Write the URL of the button 2'; $txt['texto-23'] = 'Write the URL of the button 3'; $txt['texto-24'] = 'Write the URL of the button 4'; $txt['texto-25'] = 'Write the URL of the button 5'; $txt['texto-26'] = 'Write the URL of the button 6'; $txt['texto-28'] = 'Name button 1'; $txt['texto-29'] = 'Name button 2'; $txt['texto-30'] = 'Name button 3'; $txt['texto-31'] = 'Name button 4'; $txt['texto-32'] = 'Name button 5'; $txt['texto-33'] = 'Name button 6'; $txt['texto-34'] = 'Align Right'; $txt['texto-35'] = 'Align Right'; $txt['texto-36'] = 'Align Right'; $txt['texto-37'] = 'Align Right'; $txt['texto-38'] = 'Align Right'; $txt['texto-39'] = 'Align Right'; // End Adk Menu Buttons
I get this on the top of every page when I install this mod..
And in admin panel, all options come, but blank, there is no text written.
Any help is appreciate, I really want to get it working. I'm using smf 2.0.4.
Obviously was an error in the installation. This text must be entered in file /Themes/default/languages/Modifications.english.php ή Modifications.english-utf8.php (check it).
I recommend remove and reinstall the mod again, and you see if in initial verification showed some problems.
I have installed the mod, but these are showing up like that (see attachment).
I have tried clearing the cache, etc, but no change.. these are appearing like that only.
Please assist.
Regards
I installed adk menu buttons and it appears in the admin panel but when I try to use it no buttons appear.
What is wrong?
I am using core theme
He put the mod files in your theme?