آموزش فارسي كردن قالب هاي ( phpBB ) ( نسخه كامل )

ofog2000

Member
اگر که بخواهیم فارسی نوشتن با کلید های خود ویندوز باشه یعنی نه با scr نه با تصویر مثل خود این فروم تکلیف چیه؟
 

d@nial

Well-Known Member
ofog2000 گفت:
اگر که بخواهیم فارسی نوشتن با کلید های خود ویندوز باشه یعنی نه با scr نه با تصویر مثل خود این فروم تکلیف چیه؟
دیگه نیازی به اضافه کردن اسکریپت تو overall_header و ویرایش کردن و اضافه کردن این امکان به input ها و text area نیست

کافیه فقط راست چین کنید
 

ofog2000

Member
ممنون برم دستکاریش کنم ببینم چی میشه انشاالله که درست بشه چون این حالت بهتره
 

ofog2000

Member
من از نسخه فارسی شده unicode استفاده می کنم اما هر چی می گردم این fa.gif رو پیدا نمیکنم که حذفش کنم
چه جاهایی باید دنبالش بگردم ؟ می خواهم فارسی با همان کلیدهای ویندوز باشه اما این نسخه قبلا با fa.gif تنظیم شده و من میخواهم حذفش کنم
ممنون
 

Hyper

Active Member
در فولدر تمپلت فارسی ...

روی تصویر هم میتونید کلیک راست کرده و با گزینه properties آدرس اون رو ببنید !
 

ofog2000

Member
اگرآدرس اون رو ببندم جاش خالی میمونه قسمت اول رو هم متوجه نشدم
ممنون میشم کمک کنید
 

Hyper

Active Member
ببندم یعنی چی ؟

در فایل های تمپلت (tpl.) کد مربوطه رو بردارید :

یعنی این :

<IMG src="templates/fisubsilversh/images/fa.gif" style="CURSOR: hand" align="absbottom" onclick=change(subject)>
 

ofog2000

Member
ok من فکر کردم منظورتون اینه که persmision رو دستکاری کنم و اجازه upload شدنشو ندم
اینو که میدونم که باید چیو حذف کنم ولی در چه جاهایی؟ هر چی که میگشتم پیدا نمی کردم اما google desktop به کمکم اومد و فکر کنم که مشکل حل شده باشه
ممنون
 

hessam123

Member
مشکل در فارسی کردن... زیاد بزرگ نیست :)

سلام خدمت اساتید بزرگ...

من از روی آموزش شما یک قالب رو فارسی کردم که خیلی هم از شما تشکر می کنم بابت آموزشتون...

اما فقط و فقط تا حالا یک مشکل داشتم...
وقتی که لوگین می کنم و یا لوگ آوت می کنم فارسی خراب میشه و باید دوباره رفرش کنیم تا دوباره فارسی بشه...
یعنی انکودش خراب میشه؟

توی قالب ساب سیلوری که فارسی شده بود هم این مشکل بود...
کاری میشه کرد؟

سعی می کنم قالبهای گوناگونی فارسی کنم و بگذارم اینجا...
بعد یه گالری برای اسمایلز خوب از کجا می تونم بگیرم؟
 

ofog2000

Member
من در فارسی کردن قالب قسمت های فارسی کردن table و input و textarea رو انجام ندادم و قالب به خوبی کار میکنه ممکن هست مشکلی بعدا پیش بیاد؟
 

Hyper

Active Member
hessam123 گفت:
سلام خدمت اساتید بزرگ...

من از روی آموزش شما یک قالب رو فارسی کردم که خیلی هم از شما تشکر می کنم بابت آموزشتون...

اما فقط و فقط تا حالا یک مشکل داشتم...
وقتی که لوگین می کنم و یا لوگ آوت می کنم فارسی خراب میشه و باید دوباره رفرش کنیم تا دوباره فارسی بشه...
یعنی انکودش خراب میشه؟

توی قالب ساب سیلوری که فارسی شده بود هم این مشکل بود...
کاری میشه کرد؟

سعی می کنم قالبهای گوناگونی فارسی کنم و بگذارم اینجا...
بعد یه گالری برای اسمایلز خوب از کجا می تونم بگیرم؟

زبان پیش فرض را بروی فارسی تنظیم کنید ...

رضا
 

Hyper

Active Member
ofog2000 گفت:
من در فارسی کردن قالب قسمت های فارسی کردن table و input و textarea رو انجام ندادم و قالب به خوبی کار میکنه ممکن هست مشکلی بعدا پیش بیاد؟

در این صورت فقط میتونید از طریق کلیدهای ویندوز فارسی نویسی کنبد
وکلید ScrollLock کار نخواهد کرد ...

رضا
 

saeid.z

Member
آقاي hyper قالب من فقط يه مشكل داره اونم اينه كه تو مركز كنترل با اينكه تمام كدها رو درست مثل مال شما تغيير دادم فقط كليدهاي مديريت به راست منتقل شده اند و نوشته ها هنوز چپ به راست هستند و كليدهاي بله خير جابه به جا ميافتند .
به نظرتون مشكل چيه ؟
 

saeid.z

Member
اينقدر كسي جواب نداد تا خودم حلش كردم . به خدا اه وقت داشتم ميدونستم چكار كنم !!! :D
مخلص همگي

خب حالا يه نفر راهنمايي كنه ببينيم اين نوشته هاي پايين هر صفحه مثل powered by و copyright كجاست ؟
ممنون

فقط شما رو به خدا زودتر
 

d@nial

Well-Known Member
saeid.z گفت:
اينقدر كسي جواب نداد تا خودم حلش كردم . به خدا اه وقت داشتم ميدونستم چكار كنم !!! :D
مخلص همگي

خب حالا يه نفر راهنمايي كنه ببينيم اين نوشته هاي پايين هر صفحه مثل powered by و copyright كجاست ؟
ممنون

فقط شما رو به خدا زودتر
تو فولدر قالب ، تو فایل Overall_footer.tpl البته خود عبارت نیست، یه عبارت دیگست که تبدیل میشه به اون
 

405

New Member
سلام:
با تشکر از این مقاله. یه قالب رو فارسی کردم. هیچ مشکلی هم نداره به جز همون مشکل فونتها. تو اون فایل استایل شیت که گفتید به اسم خود قالب هست رفتم تغییرش دادم. ولی تغییری حاصل نشد. فایل رو اینجا قرار میدم ببینید مشکل از کجاست:

کد:
/*
  The original phpBB_Portal Theme for phpBB version 2+
  Created by subBlue design
  http://www.subBlue.com
*/


 /* General page style. The scroll bar colours only visible in IE5.5+ */
body {
	background-color: #FFFFFF;
	scrollbar-face-color: #DEE3E7;
	scrollbar-highlight-color: #FFFFFF;
	scrollbar-shadow-color: #DEE3E7;
	scrollbar-3dlight-color: #D1D7DC;
	scrollbar-arrow-color:  #006699;
	scrollbar-track-color: #EFEFEF;
	scrollbar-darkshadow-color: #98AAB1;
}

/* General font families for common tags */
font,th,td,p { font-family: Tahoma }
a:link,a:active,a:visited { color : #006699; }
a:hover		{ text-decoration: underline; color : #DD6900; }
hr	{ height: 0px; border: solid #D1D7DC 0px; border-top-width: 1px;}


/* This is the border line & background colour round the entire page */
.bodyline	{ background-color: #FFFFFF; border: 1px #98AAB1 solid; }

/* This is the outline round the main forum tables */
.forumline	{ background-color: #FFFFFF; border: 2px #006699 solid; }


/* Main table cell colours and backgrounds */
td.row1	{ background-color: #EFEFEF; }
td.row2	{ background-color: #DEE3E7; }
td.row3	{ background-color: #D1D7DC; }


/*
  This is for the table cell above the Topics, Post & Last posts on the index.php page
  By default this is the fading out gradiated silver background.
  However, you could replace this with a bitmap specific for each forum
*/
td.rowpic {
		background-color: #FFFFFF;
		background-image: url(images/cellpic2.jpg);
		background-repeat: repeat-y;
}

/* Header cells - the blue and silver gradient backgrounds */
th	{
	color: #FFA34F; font-size: 11px; font-weight : bold;
	background-color: #006699; height: 25px;
	background-image: url(images/cellpic3.gif);
}

td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
			background-image: url(images/cellpic1.gif);
			background-color:#D1D7DC; border: #FFFFFF; border-style: solid; height: 28px;
}


/*
  Setting additional nice inner borders for the main table cells.
  The names indicate which sides the border will be on.
  Don't worry if you don't understand this, just ignore it :-)
*/
td.cat,td.catHead,td.catBottom {
	height: 29px;
	border-width: 0px 0px 0px 0px;
}
th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR {
	font-weight: bold; border: #FFFFFF; border-style: solid; height: 28px; }
td.row3Right,td.spaceRow {
	background-color: #D1D7DC; border: #FFFFFF; border-style: solid; }

th.thHead,td.catHead { font-size: 12px; border-width: 1px 1px 0px 1px; }
th.thSides,td.catSides,td.spaceRow	 { border-width: 0px 1px 0px 1px; }
th.thRight,td.catRight,td.row3Right	 { border-width: 0px 1px 0px 0px; }
th.thLeft,td.catLeft	  { border-width: 0px 0px 0px 1px; }
th.thBottom,td.catBottom  { border-width: 0px 1px 1px 1px; }
th.thTop	 { border-width: 1px 0px 0px 0px; }
th.thCornerL { border-width: 1px 0px 0px 1px; }
th.thCornerR { border-width: 1px 1px 0px 0px; }


/* The largest text used in the index page title and toptic title etc. */
.maintitle,h1,h2	{
			font-weight: bold; font-size: 22px; font-family: " Tahoma;
			text-decoration: none; line-height : 120%; color : #000000;
}


/* General text */
.gen { font-size : 12px; }
.genmed { font-size : 11px; }
.gensmall { font-size : 10px; }
.gen,.genmed,.gensmall { color : #000000; }
a.gen,a.genmed,a.gensmall { color: #006699; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover	{ color: #DD6900; text-decoration: underline; }


/* The register, login, search etc links at the top of the page */
.mainmenu		{ font-size : 11px; color : #000000 }
a.mainmenu		{ text-decoration: none; color : #006699;  }
a.mainmenu:hover{ text-decoration: underline; color : #DD6900; }


/* Forum category titles */
.cattitle		{ font-weight: bold; font-size: 12px ; letter-spacing: 1px; color : #006699}
a.cattitle		{ text-decoration: none; color : #006699; }
a.cattitle:hover{ text-decoration: underline; }


/* Forum title: Text and link to the forums used in: index.php */
.forumlink		{ font-weight: bold; font-size: 12px; color : #006699; }
a.forumlink 	{ text-decoration: none; color : #006699; }
a.forumlink:hover{ text-decoration: underline; color : #DD6900; }


/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav			{ font-weight: bold; font-size: 11px; color : #000000;}
a.nav			{ text-decoration: none; color : #006699; }
a.nav:hover		{ text-decoration: underline; }


/* titles for the topics: could specify viewed link colour too */
.topictitle			{ font-weight: bold; font-size: 11px; color : #000000; }
a.topictitle:link   { text-decoration: none; color : #006699; }
a.topictitle:visited { text-decoration: none; color : #5493B4; }
a.topictitle:hover	{ text-decoration: underline; color : #DD6900; }


/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name			{ font-size : 11px; color : #000000;}

/* Location, number of posts, post date etc */
.postdetails		{ font-size : 10px; color : #000000; }


/* The content of the posts (body of text) */
.postbody { font-size : 12px;}
a.postlink:link	{ text-decoration: none; color : #006699 }
a.postlink:visited { text-decoration: none; color : #5493B4; }
a.postlink:hover { text-decoration: underline; color : #DD6900}


/* Quote & Code blocks */
.code {
	font-family: Tahoma; font-size: 11px; color: #006600;
	background-color: #FAFAFA; border: #D1D7DC; border-style: solid;
	border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

.quote {
	font-family: Tahoma; font-size: 11px; color: #444444; line-height: 125%;
	background-color: #FAFAFA; border: #D1D7DC; border-style: solid;
	border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}


/* Copyright and bottom info */
.copyright		{ font-size: 10px; font-family: Tahoma; color: #444444; letter-spacing: -1px;}
a.copyright		{ color: #444444; text-decoration: none;}
a.copyright:hover { color: #000000; text-decoration: underline;}


/* Form elements */
input,textarea, select {
	color : #000000;
	font: normal 11px  Tahoma;
	border-color : #000000;
}

/* The text input fields background colour */
input.post, textarea.post, select {
	background-color : #FFFFFF;
}

input { text-indent : 2px; }

/* The buttons used for bbCode styling in message post */
input.button {
	background-color : #EFEFEF;
	color : #000000;
	font-size: 11px; font-family: Tahoma;
}

/* The main submit button option */
input.mainoption {
	background-color : #FAFAFA;
	font-weight : bold;
}

/* None-bold submit button */
input.liteoption {
	background-color : #FAFAFA;
	font-weight : normal;
}

/* This is the line in the posting page which shows the rollover
  help line. This is actually a text box, but if set to be the same
  colour as the background no one will know ;)
*/
.helpline { background-color: #DEE3E7; border-style: none; }


/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
@import url("formIE.css");
 

جدیدترین ارسال ها

بالا