Modu kurduktan sonra misafirler görüyor sadece, ancak kayıtlı kullanıcılar için bir fix verilmiş phpbb.com mod konusunda.. Ben uyguladım çalışıyor..
http://www.phpbb.com/community/viewtopi ... 5#p4611615 Özetle, zip dosyasını açıp root/ dizine atıyorsunuz, sonra includes/functions_user.php dosyasında
'user_options' => 895
yerine
'user_options' => 2943
konuluyor..
zip ile inen dosya siteadres.com/ yolundan çalıştırılınca kayıtlı kullanıcıların hepsinde bu özellik aktif oluyor..
Sonra da çalışıtırılan dosya silniyor..
pgarvin76 yazdı:How to make Topic Preview on for all users:- Download topicprev_all_users_on.zip
- Extract topicprev_all_users_on.php from the zip file and upload it to the root directory of your phpbb3 board.
- Navigate to this file in your browser.
- Remove the file from your webserver.
When the script runs you will see three short messages: the number of users in your database, the number of users that need to be updated, and the number successfully updated. Any errors will be printed out. The script checks to see if the proper bitfield value is already set and skips the user if it is.
One word of caution. Double check if your other MODS use the
user_options field. This script assumes that Topic Preview is number 11 in the $keyoptions array (see includes/session.php). If you have another MOD that uses number 11 you will have to open up my script and adjust the number accordingly.
To make Topic Preview enabled by default for all new users:Open:
includes/functions_user.phpFind:
- Kod: Tümünü seç
'user_options' => 895,
Inline find:
- Kod: Tümünü seç
895
Replace with:
- Kod: Tümünü seç
2943
That is all.
