Uutiset:

Wondering if this will always be free?  See why free is better.

Main Menu
Advertisement:

Haun tulos hakusanalle: Default smf Button Font

Tuloksien järjestys
#441
SMF Coding Discussion / newby' questions
syyskuu 15, 2008, 12:34:07 IP tekijältä willemien
......  i am new to SMF  and want lots of i hope not to special things.   ............  have version SMF version 1.1.6 (read somewhere you have to tell  ............ )  a white background   a forced monospace type font   no smileys (some text like 8 ) becomes an  ............  page a "close window " and a "minimise window" button (I know there are those buttons in windows itself  ............ .  Managed to reform the input area to a monospace font by   changing in the Css file textarea to:   ............  {  font-size: 100%;  color: #000000;  font-family:  ............  in the post you can use while it is not really a font... (But i would like to have it as default)   ......
#442
SMF 1.1.x Support / ad mod help please
elokuu 27, 2008, 01:37:22 IP tekijältä LOADING...
......  do i center ads between the boards? I use SMF 115 and Ads mod. take a look at my forum www. ............  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br />< ............ , $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............  if this is 'always', images from the default theme will be used.<br /> if this  ............  'defaults', images from the default theme will only be  ............  with default templates.<br /> if this is 'never' ............  or isn't set at all, images from the default theme will not be used. */<br /> $settings[ ............ 'use_default_images'] = 'never';<br /><br /> /* What  ............  type definition is being used? (for font size and other issues.)<br /> ' ............  This should probably be the version of SMF it was created for. */<br /> $settings[' ............ '] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and  ............ ="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 />  ............ "><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br />  ............  var smf_iso_case_folding = ', $context['server'][' ............ '] ? '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 />  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br />  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............  echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............  document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............  document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............  <span style="font-family: Verdana, sans-serif; font-size: 140%; ">', ............  <img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" /><br />  ............  <span style="font-size: 130%;"> ', $txt['hello_member_ndt'], ' <b>', ............ >';<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 />  ............  <option value="60">', $txt['smf53'], '</option><br />  ............  <option value="1440">', $txt['smf47'], '</option><br />  ............  <option value="10080">', $txt['smf48'], '</option><br />  ............  <option value="43200">', $txt['smf49'], '</option><br />  ............  <option value="-1" selected="selected">', $txt['smf50'], '</option><br />  ............  <span class="middletext">', $txt['smf52'], '</span><br />  ............ --><![CDATA[<br /> function smfFooterHighlight(element, value)<br />  ............  /> element.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=" ............ /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> // This is  ............  window.addEventListener("load", smf_codeFix, false);<br /><br />  ............  function smf_codeFix()<br /> {<br />  ............  window.addEventListener("load", smf_codeFix, false);<br />  ............  smf_codeFix()<br /> {<br />  ............ ;<br /> window.onload = smf_codeFix;<br /><br />  ............  smf_codeFix()<br /> {<br />  ......
#443
Arşiv / Menüyü Üst Kısma Alamıyorum
heinäkuu 27, 2008, 01:50:37 IP tekijältä lordreco
......  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 /> <br /> <input type="submit" class="button" value="Git" tabindex="1004" /></div><br /> < ............ " width="100%"><br /> <br /> <div class="smallfont" style="font-size:10pt"> <strong>',  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /> <table  ............ " border="0"><br /> <tr><br /> <td class="smallfont"><label for="navbar_username">Kullanıcı Adı</ ............ /> <td><input type="text" class="bginput" style="font-size: 11px" name="user" id="navbar_username" size= ............ .value = \'\';" /></td><br /> <td class="smallfont" colspan="2" nowrap="nowrap"><label for=" ............ ><br /> </tr><br /> <tr><br /> <td class="smallfont"><label for="navbar_password">Şifre</label></td>< ............  <td><input type="password" class="bginput" style="font-size: 11px" name="passwrd" id="navbar_password"  ............ " tabindex="102" /></td><br /> <td class="smallfont"><input type="submit" class="button" value="Giriş" ............ ="top" nowrap="nowrap"><br /> <div class="smallfont"><br /> <strong>Hoşgeldiniz, ', $context['user'] ............ /javascript"><!-- // --><![CDATA[<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............  <td valign="middle" align="center" style="smallfont"><br /> ', theme_copyright(), '<br><font size= ............ -bu-sayfada-t10080.0.html" target="_blank" title="SMF Temalar">FoRuMBoL Themes</a></font><br /> </td> ............ ="right" width="100%"><br /> <div class="smallfont"><br /> <strong><br /> <a href="mailto:admin@ ............ /lordreco-temalari-artik-bu-sayfada-t10080.0.html">SMF Temalar</a> -<br /> <br /> <br /> <a  ............ /> 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 / ............  // Folder style or inline? Inline has a smaller font.<br /> echo '<span class="inlineimg">';<br  ............  class="list_mu">';<br /><br /> // Show the [home] button.<br /> echo '<br /> <td align="center" valign=" ............ "></td><br /> <li class="button_forum"><a class="button_forum" href="index.php"  ............  />// If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest'])<br />  ............ ="center" valign="top"></td><br /> <li class="button_register"><a class="button_register" href="index. ............ '])<br /> echo '<br /><br /> <li class="button_usercp"><a class="button_usercp" href="index.php? ............ '])<br /> echo '<br /> <li class="button_calendar"><a class="button_calendar" href="index. ............ ></a></li></td>';<br /><br /> // the [member] list button<br /><br /> echo '<br /> <li class=" ............ "><a class="button_memberlist" href="index.php?action=mlist" title=" ............ ="center" valign="top"></td><br /> <li class="button_tema"><a class="button_tema" href="http://www. ............ ="center" valign="top"></td><br /> <li class="button_menu"><a class="button_menu" href="http:// ............ ></td>';<br /> <br />// How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ' ............ <br /><br /> <li class="button_search"><a class="button_search" href="index.php? ............ /table>';<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 == ......
#444
SMF 1.1.x Support / ShoutBox
heinäkuu 04, 2008, 01:29:40 IP tekijältä Kyle P
...... ></script>  <style type="text/css">  #yshout {  font-size: 10px;  overflow: hidden;  }  #yshout # ............ -height: 1;  }  #yshout .shout-timestamp {  font-style: normal;  font-weight: normal;  color: # ............ ;  }  #yshout .shout-adminlinks { /* del and ban buttons */  font-size: 6pt;  color: #141414;  }  # ............  310px;  margin-right: 5px;  }  #yshout #shout-button {  width: 55px;  }  #yshout .shout-invalid { / ............  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 ' ............ ', images 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?rc2p"></script><br /> < ............ /javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> // ]]></ ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?rc2" media="print" />';< ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ );';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............  document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ ';<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 /> < ............ " value="" /><br /> </form>', $txt['smf52'], '<br /><br />';<br /> }<br /> echo '<br / ............ 'show_load_time'])<br /> echo '<br />'. $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'];<br /><br /> echo '<br /> </div></div></ ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............ >';<br /> // Show the [home] button.<br /> echo '<li><a' , $ ............  /><br /> // Show the [help] button.<br /> echo '<li><a'  ............ /> // How about the [search] button?<br /> if ($context['allow_search']) ............ /><br /> // the [member] list button<br /> if ($context[' ............  // If the user is a guest, show [login] button.<br /> if ($context[' ............  // If the user is a guest, also show [register] button.<br /> if ($context[' ............  /><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 => $ ............ ['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> } ............ <br /> elseif (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$ ............ . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br / ............ > if (empty($button_strip))<br /> return '<td>&nbsp;</td>';<br /> ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /> <td class="', $ ......
#445
Graphics and Templates / Replace logo with Flash Banner
kesäkuu 01, 2008, 10:52:03 IP tekijältä korb
......  the original theme logo.  i tried that with smf default theme it work but i want to use it in  ............ , $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>  < ............  type="text/javascript"><!-- // --><![CDATA[  var smf_theme_url = "', $settings['theme_url'], '";  var  ............  = "', $settings['images_url'], '";  var 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 is  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';   // Show  ............  + (mode ? 1 : 0);';  else  echo '  smf_setThemeOption("collapse_leftbar", mode ? 1 : 0,  ............  document.getElementById("upshrinkLeftbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  + (mode ? 1 : 0);';  else  echo '  smf_setThemeOption("collapse_rightbar", mode ? 1 : 0,  ............  document.getElementById("upshrinkRightbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  "upshrink=" + (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. ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script>  <form action=" ............   echo '  <br /><span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';   // This is an interesting bug  ............ '])  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()  {  var  ............ , $options;   echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............  <div id="menu">   <ul>';    // Show the [home] button.  echo '<li', $current_action == 'home' ? ' id=" ............ [103] , '</span></a></li>';   // Show the [help] button.  echo '<li', $current_action == 'help' ? ' id=" ............  , '</span></a></li>';   // How about the [search] button?  if ($context['allow_search'])  echo '<li', $ ............ '] , '</span></a></li>';   // the [member] list button  if ($context['allow_memberlist'])  echo '<li', $ ............ ></li>';   // If the user is a guest, show [login] button.  if ($context['user']['is_guest'])  echo '<li', $ ............    // If the user is a guest, also show [register] button.  if ($context['user']['is_guest'])  echo '<li', $ ............ >';  echo '</ul></div>'; }  // Generate a strip of buttons. function template_button_strip($button_strip, $ ............  = false, $custom_td = '') {  global $settings, $buttons, $context, $txt, $scripturl;   // Create the  ............ ...  foreach ($button_strip as $key => $value)  {  if (isset($value[' ............  && empty($context[$value['test']]))  {  unset($button_strip[$key]);  continue;  }  elseif (!isset($ ............ [$key]) || $force_reset)  $buttons[$key] = '<a href="' . $value['url'] . '" ' .(  ............ ] : '') . '>' . $txt[$value['text']] . '</a>';   $button_strip[$key] = $buttons[$key];  }   if (empty($ ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td>  <td class="', $direction == ' ......
......  drop down working?  Of course the mod works with default template but not with postit that i use.  This is  ............  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  ............ " 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  ............ , '?action=search;advanced" title="', $txt['smf298'], '"><img src="'.$settings['images_url'].'/ ............ ="middle" style="margin: 0 1ex;" alt="', $txt['smf298'], '" /></a><br /> <input type="text" class=" ............ <p align="center"><span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span></p>';<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 / ............ ="mainNavigat">';<br /> <br /> // Show the [home] button.<br /> echo '<li', $current_action == 'home' ? '  ............ ] , '</a></li>';<br /><br /> // Show 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 />  ............  /><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 />  ............  </ul>';<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 /> $mid=''; ............  ? 'main' : 'mirror', 'tab_back">', implode($mid, $button_strip) , '</td><br /> <td valign="top" class="',  ......
#447
SMF 1.1.x Support / Disabling the forum menu while in gallery.
maaliskuu 11, 2008, 03:22:36 IP tekijältä astrod00d
...... 'm using SMF Gallery Lite and I would like for the forum menu  ............  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 />  ............ );';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_leftbar", mode ? 1 : 0,  ............  document.getElementById("upshrinkLeftbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ );';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_rightbar", mode ? 1 : 0,  ............  document.getElementById("upshrinkRightbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ (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. ............ ['show_load_time'])<br /> echo ' | '. $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'];<br /><br /> echo '<br /> </div>';<br />  ............  , '">&nbsp;</td>';<br /><br /> // Show the [home] button.<br /> echo ($current_action=='home' || $context[' ............ ']!='boardindex')<br /> // Show the [forum] button.<br /> echo ($current_action=='forum' || $context[ ............ ">&nbsp;</td>' : '';<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 == ............ " 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"  ............ ></div>';<br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip_mill($ ............ , $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] =  ............ ? '</'.$custom_td.'>' : '') .'</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............  (empty($button_strip))<br /> return '&nbsp;';<br /><br /> echo  ............ (' &nbsp;|&nbsp; ', $button_strip);<br />}<br />?> ......
#448
Arşiv / Sayfa Yüklenirken Hata Oluştu
maaliskuu 09, 2008, 09:22:47 AP tekijältä kanalforum
......  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 /> <option value="60">', $txt['smf53'], '</option><br /> <option value="1440"> ............ ', $txt['smf47'], '</option><br /> <option value="10080" ............ >', $txt['smf48'], '</option><br /> <option value="43200" ............ >', $txt['smf49'], '</option><br /> <option value="-1"  ............ ="selected">', $txt['smf50'], '</option><br /> </select><br /> < ............ ">kreativfantasy.com</a>&nbsp;|&nbsp;Ported to SMF by <a href="http://Www.genclup.net/" target=" ............ /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=" ............  if ($context['show_load_time'])<br /> echo $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /> echo '<br /> <div id=" ............ > 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 / ............  // Folder style or inline? Inline has a smaller font.<br /> echo '<div class="navbar" style=" ............ , $scripturl, $txt;<br /><br /> // Show the [home] button.<br /> echo '<br /> <td class="menu_nav"><a  ............ ] , '</a></td>';<br /><br /> // Show the [help] button.<br /> echo '<br /> <td class="menu_nav"><a  ............ '</a></td>';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ' ............ '] , '</a></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 == ......
......  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  ............ " 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 /> {<br /> echo ' <br /> <span style="font-size: 130%;"> ', $txt['hello_member_ndt'], ' <b>', ............ " 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. ............ ="http://www.mysql.com/" target="_blank" style="font-size:10px;">MySQL</a>&nbsp;|&nbsp;<a href="http:// ............ .php.net/" target="_blank" style="font-size:10px;">PHP</a>&nbsp;|&nbsp;<a href="http:// ............ .w3.org/check/referer" target="_blank" style="font-size:10px;">XHTML</a>&nbsp;|&nbsp;<a href="http:// ............ -validator/check/referer" target="_blank" style="font-size:10px;">CSS</a><br /> </td></tr><br />  ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> <br /> // This is  ............ > 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:  ............ "><br /> <tr>';<br /><br /> // Show the [home] button.<br /> echo '<br /> <td align="center"><a href= ............ ] , '</a></td>';<br /><br /> // Show the [help] button.<br /> echo '<br /> <td align="center"><a href= ............ ></td>';<br /> <br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ' ............ '] , '</a></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 />  ............ /table>';<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 == ......
#450
......  for my daftness.  I wanted to add a menu button to the default theme to take users back to my  ............  found a tutorial both on these boards and in the SMF manual area. I then, as far as I can tell,  ............ ;- " 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 '?' " So I  ............  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 == ......
#451
...... , $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 ' ............ ', images 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'  ............  This should probably be the version of SMF it was created for. */  $settings[' ............ ['use_tabs'] = true;   /* Use plain buttons - as oppossed to text buttons? */  $ ............ ['use_buttons'] = true;   /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />  <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script>   ............ "><!-- // --><![CDATA[   var smf_images_url = "', $settings['images_url'], '";   ............  var smf_scripturl = "', $scripturl, '";   ............  smf_iso_case_folding = ', $context['server'][' ............ '] ? '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...)   ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.   ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';   //  ............   echo '  smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............  document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  echo '  smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............  document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............  <span style="font-family: Verdana, sans-serif; font-size: 140%; ">', ............  <img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" />   ............  <span style="font-size: 130%;"> ', $txt['hello_member_ndt'], ' <b>', ............ '], '</span>';   // this is the upshrink button for the user info section  echo '   ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script>    ............  <option value="60">', $txt['smf53'], '</option>   ............  <option value="1440">', $txt['smf47'], '</option>   ............  <option value="10080">', $txt['smf48'], '</option>   ............  <option value="43200">', $txt['smf49'], '</option>   ............  <option value="-1" selected="selected">', $txt['smf50'], '</option>   ............  <span class="middletext">', $txt['smf52'], '</span>   ............ - // --><![CDATA[  function smfFooterHighlight(element, value)   ............  {  element.src = smf_images_url + "/" + (value ? "h_" : "") + hxxp: ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfF  ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmou seout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmo useout=" ............ '  <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';   // This is an  ............  window.addEventListener("load", smf_codeFix, false);    ............  smf_codeFix()  {   ............  window.addEventListener("load", smf_codeFix, false);  function  ............ .onload;  window.onload = smf_codeFix;   function  ............ , $options;   echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............  , '">&nbsp;</td>';   // Show the [home] button.  echo ($current_action=='home' || $ ............  '">&nbsp;</td>' : '';   // Show the [help] button.  echo ($current_action == 'help' || $ ............ ;</td>' : '';   // How about the [search] button?  if ($context['allow_search'])   ......
...... .com/"><img src="http://www.topmodelboatsites.com/button.php?u=modeltugforum" alt="Welcome to Top Model  ............ ="help"><img src="http://modeltugforum.com/Themes/default/images/helptopics.gif" alt="Help" align="top" /></ ............ ="help"><img src="http://modeltugforum.com/Themes/default/images/helptopics.gif" alt="Help" align="top" /></ ............ ="help"><img src="http://modeltugforum.com/Themes/default/images/helptopics.gif" alt="Help" align="top" /></ ............ ="help"><img src="http://modeltugforum.com/Themes/default/images/helptopics.gif" alt="Help" align="top" /></ ............ ="help"><img src="http://modeltugforum.com/Themes/default/images/helptopics.gif" alt="Help" align="top" /></ ............ ="help"><img src="http://modeltugforum.com/Themes/default/images/helptopics.gif" alt="Help" align="top" /></ ............ ="help"><img src="http://modeltugforum.com/Themes/default/images/helptopics.gif" alt="Help" align="top" /></ ............ ="help"><img src="http://modeltugforum.com/Themes/default/images/helptopics.gif" alt="Help" align="top" /></ ............ ="help"><img src="http://modeltugforum.com/Themes/default/images/helptopics.gif" alt="Help" align="top" /></ ............ ="help"><img src="http://modeltugforum.com/Themes/default/images/helptopics.gif" alt="Help" align="top" /></ ............ ="help"><img src="http://modeltugforum.com/Themes/default/images/helptopics.gif" alt="Help" align="top" /></ ............ ="help"><img src="http://modeltugforum.com/Themes/default/images/helptopics.gif" alt="Help" align="top" /></ ............ ="help"><img src="http://modeltugforum.com/Themes/default/images/helptopics.gif" alt="Help" align="top" /></ ............ ="help"><img src="http://modeltugforum.com/Themes/default/images/helptopics.gif" alt="Help" align="top" /></ ............ ="help"><img src="http://modeltugforum.com/Themes/default/images/helptopics.gif" alt="Help" align="top" /></ ............ /div><br /><div align="center"><a href="http://www.smfads.com">smfads v2.3 © jerm</a></div>  </td> ............ "text/javascript"><!-- // --><![CDATA[  function smfFooterHighlight(element, value)  {  element. ............  = smf_images_url + "/" + (value ? "h_" : "") + element. ............ -mysql" src="http://modeltugforum.com/Themes/default/images/powered-mysql.gif" alt="Powered by MySQL"  ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ "powered-php" src="http://modeltugforum.com/Themes/default/images/powered-php.gif" alt="Powered by PHP"  ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ " style="display: inline; visibility: visible; font-family: Verdana, Arial, sans-serif;"><a href=" ............ "Simple Machines Forum" target="_blank">Powered by SMF 1.1.4</a> |  <a href="http://www.simplemachines. ............ .php" title="Free Forum Software" target="_blank">SMF © 2006-2007, Simple Machines LLC</a>  </ ............ -xhtml10" src="http://modeltugforum.com/Themes/default/images/valid-xhtml10.gif" alt="Valid XHTML 1.0!"  ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="valid-css" src="http://modeltugforum.com/Themes/default/images/valid-css.gif" alt="Valid CSS!" width="54"  ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  = window.onload;  window.onload = smf_codeFix;   function smf_codeFix()  {  var  ......
#453
SMF Coding Discussion / Adding a sitemap to smf?
joulukuu 24, 2007, 09:55:17 IP tekijältä A2xA
......  Test successful Execute Modification ./Themes/default/index.template.php Test failed Execute  ............  ./Themes/default/languages/Help.english.php Test successful  ............  Modification ./Themes/default/languages/Modifications.english.php Test  ............  Execute Modification ./Themes/default/languages/Who.english.php Test successful  ............  Modification ./Themes/default/style.css Test successful Extract File ./ ............ /Sitemap.php  Extract File ./Themes/default/Sitemap.template.php  Execute Code  ............  0.983  YouTube BBCode 1.4  SMF Arcade 2.0.11  FlashChat Integration 1.0  ............  0.7.1  Googlebot & Spiders Mod 2.0.3  SMF Sitemap 1.2.1 (trying to install) cbi, 1.0   ............  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 />  ............  echo '<br /> smf_setThemeOption("collapse_leftbar", mode ? 1 : 0,  ............  document.getElementById("upshrinkLeftbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  echo '<br /> smf_setThemeOption("collapse_rightbar", mode ? 1 : 0,  ............  document.getElementById("upshrinkRightbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ (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 /> if (isset($context[' ............ > 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[' ............ ']!='boardindex')<br /> // Show the [forum] button.<br /> echo ($current_action=='forum' || $context[ ............ ">&nbsp;</td>' : '';<br /> // Show the [help] button.<br /> echo ($current_action == 'help' || $ ............  . '">&nbsp;</td>' : '';// 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 == ......
#454
......  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?rc2p"></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 /> // ]]></ ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?rc2" 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. ............ ['show_load_time'])<br /> echo '<br />'. $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'];<br /><br /> echo '<br /> </div><br /> </ ............ ;<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 == ......
#455
Graphics and Templates / Template problem with Mozilla
heinäkuu 29, 2007, 03:59:22 IP tekijältä Phusion
......  for a new template for my forum, and in the SMF website i came across a very nice template,  ............  better explain my problem ;  hxxp:testi.gocuk.org/smf/index.php/topic,5.0.html [nonactive]  Try looking  ............  that issue.  The name of the theme is Rediscover SMF: http://custom.simplemachines.org/themes/index. ............ ?php<br />// Version: 1.1 RC2; index<br /><br />/* smFox Skin | Rediscover SMF (c) 2006 PixelSlot http:// ............  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............  $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  ............  for.  This should probably be the version of SMF it was created for. */  $settings[' ............  $settings['use_tabs'] = 'false';   /* Use plain buttons - as oppossed to text buttons? */  $settings[' ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?rc2p"></script>  < ............ ="text/javascript"><!-- // --><![CDATA[  var smf_theme_url = "', $settings['theme_url'], '";   ............  smf_images_url = "', $settings['images_url'], '";   ............  var smf_scripturl = "', $scripturl, '";  // ]]></script> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?rc2" 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  ............ ="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. ............ '])  echo '  <span style="font-size: 15px; color:Grey;"> ', $txt[' ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script>    ............  <option value="60">', $txt['smf53'], '</option>  < ............  value="1440">', $txt['smf47'], '</option>  < ............  value="10080">', $txt['smf48'], '</option>  < ............  value="302400">', $txt['smf49'], '</option>  < ............  value="-1" selected="selected">', $txt['smf50'], '</option>  </ ............  <span class="middletext">', $txt['smf52'], '</span>  <input  ............ , $txt;   echo '  </div></div>';  // smFox Skin | Rediscover SMF (c) 2006 PixelSlot http:// ............ , the copyright must be somewhere!  echo ' <!-- smFox Skin | Rediscover SMF (c) 2006 PixelSlot http:// ............ ', '">  ', theme_copyright(), ' <!-- smFox Skin | Rediscover SMF (c) 2006 PixelSlot http:// ............  or serious action will be taken. -->';  // smFox Skin | Rediscover SMF (c) 2006 PixelSlot http:// ............  or serious action will be taken.  // To help SMF live  echo'  <script language=" ............  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()  ............  = window.onload;  window.onload = smf_codeFix;   function smf_codeFix()   ............  // Folder style or inline? Inline has a smaller font.  echo '<div class="nav" style="margin:10px;">'; ............ .  echo '  <ul>';  // Show the [home] button.  echo ($current_action=='home' || $context[' ............ ="nav_div">&nbsp;</li>';   // Show the [help] button.  echo ($current_action == 'help' || $context[' ............ ">&nbsp;</li>';   // How about the [search] button?  if ($context['allow_search'])  echo ($ ............ ="nav_div">&nbsp;</li>';   // the [member] list button  if ($context['allow_memberlist'])  echo ($ ............ >';    // If the user is a guest, show [login] button.  if ($context['user']['is_guest'])  echo ( ............  // If the user is a guest, also show [register] button.  if ($context['user']['is_guest'])  echo ( ............ :  Koodi [Valitse] Laajenna // Generate a strip of buttons. function template_button_strip($button_strip, $ ............  = false, $custom_td = '') {  global $settings, $buttons, $context, $txt, $scripturl;   // Create the  ............ ...  foreach ($button_strip as $key => $value)  {  if (isset($ ............ $context[$value['test']]))  {  unset($button_strip[$key]);  continue;  }   ............  (!isset($buttons[$key]) || $force_reset)  $buttons[$key] = ............ '') . '>' . $txt[$value['text']] . '</a>';   $button_strip[$key] = $buttons[$key];  }   if (empty($ ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td>  <td class="', $direction ==  ............ '] ? 'first' : 'last' , '">&nbsp;</td>'; }  /* smFox Skin | Rediscover SMF (c) 2006 PixelSlot http:// ......
......  this isn't too bad as I can just switch themes to default and they appear there, I just do that, edit those  ............  in the main forum with a link but I'd like a button along with the main tabs at the top to access it.  ............  found instructions on getting it to work in the default skin but none of the instructions appeared to  ............  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'] = false;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = false;<br /><br /> /* Show sticky and lock  ............ , $modSettings;<br /><br /> $csect_cookie = 'SMF_user_' . $context['user']['id'] . '_CSect';<br />  ............ ="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>  < ............  type="text/javascript"><!-- // --><![CDATA[  var smf_theme_url = "', $settings['theme_url'], '";  var  ............  = "', $settings['images_url'], '";  var smf_scripturl = "', $scripturl, '";  var  ............ ]['iso_case_folding'] ? 'true' : 'false', ';  var smf_charset = "', $context['character_set'], '";  // ] ............ .css?fin11" />';    if (empty($settings['theme_default_color']))  echo '  <link rel="stylesheet" type=" ............ " href="', $settings['theme_url'], '/maincolorcss/default_style.css?fin11" />';  else  {  if ($settings[' ............ .css?fin11" />';  elseif ($settings['theme_default_color'] == 2)  echo '  <link rel="stylesheet"  ............ .css?fin11" />';  elseif ($settings['theme_default_color'] == 3)  echo '  <link rel="stylesheet"  ............ .css?fin11" />';  elseif ($settings['theme_default_color'] == 4)  echo '  <link rel="stylesheet"  ............ .css?fin11" />';  elseif ($settings['theme_default_color'] == 5)  echo '  <link rel="stylesheet"  ............ .css?fin11" />';  elseif ($settings['theme_default_color'] == 6)  echo '  <link rel="stylesheet"  ............ ="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 is  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';   // Show  ............  "upshrink=" + (mode ? 1 : 0);';  else  echo '  smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............  '  document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ ']))  echo ' <div class="powered_by_smf" style="font-family: Georgia, sans-serif; font............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script>   <form  ............ ">  <option value="60">', $txt['smf53'], '</option>  <option value="1440">', $ ............ ['smf47'], '</option>  <option value="10080">',  ............ $txt['smf48'], '</option>  <option value="43200">',  ............ $txt['smf49'], '</option>  <option value="-1"  ............ ="selected">', $txt['smf50'], '</option>  </select>  <input  ............ " value="', $txt[34], '" /><br />  ', $txt['smf52'], '  <input type="hidden" name=" ............  echo '  <span style="text-transform: uppercase; font-weight: bold;">', $txt[102], '</span> : ', $ ............ =search;advanced" class="searchb" title="', $txt['smf298'], '"><img src="', $settings['images_url'], '/ ............ .gif" border="0" alt="', $txt['smf298'], '" /></a></td>  <td valign="middle" align=" ............ '])) {  if ($forum_version != 'SMF 1.1.2')  echo '  <div style="margin: 2ex;  ............ #ffb76f;">  <div style="float: left; width: 2ex; font-size: 2em; color: red;">!!</div>  <b style=" ............  This theme doesn\'t correspond to the version of SMF that you are using. This theme is made for SMF 1. ............ #e7e7f7;">  <div style="float: left; width: 2ex; font-size: 2em; color: red;">!!</div>  <b style=" ............  ($context['show_load_time'])  echo '  ', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '';   echo '  <!-- area_tc --></td>  <td  ............ "text/javascript"><!-- // --><![CDATA[  function smfFooterHighlight(element, value)  {  element. ............  = smf_images_url + "/" + (value ? "h_" : "") + element. ............ " style="margin: 0px 5px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ " style="margin: 0px 5px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ " style="margin: 0px 5px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ " style="margin: 0px 5px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ '])  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()  {  var  ............   // Folder style or inline? Inline has a smaller font.  echo '<span class="nav"', $settings[' ............ '] ? ' style="font-size: smaller;"' : '', '','','','','','','','','', ............ ="0" border="0">  <tr>';   // Show the [home] button.  if (!empty($settings['pnpn_forum_button']))   ............ ">  <a href="', $settings['pnpn_forum_button'], '">' , $txt[103] , '</a>  </td>  <td class=" ............ ">&nbsp;</td>';   if (!empty($settings['pnpn_forum_button']))  {  // Show the [home] button.  echo ($ ............  <a href="', $scripturl, '">' , $txt['pnpn_forum_button_forum'] , '</a>  </td>' , $current_action == ' ............ '">&nbsp;</td>';   }  else  {  // Show the [forum] button.  echo ($current_action=='home' || $context[' ............ . $last . '">&nbsp;</td>';   }  // Show the [help] button.  echo ($current_action == 'help' || $context[' ............  '">&nbsp;</td>';     // How about the [search] button?  if ($context['allow_search'])  echo ($ ............  . $last . '">&nbsp;</td>';   // the [member] list button  if (!empty($settings['member_list_button']))  {   ............ ($settings['member_list_button'])  {  if ($context['allow_memberlist'])  echo ($ ............ ;  }   }   // If the user is a guest, show [login] button.  if ($context['user']['is_guest'])  echo ($ ............    // If the user is a guest, also show [register] button.  if ($context['user']['is_guest'])  echo ($ ............ '  </tr>  </table>';  }  // Generate a strip of buttons. function template_button_strip($button_strip, $ ............  = false, $custom_td = '') {  global $settings, $buttons, $context, $txt, $scripturl;   // Create the  ............ ...  foreach ($button_strip as $key => $value)  {  if (isset($value[' ............  && empty($context[$value['test']]))  {  unset($button_strip[$key]);  continue;  }  elseif (!isset($ ............ [$key]) || $force_reset)  $buttons[$key] = '<a href="' . $value['url'] . '" ' .(  ............ ] : '') . '>' . $txt[$value['text']] . '</a>';   $button_strip[$key] = $buttons[$key];  }   if (empty($ ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td>  <td class="', $direction == ' ............  sense of that and tell me how to get a gallery button in there I'd be most obliged. Preferably just  ............  the Home button. Gallery URL is of course main forum URL plus "/ ......
#457
SMF 1.1.x Support / Problem when Installing mods
kesäkuu 23, 2007, 04:03:54 AP tekijältä losedude
......  the spoiler mod on my forum that isn't using the default SMF theme.   I followed the guide and then came  ............  what do I do when a file that exists in the default theme doesn't exist in mine !!   Also I Installed  ............  Spoiler TAG mod via SMF, then made some modifications to my template and  ............ ://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">  <id>azatoth: ............ {  $settings['spoiler_tag'] = isset($modSettings['defaultSpoilerStyle']) ? $modSettings[' ............ !allowedTo('spoiler_show'))  return '';    /*  3: button  2: link  1: hover (default default)  */  $retval  ............ "><div class="spoilerheader">'.  '<input type="button" class="spoilerbutton" value="'.$txt[' ............  $content.'</div></div>'  );  break;  case 1:  default:  $retval = (  '<fieldset class="spoiler" '.   ............ ,  ), ]]></add>  </operation>  </file>    <!-- Default Theme -->  <file name="$boarddir/Themes/default............ : 1px dashed gray; }  fieldset.spoiler > legend {  font-size: 1.2em; }  div.spoilerheader a {  font............ : sans-serif;  font-size: 1.1em;  font-weight: bold; }  div. ............   {  background-color: #cececc;  color: #3e3e33;  font: 0.9em sans-serif; }  div.spoilerbody  {  color: # ............ /operation>  </file>  <file name="$boarddir/Themes/default/languages/index.english.php">  <operation>  < ............ >  </file>   <file name="$boarddir/Themes/default/languages/Themes.english.php">  <operation>  < ............ '] = 'Spoiler Tag'; $txt['spoiler_tag_desc'] = 'Default is <b>fieldOnHoverShow</b> if not specified in  ............ </b>, wich is a link you click on and <b>buttonOnClickShowHide</b> wich is a button you click on.' ............ ; $txt['spoiler_tag_default'] = 'default'; $txt['spoiler_tag_onhoverovershow'] ............ '] = 'linkOnClickShowHide'; $txt['spoiler_tag_onbuttonclickshow'] = 'buttonOnClickShowHide'; ]]></add>   ............ >  </file>    <file name="$boarddir/Themes/default/languages/ManagePermissions.english.php">  < ............ >  <add><![CDATA[  '',  array('select', 'defaultSpoilerStyle', array(  '1' => &$txt[' ............ '],  '3' => $txt['spoiler_tag_onbuttonclickshow']  )), ]]></add>  </operation>  </ ............ >   <file name="$boarddir/Themes/default/languages/ModSettings.english.php">  <operation>  ............ ; ModSettings ]]></search>  <add><![CDATA[ $txt['defaultSpoilerStyle'] = 'Default Spoiler Tag'; $txt[' ............ '] = 'linkOnClickShowHide'; $txt['spoiler_tag_onbuttonclickshow'] = 'buttonOnClickShowHide'; ]]></add>   ............ >  </file>   <file name="$boarddir/Themes/default/languages/Help.english.php">  <operation>  < ............ (); ]]></search>  <add><![CDATA[  $helptxt['defaultSpoilerStyle'] = 'Set this to change the default  ............ >  </file>    <file name="$boarddir/Themes/default/languages/Errors.english.php">  <operation>  < ............ >  </file>    <file name="$boarddir/Themes/default/Settings.template.php">  <operation>  <search  ............   'options' => array(  0 => $txt['spoiler_tag_default'],  1 => $txt['spoiler_tag_onhoverovershow'],   ............ '],  3 => $txt['spoiler_tag_onbuttonclickshow'],  ),  ), ]]></add>  </operation>  < ............  dashed gray;  }  fieldset.spoiler > legend  {  font-size: 1.2em; }  div.spoilerheader a  {  font............ : sans-serif;  font-size: 1.1em;  font-weight: bold; }  div. ............  input  {  font-family: sans-serif;  font-size: 1.1em;  font............ >  </file>  <file name="$boarddir/Themes/default/Post.template.php">  <operation>   ......
#458
Graphics and Templates / Header/Footer File Help
kesäkuu 05, 2007, 08:30:30 IP tekijältä AxS Voldsom
...... 'm trying to get my smf into layers to use thorughout my site. My problem  ............  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 />  ............  echo '<br /> smf_setThemeOption("collapse_leftbar", mode ? 1 : 0,  ............  document.getElementById("upshrinkLeftbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  echo '<br /> smf_setThemeOption("collapse_rightbar", mode ? 1 : 0,  ............  document.getElementById("upshrinkRightbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ (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%; ">', ............ ="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:  ............ 'pick' ? 'profile' : 'admin';<br /><br /> // Begin SMFShop code<br /> if ($context['current_action'] == ' ............ )))<br /> $current_action = 'admin';<br /> // End SMFShop code<br /><br /> // Are we using right-to- ............  , '">&nbsp;</td>';<br /><br /> // Show the [home] button.<br /> echo ($current_action=='home' || $context[' ............ ']!='boardindex')<br /> // Show the [forum] button.<br /> echo ($current_action=='forum' || $context[ ............ ">&nbsp;</td>' : '';<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 == ......
#459
SMF 1.1.x Support / Header Image
maaliskuu 30, 2007, 11:54:57 AP tekijältä Poisonhearts
......  $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  ............  for.  This should probably be the version of SMF it was created for. */  $settings[' ............   $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'], '";   ............  var smf_scripturl = "', $scripturl, '";  var  ............ '] ? '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  ............ ="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. ............ ']))  echo '  <span style="font-family: Georgia, serif; font-size: 160%; ">', $ ............ .'"><img src="', $settings['images_url'], '/smflogo.gif" style="margin: 1px;" title="'.$context[' ............ " height="32">  <span style="font-size: 130%;"> ', $txt['hello_member_ndt'], ' <b>', ............ '], '</span>';   // this is the upshrink button for the user info section  echo '   ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script>    ............  <option value="60">', $txt['smf53'], '</option>  < ............  value="1440">', $txt['smf47'], '</option>  < ............  value="10080">', $txt['smf48'], '</option>  < ............  value="43200">', $txt['smf49'], '</option>  < ............  value="-1" selected="selected">', $txt['smf50'], '</option>  </ ............  <span class="middletext">', $txt['smf52'], '</span>  <input  ......
#460
Joomla Bridge Support / remove smf header in joomla wrapped mode
helmikuu 04, 2007, 10:37:34 IP tekijältä airnikez
...... 'm using smf 1.1.1 with joomla in wrapped mode.  i was able to  ............  the header out when smf is not wrapped inside joomla. where and how can i  ............  wrapped inside joomla? for some weird reason the smf header is overlayed ontop of my joomla header and  ............  be able to remove the header and footer when the smf forum is wrapped inside joomla.  Koodi [Valitse]  ............  <div id="selectors">  <span class="font-selector">&nbsp;</span>  <span  ............ ;</span>  </div>  <div id="buttons">  <a href="',$scripturl,'? ............ " title="fluid width" class="fluid"><span class="button">&nbsp;</span></a>  <a href="',$ ............ " title="wide width" class="wide"><span class="button">&nbsp;</span></a>  <a href="',$ ............ " title="thin width" class="thin"><span class="button">&nbsp;</span></a>  <a href="',$ ............ ,'?fontstyle=f-larger" title="Increase size" class="lrg">< ............  class="button">&nbsp;</span></a>  <a href="',$ ............ ,'?fontstyle=f-default" title="Default size" class="med">< ............  class="button">&nbsp;</span></a>  <a href="',$ ............ ,'?fontstyle=f-smaller" title="Decrease size" class="sml"> ............ <span class="button">&nbsp;</span></a>  </div>  </ ......
Advertisement: