nerde bu webmaster müridler :)

o halde smf 2.0 rc1 eklentisini bulup indireceksin bi nceki 1.1.8 için olduğundan desteklemiyor Mülk Allahındır, Adalet Mülkün Temelidir

Mozillanın search plugin eklentisini smf 1.1.8 versiyonda index. temple. php ye ekleyerek çalışır duruma getirmiştim. Şimdi smf 2.0 rc1 kullanıyorum ne yaptıysam olmadı. Bu konu hakkında bilgisi olan varmı?

eklenti mozilllanın smf in byle bir eklentisi yok zaten. Kodları ben ekliyordum. Şimdi 2.0 a ekliyorum olmuyor. Yani bi yerde yanlışlık yaptığıma eminim çünkü çok basit bir kod zaten. eklemem gereken kod şu ; <link rel="search" type="application/opensearchdescription+xml" title="Teori-z. CoM" href="http://www.teori-z.com/forum/z. xml"> Eklemem gereken yerde burası ; <?php// Version: 2.0 RC1; index/ This template is, perhaps, the most important template in the theme. It contains the main template layer that displays the header and footer of the forum, namely with main_above and main_below. It also contains the menu sub template, which appropriately displays the menu; the init sub template, which is there to set the theme up; and the linktree sub template, which sorts out the link tree. The init sub template should load any data and set any hardcoded options. The main_above sub template is what is shown above the main content, and should contain anything that should be shown up there. The main_below sub template, conversely, is shown after the main content. It should probably contain the copyright statement and some other things. The linktree sub template should display the link tree, using the data in the $context variable. The menu sub template should display all the relevant buttons the user wants and or needs. For more information on the templating system, please see the site at: http://www.simplemachines.org/ /// Initialize the template... mainly little settings. function template_init // The main sub template above the content. function template_html_above { global $context, $settings, $options, $scripturl, $txt, $modSettings; // Show right to left and the character set for ease of translating. echo '<! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www. w3. org/TR/xhtml1/DTD/xhtml1-transitional. dtd"><html xmlns="http://www. w3. org/1999/xhtml"', $context ? ' dir="rtl"' : '', '><head> <meta http-equiv="Content-Type" content="text/html; charset=', $context , '" /> <meta name="description" content="', $context , '" /> <meta name="keywords" content="', $context , '" /> <script language="JavaScript" type="text/javascript" src="', $settings , '/scripts/script. js?rc1"></script> <script language="JavaScript" type="text/javascript" src="', $settings , '/scripts/theme. js?rc1"></script> <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[ var smf_theme_url = "', $settings , '"; var smf_default_theme_url = "', $settings , '"; var smf_images_url = "', $settings , '"; var smf_scripturl = "', $scripturl, '"; var smf_iso_case_folding = ', $context ? 'true' : 'false', '; var smf_charset = "', $context , '";', $context ? ' if (confirm window. open(smf_prepareScriptUrl + "action=pm");' : '', ' var ajax_notification_text = "', $txt , '"; var ajax_notification_cancel_text = "', $txt , '"; // ]]></script> <title>', $context , '</title>'; // Please don't index these Mr Robot. if (! empty echo ' <meta name="robots" content="noindex" />'; // The?rc1 part of this link is just here to make sure browsers don't cache it wrongly. echo ' <link rel="stylesheet" type="text/css" href="', $settings , '/style', $context , '. css?rc1" />'; echo ' <link rel="stylesheet" type="text/css" href="', $settings , '/css/print. css?rc1" media="print" />'; // IE7 needs some fixes for styles. if ($context ) echo ' <link rel="stylesheet" type="text/css" href="', $settings , '/css/ie7. css" />'; // .. and IE6! elseif ($context ) echo ' <link rel="stylesheet" type="text/css" href="', $settings , '/css/ie6. css" />'; // Firefox - all versions - too! elseif echo ' <link rel="stylesheet" type="text/css" href="', $settings , '/css/ff. css" />'; // RTL languages require an additional stylesheet. if echo ' <link rel="stylesheet" type="text/css" href="', $settings , '/css/rtl. css" />'; echo' <!-- > <script language="JavaScript" charset="', $context , '" type="text/javascript" src="', $settings , '/png. js"></script> <! -->'; // Show all the relative links, such as help, search, contents, and the like. echo ' <link rel="help" href="', $scripturl, '?action=help" /> <link rel="search" href="' . $scripturl. '?action=search" /> <link rel="contents" href="', $scripturl, '" />'; // If RSS feeds are enabled, advertise the presence of one. if (! empty echo ' <link rel="alternate" type="application/rss+xml" title="', $context , ' - RSS" href="', $scripturl, '?type=rss;action=. xml" />'; // If we're viewing a topic, these should be the previous and next topics, respectively. if (! empty echo ' <link rel="prev" href="', $scripturl, '?topic=', $context , '.0;prev_next=prev" /> <link rel="next" href="', $scripturl, '?topic=', $context , '.0;prev_next=next" />'; // If we're in a board, or a topic for that matter, the index will be the board's index. if (! empty echo ' <link rel="index" href="', $scripturl, '?board=', $context , '.0" />'; // We'll have to use the cookie to remember the header... if // Output any remaining HTML headers. echo $context , ' <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[ // Create the main header object. var mainHeader = new smfToggle("upshrink", ', empty ? 'false' : 'true', '); mainHeader. useCookie(', $context ? 1 : 0, '); mainHeader. setOptions ; mainHeader. addToggleImage("upshrink", "/upshrink. gif", "/upshrink2. gif"); mainHeader. addTogglePanel ; mainHeader. addTogglePanel ; // ]]></script>'; echo ' <script charset="', $context , '" language="JavaScript" type="text/javascript" src="', $settings , '/mootools. js"></script> <script charset="', $context , '" language="JavaScript" type="text/javascript" src="', $settings , '/imageMenu. js"></script> <script charset="', $context , '" language="JavaScript" type="text/javascript" src="', $settings , '/kwick. js"></script></head><script type="text/javascript">var gaJsHost = ? "https://ssl." : "http://www.");document. write(unescape("%3Cscript src=\'" + gaJsHost + "google-analytics.com/ga. js\' type=\'text/javascript\'%3E%3C/script%3E"));</script><script type="text/javascript">try catch </script><body>';}function template_body_above { global $context, $settings, $options, $scripturl, $txt, $modSettings; echo '<div class="ust"> <div style="margin:auto;width:910px;"> <table style="padding-top:15px;" width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="left" valign="middle" style="font-size:11px; font-family:Arial, Helvetica, sans-serif; font-weight:bold;">'; if { // Only tell them about their messages if they can read their messages! if { if ($context > 0) elseif ($context 0) } echo ' <img alt="" src="'.$settings .'/yenimesaj. gif" /> <span class="yenimesaj"><a href="', $scripturl, '?action=unread">', $txt , '</a></span> <img alt="" src="'.$settings .'/mesajcevap. gif" /> <span class="mesajcevap"><a href="', $scripturl, '?action=unreadreplies">', $txt , '</a></span>'; // Are there any members waiting for approval? if (! empty echo ' <img alt="" src="', $settings , '/onay. gif" /> <font style="font-size: 8pt"><a href="', $scripturl, '?action=admin;area=viewmembers;sa=browse;type=approve">', $context , ' ' , $txt , '</a>'; // Is the forum in maintenance mode? if echo ' <b>', $txt , '</b><br />'; // Show the total time logged in? if (! empty } if echo ' </td> <td align="right" valign="middle" style="font-size:11px; font-family:Arial, Helvetica, sans-serif; font-weight:bold;">'; if if echo' </td> </tr> </table> </div></div><div class="orta"> <div style="margin:auto;width:910px;"> <table cellspacing="0" cellpadding="3" border="0" align="center" width="100%"> <tr> <td align="left"><img src="', $settings , '/logo. png" alt="" /></td> <td align="right">', (! empty ? $settings : ''), '</td> </tr> </table> </div></div><div class="orta"> <div class="bg">', template_menu , '</div></div><div class="orta"> <div style="margin:auto;width:910px;"> <div id="wrapper" style="padding: 1ex 0px 2ex 0px;"> <div id="leftcolumn"> ', theme_linktree ;}function template_body_below function template_html_below // Show a linktree. This is that thing that shows "My Community | General Category | General Discussion".. function theme_linktree { global $context, $settings, $options, $shown_linktree; // If linktree is empty, just return - also allow an override. if (empty || (! empty && !$force_show)) return; //!!! Temporarily don't do it twice. if (! empty return; $shown_linktree = true; echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top: 2ex;">'; // Each tree item has a URL and name. Some may have extra_before and extra_after. foreach echo ' </div>';}// Show the menu up top. Something like ... function template_menu { global $context, $settings, $options, $scripturl, $txt; echo ' <div id="kwick"> <ul class="kwicks">'; $i = 0; foreach echo ' </ul> </div>';}// Generate a strip of buttons, out of buttons. function template_button_strip function theme_owner_copyright function theme_owner_copyright_error_disp { global $ownerc, $txt; if(isset && ! empty && $nums '' .$txt . '') else }?> Biraz uzun oldu ama buraya yle bi şekilde koyacam ki hata vermicek daha nce şuraya koyuyordum; // ]]></script> <title>', $context , '</title>';Buraya Şimdi orada hata veriyor.. Başka bi yere koymam lazım hem hata vermicek hem kod çalışacak.. nasıl yaparım?