Uutiset:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu
Advertisement:

Haun tulos hakusanalle: Default smf Button Font

Tuloksien järjestys
#61
SMF Coding Discussion / Smf 2.0+ Calendar Block help modifying code
helmikuu 01, 2012, 06:30:50 IP tekijältä Illusive
......  />* is chosen ($date_links_to_posting = true), SMF permissions are in effect and only *<br />*  ............  *<br />* numbers will link to the full SMF Calendar page. Additionally, if option to show  ............  *<br />* a separate 'Post Event' button is chosen ($show_post_event_button = true), it  ............  referred to as 'language other than server default' as this Calendar will *<br />* use the  ............ 's default LOCALE language for Month and Day names unless  ............ *<br />* entry color to the date, bolded, on the default background. Commented example given *<br />*  ............  = true;<br /><br />// Adds 'Post Event' button to bottom of block<br />$show_post_event_button =  ............  = '#D00000'; // comment out to use default text colors -<br />$color_saturday = '#D00000'; / ............ :#ffffff;';<br />$style_today = 'color:steelblue; font-weight:bold;';<br />// and / or<br />// Class to  ............ <br />$class_today = 'tborder';<br /><br />// Default class to use when no other class specified<br />$ ............ /><br />// Highlight style (colors & backgrounds & font)<br />// example:<br />// 'font-weight:bold;  ............  />// 'myclassname';<br />$hilite_bday_style = 'font-weight:bold;';<br />$hilite_bday_class = ' ............ '; // default style<br /><br />$hilite_hday_style = 'font............ :bold;';<br />$hilite_hday_class = 'holiday'; // default style<br /><br />$hilite_event_style = 'font............ :bold;';<br />$hilite_event_class = 'event'; // default style<br /><br />// Choose to show 'look-behind'  ............ <br />// To use Month and Day names other than the default on your server,<br />// remove the two asterisk  ............  at your own risk!!!)<br /><br />if (empty($class_default)) <br /> $class_default = 'windowbg';<br /><br /> ............ ))<br /> $hilite_bday_class = $class_default;<br /><br />if (empty($hilite_hday_class)) <br />  ............ $hilite_hday_class = $class_default;<br /><br />if (empty($hilite_event_class))<br />  ............ $hilite_event_class = $class_default;<br /><br />$table_bkgrd = 'class="'.$ ............ )) <br /> $class_day_names = $class_default;<br /><br />if($day_name_length)<br />{  ............  > 0) <br /> $calendar .= '<td class="'.$class_default.'" colspan="'.$weekday.'"> </td>'; #initial ' ............ ($classes).'" style="padding: 0px 0px 0px 0px;font-size: x-small;">' : '>').($link ? '<a class=" ............ > $calendar .= '<td'.$col_width.' class="'.$class_default.'" align="center" valign="middle" style="padding:  ............  0px 0px 0px;font-size: x-small;"><a class="smalltext"';<br /> if ( ............  != 7) <br /> $calendar .= '<td class="'.$class_default.'" colspan="'.(7-$weekday).'"> </td>'; #remaining  ............ )) <br /> $list_label_class = $class_default;<br /><br /> if (empty($list_entry_class)) <br />  ............  $list_entry_class = $class_default;<br /><br /> // BIRTHDAY SECTION<br /> if(($flag = ............ ="7" class="smalltext" align="center" style="font-weight: bold;">'.$list_label_bdays.'</td></tr>';< ............ ="7" class="smalltext" align="center" style="font-weight: bold;">'.$list_label_events.'</td></tr>';< ............ ="7" class="smalltext" align="center" style="font-weight: bold;">'.$list_label_hdays.'</td></tr>';< ............  }<br /> }<br />}<br /><br />if ($show_post_event_button) <br />{<br /> if (allowedTo('calendar_post')) < ............ {<br /> echo '<tr><td colspan="7" class="'.$class_default.'" align="center" valign="middle">';<br /> echo ' ............ =', $context['session_id'], '">','<br />', create_button('calendarpe.gif', 'calendar_post_event', ' ............    there use to be a code snippet like this for smf 1+ , but it didnt work with smf 2 and i cant find  ......
#62
Modifications and Packages / Click Right
lokakuu 03, 2011, 02:09:44 IP tekijältä ^HeRaCLeS^
......  Activar/Desactivar  Seleccionar menu (Default o Personalizado)  Si se selecciona el  ............  Foro » Adk Click Right   Copyright 2011 by SMF Personal @ visita www.smfpersonal.net para  ............  application will allow us to put a menu in the button right mouse.  Options:  Enable/ ............   Select menu (Default or Custom)  If you select the customized  ............  may be placed up to 10 buttons.  You can put sub buttons, to 5 buttons. ............   You can put up to 3 sub buttons.  You can put spacers between the  ............  disable from users profile.  Notes:  Buttons will be visible only with full ( Name )   ............  If not using a link will be placed (#) by default.  Failure to complete any field will see  ............  » Adk Click Right   Copyright 2011 by SMF Personal @ visit www.smfpersonal.net for official  ............ -utf8   Compatibilidad/Compatibility:  o SMF 2.0 *  Desarrollador/Developer:  Adk-Team    ......
#63
Italiano (Italian) / Togliere voce da menu
tammikuu 13, 2012, 03:16:42 AP tekijältä erbasox
......  ma non capisco dove e' situata questa voce. Uso smf 2.0.2 con SimplePortal 2.3.3 il mio index. ............  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as opposed to text buttons? */<br /> $settings[ ............ 'use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?rc5"></script>< ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_default_theme_url = "', $settings[' ............ '], '";<br /> var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";', $ ............ '] . '"))<br /> window.open(smf_prepareScriptUrl(smf_scripturl) + "action=pm");< ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/sha1.js"></script><br />  ............  type="submit" value="', $txt['login'], '" class="button_submit" /><br /><br /> ', $txt[' ............  /> sId: \'upshrink\',<br /> srcExpanded: smf_images_url + \'/upshrink.gif\',<br />  ............ ']), ',<br /> srcCollapsed: smf_images_url + \'/upshrink2.gif\',<br />  ............ ">', theme_copyright(), '</li><br /> <li><a id="button_xhtml" href="http://validator.w3.org/check/ ............ ]) || $context['user']['is_logged']) ? '<li><a id="button_rss" href="' . $scripturl . '?action=.xml;type= ............ </span></a></li><br /> <li class="last"><a id="button_wap2" href="', $scripturl , '?wap2" class=" ............ ($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))<br /> return;<br /> ............  clearfix">';<br /><br /> foreach ($context['menu_buttons'] as $act => $button)<br /> {<br /> $classes =  ............ ();<br /> if (!empty($button['active_button']))<br /> $classes[] = 'active';< ............  /> if (!empty($button['is_last']))<br /> $classes[] = 'last';<br /> / ............  /> if ($context['browser']['is_ie6'] && !empty($button['active_button']) && !empty($button['is_last']))< ............  ', $classes);<br /><br /> echo '<br /> <li id="button_', $act, '"', !empty($classes) ? ' class="' . $ ............  . '"' : '', '><br /> <a title="', !empty($button['alttitle']) ? $button['alttitle'] : $button[' ............ '], '" href="', $button['href'], '"', isset($button['target']) ? ' target= ............ "' . $button['target'] . '"' : '', '><br /> <span>', ($ ............ ['active_button'] ? '<em>' : ''), $button['title'], ($button[' ............  </div>';<br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ .<br /> if ($context['right_to_left'])<br /> $button_strip = array_reverse($button_strip, true);<br />< ............  /> // Create the buttons...<br /> $buttons = array();<br /> foreach ($ ............ ']) || !empty($context[$value['test']]))<br /> $buttons[] = '<br /> <li' . (isset($value['active']) ?  ............ "' : '') . '><a' . (isset($value['id']) ? ' id="button_strip_' . $value['id'] . '"' : '') . ' class=" ............ ['text']]) . '</span></a></li>';<br /><br /> // No buttons? No button strip either.<br /> if (empty($ ............  class="active last lastactive">');<br /><br /> $buttons[count($buttons) - 1] = str_replace($list_item, $ ............ , $buttons[count($buttons) - 1]);<br /><br /> echo '<br />  ............ <div class="buttonlist', $direction != 'top' ? '_bottom' : '', '"', ( ............ ($buttons) ? ' style="display: none;"' : ''), (!empty($ ............  class="reset clearfix">',<br /> implode('', $buttons), '<br /> </ul><br /> </div>';<br />}<br />< ......
#64
......  Tip for Tips/Tricks board?  Ok, so I noticed how SMF has 2 dropdown menus (one for the community forum  ............  it to add another menu to the header much like SMF does there menu.  Demo  This Tip is moderate/ ............  of the dropdown in Subs.php  Step 1: In /Themes/default/index.template.php  Find: Koodi [Valitse]  ............  id="site_nav">';   foreach ($context['custom_menu_buttons'] as $act => $button)  {  echo '  <li id=" ............ ', $act, '">  <a class="', $button['active_button'] ? 'active ' : '', 'firstlevel"  ............ ="', $button['href'], '"', isset($button['target']) ? ' target= ............ "' . $button['target'] . '"' : '', '>  <span class="',  ............ ($button['is_last']) ? 'last ' : '', 'firstlevel">', $ ............ ['title'], '</span>  </a>';  if (!empty($button['sub_buttons']))  {  echo '  <ul>';    ............  ($button['sub_buttons'] as $childbutton)  {  echo '   ............  <li>  <a href="', $childbutton['href'], '"', isset($childbutton['target']) ? '  ............ ="' . $childbutton['target'] . '"' : '', '>  <span', isset($ ............ ['is_last']) ? ' class="last"' : '', '>', $childbutton['title'], !empty($childbutton['sub_buttons']) ? '. ............ >';  // 3rd level menus :)  if (!empty($childbutton['sub_buttons']))  {  echo '  <ul>';   ............  foreach ($childbutton['sub_buttons'] as $grandchildbutton)  echo '  ............  <li>  <a', $grandchildbutton['active_button'] ? ' class="active"' : '', ' href= ............ "', $grandchildbutton['href'], '"', isset($grandchildbutton['target']) ? ............  ' target="' . $grandchildbutton['target'] . '"' : '', '>  <span', isset($ ............ ']) ? ' class="last"' : '', '>', $grandchildbutton['title'], '</span>  </a>  </li>';   ............   ', empty($settings['site_slogan']) ? '<img id="smflogo" src="' . $settings['images_url'] . '/smflogo. ............   Find: Koodi [Valitse] Laajenna  $context['menu_buttons']['pm']['title'] .= ' [<strong>' . $context[' ............  // Header Menu Dropdown Begin.  if (($menu_buttons = cache_get_data('menu_buttons-' . implode('_', $ ............  <= $modSettings['settings_updated'])  {  $buttonsTop = array(  'menu1' => array(   ............ ,  'show' => true,  'sub_buttons' => array(  'sub_menu1' => array(   ............ ,  'show' => true,  'sub_buttons' => array(  'sub_menu4' => array(   ............ ,  'show' => true,  'sub_buttons' => array(  ),  ),  );    ............  // Now we put the buttons in the context so the theme can use them.  $ ............  = array();  foreach ($buttonsTop as $act => $button)  if (!empty($ ............ ['show']))  {  $button['active_button'] = false;   // Make  ............  the last button truely is the last button.  if (!empty( ............ $button['is_last']))  {  if ( ............ ($last_button))  unset($menu_buttonstop[$ ............ ]['is_last']);  $last_button = $act;  }   // Go through  ............  sub buttons if there are any.  if (!empty($button............ 'sub_buttons']))  foreach ($button['sub_buttons' ............ ] as $key => $subbutton)  {  if (empty($ ............ ['show']))  unset($button['sub_buttons'][$key]);  }    ............  $menu_buttonsTop[$act] = $button;  }   if (!empty( ............ '] >= 2)  cache_put_data('menu_buttons-' . implode('_', $user_info['groups']) . '-' . $ ............ ['language'], $menu_buttonstop, $cacheTime);  }   $context[' ............ '] = $menu_buttonsTop; // Header Menu Dropdown End.  Step 3: In / ............ /default/css/index.css  Find: Koodi [Valitse] Laajenna # ............  0 4px 1em;  margin: 0;  /*overflow: hidden;*/  font-size: 1.1em;  font-family: tahoma, sans-serif; }  ............ .forumtitle {  font-family: "Century Gothic", tahoma, sans-serif;   ............ 'href' => $scripturl,  'show' => true,  'sub_buttons' => array(  'sub_menu1' => array(  ' ............ 'href' => $scripturl,  'show' => true,  'sub_buttons' => array(  'member_list' => array(  ' ............ , no pm support.  I have only tested this on the default Curve theme, if you use a custom theme your  ......
......  on the live site without a broader view by you SMF experts. Could you take a look here at the home  ............  you have probably guessed, is the crux on which SMF functions.<br /> * Everything should start here,  ............  of this file is the action array in<br /> * the smf_main() function. It is formatted as so:<br /> *  ............ , no?<br /> *<br /> * Simple Machines Forum (SMF)<br /> *<br /> * @package SMF<br /> * @author  ............ /> * @license https://www.simplemachines.org/about/smf/license.php BSD<br /> *<br /> * @version 2.1.4<br  ............ <br />// Get everything started up...<br />define('SMF', 1);<br />define('SMF_VERSION', '2.1.4');<br /> ............ ('SMF_FULL_VERSION', 'SMF ' . SMF_VERSION);<br />define( ............ 'SMF_SOFTWARE_YEAR', '2023');<br /><br />define(' ............ <br />define('MYSQL_TITLE', 'MySQL');<br />define('SMF_USER_AGENT', 'Mozilla/5.0 (' . php_uname('s') . '  ............ ') . ') AppleWebKit/605.1.15 (KHTML, like Gecko) SMF/' . strtr(SMF_VERSION, ' ', '.'));<br /><br />if ( ............  {<br /> $cachedir = sys_get_temp_dir() . '/smf_cache_' . md5($boarddir);<br /><br /> @ ............  />}<br /><br />// Create a variable to store some SMF specific functions in.<br />$smcFunc = array();< ............ \\' => 'minify/path-converter/src/',<br /> 'SMF\\Cache\\' => 'Cache/',<br /> );<br /><br />  ............ ['rand_seed']) || mt_rand(1, 250) == 69)<br /> smf_seed_generator();<br /><br />// And important  ............  an error handler.<br />set_error_handler('smf_error_handler');<br /><br />// Start the session.  ............  memory's sake.)<br />call_user_func(Shoutbox_Load(smf_main()));<br /><br />// Call obExit specially; we' ............ " . $host;<br />}<br /><br /><br /><br /> function smf_main()<br />{<br />global $modSettings, $settings, ............ ['from_ajax']) ? 'ajax_' : '', isset($context['default_username']) && $context['default_username'] != ''  ............ (e) {<br /> e.preventDefault();<br /> e. ............ : {<br /> "X-SMF-AJAX": 1<br /> },< ............  </a><br /> <p style="font-size: 16px;text-decoration: none;color: #ffffff; ............  a.login-title.login-btn.button {<br /> font............  type="submit" value="Log in" class="login-btn button"></div><br /> <div> ............ .baseurl().'/signup/" class="login-title login-btn button" ><br />  ............  !== 0){<br /> event.preventDefault();<br /> alert("You are  ............  this is an attachment, avatar, toggle of editor buttons, theme option, XML feed, popup, etc.<br /> $ ............  /> 'viewquery' => true,<br /> 'viewsmfile' => true,<br /> 'xmlhttp' => true,<br /> ............  /> if (!empty($modSettings['integrate_default_action']))<br /> {<br />  ............  $defaultAction = explode(',', $modSettings[' ............ ']);<br /><br /> // Sorry, only one default action is needed.<br /> $ ............  = $defaultAction[0];<br /><br /> $call =  ............ ($defaultAction, true);<br /><br /> if (! ............ ;<br /> }<br /><br /> // No default action huh? then go to our good old BoardIndex.< ......
#66
Theme Site Themes / Re: Reseller
heinäkuu 31, 2014, 11:59:43 IP tekijältä -Captain Ghost-
...... .css" />  <link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel=" ............  = currentScroll;  });  $("input[type=button]").attr("class", "btn btn-default btn-sm");  $(". ............  top of body  }, 500);  });  $("input[type=button]").attr("class", "btn btn-default btn-sm");  $(". ............ : relative;  left: 16px;  top: 13px;  font-size: 19px;  -webkit-transition: all 0.3s ease; ............  top: 5px; } You know what if there exist a like button on smf i would have definitely pressed it  BTW  ......
......  URL. But in the paragraph above that, under "SMF Default Theme - Curve2", there are these two  ............  in italic font: "URL to above directory:" "URL to images  ............  indicated "http" URLs. Eventually I noticed the button with the label "ATTEMPT TO RESET ALL THEMES",  ............  I clicked it, and those URL indications in italic font changed from http to https according to the entry  ......
#68
SMF 2.1.x Support / Re: Button texts
maaliskuu 20, 2024, 08:48:10 IP tekijältä DEG 1935
...... :04:29 APThis line in index.css forces the text in buttons to be shown in uppercase.Thanks! Managed to  ............  out (I'm a complete CSS noob) and add a new line "font-weight: bold;" and find this much better readable  ............  questions:  Does this change really apply to ALL buttons in SMF?  I'd like to have the buttons along with  ............  font a bit larger. In the code I see this line:  min- ............ : calc(2em + 2em * (0.9 - 0.85)); /* "input" font size minus ".button" font size */  This I don't  ............ . The font size is defined as "0.7rem" 5 lines above, but  ............  not appear in this formula? If I would change the font size (say to 0.9rem), I would need to change this  ............ , right? But how exactly? Or would the size of the buttons "grow" automatically?  In the code there are  ......
#69
Temas y Diseño (Themes) / ¿Cómo editar mi theme? [OBSOLETO]
huhtikuu 09, 2005, 01:12:52 IP tekijältä [darksteel]
......  os dare un manual de como modificar themes de smf o Temas a su gusto, basado en otro manual en  ............  ( las imágenes ).  Abrimos el Style.css del theme default:  Links visitados y no visitados:  Lainaa/*  ............ : #000000; text-decoration: none; } a.nav:hover { font-weight: bold; color: #cc3333; text-decoration:  ............  normal so they align well. */ input, textarea, button { font-size: 9pt; color: #000000; font-family:  ............  it makes them look even better . */ select { font-size: 8pt; font-weight: normal; color: #000000;  ............ : 1px solid #000000; margin: 1px; padding: 1px; font-size: x-small; }   El tag [ code ]  Lainaa/* A  ............  #cccccc; border: 1px solid #000000; padding: 1px; font-family: "courier new", helvetica, "times new  ............ ", serif; font-size: x-small; width: 99%; margin: 1px auto 1px  ............  { color: #000000; text-decoration: none; font-style: normal; font-weight: bold; font-size: x- ............ . */ .highlight { background-color: yellow; font-weight: bold; color: black; }   Los fondos de los  ............  a:link, .titlebg a:visited { color: white; font-style: normal; background-color: #6B8EAE; } . ............  is used for "new" posts. */ .catbg, .catbg2 { font-weight: bold; background-color: silver; color: # ......
#70
SMF 2.0.x Support / Re: 16777215 members cant register new member
joulukuu 12, 2019, 12:50:09 IP tekijältä comesee
......  <?php<br />/**<br /> * Simple Machines Forum (SMF)<br /> *<br /> * @package SMF<br /> * @author  ............  /> * @license http://www.simplemachines.org/about/smf/license.php BSD<br /> *<br /> * @version 2.0.14< ............  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as opposed to text buttons? */<br /> $settings[ ............ 'use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/', $cssfix, '.css" />';<br />< ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?fin20"></script>< ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_default_theme_url = "', $settings[' ............ '], '";<br /> var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";', $ ............ '] . '"))<br /> window.open(smf_prepareScriptUrl(smf_scripturl) + "action=pm");< ............ > ', empty($settings['site_slogan']) ? '<img id="smflogo" src="' . $settings['images_url'] . '/smflogo. ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/sha1.js"></script><br />  ............  type="submit" value="', $txt['login'], '" class="button_submit" /><br /><br /> <div class="info">', $ ............  name="submit" value="', $txt['search'], '" class="button_submit" /><br /> <input type="hidden" name=" ............ /> sId: \'upshrink\',<br /> srcExpanded: smf_images_url + \'/upshrink.png\',<br />  ............ ']), ',<br /> srcCollapsed: smf_images_url + \'/upshrink2.png\',<br />  ............ ">', theme_copyright(), '</li><br /> <li><a id="button_xhtml" href="http://validator.w3.org/check?uri= ............ ]) || $context['user']['is_logged']) ? '<li><a id="button_rss" href="' . $scripturl . '?action=.xml;type= ............ </a></li>' : '', '<br /> <li class="last"><a id="button_wap2" href="', $scripturl , '?wap2" class=" ............ ($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))<br /> return;<br /> ............ ="menu_nav">';<br /><br /> foreach ($context['menu_buttons'] as $act => $button)<br /> {<br /> echo '<br /> ............  <li id="button_', $act, '"><br /> <a class="', $button[' ............ '] ? 'active ' : '', 'firstlevel" href="', $button['href'], '"', isset($button['target']) ? ' target= ............ "' . $button['target'] . '"' : '', '><br /> <span class="' ............ , isset($button['is_last']) ? 'last ' : '', 'firstlevel">', $ ............ '], '</span><br /> </a>';<br /> if (!empty($button['sub_buttons']))<br /> {<br /> echo '<br />  ............  <ul>';<br /><br /> foreach ($button['sub_buttons'] as $childbutton)<br /> {<br />  ............  '<br /> <li><br /> <a href="', $childbutton['href'], '"', isset($childbutton['target']) ? '  ............ ="' . $childbutton['target'] . '"' : '', '><br /> <span',  ............ ($childbutton['is_last']) ? ' class="last"' : '', '>', $ ............ ['title'], !empty($childbutton['sub_buttons']) ? '...' : '', '</span><br />  ............  // 3rd level menus :)<br /> if (!empty($childbutton['sub_buttons']))<br /> {<br /> echo '<br /> ............  <ul>';<br /><br /> foreach ($childbutton['sub_buttons'] as $grandchildbutton)<br />  ............ > <li><br /> <a href="', $grandchildbutton['href'], '"', isset($grandchildbutton['target']) ? ............  ' target="' . $grandchildbutton['target'] . '"' : '', '><br /> <span',  ............ ($grandchildbutton['is_last']) ? ' class="last"' : '', '>', $ ............  </div>';<br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............  $strip_options = array();<br /><br /> // List the buttons in reverse order for RTL languages.<br /> if ($ ............ ['right_to_left'])<br /> $button_strip = array_reverse($button_strip, true);<br />< ............  /> // Create the buttons...<br /> $buttons = array();<br /> foreach ($ ............ ']) || !empty($context[$value['test']]))<br /> $buttons[] = '<br /> <li><a' . (isset($value['id']) ? ' ............  id="button_strip_' . $value['id'] . '"' : '') . ' class=" ............ ]] . '</span></a></li>';<br /> }<br /><br /> // No buttons? No button strip either.<br /> if (empty($ ............  // Make the last one, as easy as possible.<br /> $buttons[count($buttons) - 1] = str_replace('<span>', '< ............  class="last">', $buttons[count($buttons) - 1]);<br /><br /> echo '<br />  ............ <div class="buttonlist', !empty($direction) ? ' float' . $direction : ............  '', '"', (empty($buttons) ? ' style="display: none;"' : ''), (!empty($ ............  '"': ''), '><br /> <ul>',<br /> implode('', $buttons), '<br /> </ul><br /> </div>';<br />}<br />< ......
#71
SMF 2.0.x Support / Change Board Icons & Text colors
syyskuu 26, 2011, 03:00:42 IP tekijältä bootlegcinema
...... , $settings, $options, $txt;   /* Use images from default theme when using templates from the default theme? ............   if this is 'always', images from the default theme will be used.  if this is 'defaults',  ............  from the default theme will only be used with default templates.   ............  is 'never' or isn't set at all, images from the default theme will not be used. */  $settings[' ............  What document type definition is being used? (for font size and other issues.)  'xhtml' for an XHTML 1. ............  is for.  This should probably be the version of SMF it was created for. */  $settings['theme_version'] ............ . */  $settings['use_tabs'] = true;   /* Use plain buttons - as opposed to text buttons? */  $settings[' ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/print.css?rc2" media="print" /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/', $cssfix, '.css" />';   //  ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?rc2"></script>  < ............  type="text/javascript"><!-- // --><![CDATA[  var smf_theme_url = "', $settings['theme_url'], '";  var  ............  = "', $settings['default_theme_url'], '";  var smf_images_url = "', $ ............ ['images_url'], '";  var smf_scripturl = "', $scripturl, '";  var  ............ ]['iso_case_folding'] ? 'true' : 'false', ';  var smf_charset = "', $context['character_set'], '";', $ ............ ['show_personal_messages'] . '"))  window.open(smf_prepareScriptUrl(smf_scripturl) + "action=pm");   ............   ', empty($settings['site_slogan']) ? '<img id="smflogo" src="' . $settings['images_url'] . '/smflogo. ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/sha1.js"></script>  < ............  type="submit" value="', $txt['login'], '" class="button_submit" /><br />  <div class="info">', $txt[' ............  name="submit" value="', $txt['search'], '" class="button_submit" />  <input type="hidden" name=" ............  {  sId: \'upshrink\',  srcExpanded: smf_images_url + \'/upshrink.png\',  altExpanded: ............ ['upshrink_description']), ',  srcCollapsed: smf_images_url + \'/upshrink2.png\',   ............  H@55@N, A Pakistani</span></a></li>  <li><a id="button_xhtml" href="http://validator.w3.org/check/ ............ ]) || $context['user']['is_logged']) ? '<li><a id="button_rss" href="' . $scripturl . '?action=.xml;type= ............ ></a></li>' : '', '  <li class="last"><a id="button_wap2" href="', $scripturl , '?wap2" class=" ............ ($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))  return;   //  ............ " id="menu_nav">';   foreach ($context['menu_buttons'] as $act => $button)  {  echo '  <li id=" ............ ', $act, '">  <a class="', $button['active_button'] ? 'active ' : '', 'firstlevel"  ............ ="', $button['href'], '"', isset($button['target']) ? ' target= ............ "' . $button['target'] . '"' : '', '>  <span class="',  ............ ($button['is_last']) ? 'last ' : '', 'firstlevel">', $ ............ ['title'], '</span>  </a>';  if (!empty($button['sub_buttons']))  {  echo '  <ul>';    ............  ($button['sub_buttons'] as $childbutton)  {  echo '   ............  <li>  <a href="', $childbutton['href'], '"', isset($childbutton['target']) ? '  ............ ="' . $childbutton['target'] . '"' : '', '>  <span', isset($ ............ ['is_last']) ? ' class="last"' : '', '>', $childbutton['title'], !empty($childbutton['sub_buttons']) ? '. ............ >';  // 3rd level menus :)  if (!empty($childbutton['sub_buttons']))  {  echo '  <ul>';   ............  foreach ($childbutton['sub_buttons'] as $grandchildbutton)  echo '  ............  <li>  <a', $grandchildbutton['active_button'] ? ' class="active"' : '', ' href= ............ "', $grandchildbutton['href'], '"', isset($grandchildbutton['target']) ? ............  ' target="' . $grandchildbutton['target'] . '"' : '', '>  <span', isset($ ............ ']) ? ' class="last"' : '', '>', $grandchildbutton['title'], '</span>  </a>  </li>';   ............  '  </ul>  </div>'; }  // Generate a strip of buttons. function template_button_strip($button_strip, $ ............ ))  $strip_options = array();   // Create the buttons...  $buttons = array();  foreach ($button_strip  ............ ['test']) || !empty($context[$value['test']]))  $buttons[] = '<a ' . (isset($value['active']) ? 'class=" ............ . $txt[$value['text']] . '</span></a>';  }   // No buttons? No button strip either.  if (empty($buttons))   ............ ;   // Make the last one, as easy as possible.  $buttons[count($buttons) - 1] = str_replace('<span>', '< ............  class="last">', $buttons[count($buttons) - 1]);   echo '  <div class=" ............ ) ? ' align_' . $direction : '', '"', (empty($buttons) ? ' style="display: none;"' : ''), (!empty($ ............ : ''), '>  <ul>  <li>', implode('</li><li>', $buttons), '</li>  </ul>  </div>'; }  ?> Now I don't  ............  the board. - Do I need to edit other files on the default theme?  Thanks,  ......
#72
Modifications and Packages / Back To Top
kesäkuu 29, 2011, 04:54:20 IP tekijältä enik
......  en: Admin -> Modificaciones  Copyright 2011 by SMF Personal @ visita www.smfpersonal.net para  ............ : Contribuir   Features:  This mod will insert a button to go to the top of your site !!  The options of  ............  Admin -> Modification Settings  Copyright 2011 by SMF Personal @ visit www.smfpersonal.net for official  ............ -utf8   Compatibilidad/Compatibility:  SMF 2.0*   Desarrollador/Developer:   Adk-Team   ......
...... . Did you perform all the previous edits using SMF's language editor, or did you edit the file  ............  each changed file. I performed the edits by the SMF Language Editor as follows:  1. Logging into the  ............ >Languages>Edit Languages.  3. Clicked the EDIT button for the default language (English). 4. Used the  ............  enable the text box for editing 7. Replaced the default template text with the following text:  LainaaDO  ............  bottom of the template page and clicked the SAVE button to save the newly formatted template.  I ran a  ............  went through all of the above on a second similar SMF 2.1.1 site I manage and got the same exact  ............  the correct file, its permissions were set by the SMF 2.1.1 installer at 644. I didn't have significant  ............  date and time of the file causing me to believe SMF was able to access the file to save the changes  ......
#74
SMF Coding Discussion / Re: Button on $profile_areas does'nt hide
syyskuu 02, 2023, 10:25:15 IP tekijältä Jotade29
......  subsection.  bool 2: Is this the default subaction - if not set for any will default to  ............  enabled or not.https://github.com/SimpleMachines/SMF/blob/194eae6c3e91f8911d4ced76fa446c1de28c0559/ ......
#75
Modifications and Packages / Topic button
heinäkuu 01, 2011, 07:41:42 IP tekijältä ^HeRaCLeS^
......  to the mod  Topic button 1.0       Autores/Authors:  ^HeRaCLeS^   ............  en: Admin -> Modificaciones  Copyright 2011 by SMF Personal @ visita www.smfpersonal.net para  ............    Features:  This mod will insert an extra button in the index of the forums to create topics in  ............  Admin -> Modification Settings  Copyright 2011 by SMF Personal @ visit www.smfpersonal.net for official  ............ -utf8   Compatibilidad/Compatibility:  SMF 2.0.x   Desarrollador/Developer:   Adk-Team   ......
#76
SMF 2.1.x Support / Re: 2.1.2 update error
toukokuu 09, 2022, 05:29:48 IP tekijältä Sesquipedalian
......  step 1:  Open SMF's main index.php file in the root forum directory. ............  see this line:  Koodi [Valitse] Laajenna define('SMF_VERSION', '2.1.1'); Manually change 2.1.1 to 2.1. ............ /Cache/APIs ./Sources/tasks ./Themes ./Themes/default ./Themes/default/css ./Themes/default/languages ./ ............ /default/scripts  Once you have restored the backup copies  ............  of these files need to be writable in order for SMF to update them. So if any are not writable,  ............  to the package manager, and click the uninstall button for the patch.  Because we reverted all your  ............  failed warnings before clicking the "Install Now" button at the bottom. If you do see any test failed  ......
#77
Modifications and Packages / Re: Member Groups Icons
marraskuu 29, 2013, 08:27:15 AP tekijältä Joker™
......  <?php<br />/**<br /> * Simple Machines Forum (SMF)<br /> *<br /> * @package SMF<br /> * @author  ............  /> * @license http://www.simplemachines.org/about/smf/license.php BSD<br /> *<br /> * @version 2.0<br /> ............  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as opposed to text buttons? */<br /> $settings[ ............ 'use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/', $cssfix, '.css" />';<br />< ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?fin20"></script>< ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_default_theme_url = "', $settings[' ............ '], '";<br /> var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";', $ ............ '] . '"))<br /> window.open(smf_prepareScriptUrl(smf_scripturl) + "action=pm");< ............  </div>'; <br /><br /> // Show the social buttons.<br /> if (!empty($settings[' ............  <div id="footer"><br /> <div class="smf_copyright"><br /> <span>',  ............ ($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))<br /> return;<br /> ............  /> <ul>';<br /><br /> foreach ($context['menu_buttons'] as $act => $button)<br /> {<br /> echo '<br /> ............  <li id="button_', $act, '"><br /> <a class="', $button[' ............ '] ? 'active ' : '', '" href="', $button['href'], '"', isset($button['target']) ? ' target= ............ "' . $button['target'] . '"' : '', '>', $button['title'], '</a> ............ ';<br /><br /> if (!empty($button['sub_buttons']))<br /> {<br /> echo '<br />  ............  <ul>';<br /><br /> foreach ($button['sub_buttons'] as $childbutton)<br /> {<br />  ............  '<br /> <li><br /> <a href="', $childbutton['href'], '"', isset($childbutton['target']) ? '  ............ ="' . $childbutton['target'] . '"' : '', '>', $childbutton['title'],  ............ !empty($childbutton['sub_buttons']) ? '...' : '', '</a>';<br /><br />  ............  // 3rd level menus :)<br /> if (!empty($childbutton['sub_buttons']))<br /> {<br /> echo '<br /> ............  <ul>';<br /><br /> foreach ($childbutton['sub_buttons'] as $grandchildbutton)<br />  ............ > <li><br /> <a href="', $grandchildbutton['href'], '"', isset($grandchildbutton['target']) ? ............  ' target="' . $grandchildbutton['target'] . '"' : '', '>', $grandchildbutton[' ............  </div>';<br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............  = array();<br /><br /> // Create the buttons...<br /> $buttons = array();<br /> foreach ($ ............ ']) || !empty($context[$value['test']]))<br /> $buttons[] = '<a ' . (isset($value['active']) ? 'class=" ............ ']] . '</span></a>';<br /> }<br /><br /> // No buttons? No button strip either.<br /> if (empty($ ............  // Make the last one, as easy as possible.<br /> $buttons[count($buttons) - 1] = str_replace('<span>', '< ............  class="last">', $buttons[count($buttons) - 1]);<br /><br /> echo '<br />  ............ <div class="buttonlist', !empty($direction) ? ' align_' . $direction  ............ : '', '"', (empty($buttons) ? ' style="display: none;"' : ''), (!empty($ ............  /> <ul><br /> <li>', implode('</li><li>', $buttons), '</li><br /> </ul><br /> </div>';<br />}<br  ......
#78
Español (Spanish) / [Duda] Donde colocar Codigo del reproductor
elokuu 08, 2011, 02:36:30 AP tekijältä tony-
......  <?php<br />/**<br /> * Simple Machines Forum (SMF)<br /> *<br /> * @package SMF<br /> * @author  ............  /> * @license http://www.simplemachines.org/about/smf/license.php BSD<br /> *<br /> * @version 2.0<br /> ............  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as opposed to text buttons? */<br /> $settings[ ............ 'use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/', $cssfix, '.css" />';<br />< ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?fin20"></script>< ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_default_theme_url = "', $settings[' ............ '], '";<br /> var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";', $ ............ '] . '"))<br /> window.open(smf_prepareScriptUrl(smf_scripturl) + "action=pm");< ............ > ', empty($settings['site_slogan']) ? '<img id="smflogo" src="' . $settings['images_url'] . '/smflogo. ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/sha1.js"></script><br />  ............  type="submit" value="', $txt['login'], '" class="button_submit" /><br /><br /> <div class="info">', $ ............  name="submit" value="', $txt['search'], '" class="button_submit" /><br /> <input type="hidden" name=" ............ /> sId: \'upshrink\',<br /> srcExpanded: smf_images_url + \'/upshrink.png\',<br />  ............ ']), ',<br /> srcCollapsed: smf_images_url + \'/upshrink2.png\',<br />  ............  navigation tree.<br /> theme_linktree();<br /> //SMFPacks Shoutbox --><br /> if (function_exists(' ............ ')) template_shoutbox('main');<br /> // <-- SMFPacks Shoutbox<br />}<br /><br />function  ............ ">', theme_copyright(), '</li><br /> <li><a id="button_xhtml" href="http://validator.w3.org/check?uri= ............ ]) || $context['user']['is_logged']) ? '<li><a id="button_rss" href="' . $scripturl . '?action=.xml;type= ............ </a></li>' : '', '<br /> <li class="last"><a id="button_wap2" href="', $scripturl , '?wap2" class=" ............ ($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))<br /> return;<br /> ............ ="menu_nav">';<br /><br /> foreach ($context['menu_buttons'] as $act => $button)<br /> {<br /> echo '<br /> ............  <li id="button_', $act, '"><br /> <a class="', $button[' ............ '] ? 'active ' : '', 'firstlevel" href="', $button['href'], '"', isset($button['target']) ? ' target= ............ "' . $button['target'] . '"' : '', '><br /> <span class="' ............ , isset($button['is_last']) ? 'last ' : '', 'firstlevel">', $ ............ '], '</span><br /> </a>';<br /> if (!empty($button['sub_buttons']))<br /> {<br /> echo '<br />  ............  <ul>';<br /><br /> foreach ($button['sub_buttons'] as $childbutton)<br /> {<br />  ............  '<br /> <li><br /> <a href="', $childbutton['href'], '"', isset($childbutton['target']) ? '  ............ ="' . $childbutton['target'] . '"' : '', '><br /> <span',  ............ ($childbutton['is_last']) ? ' class="last"' : '', '>', $ ............ ['title'], !empty($childbutton['sub_buttons']) ? '...' : '', '</span><br />  ............  // 3rd level menus :)<br /> if (!empty($childbutton['sub_buttons']))<br /> {<br /> echo '<br /> ............  <ul>';<br /><br /> foreach ($childbutton['sub_buttons'] as $grandchildbutton)<br />  ............ > <li><br /> <a href="', $grandchildbutton['href'], '"', isset($grandchildbutton['target']) ? ............  ' target="' . $grandchildbutton['target'] . '"' : '', '><br /> <span',  ............ ($grandchildbutton['is_last']) ? ' class="last"' : '', '>', $ ............  </div>';<br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............  $strip_options = array();<br /><br /> // List the buttons in reverse order for RTL languages.<br /> if ($ ............ ['right_to_left'])<br /> $button_strip = array_reverse($button_strip, true);<br />< ............  /> // Create the buttons...<br /> $buttons = array();<br /> foreach ($ ............ ']) || !empty($context[$value['test']]))<br /> $buttons[] = '<br /> <li><a' . (isset($value['id']) ? ' ............  id="button_strip_' . $value['id'] . '"' : '') . ' class=" ............ ]] . '</span></a></li>';<br /> }<br /><br /> // No buttons? No button strip either.<br /> if (empty($ ............  // Make the last one, as easy as possible.<br /> $buttons[count($buttons) - 1] = str_replace('<span>', '< ............  class="last">', $buttons[count($buttons) - 1]);<br /><br /> echo '<br />  ............ <div class="buttonlist', !empty($direction) ? ' float' . $direction : ............  '', '"', (empty($buttons) ? ' style="display: none;"' : ''), (!empty($ ............  '"': ''), '><br /> <ul>',<br /> implode('', $buttons), '<br /> </ul><br /> </div>';<br />}<br />< ......
......  not work with it, so now everyone is using the default theme Curve.  I have a member who has problems  ............ . ONE member who was always using the Insert Quote button has since learned how to take partial quotes and  ............  inserted into the post, extra formatting tags, font size changes—and they can't be deleted or cleaned  ............  my forum to a different server: fresh install of SMF, fresh install of plugins. The transition went  ............  associated with using dQuoteSelection with the SMF default theme? If so, how do I fix this? Or is it  ............  where you quote what someone said with the Quote button will cause extra [ ] brackets to show up all over  ............  normally) will result in extremely small text font size for one or two lines, or entire paragraphs.  ............  normally) will result in extremely small text font size for one or two lines, or entire paragraphs.  ............  works, other times not. The smallest selectable font size is 8 PT, but the weird glitch makes the text  ............  1 or 2 PT size font.  I manually removed the CODE tag at the start of  ......
#80
Modificaciones (Mods) / Cuatro nuevos Mods by (Adk Team)
heinäkuu 01, 2011, 11:10:56 IP tekijältä Adk-Team
...... :  Activar/Desactivar   Adk Menu Buttons  Este mod permite activar desde la  ............  Alinear los botones a la derecha.   Adk Topic button  Este mod insertara un boton extra en el  ............  Activar/Desactivar  Copyright 2011 by SMF Personal @   Idiomas:  o English  o  ............   o Spanish_latin-utf8   Compatibilidad:  SMF 2.0 Gold   Desarrollador:  Adk-Team    ............  Oficiales:  Adk Back To Top  Adk Menu Buttons  Adk Topic button  Disable Signatures on  ............     Capturas:  Adk Menu Buttons                  Adk topic button                 ......
Advertisement: