collapse

* Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 666
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Sohbet Kutusu

Refresh History
  • Destek için kullanmay?n!
  • akorkut: Ama desteklerinizi de bekliyoruz.
    November 18, 2016, 08:41:36 AM
  • akorkut: grafitus hocam, yaklaşık 10 yıl.. smf, sp,  sizin ve diğer paylaşımseverin çalışmalarınızl bize destek oldu. Herşey için çok teşekkür ederiz.
    November 18, 2016, 08:40:38 AM
  • grafitus: Merhabalar herkese. Uzun zaman oldu, hayatlar değişti. Vakit ayıramaz olduk. SMF ve SimplePortal'ın yeri farklı olsa da artık aktif olmadıkları aşikar. Belki bir gün yeniden forumlar doğar. :)) Sevgilerle.
    November 18, 2016, 08:26:32 AM
  • tc bolubeyi: gelen giden yok pek
    July 31, 2016, 02:52:53 PM
  • tekniker974: Neredeyse 1 sene olmuş
    May 12, 2016, 01:05:50 AM
  • tekniker974: Günaydın
    May 12, 2016, 01:05:19 AM
  • tc bolubeyi: merhaba dostlara
    August 28, 2015, 08:56:04 AM
  • mert1i: ker alaka
    August 03, 2015, 10:07:49 AM
  • sonkalem: sa
    July 14, 2015, 03:27:51 PM
  • tc bolubeyi: sağolun ben de iyi allaha şükür
    June 10, 2015, 05:52:54 PM
  • mkuru: Teşekkürler Hasan Bey. Sizi sormalı
    May 27, 2015, 02:53:43 AM
  • tc bolubeyi: selam dostlar nasılsınız
    May 23, 2015, 06:52:15 PM
  • streetfire: Ben seviyorum.
    May 01, 2015, 03:39:22 PM
  • streetfire: Valla bilmiyorum. Sitemde çok kullanıyorum.
    May 01, 2015, 03:39:14 PM
  • mkuru: Evet haklısın
    April 03, 2015, 08:23:32 AM
  • mert1i: portalın en çok istenen ama en aaz talep gören kısmı bu chat
    April 01, 2015, 07:35:31 AM
  • mert1i: Selamun aleyküm ahali..
    January 27, 2015, 05:20:06 AM
  • tekniker974: a.s.
    August 12, 2014, 03:22:53 PM
  • delirium: S.a
    August 02, 2014, 10:24:22 AM
  • tekniker974: :nervous-happy:kimse yok
    July 15, 2014, 01:19:26 PM

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

Welcome to SimplePortal.net! You can download SimplePortal from the Downloads Area!

Author Topic: Kurulum Subs.php Hatası  (Read 3827 times)

0 Members and 1 Guest are viewing this topic.

Offline TurkDisk

  • Semi Newbie
  • *
  • Posts: 6
  • SMF Version: 1.1.11
  • SP Version: 2.3.2
Kurulum Subs.php Hatası
« on: September 04, 2010, 07:55:35 AM »
Subs.php içinde

Ara
Code: [Select]
\?(?:' . SID . ';)((?:board|topic
Değiştir
Code: [Select]
\?(?:' . SID . ';)((?:board|topic|page
Bu kısım bende

Code: [Select]
// Put the session ID in.
if (defined('SID') && SID != '')
$setLocation = preg_replace('/^' . preg_quote($scripturl, '/') . '(?!\?' . preg_quote(SID, '/') . ')(\?)?/', $scripturl . '?' . SID . ';', $setLocation);
// Keep that debug in their for template debugging!
elseif (isset($_GET['debug']))
$setLocation = preg_replace('/^' . preg_quote($scripturl, '/') . '(\?)?/', $scripturl . '?debug;', $setLocation);

Şeklinde.

Yine Aynı şekilde

Ara
Code: [Select]
\?((?:board|topic
Değiştir
Code: [Select]
\?((?:board|topic|page
Bunlar yok benim Subs.php içinde  :'(

Offline grafitus

  • Board Moderators
  • *
  • Posts: 1554
  • Gender: Male
  • just looking for own old energy
  • SMF Version: None
  • SP Version: None
Re: Kurulum Subs.php Hatası
« Reply #1 on: September 04, 2010, 12:48:13 PM »
Pretty URLs veya SimpleSEF benzeri bir modifikasyon yüklemiş olmalısınız. SimplePortal'ın burada yaptığı değişiklikler, SMF'nin varsayılan olarak gelen basit SEF'i için gerekli. Yani burayı yapmasanızda olur.
my modsI don't reply support PMs. Please use support forums.

Offline TurkDisk

  • Semi Newbie
  • *
  • Posts: 6
  • SMF Version: 1.1.11
  • SP Version: 2.3.2
Re: Kurulum Subs.php Hatası
« Reply #2 on: September 04, 2010, 01:34:39 PM »
Peki hocam teşekkür ederim. SimplePortal ı kurunca tepedeki Admin, Profil, Arama, Takvim ve benzeri butonlar kayboldu.

index.template.php kodlarında ilgili kısım
Code: [Select]
// Start of the tab section.
echo '
<ul>';

// Show the default [home] button.
echo ($current_action=='home' || $context['browser']['is_ie4']) ? '' : '' , '
<li class="' , $current_action == 'home' ? 'current' : '' , '"><a href="', $scripturl, '">' , $txt[103] , '</a></li>';

// Show the [forum] button.
if (empty($context['disable_sp']) && in_array($modSettings['sp_portal_mode'], array(1, 3)))
echo ($current_action=='forum' || $context['browser']['is_ie4']) ? '' : '' , '
<li class="' , $current_action == 'forum' ? 'current' : '' , '"><a href="', $scripturl . ($modSettings['sp_portal_mode'] == 1 ? '?action=forum' : ''), '">', empty($txt['sp-forum']) ? 'Forum' : $txt['sp-forum'], '</a></li>';

// How about the [search] button?

echo ($current_action=='search' || $context['browser']['is_ie4']) ? '' : '' , '
<li class="' , $current_action == 'search' ? 'current' : '' , '"><a href="', $scripturl, '?action=search">' , $txt[182] , '</a></li>';

// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
echo ($current_action=='admin' || $context['browser']['is_ie4']) ? '' : '' , '
<li class="' , $current_action == 'admin' ? 'current' : '' , '"><a href="', $scripturl, '?action=admin">' , $txt[2] , '</a></li>';

// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo ($current_action=='profile' || $context['browser']['is_ie4']) ? '' : '' , '
<li class="' , $current_action == 'profile' ? 'current' : '' , '"><a href="', $scripturl, '?action=profile">' , $txt[79] , '</a></li>';

// Go to PM center... [pm]
if ($context['user']['is_logged'] && $context['allow_pm'])
echo ($current_action=='pm' || $context['browser']['is_ie4']) ? '' : '' , '
<li class="' , $current_action == 'pm' ? 'current' : '' , '"><a href="', $scripturl, '?action=pm">' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '[<strong>'. $context['user']['unread_messages'] . '</strong>]' : '' , '</a></li>';

// The [calendar]!
if ($context['allow_calendar'])
echo ($current_action=='calendar' || $context['browser']['is_ie4']) ? '' : '' , '
<li class="' , $current_action == 'calendar' ? 'current' : '' , '"><a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a></li>';

// MSNDestek
echo ($current_action == 'MSNDestek' || $context['browser']['is_ie4']) ? '' : '' , '
<li class="' , $current_action == 'MSNDestek' ? 'current' : '' , '"><a href="', $scripturl, '?action=MSNDestek">' , $txt['MSNDestek'] , '</a></li>';

// Paypal Mod
if (($modSettings['payPalEnable']) && (allowedTo('payPal_view')))
echo ($current_action == 'paypal' || $context['browser']['is_ie4']) ? '' : '' , '
<li class="' , $current_action == 'paypal' ? 'current' : '' , '"><a href="', $scripturl, '?action=paypal">' , $txt['payPal'] , '</a></li>';

// If the user is a guest, show [login] button.
if ($context['user']['is_guest'])
echo ($current_action=='mlist' || $context['browser']['is_ie4']) ? '' : '' , '
      <li><a href="', $scripturl, '?action=login">' , $txt[34] , '</a></li>';


// If the user is a guest, also show [register] button.
if ($context['user']['is_guest'])
echo ($current_action=='mlist' || $context['browser']['is_ie4']) ? '' : '' , '
     <li><a href="', $scripturl, '?action=register">' , $txt[97] , '</a></li>';


// Otherwise, they might want to [logout]...
if ($context['user']['is_logged'])
echo ($current_action=='mlist' || $context['browser']['is_ie4']) ? '' : '' , '
      <li><a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">' , $txt[108] , '</a></li>';

echo '</ul>';
}

buna rağmen eğer,

Code: [Select]
if ($context['allow_admin'])
kodunu silersem Admin buton olarak görünüyor fakat bu kez ziyaretçiler de görebiliyor.

Panele giriş yapmak için ?action=admin yazıyorum sürekli   :whistle:

diğer butonlarında görünmesini istiyorum...

Ayrıca,

index.template.php de aşağıdaki kodlar bulunmasına rağmen
Code: [Select]
if ($context['user']['is_logged'])
{
echo '<b>', $txt['hello_member_ndt'], ' ', $context['user']['name'], '</b><br />';

echo '<a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a><br /><a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a><br />';

}
// Otherwise they're a guest - this time ask them to either register or login - lazy bums...
else
{
echo '
', $txt['welcome_guest'], ' ';
}


if ($context['user']['is_logged'])
{

// Is the forum in maintenance mode?
if ($context['in_maintenance'] && $context['user']['is_admin'])
echo '
<b>', $txt[616], '</b><br />';

// Are there any members waiting for approval?
if (!empty($context['unapproved_members']))
echo '
', $context['unapproved_members'] == 1 ? $txt['approve_thereis'] : $txt['approve_thereare'], ' <a href="', $scripturl, '?action=viewmembers;sa=browse;type=approve">', $context['unapproved_members'] == 1 ? $txt['approve_member'] : $context['unapproved_members'] . ' ' . $txt['approve_members'], '</a> ', $txt['approve_members_waiting'], '<br />';

// Show the total time logged in?
if (!empty($context['user']['total_time_logged_in']))
{
echo '
', $txt['totalTimeLogged1'];

// If days is just zero, don't bother to show it.
if ($context['user']['total_time_logged_in']['days'] > 0)
echo $context['user']['total_time_logged_in']['days'] . $txt['totalTimeLogged2'];

// Same with hours - only show it if it's above zero.
if ($context['user']['total_time_logged_in']['hours'] > 0)
echo $context['user']['total_time_logged_in']['hours'] . $txt['totalTimeLogged3'];

// But, let's always show minutes - Time wasted here: 0 minutes ;).
echo $context['user']['total_time_logged_in']['minutes'], $txt['totalTimeLogged4'], '<br />';
}
}

Çevrim içi olunan süre de malesef kayboldu görükmüyor tepede :(
« Last Edit: September 04, 2010, 01:38:34 PM by TurkDisk »

Offline grafitus

  • Board Moderators
  • *
  • Posts: 1554
  • Gender: Male
  • just looking for own old energy
  • SMF Version: None
  • SP Version: None
Re: Kurulum Subs.php Hatası
« Reply #3 on: September 04, 2010, 03:38:14 PM »
Site adresinizi ve index.template.php'nizin tamamını görebilir miyim? Ve ayrıca, SimplePortal'ı kaldırınca yine görünüyorlar mı?
my modsI don't reply support PMs. Please use support forums.

Offline TurkDisk

  • Semi Newbie
  • *
  • Posts: 6
  • SMF Version: 1.1.11
  • SP Version: 2.3.2
Re: Kurulum Subs.php Hatası
« Reply #4 on: September 04, 2010, 03:57:09 PM »

Offline TurkDisk

  • Semi Newbie
  • *
  • Posts: 6
  • SMF Version: 1.1.11
  • SP Version: 2.3.2
Re: Kurulum Subs.php Hatası
« Reply #5 on: September 05, 2010, 06:20:25 PM »
Hocam ayrıca şimdi fark ettim forum sayfasındaki Forum İstatistikleri kısmında da son üye vs gibi bazı bilgiler görünmüyor :S Portal yükleyince kayboldu bunlar...

EDIT //

Hocam paketi kaldır dedim panelden kaldırınca herşey normale dönüyor. Ama sorun ne olabilir ki ?

EDIT //

Yeniden kurdum yeniden butonlar ve bazı şeyler uçtu :S
« Last Edit: September 05, 2010, 08:16:48 PM by TurkDisk »

Offline TurkDisk

  • Semi Newbie
  • *
  • Posts: 6
  • SMF Version: 1.1.11
  • SP Version: 2.3.2
Re: Kurulum Subs.php Hatası
« Reply #6 on: September 11, 2010, 10:30:42 AM »
Hocam ?