Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Rss Turkish Character Problem Fixed Details »»
Rss Turkish Character Problem Fixed
Version: 1.00, by Atakan KOC Atakan KOC is offline
Developer Last Online: Mar 2023 Show Printable Version Email this Page

Category: Major Additions - Version: 3.6.8 Rating:
Released: 06-12-2007 Last Update: Never Installs: 47
Code Changes  
No support by the author.

Rss Turkish character Problem Fix
By H.Atakan KO?
http://www.onsayfa.com/ - http://www.sonkonu.com/
Sanırım Bu Sorunada ??z?m Bulduk

Open File forum/includes/cron/rssposter.php

Find

PHP Code:
// ########################################################################
// ######################### START MAIN SCRIPT ############################
// ######################################################################## 


Add Below



PHP Code:
function trtrans ($str)
{

$trans = array("ğ" => "ğ",
               
"?".chr(158) => "Ğ",
               
"ı" => "ı",
               
"İ" => "İ",
               
"ç" => "?",
               
"Ç" => "?",
               
"ü" => "?",
               
"Ü" => "?",
               
"ö" => "?",
               
"Ö" => "?",
               
"?".chr(158) => "Ş",
               
"ş" => "ş",
               
"ß" => "?",
               
"ä" => "?",
               
"?".chr(132) => "?"

               
);
               
$out strtr($str$trans); 
// $out = $str;
   
$badwordchars=array(
   
"\xe2\x80\x98","\xe2\x80\x99","\xe2\x80\x9a",
   
"\xe2\x80\x9b","\xe2\x80\xb2","\xe2\x80\xb5",
   
"\xe2\x80\x9c","\xe2\x80\x9d","\xe2\x80\x9e",
   
"\xe2\x80\x9f","\xe2\x80\xb3","\xe2\x80\xb6",
   
"\xe2\x80\xa6","\xe2\x82\xac","\xe2\x86\x92",
   
"\xe2\x86\x90","\xe2\x86\x91","\xe2\x86\x93",
   
"\xe2\x80\x94"
   
);
   
   
$fixedwordchars=array(
   
"?","?","?",
   
"‛","′","‵",
   
"?","?","?",
   
"‟","″","‶",
   
"?","?","→",
   
"←","↑","↓",
   
"—"
   
);
   
    
$out=str_replace($badwordchars,$fixedwordchars,$out);
    return 
$out;

There 2 codes same from the given below so please change both of them.


Find

PHP Code:
$itemdata->set('title'strip_bbcode(convert_wysiwyg_html_to_bbcode($feed['xml']->parse_template($feed['titletemplate'], $item)))); 
Replace

PHP Code:
$itemdata->set('title'trtrans(strip_bbcode(convert_wysiwyg_html_to_bbcode($feed['xml']->parse_template($feed['titletemplate'], $item))))); 

find


PHP Code:
$itemdata->set('pagetext'$pagetext); 
replace

PHP Code:
$itemdata->set('pagetext'trtrans($pagetext)); 
Find

PHP Code:
$itemdata->set('title'strip_bbcode(convert_wysiwyg_html_to_bbcode($feed['xml']->parse_template($feed['titletemplate'], $item)))); 
Replace

PHP Code:
$itemdata->set('title'trtrans(strip_bbcode(convert_wysiwyg_html_to_bbcode($feed['xml']->parse_template($feed['titletemplate'], $item))))); 

find


PHP Code:
$itemdata->set('pagetext'$pagetext); 
replace

PHP Code:
$itemdata->set('pagetext'trtrans($pagetext)); 
TvPano - Yabancı Dizi - Yerli Dizi - Anime

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 06-28-2007, 04:50 PM
mummy mummy is offline
 
Join Date: Oct 2006
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Teşekk?rler atakan s?per

thanks atakan
Reply With Quote
  #23  
Old 07-03-2007, 03:53 PM
YeşiLMeN YeşiLMeN is offline
 
Join Date: Sep 2006
Location: Mardin / Turkey
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank You, Hakan Atakan KoC !!

Installed..

Ellerine Sağlık Abi
Reply With Quote
  #24  
Old 07-08-2007, 10:14 AM
OZeLBiRi OZeLBiRi is offline
 
Join Date: Dec 2005
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks Atakan

s?persin abi
Reply With Quote
  #25  
Old 07-17-2007, 10:38 AM
Simasher's Avatar
Simasher Simasher is offline
 
Join Date: Feb 2007
Location: Karşıyaka
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

güzel bişi olmuş eline sağlık..
Reply With Quote
  #26  
Old 07-22-2007, 12:42 AM
SuSpect's Avatar
SuSpect SuSpect is offline
 
Join Date: Jul 2007
Location: Turkey
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Selam, bu karakter sorunu forumda kullandığımız t?m rss lerde ge?erli değilmi?. Şahsen senin yaptığın rss feeds 'i kullanıyorum(haberler i?in). Ondaki sorunuda kaldırırmı?

Just a question tnx
Reply With Quote
  #27  
Old 07-23-2007, 07:55 PM
Atakan KOC's Avatar
Atakan KOC Atakan KOC is offline
 
Join Date: Feb 2006
Location: Istanbul
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SuSpect View Post
Selam, bu karakter sorunu forumda kullandığımız t?m rss lerde ge?erli değilmi?. Şahsen senin yaptığın rss feeds 'i kullanıyorum(haberler i?in). Ondaki sorunuda kaldırırmı?

Just a question tnx
Two a lot of different thing. "Benim hazırladığımda zaten bu ?zellik vardı."
Reply With Quote
  #28  
Old 07-23-2007, 10:32 PM
ACİLSERVİS ACİLSERVİS is offline
 
Join Date: Mar 2006
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Atakan bey benim 3 adet rss sitem var konuları yine vBulletinden ?ekiyorum ama 1 satır yazı ?ıkıyor bunu nasıl arttırabilirim. ?rneğin fusion tabanlı bir siteden konu ?ektiğim zaman konu m?thiş uzun gelebiliyor. Ama vBulletinlerden ?ektiğim konular mesaj ?ok kısa oluyor. Bu konuda yardımcı olurmusun.

Fusiondan aldığım konu gayet iyi


vBulletinden aldığım konu ?ok kısa
Reply With Quote
  #29  
Old 09-10-2007, 08:56 AM
zbahadir's Avatar
zbahadir zbahadir is offline
 
Join Date: Jun 2006
Location: TRABZON/TR
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sadece AA'dan ?ekilen haberlerde bende hala sorun var.

Quote:
?STANBUL (A.A) - Fenerbah?e, Turkcell S?per Lig'in 5. haftas?nda ?aykur Rizespor ile yapaca?? ma??n haz?rl?klar?na bir g?nl?k iznin ard?ndan devam etti. Teknik direkt?r Zico y?netiminde Samand?ra Tesisleri'nde ger?ekle?tirilen antrenman 1 saat 10 dakika s?rd?.
Bunun bir ??z?m? var mıdır acaba?
Reply With Quote
  #30  
Old 09-22-2007, 08:05 AM
TAN06 TAN06 is offline
 
Join Date: Sep 2007
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

teşekkürler...

thanks
Reply With Quote
  #31  
Old 10-06-2007, 08:18 AM
libabom libabom is offline
 
Join Date: Dec 2005
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Benim merak ettiğim , forum konusu için rss oluşturulabiliyor.
Ancak sadece konu içindeki bir başlık için Rss oluşturulabilirmi ?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:14 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09657 seconds
  • Memory Usage 2,344KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (10)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete