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
#81
Modificaciones (Mods) / Google Button +1
kesäkuu 18, 2011, 12:17:45 AP tekijältä ^HeRaCLeS^
......  Button +1       Autor:  lucas-ruroken   Descripción:  ............ .   ... Y como no podia ser de otra manera, SMF Personal hoy se los trae a ustedes, para que  ............  uno de sus temas.        Compatibilidad:  SMF 2.0  SMF 2.0 RC5  SMF 2.0 RC4  SMF 2. ............ :  Adk-Team    Links:  Desde SMF Personal  Desde  ......
#82
Modifications and Packages / Thumbs Ups
huhtikuu 21, 2008, 10:59:57 IP tekijältä Charles Hill
......  and topic as a thumbup.gif image (the one from SMF). All of the options are accessible via a simple  ............ /Subs-Boards.php Sources/Subs-Members.php Themes/default/index.template.php Themes/default/BoardIndex. ............ .php Themes/default/Display.template.php Themes/default/index. ............ .php Themes/default/ManageBoards.template.php Themes/default/Profile. ............ .php Themes/default/style.css Themes/default/languages/Admin.english. ............  Themes/default/languages/Help.english.php Themes/default............ /index.english.php Themes/default/languages/ManageBoards.english.php Themes/default............  Themes:  If you are using a theme other than the default theme, install the mod through the package  ............  topic on my support / blog site concerning font size issues: http://degreesofzero.com/index.php? ............  internet explorer  1.4- Redesigned the Thumbs Up button in posts/topics The new design includes a drop  ......
#83
Teme i Grafika / Re: intro
elokuu 27, 2021, 12:43:50 IP tekijältä Terax
......  <?php<br />/**<br /> * @package NightBreeze SMF Theme<br /> * @author SychO (M.S) https://sycho9. ............ , $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  ............ ], '/css/responsive.css?fin20" />';<br /><br /> // FontAwesome 5.11.2 (free)<br /> echo'<br /> <link href= ............ "https://use.fontawesome.com/releases/v5.11.2/css/all.css"  ............ ="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");< ............ ="#181818"><br /> <meta name="msapplication-navbutton-color" content="#181818"><br /> <meta name="apple- ............ ']['href'] : $settings['theme_url'].'/images/default_avatar.png', '" alt="" class="avatar" /><span  ............ ="spshl">', $context['user']['name'], ' ' . fontawesome('fas fa-caret-down') . '</span></a><br />  ............ ' : '', '" href="', $scripturl, '?action=pm">' . fontawesome('fas fa-envelope') . ' ', $context[' ............ ="'.$scripturl.'?action=profile;area=account">' . fontawesome('fas fa-user-cog') . ' '.$txt[' ............ ;area=theme;u='.$context['user']['id'].'">' . fontawesome('fas fa-paint-brush') . ' '.$txt[' ............ =notification;u='.$context['user']['id'].'">' . fontawesome('fas fa-bell') . ' '.$txt[' ............ ;area=viewmembers;sa=browse;type=approve">' . fontawesome('fas fa-users-cog') . ' ', $txt[' ............ ', $scripturl, '?action=moderate;area=reports">' . fontawesome('fas fa-folder-open') . ' ', $txt[' ............ '], '=', $context['session_id'], '">' . fontawesome('fas fa-sign-out-alt') . ' ', $txt[' ............ " href="', $scripturl, '?action=unread">' . fontawesome('fas fa-user-plus') . ' <span>', $txt[' ............ " href="', $scripturl, '?action=unreadreplies">' . fontawesome('fas fa-comments') . ' <span>', $txt[' ............ ="avatar" src="', $settings['theme_url'], '/images/default_avatar.png" alt="Guest"/><span class="spshl">', $ ............ :void(0)" class="firstlevel loginOpen">' . fontawesome('fas fa-sign-in-alt') . ' <span>', $txt[ ............ , '?action=register" class="firstlevel ">' . fontawesome('fas fa-user-plus') . ' <span>', $txt[' ............ '<div class="menuOpener taphoOnlyInline floatright buttonLike" data-state="closed">' . fontawesome('fas fa- ............  ', !empty($settings['forumtitle_size']) ? 'style="font-size: '.$settings['forumtitle_size'].'px"' : '', ' ............ ['header_fa']) ? '<div class="side_icon float">' . fontawesome($settings['header_fa']) . '</i></div>' : '' ............ $txt['news'], ':</h3><br /> <ul class="reset" id="smfFadeScroller"', empty($options[' ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/fader.js"></script><br /> < ............  a news fader object.<br /> var oNewsFader = new smf_NewsFader({<br /> sSelf: \'oNewsFader\',<br />  ............  sFaderControlId: \'smfFadeScroller\',<br /> sItemTemplate: ',  ............  /> // Create the news fader toggle.<br /> var smfNewsFadeToggle = new smc_Toggle({<br />  ............ ', ',<br /> aSwappableContainers: [<br /> \'smfFadeScroller\'<br /> ],<br /> aSwapImages: [< ............  sId: \'newsupshrink\',<br /> srcExpanded: smf_images_url + \'/collapse.gif\',<br />  ............ ']), ',<br /> srcCollapsed: smf_images_url + \'/expand.gif\',<br />  ............ ="margin-right:30px; padding-left:3px;"><br /> <font face="Arial" color="#333333">Pravila</font><br />  ............ ',0);return false" style="text-decoration:none"><font color="#333333" size="2" face="arial">X</font></a> ............ ('FloatingLayer',1);">Show</a><br /> <input type="button" onClick="ToggleFloatingLayer('FloatingLayer',1);" ............ ('FloatingLayer',0);">Hide</a><br /> <input type="button" onClick="ToggleFloatingLayer('FloatingLayer',0);" ............ "><br /> <h3 class="catbg"><br /> ' . fontawesome('fas fa-newspaper') . ' ', $txt['news'], ............ ="for_title">', !empty($settings['header_fa']) ? fontawesome($settings['header_fa']) : '', ' ',  ............ ="ryo ryowt"><br /> <h3 class="for_title">' . fontawesome('fas fa-location-arrow') . ' ', empty($ ............ ['footer_blinks_href_1'])) ? '' : '<li>' . fontawesome('fas fa-angle-double-right') . ' <a  ............ ['footer_blinks_href_2'])) ? '' : '<li>' . fontawesome('fas fa-angle-double-right') . ' <a  ............ ['footer_blinks_href_3'])) ? '' : '<li>' . fontawesome('fas fa-angle-double-right') . ' <a  ............ ['footer_blinks_href_4'])) ? '' : '<li>' . fontawesome('fas fa-angle-double-right') . ' <a  ............ ['footer_blinks_href_5'])) ? '' : '<li>' . fontawesome('fas fa-angle-double-right') . ' <a  ............ ="reset"><br /> <li class="copyright">', smf_theme_copyright(), '</li><br /> </ul>';<br />< ............ ']) ? '<a href="'.$settings['facebook'].'" class="buttonLike invert icon_style tooltip facebook" title="'.$ ............ ['facebook'].'">' . fontawesome('fab fa-facebook-f') . '</a>' : '', '<!--< ............ ']) ? '<a href="'.$settings['youtube'].'" class="buttonLike invert icon_style tooltip youtube" title="'.$ ............ ['youtube'].'">' . fontawesome('fab fa-youtube') . '</a>' : '', '<!--<br / ............ ']) ? '<a href="'.$settings['twitter'].'" class="buttonLike invert icon_style tooltip twitter" title="'.$ ............ ['twitter'].'">' . fontawesome('fab fa-twitter') . '</a>' : '', '<!--<br / ............ ']) ? '<a href="'.$settings['steam'].'" class="buttonLike invert icon_style tooltip steam" title="'.$ ............ ['steam'].'">' . fontawesome('fab fa-steam-symbol') . '</a>' : '', '';< ............  echo'<a href="'.$settings['more_link'].'" class="buttonLike invert icon_style tooltip" title="', !empty($ ............ $settings['more_link_label'] : $txt['more'],'">' . fontawesome($settings['more_link_fa']) . '</a>';<br />  ............ ></footer><br /> <div class="goup taphoNone">' . fontawesome('fas fa-chevron-up') . '</div>';<br />}<br  ............ ="display:none;"><br /> <div class="fsClose">' . fontawesome('fas fa-times-circle') . '</div><br /> < ............  name="submit" value="', $txt['search'], '" class="button_submit" /><br /> <input type="hidden" name=" ............ ="display:none;"><br /> <div class="fsClose">' . fontawesome('fas fa-times-circle') . '</div><br /> < ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/sha1.js"></script><br />  ............  type="submit" value="', $txt['login'], '" class="button_submit" /><br /> <a href="', $scripturl, '? ............ ", "hidden");<br /> });<br /> jq(".searchButton").click(function () {<br /> jq(".fullscreen. ............ ($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))<br /> return;<br /> ............ ="navigate_section"><br /> <div class="searchButton fsOpen buttonLike icon_style floatright tooltip"  ............ ="', $txt['search'], '">' . fontawesome('fas fa-search') . '</div><br /> ', $ ............ ['user']['is_admin'] ? '<a class="themeSettings buttonLike icon_style floatright tooltip" title="'.$txt[' ............ ['session_var'].'='.$context['session_id'].'">' . fontawesome('fas fa-cogs') . '</a>' : '';<br /> // Is  ............ 'user']['is_admin'])<br /> echo '<a class="notice buttonLike icon_style floatright tooltip" title="', $txt[ ............ '] . '=' . $context['session_id'] . '">' . fontawesome('fas fa-exclamation-triangle') . '</a></li> ............  class="home-tree"><a href="', $boardurl, '">' . fontawesome('fas fa-home') . '</a></div><br /> <ul>';< ............ ><div class="menuOpener taphoOnlyInline floatright buttonLike" data-state="opened">' . fontawesome('fas fa- ............ '],<br /> );<br /> foreach ($context['menu_buttons'] as $act => $button)<br /> {<br /> if($act==" ............  . '_icon'];<br /><br /> echo '<br /> <li id="button_', $act, '"><br /> <a class="', $button[' ............ '] ? 'active ' : '', 'firstlevel" href="', $button['href'], '"', isset($button['target']) ? ' target= ............ "' . $button['target'] . '"' : '', '><br /> ',  ............ -right'), '<br /> <span class="', isset($button['is_last']) ? 'last ' : '', 'firstlevel">', $ ............ ['title'], '</span><br /> ', !empty($button['sub_buttons']) ? '<div class="taphoOnlyInline  ............  icon_style">' . fontawesome('fas fa-caret-down') . '</div>' : '', '<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"' : '', '>', $ ............  </nav>';<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 />< ............  />function smf_theme_copyright() {<br /> global $txt;<br /><br /> ............ ;<br />}<br /><br />/**<br /> * @param string $key fontawesome icon full name<br /> * @param string $ ............ <br /> */<br />function fontawesome($key = '', $default = null)<br />{<br />  ............  '<i class="' . faIcon($key, $default) . '"></i>';<br />}<br /><br />/**<br /> * @param  ............  $key fontawesome icon full name<br /> * @param string $ ............ <br /> */<br />function faIcon($key = '', $default = null)<br />{<br /> if (empty($key) && !empty($ ............ ))<br /> return faIcon($default);<br /><br /> $types = array(<br /> 'fab', 'fas', ............ ="content"><br /> <h3 class="for_title">' . fontawesome('fas fa-smile') . ' ', $txt[' ............ : right;max-width: 100%;"><br /> <span class="buttonLike notButton tiny invert"><font color="red">' .  ............ ('fas fa-heart') . '</font> ', $txt['nightbreeze_support_coffee'], '</ ............ ><br><br /> <span class="buttonLike notButton tiny invert"><font color="#f0f0f0">' ............  . fontawesome('fas fa-comments') . '</font> ', $txt[' ............ '], '</span><br><br /> <span class="buttonLike notButton tiny invert"><font color="#7289da">' ............  . fontawesome('fab fa-discord') . '</font> ', $txt[' ......
......  to check please...  Koodi [Valitse] Laajenna var smf_formSubmitted = false; var lastKeepAliveCheck =  ............  Date().getTime(); var smf_editorArray = new Array();  // Some very basic  ............ ). String.prototype.php_to8bit = function () { if (smf_charset == 'UTF-8')  {  var n, sReturn = '';   / ............ .oCharsetConversion.from.length == 0)  {  switch (smf_charset)  {  case 'ISO-8859-1':  this. ............ \u06d2',  to: '\x80-\xff'  };  break;   default:  this.oCharsetConversion = {  from: '',   ............ .php_strtolower = function () {  return typeof(smf_iso_case_folding) == 'boolean' &&  ............  submission ONCE. function submitonce(theform) {  smf_formSubmitted = true;   // If there are any  ............  warn them submit is coming!  for (var i = 0; i < smf_editorArray.length; i++)  smf_editorArray[i]. ............  for Safari 1.3 beta.  if (is_safari)  return !smf_formSubmitted;   // oControl might also be a form. ............ ; i++)  aTextareas[i].readOnly = true;   return !smf_formSubmitted; }  // Deprecated, as innerHTML is  ............  i;   return null; }  // Find a specific radio button in its group and select it. function  ............  = new Date().getTime(); function smf_sessionKeepAlive() {  var curTime = new Date(). ............  a Firefox bug from hammering the server.  if (smf_scripturl && curTime - lastKeepAliveCheck >  ............ {  var tempImage = new Image();  tempImage.src = smf_prepareScriptUrl(smf_scripturl) + 'action= ............  = curTime;  }   window.setTimeout('smf_sessionKeepAlive();', 1200000); } window. ............ ('smf_sessionKeepAlive();', 1200000);  // Set a theme  ............  through javascript. function smf_setThemeOption(option, value, theme,  ............ .  if (cur_session_id == null)  cur_session_id = smf_session_id;  if (typeof(cur_session_var) == ' ............ ';   var tempImage = new Image();  tempImage.src = smf_prepareScriptUrl(smf_scripturl) + 'action= ............ ) + ';time=' + (new Date().getTime()); }  function smf_avatarResize() {  var possibleAvatars = document. ............ ;  this.avatar.height = this.height;  if (smf_avatarMaxWidth != 0 && this.width >  ............ )  {  this.avatar.height = (smf_avatarMaxWidth * this.height) / this.width;   ............ .avatar.width = smf_avatarMaxWidth;  }  if (smf_avatarMaxHeight != ............  0 && this.avatar.height > smf_avatarMaxHeight)  {  this.avatar.width = ( ............ ) / this.avatar.height;  this.avatar.height = smf_avatarMaxHeight;  }  }  tempAvatars[j].src =  ............ .  if (cur_session_id == null)  cur_session_id = smf_session_id;   if (typeof(hex_sha1) == 'undefined') ............ .  if (cur_session_id == null)  cur_session_id = smf_session_id;   if (typeof(hex_sha1) == 'undefined') ............  numbers are not (in most cases).  spanNode.style.fontWeight = 'normal';  spanNode.onclick = '';   //  ............  (oldLastPage > 0)  replacement += '<span style="font-weight: bold; cursor: ' + (is_ie && !is_ie6up ? ' ............ .changeState = function(bCollapse, bInit) {  // Default bInit to false.  bInit = typeof(bInit) == ' ............  && this.opt.oThemeOptions.bUseThemeSettings)  smf_setThemeOption(this.opt.oThemeOptions.sOptionName, ............ = document.createElement('img');  cancel_img.src = smf_images_url + '/icons/quick_remove.gif';   if ( ............ () {  var oXMLDoc = getXMLDocument(smf_prepareScriptUrl(smf_scripturl) + 'action=xmlhttp; ............  items = oXMLDoc.responseXML.getElementsByTagName('smf')[0].getElementsByTagName('item');  for (var i =  ............ () + '</option></select>&nbsp;<input type="button" value="' + this.opt.sGoButtonLabel + '" onclick=" ............ .location.href = \'' + smf_prepareScriptUrl(smf_scripturl) + 'board=' + this. ............ .selectedIndex].value)  window.location.href = smf_scripturl + this.options[this.selectedIndex]. ............ .substr(smf_scripturl.indexOf('?') == -1 || this.options[this. ............  this.tmpMethod = getXMLDocument;  this.tmpMethod(smf_prepareScriptUrl(this.opt.sScriptUrl) + 'action= ............  // Set the position of the container.  var aPos = smf_itemPos(oDiv);  if (is_ie50)  aPos[1] += 4;    ............ ) {  var icons = oXMLDoc.getElementsByTagName('smf')[0].getElementsByTagName('icon');  var sItems = ' ............  = getXMLDocument;  var oXMLDoc = this.tmpMethod(smf_prepareScriptUrl(this.opt.sScriptUrl) + 'action= ............  = oXMLDoc.responseXML.getElementsByTagName('smf')[0].getElementsByTagName('message')[0];  if ( ............  screen - only used for IE at the moment. function smf_mousePose(oEvent) {  var x = 0;  var y = 0;   if ( ............  finding the actual position of an item. function smf_itemPos(itemHandle) {  var itemX = 0;  var itemY = ............  the query string to be appended to it. function smf_prepareScriptUrl(sUrl) {  return sUrl.indexOf('?') ............ [aOnloadEvents.length] = fNewOnload; }  function smfFooterHighlight(element, value) {  element.src =  ............ '.gif'; }  // Get the text in a code tag. function smfSelectText(oCurElement, bActOnElement) {  // The  ......
#85
...... , obviamente arranca perfectamente en el Theme Default, pero lo que queremos es integrarlo en nuestro  ............  extraigan la carpeta Themes, dentro de la carpeta Default encontraremos los archivos que deberemos subir ( ............ "msg" tabindex="1" maxlength="120" value="" style="font-weight: normal;color: ' . $HP_settings['shoutBox'] ............ ['textColor'] . ';font-style: normal;text-decoration: none;width: ' . $ ............  false);" src="' . $settings['images_url'] . '/bbc/fontcolor.gif" width="23" height="22" alt="' . $txt[' ............ .msg.focus(); HP_shoutBox_shFace();" style="font-family: inherit; display: block; padding: 2px;"  ............ .msg.focus(); HP_shoutBox_shFace();" style="font-family: ' . $face . ', sans-serif; display: block; ............ " class="smalltext" /><br />  <input type="button" value="' . $txt['hs_sb_58'] . '" style="padding:  ............ (true);" class="smalltext" /> <input type="button" value="' . $txt['hs_sb_64'] . '" style="padding:  ............ "><a href="http://www.hackspark.com/scripts/smf-colorpicker_10.0.html" title="Hack&#39;s Park  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/style.css" />\n\t</head>\');   ............ "><a href="http://www.hackspark.com/scripts/smf-shoutbox_7.0.html" title="Hack&#39;s Park  ............  instalados, y que son recogidos por el Theme Default.  Un saludo, y espero que les halla servido este  ......
......  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 oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<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 /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ ="titlebg2" height="32"><br /> <span style="font-size: 120%;">', $txt['hello_member'], ' <b>', $ ............ '], '</span>';<br /><br /> // this is the upshrink button for the user info section.<br /> echo '<a  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /><br />  ............ "><br /> <option value="60">', $txt['smf53'], '</option><br /> <option value=" ............ ">', $txt['smf47'], '</option><br /> <option value=" ............ ">', $txt['smf48'], '</option><br /> <option value=" ............ ">', $txt['smf49'], '</option><br /> <option value="-1"  ............ ="selected">', $txt['smf50'], '</option><br /> </select><br />  ............ /><br /> <span class="middletext">', $txt['smf52'], '</span><br /> <input type="hidden"  ............ , '?action=search;advanced" title="', $txt['smf298'], '"><img src="'.$settings['images_url'].'/ ............ ="middle" style="margin: 0 0 1ex;" alt="', $txt['smf298'], '" /></a><br /> <input type="text"  ............ .w3.org/check/referer" target="_blank" style="font-size:10px;">XHTML</a> | <a href="http://jigsaw.w3. ............ -validator/check/referer" target="_blank" style="font-size:10px;">CSS</a>&nbsp;&nbsp;&nbsp;<br /> </ ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> // This is an  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............  id="tabs6">';<br /><br /> // How about the [home] button?<br /> echo '<ul><li', $current_action == 'home'  ............ ></a></li>';<br /><br /> // How about the [help] button?<br /> echo '<li', $current_action == 'help' ? ' ............ ></a></li>';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ' ............ ></a></li>';<br /> <br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............  the user is a guest, show [login] and [register] buttons.<br /> if ($context['user']['is_guest'])<br /> {< ............ ></div>';<br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ , $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ '>' . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............  (empty($button_strip))<br /> return '<td>&nbsp;</td>';<br /><br  ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /> <td class="', $direction == ......
#87
SMF 1.1.x Support / Adding a button to a custom theme? Gold Moon
kesäkuu 17, 2011, 01:17:44 IP tekijältä sdgood
......  use the custom theme Gold Moon. I have installed SMF Gallery. I need to add a button to access the  ............ . The SMF Gallery will not automatically add that to a  ............  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 oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<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 /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /> <form  ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............  '<br /> <ul>';<br /><br /> // Show the [home] button.<br /> echo '<li><a href="', $scripturl, '">' , $ ............ ] , '</a></li>';<br /> <br /> // Show the [help] button.<br /> echo '<li><a href="', $scripturl, '?action= ............ '</a></li>';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ' ............ '] , '</a></li>';<br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............  /><br /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])<br />  ............ /> // If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest'])<br />  ............ >';<br /><br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ , $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ '>' . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............  (empty($button_strip))<br /> return '<td>&nbsp;</td>';<br /><br  ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /> <td class="', $direction == ......
#88
SMF Coding Discussion / Re: Image upload mod for SMF
maaliskuu 27, 2020, 03:31:41 AP tekijältä jsx
......  modification get it from here?  mod.postimage.org/smf.js  Koodi [Valitse] Laajenna var postimage= ............  ;  postimage.opt.mode=postimage.opt.mode || "smf";  postimage.opt.host=postimage.opt.host || " ............  "color":"#3a80ea", "vertical-align":"middle", "font-size":"1em"  }  ;  postimage.style.icon= ............   else {  postimage.text=postimage.text["default"];  }  if (postimage.opt.customtext !="") {  ............  if (typeof e !="undefined") {  e.preventDefault();  }  postimage.dragcounter+=1;  for ( ............  code this modification gets the language of the button:  Koodi [Valitse] Laajenna postimage.text={   ............  other than English on the forum, why does this button still display in English?   ......
#89
......  <?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 />  ............ /<br />*/<br /><br />/* This theme is a work of SMF Tricks Team. For more information please visit<br  ............ /> https://www.smftricks.com/<br /> This theme was developed by  ............ .<br /> Theme designed by Raphisio<br /> Visit SMF Tricks for more Free Themes and Premium Themes.< ............ , $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  ............  rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Open+Sans+Condensed: ............ ="text/css" href="', $settings['theme_url'], '/css/font-awesome.min.css?fin20" />';<br /><br /> // Some  ............ ="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>< ............  "', $context['theme_variant_url'], '";<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");< ............ "><br /> <div class="navbar-header"><br /> <button type="button" class="navbar-toggle collapsed"  ............  <span class="fa fa-search"></span><br /> </button><br /> <button type="button" class="navbar- ............  <span class="fa fa-user"></span><br /> </button><br /> <a class="navbar-brand" href="', $ ............ ="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">', (! ............  <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">', $ ............ -control" href="#carousel-example-generic" role="button" data-slide="prev"', !empty($settings[' ............ -control" href="#carousel-example-generic" role="button" data-slide="next"', !empty($settings[' ............ ($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))<br /> return;<br /> ............ () {<br /> $GN = 'Theme by <a href="https://smftricks.com" target="_blank" rel="noopener">SMF  ............  /><br /> echo '<br /> <nav class="navbar navbar-default"><br /> <div class="navbar-header"><br /> <div  ............ ="visible-xs navbar-brand">Menu</div><br /> <button type="button" class="navbar-toggle collapsed"  ............ <br /> <span class="icon-bar"></span><br /> </button><br /> </div><br /> <div id="navbar" class=" ............ -nav">';<br /><br /> foreach ($context['menu_buttons'] as $act => $button)<br /> {<br /> echo '<br /> ............  <li id="button_', $act, '" class="button_', $act, (!empty($ ............ ['sub_buttons']) ? ' dropdown' : ''), ($button['active_button'] ............  ? ' active' : ''), '"><br /> <a ', (!empty($button['sub_buttons']) ? ' class="dropdown-toggle" data- ............ ="dropdown" role="button" aria-haspopup="true" aria-expanded="false"' : '') ............ , ' href="', $button['href'], '"', isset($button['target']) ? ' target= ............ "' . $button['target'] . '"' : '', '><br /> ', $button[' ............ '], (!empty($button['sub_buttons']) ? ' <span class="caret"></span>' : ............  ''), '<br /> </a>';<br /> if (!empty($button['sub_buttons']))<br /> {<br /> echo '<br />  ............ "><br /> <li><br /> <a href="', $button['href'], '"', isset($button['target']) ? ' target= ............ "' . $button['target'] . '"' : '', '>', $button['title'], '</a> ............ , '</a><br /> </li>';<br /><br /> foreach ($button['sub_buttons'] as $childbutton)<br /> {<br />  ............  echo '<br /> <li', !empty($childbutton['sub_buttons']) ? ' class="dropdown-submenu"' : '' ............ , '><br /> <a href="', $childbutton['href'], '"', isset($childbutton['target']) ? '  ............ ="' . $childbutton['target'] . '"' : '', '><br /> ', $ ............ ['title'], !empty($childbutton['sub_buttons']) ? '...' : '', '<br /> </a>'; ............  // 3rd level menus :)<br /> if (!empty($childbutton['sub_buttons']))<br /> {<br /> echo '<br /> ............  bounceIn">';<br /><br /> foreach ($childbutton['sub_buttons'] as $grandchildbutton)<br />  ............ > <li><br /> <a href="', $grandchildbutton['href'], '"', isset($grandchildbutton['target']) ? ............  ' target="' . $grandchildbutton['target'] . '"' : '', '><br /> ', $ ............  </nav>';<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' .(isset($value['active']) ? ' ............ "' : '') . '><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 />  ............ ) ? ' pull-' . $direction : '', '"', (empty($buttons) ? ' style="display: none;"' : ''), (!empty($ ............ <ul class="nav nav-pills">',<br /> implode('', $buttons), '<br /> </ul><br /> </div>';<br />}<br />< ......
#90
Temas y Diseño (Themes) / Foro estrecho !
toukokuu 30, 2011, 02:08:22 IP tekijältä Cola-Coca
......  tengo foro SMF 1.1.13 y es muy estrecho. Intente cambiar valores  ............  {  color: #99CC33;  text-decoration: none;  font-weight: bold; } a:hover {  color: #ffffff;  text- ............ : none;  font-weight: bold; }  /* Navigation links - for the  ............  #cccccc;  text-decoration: none; } a.nav:hover {  font-weight: bold;  color: #99cc33;  text-decoration:  ............  cells. */ table {  empty-cells: show; }  /* By default (td, body..) use Tahoma in black. */ body, td {   ............ : #cccccc;  font-size: 11px;  font-family: verdana, arial,  ............  normal so they align well. */ input, textarea, button {  font-size: 9pt;  color: #99cc33;  background- ............ : #050C16;  font-family: Tahoma, arial, helvetica, serif; }  /*  ............  input elements that are checkboxes or radio buttons. */ input.check { }  /* Selects are a bit  ............  it makes them look even better 8). */ select {  font-size: 8pt;  font-weight: normal;  color: #000000;  ............  font-family: Tahoma, arial, helvetica, serif; }  /*  ............ : 1px solid #000000;  margin: 1px;  padding: 1px;  font-size: x-small; }  /* A code block - maybe even  ............ ;  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: #ffffff;  text-decoration: none;  font-style: normal;  font-weight: bold;  font-size: x- ............  ;). */ .highlight {  background-color: yellow;  font-weight: bold;  color: black; }  /* Alternating  ............  a:link, .titlebg a:visited {  color: white;  font-style: normal;  background-image: url(images/ ............ ;  background-color: #000000;  padding: 0px; }  /* Default font sizes: small (8pt), normal (10pt), and large  ............ (14pt). */ .smalltext {  font-size: 10px;  font-family: verdana, arial,  ............ , serif; } .normaltext {  font-size: small; } .largetext {  font-size: large; }   ............  {  color: #ffffff;  text-decoration: bold;  font-size: 11px;  background-image: url(images/cat_mid. ............  {  color: #ffffff;  text-decoration: bold;  font-size: 11px;  background-image: url(images/ ............ } .navigationlinks {  background-image: url(images/buttonbg.gif);  border-left: 1px solid black;  border- ............ ; } .navigationlinks a:link {  color: #ffffff;  font-size: 10px; } .navigationlinks a:visited {  color: ............  #ffffff;  font-size: 10px; } .navigationlinks a:hover {  color: # ............ ;  font-size: 10px; } .navigationlinksover {  background- ............ : url(images/buttonbgover.gif);  border-left: 1px solid black;   ............  } .navigationlinksover a:link {  color: #ffffff;  font-size: 10px; } .navigationlinksover a:visited {   ............ : #ffffff;  font-size: 10px; } .navigationlinksover a:hover {   ............ : #99cc33;  font-size: 10px; } .navigationlinkshome {  background- ............ : url(images/buttonbg.gif);  border-left: 2px solid black;  border- ............  } .navigationlinkshome a:link {  color: #ffffff;  font-size: 10px; } .navigationlinkshome a:visited {   ............ : #ffffff;  font-size: 10px; } .navigationlinkshome a:hover {   ............ : #99cc33;  font-size: 10px; } .navigationlinksoverhome {   ............ -image: url(images/buttonbgover.gif);  border-left: 2px solid black;   ............  a:link {  color: #ffffff;  font-size: 10px; } .navigationlinksoverhome a:visited { ............   color: #ffffff;  font-size: 10px; } .navigationlinksoverhome a:hover {   ............ : #99cc33;  font-size: 10px; } .navigationlinksmessage {   ............ .navigationlinksmessage a:link {  color: #ffffff;  font-size: 10px; } .navigationlinksmessage a:visited {  ............  color: #ffffff;  font-size: 10px; } .navigationlinksmessage a:hover {   ............ : #99cc33;  font-size: 10px; } .navigationlinksovermessage {   ............  a:link {  color: #ffffff;  font-size: 10px; } .navigationlinksovermessage a: ............  {  color: #ffffff;  font-size: 10px; } .navigationlinksovermessage a:hover  ............ {  color: #99cc33;  font-size: 10px; } .navigationmark {  background-image: ............  } .navigationlinksmark a:link {  color: #ffffff;  font-size: 10px; } .navigationlinksmark a:visited {   ............ : #ffffff;  font-size: 10px; } .navigationlinksmark a:hover {   ............ : #99cc33;  font-size: 10px; } .navigationlinksovermark {   ............  a:link {  color: #ffffff;  font-size: 10px; } .navigationlinksovermark a:visited { ............   color: #ffffff;  font-size: 10px; } .navigationlinksovermark a:hover {   ............ : #99cc33;  font-size: 10px; }  table.ncode_imageresizer_warning,  ............  {  color: #000000; /* the font color */  border: 1px solid #CCCDCD; /* the  ............ ;  }  table.ncode_imageresizer_warning td {  font-size: 10px;  vertical-align: middle;  text- ......
......  [ Uninstall ] [ List Files ] [ Delete ] 17. SMF 2.0.17 Update 1.0 [ Uninstall ] [ List Files  ............  ] [ Delete ] 23. BBC In Custom Title 2.0r2 - SMF 2.0.x [ Uninstall ] [ List Files ] [ Delete ]  ............  ] [ List Files ] [ Delete ] 25. reCAPTCHA for SMF 2.0.0 [ Uninstall ] [ List Files ] [ Delete ] ............  ] [ Delete ] 28. Modified No Topics Message (SMF 2.0+) 1.3 [ Uninstall ] [ List Files ] [  ............  [ Delete ] 31. 'Read the Rules' Link Above Post Button 2.0 [ Uninstall ] [ List Files ] [ Delete ]  ............ ] [ Uninstall ] [ List Files ] [ Delete ] 34. SMF Articles 3.0.3b [ Uninstall ] [ List Files ]  ............  ] 65. Left-To-Right and Right-To-Left BBcode Buttons 1.1 [ Uninstall ] [ List Files ] [ Delete ]  ............  ] [ List Files ] [ Delete ] 76. Admin Ban Button in Post 3.1 [ Uninstall ] [ List Files ] [  ............  ] [ List Files ] [ Delete ] 88. Smush.it! For SMF 1.0 [ Uninstall ] [ List Files ] [ Delete ]  ............  [ Uninstall ] [ List Files ] [ Delete ] 108. SMF Gallery Lite 6.0c [ Uninstall ] [ List Files  ............  ] [ List Files ] [ Delete ] 111. 6 Custom buttons / tabs with Sub Menus (4) 0.5 [ Uninstall ]  ............  [ Uninstall ] [ List Files ] [ Delete ] 119. Default Avatar 2.3 [ Uninstall ] [ List Files ] [  ............  ] 132. Alternative Menu With Top Menu Icon & Button Remover 1.4.2m [ Uninstall ] [ List Files ] [ ............  [ Uninstall ] [ List Files ] [ Delete ] 140. Font AweaZome 1.2 [ Uninstall ] [ List Files ] [  ............  Files ] [ Delete ] 147. Event Reminder Mod for SMF2 2.31 [ Uninstall ] [ List Files ] [ Delete ] ............  Files ] [ Delete ] 149. Signature Area BBCode Buttons 2.0.3 [ Uninstall ] [ List Files ] [ Delete  ............  ] [ Delete ] 161. Event Registration Mod for SMF2 2.26 [ Uninstall ] [ List Files ] [ Delete ] ............  [ Uninstall ] [ List Files ] [ Delete ] 169. SMF Staff Page 1.7 [ Uninstall ] [ List Files ] [ ............  Delete ] 170. SMF Links 3.0.6 [ Uninstall ] [ List Files ] [  ............  (no uninstall section for this version of SMF) Mod Name Version  1. Current Signature Mod  ............  ] [ Delete ] 3. Join Reason on admin memberlist SMF2 1.0 [ List Files ] [ Delete ] 4. List- ............  1.0 [ List Files ] [ Delete ] 5. SMF 2.0.16 Update 1.0 [ List Files ] [ Delete ]  ......
#92
SMF 2.0.x Support / Re: Admin restricted from boards
elokuu 19, 2019, 10:06:48 AP tekijältä shadav
......  Description Mod  Make modified post unread  SMF Articles  Word Censor List  Board Stats  [ ............   Profile Views  Modified No Topics Message (SMF 2.0+)  BBC You  Who Downloaded Attachment   ............  Custom buttons / tabs with Sub Menus (4)  Multiple Smiley  ............  BBCode  Left-To-Right and Right-To-Left BBcode Buttons  Joinable Groups  Member Color  SMF  ............  Answer Intergration  Event Registration Mod for SMF2  Open Embed  ShowBannedMessage  Play Media  ............  Actions  Buddies With Me (aka Followers)  SMF Links  Breeze  Ban List  Better Messages  ............  Listings  Say Thanks  Add Stars To Profile  Default Avatar  Dynamic_Memberlist  404 on Missing  ............  Topic View Increase by Author  Drafts  SMF Staff Page  Download Attachment  Signature  ............  BBCode Buttons  Fix Message Empty Error For Embed Video Mods  ............   Smush.it! For SMF  Custom BBCodes Manager  Additional  ............  without limit level  Event Reminder Mod for SMF2  BBC Message Boxes  Topic Descriptions   ............  Attachments  Recount Member Posts  Admin Ban Button in Post  Social Login  List Of Users In Forum/ ............   [BBCode] Overline  Topic_Locked_Message  Font AweaZome  Topic Viewers  Show JDALLAUI in  ............  and Topics in Header  AdditionalMembergroups  SMF Trader System  Enhancements to recent posts   ............ .05 CountryFlags_v3.0 Dateregisterdinpost_smf_2.0x feedIcon Have_Posted Log Karma Actions 3.0  ......
#93
...... --------------------------- */ /* Replace standard SMF 2.0.x menu coding. */ /* The main menu bar,  ............ : none; } /* Containers (not visible) for each button/link. */ .dropmenu li {  display: inline-block;   ............ } /* Actual links. */ .dropmenu a {  color: #000;  font-size: .9em;  text-decoration: none; } /* Visible  ............ : nowrap;  border-radius: 4px; } /* The active button (orange by default). */ .active .firstlevel {   ............ : #fd9604;  color: #fff;  font-weight: 700; } /* First level hover effects (dark  ............  by default). */ /* Also added focus, for keyboard navigation, ............  and a brief */ /* fade in (stops the buttons flashing when you mouse past the menu). */ a: ............ } /* Hover effects on levels 2 and 3 (pale blue by default). */ .dropmenu ul a:hover span, .dropmenu ul li: ............ ; } /* Set drop menus off screen (not visible) by default, and */ /* add a slight mouseout delay to make  ............  li:hover a:focus {  margin-left: 0; } /* Standard SMF 2.0.x code from here on. */ /* The dropdown menu  ............  file which has those changes, but is otherwise in default form. I think the comments will make everything  ......
...... SMF 1.1.13 kullanıyorum. Vbulletin Temasını yükledim  ............ ;   text-decoration: underline;  }  .nav-tree  {  font-size: 90%;  }  /* Tables should show empty cells.  ............ */  table  {   empty-cells: show;  }    /* By default (td, body..) use verdana in black. */  body, td,  ............  , tr  {   color: #000000;   font-size: 10pt;   font-family: verdana, geneva,  ............  normal so they align well. */  input, textarea, button  {   color: #000000;   font-family: verdana,  ............  grande', arial, helvetica, sans-serif;  }  input, button  {   font-size: 100%;  }    textarea  {   font............ : 100%;   color: #000000;   font-family: verdana, geneva, lucida, 'lucida grande',  ............ /* All input elements that are checkboxes or radio buttons. */  input.check  {  }    /* Selects are a bit  ............  makes them look even better 8). */  select  {   font-size: 90%;   font-weight: normal;   color: # ............ ;   font-family: verdana, geneva, lucida, 'lucida grande',  ............  solid #000000;   margin: 1px;   padding: 1px;   font-size: x-small;   line-height: 1.4em;  }    /* A  ............ {   color: #000000;   background-color: #dddddd;   font-family: "courier new", "times new roman",  ............ ;   font-size: x-small;   line-height: 1.3em;   /* Put a  ............   {   color: #000000;   text-decoration: none;   font-style: normal;   font-weight: bold;   font-size:  ............ . */  .highlight  {   background-color: yellow;   font-weight: bold;   color: black;  }    /*  ............  th, tr.titlebg2 td  {   color: #ffffff;   font-style: normal;   background: url(images/titlebg. ............ : 10px;   padding-right: 10px;  }  .titlebg5  {   font-weight: bold;   color: white;   font-style:  ............ ;   font-size: 90%;   background: url(images/titlebg.gif) # ............ .titlebg, .titlebg a:link, .titlebg a:visited  {   font-weight: bold;   color: #E0E0F6;   font-style:  ............  a:link, .titlebg2 a:visited  {   color: black;   font-style: normal;   text-decoration: underline;  }    ............ : solid 1px #375576;  }  .catbg, .catbg2  {   font-weight: bold;  }  .catbg3, tr.catbg3 td, .catbg3  ............ :link, .catbg3 a:visited  {   font-size: 95%;   color: white;   text-decoration:  ............  A:link {   COLOR: #22229c; TEXT-DECORATION: none  FONT: 10px verdana, geneva, lucida, 'lucida grande',  ............  #8a939e;   COLOR: #ffffff; TEXT-DECORATION: none  FONT: 10px verdana, geneva, lucida, 'lucida grande',  ............ , helvetica, sans-serif;  }  /* Default font sizes: small (8pt), normal (10pt), and large  ............ (14pt). */  .smalltext {   FONT: 11px verdana, geneva, lucida, 'lucida grande',  ............ , helvetica, sans-serif  }  .middletext  {   font-size: 90%;  }  .normaltext  {   font-size: small;  ............  }  .largetext  {   font-size: large;  }      /* Posts and personal  ............   {   color: white;   text-decoration: none;   font-size: 9px;   vertical-align: middle;   padding:  ............  2px 10px 2px;   font-family: tahoma, sans-serif;  }    .maintab_first   ............   {   color: #f4f4f4;   text-decoration: none;   font-weight: bold;   background: #d8dbe3 url(images/ ............   {   color: white;   text-decoration: none;   font-size: 9px;   vertical-align: middle;   padding:  ............  2px 6px 2px;   font-family: tahoma, sans-serif;  }    . ............   {   color: #f4f4f4;   text-decoration: none;   font-weight: bold;   background: #d8dbe3 url(images/ ............ : #32CD32;   color: white;   text-align: center;   font-weight: bold;   font-size: 18pt;   padding: 3px;   ............ ;  }  .vbmenu_option {   BACKGROUND: #bbc7ce; FONT: 11px verdana, geneva, lucida, 'lucida grande',  ............  none;  }  .vbmenu_hilite {   BACKGROUND: #8a949e; FONT: 11px verdana, geneva, lucida, 'lucida grande',  ............ (images/titlebg.gif) #5c7099 repeat-x left top; FONT: bold 11px tahoma, verdana, geneva, lucida, ' ............   {   background: #738FBF;   color: #FFFFFF;   font: bold 11px tahoma, verdana, geneva, lucida, ' ............ ;  }  .navwrap a:link, .vbmenu_control_alink  {  font: bold 11px tahoma, verdana, geneva, lucida, ' ............   .navwrap a:visited, .vbmenu_control_avisited  {  font: bold 11px tahoma, verdana, geneva, lucida, ' ............  a:active, .vbmenu_control_ahover  {  font: bold 11px tahoma, verdana, geneva, lucida, ' ............   {   background: #738FBF;   color: #FFFFFF;   font: bold 11px tahoma, verdana, geneva, lucida, ' ............  $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 oppossed to text buttons? */   $settings[' ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />   <script language=" ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script>   < ............ ="text/javascript"><!-- // --><![CDATA[   var smf_theme_url = "', $settings['theme_url'], '";    ............  smf_images_url = "', $settings['images_url'], '";    ............  smf_scripturl = "', $scripturl, '";   var  ............ ['iso_case_folding'] ? 'true' : 'false', ';   var smf_charset = "', $context['character_set'], '";   //  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)   Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.   Note that this  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';     // Show  ............ =" + (mode ? 1 : 0);';   else   echo '   smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............  '   document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ =" + (mode ? 1 : 0);';   else   echo '   smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............    document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ ="1001"/>        <input type="submit" class="button" value="Git" tabindex="1004" /></div>   <input  ............  if($context['user']['is_logged'])   echo '   <font style="font-size: 8pt">   <span style="font............ : 100%;"> ', $txt['hello_member_ndt'], ' <font style="font-size: 8pt" color="#000000"><b>', $ ............ ['user']['name'] , '</b></font></span><br>   ';       // Only tell them  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script>   <form  ............  <tr><td valign="middle" style="font-size: 8pt;" align="left">',$txt[35],':</td>    ............  <td align="left" style="font-size: 8pt;"><input type="checkbox" name=" ............  <tr> <td align="left" style="font-size: 8pt;">',$txt[36],':</td>    ............  <td align="left" style="font-size: 8pt;"><input type="submit" value="', $txt[ ............ [this.selectedIndex].value) window.location.href = smf_scripturl + this.options[this.selectedIndex]. ............ .substr(smf_scripturl.indexOf(\'?\') == -1 || this.options[ ............ /javascript"><!-- // --><![CDATA[   function smfFooterHighlight(element, value)   {   element. ............  = smf_images_url + "/" + (value ? "h_" : "") + element. ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ '<br>vBulletin Theme Design by <a href="http://www.smfciyiz.biz">Smfciyiz.Biz</a>   </td>   <td  ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ '])   echo '   <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';     // This is an interesting  ............ '])   echo '   window.addEventListener("load", smf_codeFix, false);     function smf_codeFix()    ............ '])   echo '   window.addEventListener("load", smf_codeFix, false);   function smf_codeFix()   {  ............  = window.onload;   window.onload = smf_codeFix;     function smf_codeFix()   {    ............  // Folder style or inline? Inline has a smaller font.   echo '<span class="nav-tree">';       ............ "0" border="0">   <tr>';     // Show the [home] button.   echo '   <td align="center"><a href="', $ ............  , $txt[103] , '</a></td>';     // Show the [help] button.   echo '   <td align="center"><a href="', $ ......
......  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 oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<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 /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script>';<br /> }<br />< ............  /><br /> <span class="smalltext"><br />', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> // This is an  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function smf_codeFix()< ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............ " id="topmenu">';<br /><br /> // Show the [home] button.<br /> echo '<li><a' , $current_action=='home' ? ' ............ ] , '</a></li>';<br /><br /> // Show the [help] button.<br /> echo '<li><a' , $current_action=='help' ? ' ............ </a></li>';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br />  ............  , '</a></li>';<br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............ /><br /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])<br />  ............ > // If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest'])<br />  ............ >';<br /><br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ , $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ '>' . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............  (empty($button_strip))<br /> return '<td> </td>';<br /><br />  ............ 'main' : 'mirror', 'tab_back">', implode(' | ', $button_strip) , '</td><br /> <td class="', $direction == ......
#96
Modificaciones (Mods) / Ayuda con Ultima shoutbox
toukokuu 06, 2011, 03:58:12 IP tekijältä The_Sant
...... , acabo de instalar el SMF 1.1.13 y he descargado este shout (no sé si sea  ............ ?  Koodi [Valitse] Laajenna if (function_exists('smfshout'))  smfshout(); Esta es mi plantilla "index. ............ , $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 oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /> <br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<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 /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ $context['user']['avatar']))<br /> echo '<div id="smf-avatar" class="clearfix">'.$context['user'][' ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /> <form  ............  '<br /> <br /><div class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</div>';<br /><br /> // This is an  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function smf_codeFix()< ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-left: 2ex; margin-bottom:  ............ /> <ul id="navi">';<br /><br />// Show the [home] button.<br /> echo ' 0 ? '[<blink> '. $context['user'][' ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ '>' . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............  (empty($button_strip))<br /> return '<td> </td>';<br /><br />  ............ 'main' : 'mirror', 'tab_back">', implode(' | ', $button_strip) , '</td><br /> <td class="', $direction == ......
#97
SMF 2.0.x Support / Re: syntax error, unexpected '}'
joulukuu 19, 2018, 08:10:11 AP tekijältä brettuk
......  and your code is the following line: if (!empty($button_strip))   This isn't included in my file, but the  ............  <?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 />  ............ /<br />*/<br /><br />/* This theme is a work of SMF Tricks Team. For more information please visit<br  ............ /> http://www.smftricks.com/<br /> This theme was adapted by Diego  ............  and its a Premium Theme.<br /> Visit SMF Tricks for more Free Themes and Premium Themes.< ............ , $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  ............ ="text/css" href="', $settings['theme_url'], '/css/buttonlistvariant.css?fin20" />';<br /><br /> // Some  ............ ="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>< ............  "', $context['theme_variant_url'], '";<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");< ............ ="">Select your category<div style="float: right;font-size: 11px;margin-top: 4px;">Please read our <a  ............ ($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))<br /> return;<br /> ............  /> <br /> echo '<br /><nav class="navbar navbar-default" role="navigation"><br /> <div class="navbar- ............ "><br /> <button data-target=".navbar-collapse" data-toggle=" ............ " class="navbar-toggle collapsed" type="button"><br /> <span class="icon-bar"></span><br /> < ............ ><br /> <span class="icon-bar"></span><br /> </button><br /> <div class="navbar-collapse collapse" id=" ............  /> <br /> }<br /> <br /> // Bring the menu buttons<br /> template_menuList(1);<br /> <br /> if (! ............  </ul><br /> </li>';<br /> <br /> // Adding buttons out of the community button?<br />  ............ ']);<br /> <br /> foreach ($context['menu_buttons'] as $act => $button)<br /> {<br /> if (!empty($ ............ ;<br /> }<br /> <br /> echo '<br /> <li id="button_', $act, '"', !empty($button['sub_buttons']) ? '  ............ "' : '', '><br /> <a class="', (!empty($button['sub_buttons']) && empty($settings[' ............ ']) ? 'dropdown-toggle ' : ''), ($button['active_button']) ? 'active' : '', '"', (!empty($ ............ ['sub_buttons']) && empty($settings['st_enable_community']) ||  ............ ) ? ' data-toggle="dropdown"' : ''), ' href="', $button['href'], '"', isset($button['target']) ? ' target= ............ "' . $button['target'] . '"' : '', '><br /> ', $button[' ............ '], (!empty($button['sub_buttons']) && empty($settings[' ............ >' : ''), '<br /> </a>';<br /> if (!empty($button['sub_buttons']))<br /> {<br /> echo '<br />  ............ , '</a><br /> </li>';<br /><br /> foreach ($button['sub_buttons'] as $childbutton)<br /> {<br />  ............  echo '<br /> <li', !empty($childbutton['sub_buttons']) ? ' class="dropdown"' : '', '><br  ............ /> <a href="', $childbutton['href'], '"', isset($childbutton['target']) ? '  ............ ="' . $childbutton['target'] . '"' : '', '><br /> ', $ ............ ['title'], !empty($childbutton['sub_buttons']) ? '...' : '', '<br /> </a>'; ............  // 3rd level menus :)<br /> if (!empty($childbutton['sub_buttons']))<br /> {<br /> echo '<br /> ............ " role="menu">';<br /><br /> foreach ($childbutton['sub_buttons'] as $grandchildbutton)<br />  ............ > <li><br /> <a href="', $grandchildbutton['href'], '"', isset($grandchildbutton['target']) ? ............  ' target="' . $grandchildbutton['target'] . '"' : '', '><br /> ', $ ............  }<br /> <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 />< ......
#98
SMF 1.1.x Support / changing font size for reply,notify, etc...
huhtikuu 03, 2011, 04:08:08 IP tekijältä smartsoul2
......  , I would like to know how i can increase the font size of the reply, notify etc.. button. Any ideas  ............  this can be accomplished? I am using SMF 1.1.13 and default theme/ Thanks  ......
#99
Modifications and Packages / PayPal donation BBCode 0.1
toukokuu 14, 2010, 12:28:54 IP tekijältä DoctorMalboro
......  site...   By DrHouse  Features:  Adds a PayPal button without any effort to any post or comment. Just  ............  to the "sell on your web" tab. Put the donation button. Copy the code (see above) and paste it in the  ............  to show img2 = the background (usually leave it default.).  Update Map: Lainaa0.1 = Initial Release.  ......
#100
SMF 1.1.x Support / syntax error, unexpected '<' help
huhtikuu 23, 2011, 01:25:12 IP tekijältä harrisonf123
......  Error! There was a problem loading the /Themes/default/index.template.php template or language file.  ............  may want to try to refresh this page or use the default theme. syntax error, unexpected '<'  This is my  ............  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 oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<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 /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ ']))<br /> echo '<br /> <span style="font-family: Verdana, sans-serif; font-size: 140%; ">', ............ <br /> <img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" /><br /> < ............ ="titlebg2" height="32"><br /> <span style="font-size: 130%;"> ', $txt['hello_member_ndt'], ' <b>', ............ '], '</span>';<br /><br /> // this is the upshrink button for the user info section<br /> echo '<br /> < ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /><br />  ............ "><br /> <option value="60">', $txt['smf53'], '</option><br /> <option value=" ............ ">', $txt['smf47'], '</option><br /> <option value=" ............ ">', $txt['smf48'], '</option><br /> <option value=" ............ ">', $txt['smf49'], '</option><br /> <option value="-1"  ............ ="selected">', $txt['smf50'], '</option><br /> </select><br />  ............ /><br /> <span class="middletext">', $txt['smf52'], '</span><br /> <input type="hidden"  ............ /javascript"><!-- // --><![CDATA[<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> // This is an  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function smf_codeFix()< ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............  , '">&nbsp;</td>';<br /><br /> // Show the [home] button.<br /> echo ($current_action=='home' || $context[' ............ >&nbsp;</td>' : '';<br /><br /> // Show the [help] button.<br /> echo ($current_action == 'help' || $ ............ </td>' : '';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ( ............ ;</td>' : '';<br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............  /><br /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])<br />  ............ /> // If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest'])<br />  ............ >';<br /><br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ , $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ '>' . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............  (empty($button_strip))<br /> return '<td>&nbsp;</td>';<br /><br  ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /> <td class="', $direction == ......
Advertisement: