Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

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
  #32  
Old 11-20-2007, 10:03 AM
gokhannnnn gokhannnnn is offline
 
Join Date: Sep 2006
Location: İstanbul/Turkey
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BU değişiklikleri yapınca birçok haber alınamıyor.
Reply With Quote
  #33  
Old 12-30-2007, 12:13 AM
Cs.Net Cs.Net is offline
 
Join Date: Dec 2007
Location: TR / İzmir
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks atakan abi
Reply With Quote
  #34  
Old 12-30-2007, 08:50 AM
cSh's Avatar
cSh cSh is offline
 
Join Date: Aug 2007
Location: Istanbul
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oncelikle teşekkürler...3.6.8 ve 3.7 beta 3 de karakter sorunu devam edio..bilginize...saygılarımızla...

first of all thanks... The Problem is going on at 3.6.8 ve 3.7 beta 3...to ur knowbase...with all respects of us...
Reply With Quote
  #35  
Old 03-02-2008, 08:54 AM
Madlike's Avatar
Madlike Madlike is offline
 
Join Date: Jan 2008
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks.Atakan Koç
Reply With Quote
  #36  
Old 03-24-2008, 06:24 AM
Powerofdreams Powerofdreams is offline
 
Join Date: Jan 2008
Location: Turkey
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Atakan

Teşekk?rler Atakan abi umarım ?alır
Reply With Quote
  #37  
Old 04-04-2008, 06:20 PM
prozac38's Avatar
prozac38 prozac38 is offline
 
Join Date: Feb 2007
Location: TURKEY
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default



ger?ekten yazılar d?zeldi ama --->'<--- karakteri yerine soru işareti ?ıkıyor bunu nasıl d?zeltebiliriz.

şimdiden teşekk?r ederim Atakan Ko?
Reply With Quote
  #38  
Old 06-02-2009, 08:29 PM
hugur44 hugur44 is offline
 
Join Date: Nov 2008
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

arkadaşlar bunun 3.8.x için bir çözümü varmı.
Reply With Quote
Reply

Thread Tools

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 09:33 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04229 seconds
  • Memory Usage 2,325KB
  • Queries Executed 24 (?)
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
  • (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
  • (2)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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_postinfo_query
  • fetch_postinfo
  • 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