Aşağıda, phpMyAdmin kullanarak bir XenForo veritabanının xf_phrase tablosunda "doğrudan mesaj" metnini "özel mesaj" ile değiştirmeyi anlatan kısa bir rehber bulacaksınız. SQL kodu ve adım adım talimatlar dahil.
XenForo'da "doğrudan mesaj" Metnini "özel mesaj" ile Değiştirme (phpMyAdmin Üzerinden)
Bu rehberde XenForo'nun xf_phrase tablosundaki "doğrudan mesaj" ifadesinin tüm geçişlerini hızlıca "özel mesaj" ile nasıl değiştireceğinizi öğreneceksiniz. Çevirileri özelleştirmek veya forum genelinde metni düzeltmek için faydalıdır.
1. Veritabanınızı Yedekleyin
Veritabanında değişiklik yapmadan önce daima yedek alın.
- phpMyAdmin içinden sol kenar çubuğundan XenForo veritabanınızı seçin.
- Üstteki Export sekmesine tıklayın.
- Quick export seçeneğini seçin ve Go tuşuna basarak .sql dosyasını bilgisayarınıza indirin.
İpucu: Yedek almak şarttır. Bir şeyler ters giderse orijinal verileri geri yükleyebilirsiniz.
2. SQL Bölümüne Gidin
- phpMyAdmin'de XenForo veritabanınızda olduğunuzdan emin olun.
- Sorgu düzenleyicisini açmak için üstteki SQL sekmesine tıklayın.
3. Güncelleme Sorgusunu Çalıştırın
Aşağıdaki sorguyu düzenleyiciye kopyalayıp yapıştırın ve Go tuşuna basın:
Code:
UPDATE xf_phrase
SET phrase_text = REPLACE(phrase_text, 'doğrudan mesaj', 'özel mesaj')
WHERE phrase_text LIKE '%doğrudan mesaj%';
İşlevi:
- UPDATE xf_phrase: XenForo ifadelerinin çoğunluğunun saklandığı xf_phrase tablosunu hedefler.
- REPLACE(phrase_text, 'doğrudan mesaj', 'özel mesaj'): phrase_text kolonunda "doğrudan mesaj" arar ve "özel mesaj" ile değiştirir.
- WHERE phrase_text LIKE '%doğrudan mesaj%': Yalnızca eski metni içeren satırların etkilenmesini sağlar.
Not: Bu, phrase_text kolonundaki "doğrudan mesaj" geçişlerinin tümünü günceller, bu yüzden tüm örnekleri değiştirmek istediğinizden emin olun.
4. Değişiklikleri Doğrulayın
Sorgu başarılı olduğunda XenForo sitenizi kontrol edin:
- Değişmesini beklediğiniz alanı veya ifadeleri ziyaret edin.
- "doğrudan mesaj" yerine "özel mesaj" göründüğünü onaylayın.
Değişiklikleri hemen göremiyorsanız:
- Çevirmek istediğiniz dil dosyasını indirin, silin ve yeniden yükleyip etkinleştirin.
- Cache'leri yeniden oluştur: Admin Control Panel > Tools → Rebuild Caches.
- Tarayıcı cache'ini temizleyin veya forumu yenileyin.
Sonuç
İşte bu kadar! phpMyAdmin'de basit bir UPDATE sorgusu çalıştırarak XenForo ifadelerinizdeki istenmeyen metni değiştirebilirsiniz. Doğrudan değişiklik yapmadan önce her zaman veritabanınızı yedeklemeyi unutmayın; gerekiyorsa değişikliklerin hemen görünmesi için cache'leri yeniden oluşturun.
Sorularınız veya sorunlarınız olursa yorum bırakabilir veya XenForo topluluğundan ek destek alabilirsiniz.
Below is a short tutorial article you can post or share, explaining how to replace the text "doğrudan mesaj" with "özel mesaj" in the xf_phrase table of a XenForo database using phpMyAdmin. It includes the SQL code and step-by-step instructions.
How to Replace "doğrudan mesaj" with "özel mesaj" in XenForo (via phpMyAdmin)
In this guide, you'll learn how to quickly change all instances of the phrase "doğrudan mesaj" to "özel mesaj" in XenForo's xf_phrase table. This is useful for customizing translations or correcting text throughout your forum.
1. Back Up Your Database
Before making any changes to your database, always create a backup.
- In phpMyAdmin, select your XenForo database from the left sidebar.
- Click the Export tab at the top.
- Choose Quick export and click Go to download the .sql file to your computer.
Tip: A backup is essential. If something goes wrong, you can restore your original data.
2. Navigate to the SQL Section
- In phpMyAdmin, make sure you're still in your XenForo database.
- Click the SQL tab at the top to open the query editor.
3. Run the Update Query
Copy and paste the following query into the query editor, then click Go:
Code:
UPDATE xf_phrase
SET phrase_text = REPLACE(phrase_text, 'doğrudan mesaj', 'özel mesaj')
WHERE phrase_text LIKE '%doğrudan mesaj%';
Here's what it does:
- UPDATE xf_phrase: Targets the xf_phrase table where most XenForo phrases are stored.
- REPLACE(phrase_text, 'doğrudan mesaj', 'özel mesaj'): Searches for "doğrudan mesaj" in the phrase_text column and replaces it with "özel mesaj".
- WHERE phrase_text LIKE '%doğrudan mesaj%': Ensures only rows that contain the old text are affected.
Note: This will update every occurrence of "doğrudan mesaj" in the phrase_text column, so be sure you want to change all instances.
4. Verify Your Changes
Once the query is successful, check your XenForo site:
- Visit the area or phrases you expected to change.
- Confirm that "özel mesaj" now appears in place of "doğrudan mesaj".
If you don't see changes immediately, you might need to:
- Download the language file you want to translate, delete it and re-upload and activate it.
- Rebuild caches: In the Admin Control Panel, go to Tools → Rebuild Caches.
- Clear browser cache or refresh your forum.
Conclusion
That's it! By running a simple UPDATE query in phpMyAdmin, you can replace unwanted text in your XenForo phrases. Always remember to back up your database before making any direct changes, and if necessary, rebuild caches for the changes to appear immediately.
If you have any issues or questions, feel free to leave a comment or consult the XenForo community for additional support.
Last edited: