Poster.php yapımı ve stil düzenleme.

phpBB 3.0.x sürümleri için MODlar hakkında ihtiyacınız olan desteği buradan sorarak alabilirsiniz.
Forum kuralları
- Yeni bir başlık açarken lütfen konu başlığına "Acil yardım", "Acele yardım" tarzlarında içerisinde "yardım" kelimesi geçen cümleler yazmayınız. Bu tip başlıklara kesinlikle cevap verilmeyecektir. Lütfen konu başlığına içeriği en iyi özetleyen anlaşılabilir bir cümle yazınız.

- Ayrıca yeni başlıklarınızı kesinlikle ilgili forumlara açınız. Örneğin, phpBB3 kurulum ve çalıştırması hakkında bir sorununuz varsa "3.0.x Destek Forumu" forumuna başlık açınız; phpBB3 temasından kaynaklı bir sorunuz varsa "3.0.x Stil/Tema Geliştirme & Tartışma & Yardım" forumuna başlık açınız; phpBB3 mod/eklentileriyle ilgili sorununuz varsa "3.0.x MOD Destek" forumuna başlık açınız. Bu kurala uymayan kullanıcıların başlıkları silinebilir ve kullanıcı uyarı alabilir ya da süresiz uzaklaştırılabilir.

- Site kurallarımızı okumadan kesinlikle forumlarımıza herhangi bir katılım yapmayınız.
Kilitli
natu
Kayıtlı Kullanıcı
Mesajlar: 13
Kayıt: 10.05.2012, 14:20

Poster.php yapımı ve stil düzenleme.

Mesaj gönderen natu »

Öncelikle merhabalar arkadaşlar. Şimdi ben phpbb3 ü ilk defa kullanıyorum ve ilk defa web sitesi yapım işine girdim o yüzden bazı problemler yaşıyorum. Şimdi oluşturduğum web sitesine bir portal ekledim, bu portaldaki menüye yeni bir başvuru şıkkı ekledim, o başvuru kısmına tıklanıldığında forumdaki konuma yönlendirme işini falan yaptım buraya kadar herşey güzel. Oluşturduğum başvuru formunu app.php diye ftp'yede attım ama stilini bir türlü nasıl yapıcağımı bulamadım.

Yani kısaca istediğim şu şekilde çıkmasını istediğim forum

[ resmi görüntülemek için tıklayın ]

Şu şekilde çıkıyor.
[ resmi görüntülemek için tıklayın ]

Birde Gönder butonuna bastığımda poster.php diye bir yere yönlendiriyor ama bende poster.php diye bi sayfa yok. İstediğim, Gönder Butonuna bastığımda bu doldurulan yerleri, forumun bir alanına konu olarak açması. Bu düzenlemeleri nasıl yapabilirim?


Birde forumun girişine portal yüklediğimi söylemiştim. siteme girişte direk örn: http://www.aa.com diye girildiğinde portal karşıma çıkıyor, ancak sol üstteki phpbb yazısının üstüne tıkladığımda beni direk http://www.aa.com/index.php sayfasına yani foruma yönlendiriyor. Bu yönlendirmeyi http://www.aa.com'a yani portala nasıl çevirebilirim? :? yardımlarınız için şimdiden teşekkürler.
muh4mmet
Kayıtlı Kullanıcı
Mesajlar: 80
Kayıt: 11.01.2012, 13:13
Konum: İstanbul
İletişim:

Re: Poster.php yapımı ve stil düzenleme.

Mesaj gönderen muh4mmet »

Dil kodlamasını UTF-8 Boomsuz olarak yapınız. Sonra türkçe karakterleri tekrardan yazınız sorununuz düzelecektir.
basoglanh
Kayıtlı Kullanıcı
Mesajlar: 422
Kayıt: 03.07.2007, 13:23
Konum: Muğla
İletişim:

Re: Poster.php yapımı ve stil düzenleme.

Mesaj gönderen basoglanh »

Contact Board Admin eklentisini kurunun forumunuza ve portalda iframe olarak yayınlama yada içeriğini değişik yollardan istediğiniz alana çekin.
Contact Board Admin eklentisi ile gönderilen formda istenilen foruma yeni konu açılabilir.
Mevcut formunuzdaki karekter sorununu UTF-8 BOMSUZ olarak kaydederek çözersiniz, form sıralanışları-görünümleri için css bilginiz olmalı.
Yeni bir güne gülümse !
natu
Kayıtlı Kullanıcı
Mesajlar: 13
Kayıt: 10.05.2012, 14:20

Re: Poster.php yapımı ve stil düzenleme.

Mesaj gönderen natu »

Cevaplarınız için teşekkürler ben şu şekilde yaptım; app.php_dosyalar diye bir klasör açtım. Stil düzenlemesi için klasörün içerisine style adlı bir metin belgesi açtım içine şu kodları ekledim ve css olarak kaydettim.

Kod: Tümünü seç

/*  phpBB 3.0 Style Sheet
    --------------------------------------------------------------
	Style name:		subsilver2
	Based on style:	subSilver (the default phpBB 2 style)
	Original author:	subBlue ( http://www.subBlue.com/ )
	Modified by:		psoTFX and the phpBB team ( http://www.phpbb.com )
	
	This is an alternative style for phpBB3 for those wishing to stay with
	the familiar subSilver style of phpBB version 2.x
	
	Copyright 2006 phpBB Group ( http://www.phpbb.com/ )
    --------------------------------------------------------------
*/

/* Layout
 ------------ */
@import url("chat.css");
* {
	/* Reset browsers default margin, padding and font sizes */
	margin: 0;
	padding: 0;
}

html {
	font-size: 100%;
}

body {
	/* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */
	font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
	color: #323D4F;
	background-color: #E0E0E0;
	CURSOR:url(http://www.justintimeclan.com/imlec.ani); 
	font-size: 62.5%; /* This sets the default font size to be equivalent to 10px */
	margin: 0;
}

#wrapheader {
	height: auto !important;
	padding: 0;
}

#wrapcentre {
	margin: 15px 25px 0 25px;
}

#wrapfooter {
	text-align: center;
	clear: both;
}

#wrapnav {
	width: 100%;
	margin: 0;
	background-color: #ECECEC;
	border-width: 1px;
	border-style: solid;
	border-color: #A9B8C2;
}

#logodesc {
	background-color: #C1CAD2;
	background-image: url('styles/subsilver2/theme/images/background.gif');
	background-repeat: repeat-x;
	background-position: center bottom;
	padding: 0 25px 15px 25px;
}

#menubar {
	margin: 0 25px;
}

#datebar {
	margin: 10px 25px 0 25px;
}

#findbar {
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
}

.forumrules {
	background-color: #F9CC79;
	border-width: 1px;
	border-style: solid;
	border-color: #BB9860;
	padding: 4px;
	font-weight: normal;
	font-size: 1.1em;
	font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}

.forumrules h3 {
	color: red;
}

#pageheader { }
#pagecontent { }
#pagefooter { }

#poll { }
#postrow { }
#postdata { }


/*  Text
 --------------------- */
h1 {
	color: black;
	font-family: "Lucida Grande", "Trebuchet MS", Verdana, sans-serif;
	font-weight: bold;
	font-size: 1.8em;
	text-decoration: none;
}

h2 {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 1.5em;
	text-decoration: none;
	line-height: 120%;
}

h3 {
	font-size: 1.3em;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 120%;
}

h4 {
	margin: 0;
	font-size: 1.1em;
	font-weight: bold;
}

p {
	font-size: 1.1em;
}

p.moderators {
	margin: 0;
	float: left;
	color: black;
	font-weight: bold;
}

.rtl p.moderators {
	float: right;
}

p.linkmcp {
	margin: 0;
	float: right;
	white-space: nowrap;
}

.rtl p.linkmcp {
	float: left;
}

p.breadcrumbs {
	margin: 0;
	float: left;
	color: black;
	font-weight: bold;
	white-space: normal;
	font-size: 1em;
}

.rtl p.breadcrumbs {
	float: right;
}

p.datetime {
	margin: 0;
	float: right;
	white-space: nowrap;
	font-size: 1em;
}

.rtl p.datetime {
	float: left;
}

p.searchbar {
	padding: 2px 0;
	white-space: nowrap;
} 

p.searchbarreg {
	margin: 0;
	float: right;
	white-space: nowrap;
}

.rtl p.searchbarreg {
	float: left;
}

p.forumdesc {
	padding-bottom: 4px;
}

p.topicauthor {
	margin: 1px 0;
}

p.topicdetails {
	margin: 1px 0;
}

.postreported, .postreported a:link, .postreported a:visited, .postreported a:hover, .postreported a:active {
	margin: 1px 0;
	color: red;
	font-weight:bold;
}

.postapprove, .postapprove a:link, .postapprove a:visited, .postapprove a:hover, .postapprove a:active {
	color: green;
	font-weight:bold;
}

.postapprove img, .postreported img {
	vertical-align: bottom;
	padding-top: 5px;
}

.postauthor {
	color: #000000;
}

.postdetails {
	color: #000000;
}

.postbody {
	font-size: 1.3em;
	line-height: 1.4em;
	font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif;
}

.postbody li, ol, ul {
	margin: 0 0 0 1.5em;
}

.rtl .postbody li, .rtl ol, .rtl ul {
	margin: 0 1.5em 0 0;
}

.posthilit {
	background-color: yellow;
}

.nav {
	margin: 0;
	color: black;
	font-weight: bold;
}

.pagination {
	padding: 4px;
	color: black;
	font-size: 1em;
	font-weight: bold;
}

.cattitle {

}

.gen {
	margin: 1px 1px;
	font-size: 1.2em;
}

.genmed {
	margin: 1px 1px;
	font-size: 1.1em;
}

.gensmall {
	margin: 1px 1px;
	font-size: 1em;
}

.copyright {
	color: #444;
	font-weight: normal;
	font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}

.titles {
	font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 1.3em;
	text-decoration: none;
}

.error {
	color: red;
}


/* Tables
 ------------ */
th {
	color: #FFA34F;
	font-size: 1.1em;
	font-weight: bold;
	background-color: #006699;
	background-image: url('images/cellpic3.gif');
	white-space: nowrap;
	padding-left:5px; padding-right:5px; padding-top:7px; padding-bottom:7px
}

td {
	padding: 2px;
}
td.profile {
	padding: 4px;
}

.tablebg {
	background-color: #A9B8C2;
}

.catdiv {
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0 none;
	background: white url('images/cellpic2.jpg') repeat-y top left;
}
.rtl .catdiv {
	background: white url('images/cellpic2_rtl.jpg') repeat-y top right;
}

.cat {
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0 none;
	background-color: #C7D0D7;
	background-image: url('images/cellpic1.gif');
	text-indent: 4px
}

.row1 {
	background-color: #ECECEC;
	padding: 4px;
}

.row2 {
	background-color: #DCE1E5;
	padding: 4px;
}

.row3 {
	background-color: #C0C8D0;
	padding: 4px;
}

.spacer {
	background-color: #D1D7DC;
}

hr {
	height: 1px;
	border-width: 0;
	background-color: #D1D7DC;
	color: #D1D7DC;
}

.legend {
	text-align:center;
	margin: 0 auto;
}

/* Links
 ------------ */

/* Links adjustment to correctly display an order of rtl/ltr mixed content */
.rtl a {
	direction: rtl;
	unicode-bidi: embed;
}

/* CSS spec requires a:link, a:visited, a:hover and a:active rules to be specified in this order. */
/* See http://www.phpbb.com/bugs/phpbb3/59685 */
a:link {
	color: #006597;
	text-decoration: none;
}

a:visited {
	color: #005784;
	text-decoration: none;
}

a:hover {
	color: #D46400;
	text-decoration: underline;
}

a:active {
	color: #005784;
	text-decoration: none;
}

a.forumlink {
	color: #069;
	font-weight: bold;
	font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
	font-size: 1.2em;
}

a.topictitle {
	margin: 1px 0;
	font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 1.2em;
}

a.topictitle:visited {
	color: #5493B4;
	text-decoration: none;
}

th a,
th a:visited {
	color: #FFA34F !important;
	text-decoration: none;
}

th a:hover {
	text-decoration: underline;
}


/* Form Elements
 ------------ */
form {
	margin: 0;
	padding: 0;
	border: 0;
}

input {
	color: #333333;
	font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
	font-size: 1.1em;
	font-weight: normal;
	padding: 1px;
	border: 1px solid #A9B8C2;
	background-color: #FAFAFA;
}

textarea {
	background-color: #FAFAFA;
	color: #333333;
	font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
	font-size: 1.3em; 
	line-height: 1.4em;
	font-weight: normal;
	border: 1px solid #A9B8C2;
	padding: 2px;
}

select {
	color: #333333;
	background-color: #FAFAFA;
	font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
	font-size: 1.1em;
	font-weight: normal;
	border: 1px solid #A9B8C2;
	padding: 1px;
}

option {
	padding: 0 1em 0 0;
}

option.disabled-option {
	color: graytext;
}

.rtl option {
	padding: 0 0 0 1em;
}

input.radio {
	border: none;
	background-color: transparent;
}

.post {
	background-color: white;
	border-style: solid;
	border-width: 1px;
}

.btnbbcode {
	color: #000000;
	font-weight: normal;
	font-size: 1.1em;
	font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
	background-color: #EFEFEF;
	border: 1px solid #666666;
}

.btnmain {
	font-weight: bold;
	background-color: #ECECEC;
	border: 1px solid #A9B8C2;
	cursor: pointer;
	padding: 1px 5px;
	font-size: 1.1em;
}

.btnlite {
	font-weight: normal;
	background-color: #ECECEC;
	border: 1px solid #A9B8C2;
	cursor: pointer;
	padding: 1px 5px;
	font-size: 1.1em;
}

.btnfile {
	font-weight: normal;
	background-color: #ECECEC;
	border: 1px solid #A9B8C2;
	padding: 1px 5px;
	font-size: 1.1em;
}

.helpline {
	background-color: #DEE3E7;
	border-style: none;
}


/* BBCode
 ------------ */
.quotetitle, .attachtitle {
	margin: 10px 5px 0 5px;
	padding: 4px;
	border-width: 1px 1px 0 1px;
	border-style: solid;
	border-color: #A9B8C2;
	color: #333333;
	background-color: #A9B8C2;
	font-size: 0.85em;
	font-weight: bold;
}

.quotetitle .quotetitle {
	font-size: 1em;
}

.quotecontent, .attachcontent {
	margin: 0 5px 10px 5px;
	padding: 5px;
	border-color: #A9B8C2;
	border-width: 0 1px 1px 1px;
	border-style: solid;
	font-weight: normal;
	font-size: 1em;
	line-height: 1.4em;
	font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif;
	background-color: #FAFAFA;
	color: #4B5C77;
}

.attachcontent {
	font-size: 0.85em;
}

.codetitle {
	margin: 10px 5px 0 5px;
	padding: 2px 4px;
	border-width: 1px 1px 0 1px;
	border-style: solid;
	border-color: #A9B8C2;
	color: #333333;
	background-color: #A9B8C2;
	font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
	font-size: 0.8em;
}

.codecontent {
	direction: ltr;
	margin: 0 5px 10px 5px;
	padding: 5px;
	border-color: #A9B8C2;
	border-width: 0 1px 1px 1px;
	border-style: solid;
	font-weight: normal;
	color: #006600;
	font-size: 0.85em;
	font-family: Monaco, 'Courier New', monospace;
	background-color: #FAFAFA;
}

.syntaxbg {
	color: #FFFFFF;
}

.syntaxcomment {
	color: #FF8000;
}

.syntaxdefault {
	color: #0000BB;
}

.syntaxhtml {
	color: #000000;
}

.syntaxkeyword {
	color: #007700;
}

.syntaxstring {
	color: #DD0000;
}


/* Private messages
 ------------------ */
.pm_marked_colour {
	background-color: #000000;
}

.pm_replied_colour {
	background-color: #A9B8C2;
}

.pm_friend_colour {
	background-color: #007700;
}

.pm_foe_colour {
	background-color: #DD0000;
}


/* Misc
 ------------ */
img {
	border: none;
}

.sep {
	color: black;
	background-color: #FFA34F;
}

table.colortable td {
	padding: 0;
}

pre {
	font-size: 1.1em;
	font-family: Monaco, 'Courier New', monospace;
}

.nowrap {
	white-space: nowrap;
}

.username-coloured {
	font-weight: bold;
}
/* Quick Title Edition
 --------------------- */
.qte_solved { color: #006600; font-weight: bold; }
.qte_cancelled { color: #cc0000; font-weight: bold; }
stil problemim bu şekilde çözüldü.

Şimdi aynı yere birde poster.php adlı dosya açmam gerekiyor ve bu .php nin içerisine öyle kodlar yazılması gerekiyor ki direk foruma konu açması gerekiyor şuan onun araştırmasını yapıyorum bu konuda yardımcı olabilirseniz sevinirim. posting.php den biraz kopya çekip kendim yapmaya çalıştım ancak yemedi :mrgreen:
basoglanh
Kayıtlı Kullanıcı
Mesajlar: 422
Kayıt: 03.07.2007, 13:23
Konum: Muğla
İletişim:

Re: Poster.php yapımı ve stil düzenleme.

Mesaj gönderen basoglanh »

Contact Board Admin eklentisini inceleyin..
Yeni bir güne gülümse !
natu
Kayıtlı Kullanıcı
Mesajlar: 13
Kayıt: 10.05.2012, 14:20

Re: Poster.php yapımı ve stil düzenleme.

Mesaj gönderen natu »

dediğiniz eklentiyi inceledim ancak pek yardımı olmadı, ben size hazırladığım başvuru formu'nun kodunu göstereyim, siz beni daha iyi anlayacaksınız diye umuyorum.
kod;

Kod: Tümünü seç

<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="./styles/subsilver2/theme/stylesheet.css" type="text/css" />

<title>SpecialS Clan Basvuru Formu</title></head>
<body class="ltr">
<form action="posting.php" mothod="post name="postform"">
<div class="gensmall">
<table border="0" width="900">
  <tbody><tr>
    <td>Karakteriniz:</td>
    <td><select name="char">
    <option selected="selected">Luften Seciniz</option>
   <option>Warrior</option>
   <option>Mage</option>
   <option>Priest</option>
   <option>Rogue</option>
   </select></td>
  </tr>
  <tr>
    <td>Class :</td>
    <td class="gensmall"><select name="class">
<option selected="selected">Luften Seciniz</option>
   <option>Flame Mage</option>
   <option>Ice Mage</option>
 <option>Lightining Mage</option>
   <option>Tank Mage</option>
 <option>Debuffer Priest</option>
   <option>Buffer Priest</option>
 <option>Asas</option>
   <option>Archer</option>
  <option>Berserker Warrior</option>
  <option>Atacker Warrior</option>
   </select> </td>
  </tr>
  <tr>
    <td>Oyundaki Nickiniz:</td>
    <td><input size="20" name="username" type="text"></td>
  </tr>
  <tr>
    <td>Leveliniz: </td>
    <td><input size="20" name="lvl" type="text"></td>
  </tr>
  <tr>
    <td>Hangi saatler arasi onlinesiniz:</td>
    <td> <input maxlength="40" size="20" name="online" type="text"></td>
  </tr>
  <tr>
    <td>Ne kadar suredir ayni class (mage,priest vs) oynuyorsunuz: </td>
    <td><input maxlength="100" size="20" name="howlong" type="text"></td>
  </tr>
  <tr>
    <td>Onceki clan(lar)iniz ve char(lar)iniz:</td>
    <td><input maxlength="1000" size="20" name="clanbefore" type="text"></td>
  </tr>
  <tr>
    <td>Basvurdugunuz charla ne kadar suredir oynuyorsunuz , eger kullandiysaniz , NCS'den onceki isminiz nedir :</td>
    <td><input maxlength="1000" size="20" name="ncs" type="text"></td>
  </tr>
  <tr>
    <td>Yasiniz ve isminiz:</td>
    <td> <input maxlength="200" size="20" name="age" type="text"></td>
  </tr>
  <tr>
    <td>Referans gosterebileceginiz bir SpecialS uyesi varsa lutfen nickini yaziniz:</td>
    <td><input name="ref" type="text"></td>
  </tr>
    <tr>
    <td>itemleriniz:</td>
    <td> <textarea name="item" cols="50" rows="5"></textarea></td>
  </tr>
    <tr>
    <td>Basvurunuza eklemek istediginiz baska bilgi varsa lutfen giriniz:</td>
    <td><textarea name="extra" cols="50" rows="5"></textarea></td>
  </tr>
    
    <tr>
    <td>&nbsp;</td>
    <td><input value="Gonder" type="submit"></td>
  </tr>
</tbody></table>

<br>








</div></form></body></html>

İstediğim, gönder yaptıktan sonra burda ki yazıların ve karşılıklarının foruma konu olarak açılması.

örn: konu adı. natu clan başvurusu

örn: içerik

İsim: Ozan

Yaş: 24

gibi.
Kilitli

“3.0.x MOD Destek” sayfasına dön

Kimler çevrimiçi

Bu forumu görüntüleyen kullanıcılar: Hiç bir kayıtlı kullanıcı yok ve 13 misafir