Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Forumas

Parašė Beta-1· 2009 Lie. 16 01:07:06
#1

Taigi susidūriau biški su problema man reikia sumažint kur yra forumo paveiksliukas ta vieta sakykit Ar Theme.php ar style.css įdėsiu ką reikės

http://www.ipix.lt/images/364256...

Parašė xetti· 2009 Lie. 16 04:07:38
#2

Kur balta ir melyna paveiksliukas? Ir ta lentele per didele jaM? Tai cia reikia /forum/index.php, kaskur ten, jei tema pajungia tai per tema Tema/forum/irten. Na zodziu parasyk pm padesiu.

Parašė NoNy· 2009 Lie. 16 08:07:02
#3

Jei su lentelėm manau Styles.css.

Parašė Beta-1· 2009 Lie. 16 12:07:01
#4

http://www.ipix.lt/images/648252... pariškinau kuria vieta sumažint reik

Style.css

a {
   color : #FFF;
   text-decoration : none;
}

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

a.super {
   font-family : Arial;
   font-size : 10px;
   color : #CACACA;
   font-weight : bold;
   text-decoration : none;
}

a:hover.super {
   font-family : Arial;
   font-size : 10px;
   color : #FFFFFF;
   font-weight : bold;
   text-decoration : underline;
}

a.ftr {
   font-size : 10px;
   color : #FFFFFF;
   text-decoration : none;
}

a:hover.ftr {
   font-size : 10px;
   color : #FFFFFF;
   text-decoration : underline;
}

a.side {
   color : #FFFFFF;
   text-decoration : none;
}

a:hover.side {
   color : #000000;
   text-decoration : underline;
}

a.white {
   color : #000000;
   text-decoration : none;
}

a:hover.white {
   color : #000000;
   text-decoration : underline;
}

body {
   margin-top:0px;
   margin-bottom:20px;
   background-image: url(images/bg.png);
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
}

form {
   margin : 0px;
}

hr {
   height : 1px;
   border : 1px solid #FFFFFF;
}

hr.side-hr {
   height : 1px;
   border : 1px solid #FFFFFF;
}

td {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 11px;
}

pre {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 11px;
}

.alt {
   color : #000000;
}
 
.outer-border {
   border : 0px solid #000;
}

.sub-header {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #000;
   background-color : #FFFFFF;
   border-top : 1px solid #FFFFFF;
   border-bottom : 1px solid #FFFFFF;
   padding : 5px;
}

.full-header {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #ddd;
   background-image: url(images/head.png);
   height:146px;
}

.footer {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 9px;
   color : #FFF;
    background-image: url(images/footer.png);
    height: 20px;
   padding-bottom : 4px;
}

.button {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #666666;
   background-color : #CCCCCC;
   height : 20px;
   border : 1px solid #CCCCCC;
   margin-top : 2px;
}

.textbox {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #FFF;
   background-color : #575656;
   border : 1px solid #ccc;
}

.main-body {
   font-size : 11px;
   color : #FFF;
   border : 1px solid #FFFFFF;
   background-color : #575656;
   padding : 4px 2px 5px 3px;
}

.side-body {
   font-size : 10px;
   color : #FFFFFF;
   border : 1px solid #FFFFFF;
   background-color : #575656;
   padding : 4px;
}

.main-bg {
   color : #FFFFFF;
   background-color : #666666;
   padding : 10px 5px 10px 5px;
}

.border {
   border : 0px solid #FFFFFF;
}

.border2 {
   border-top : 1px solid #343434;
   border-left : 1px solid #343434;
   border-right : 1px solid #343434;
}


.side-border-left {
   color : #FFF;
   background-color :#FFFFFF;
   padding : 10px 5px 10px 10px;
}

.side-border-right {
   color : #FFF;
   background-color : #666666;
   padding : 10px 10px 10px 5px;
}

.news-footer {
   font-size : 10px;
   color : #FFF;
   background-color : #666666;
   border-left : 1px solid #FFFFFF;
   border-right : 1px solid #FFFFFF;
   border-bottom : 1px solid #FFFFFF;
   padding : 3px 4px 4px 4px;
}

.capmain {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   font-weight : bold;
   color : #FFF;
   text-align:center;
   background-image: url(images/cellpic.png);
   height:22px;
   padding : 2px 0px 4px 0px;
}

.scapmain {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   font-weight : bold;
   color : #FFFFFF;
   text-align:center;
   background-image: url(images/cellpic.png);
   height:22px;
   padding : 2px 0px 4px 0px;
}

.tbl-border {
   color : #343434;
   background-color : #FFFFFF;
}

.tbl {
   font-size : 11px;
   color : #FFFFFF;
   background-color : #575656;
   padding : 4px;
}

.tbl1 {
   font-size : 11px;
   color : #FFF;
   background-color : #575656;
   padding : 4px;
}

.tbl2 {
   font-size : 11px;
   color : #FFFFFF;
   background-color : #575656;
   padding : 4px;
}

.forum-caption {
   font-size : 11px;
   font-weight : bold;
   color : #FFFFFF;
   background-color : #575656;
   padding : 2px 4px 4px 4px;
}

.quote {
   font-size : 11px;
   color : #FFF;
   background-color : #f8f8f8;
   padding : 4px;
   margin : 0px 20px 0px 20px;
   border : 1px solid #bbb;
}

.poll {
   height : 12px;
   border : 1px solid #bbb;
}

.comment-name {
   font-weight : bold;
   color : #FFF;
}

.shoutboxname {
   font-weight : bold;
   color : #FFF;
}

.shoutbox {
   color : #777;
}

.shoutboxdate {
   font-size : 10px;
   color : #888;
}

.small {
   font-size : 10px;
   font-weight : normal;
}

.small2 {
   font-size : 10px;
   font-weight : normal;
   color : #FFF;
}

.side-small {
   font-size : 10px;
   font-weight : normal;
   color : #FFF;
}

.side-label {
   color : #FFF;
   padding : 2px 2px 3px 2px;
}



Redagavo Beta-1· 2009 Lie. 16 12:07:22

Parašė Žmogus· 2009 Lie. 16 12:07:40
#5

Koks dar .css, čia reik pačio forumo failo (index.php)

Parašė Beta-1· 2009 Lie. 16 12:07:20
#6

Nu va ir index.php

<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
require_once "../maincore.php";
require_once BASEDIR."subheader.php";
include LOCALE.LOCALESET."forum/main.php";

if (!isset($lastvisited) || !isNum($lastvisited)) $lastvisited = time();

opentable($locale['400']);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='tbl-border'>
<tr>
<td>
<table border='0' cellpadding='0' cellspacing='1' width='100%'>
<tr>
<td colspan='2' class='tbl2'>".$locale['401']."</td>
<td align='center' width='50' class='tbl2'>".$locale['402']."</td>
<td align='center' width='50' class='tbl2'>".$locale['403']."</td>
<td width='120' class='tbl2'>".$locale['404']."</td>
</tr>\n";

$forum_list = ""; $current_cat = "";
$result = dbquery(
   "SELECT f.*, COUNT(t.thread_id) AS thread_count, MAX(t.thread_lastpost) AS last_post, f2.forum_name AS forum_cat_name, u.user_id, u.user_name FROM ".$db_prefix."forums f
   LEFT JOIN ".$db_prefix."threads t USING(forum_id)
   LEFT JOIN ".$db_prefix."forums f2 ON f.forum_cat = f2.forum_id
   LEFT JOIN ".$db_prefix."users u ON f.forum_lastuser = u.user_id
   WHERE ".groupaccess('f.forum_access')." AND f.forum_cat!='0' GROUP BY forum_id ORDER BY f2.forum_order ASC, f.forum_order ASC"
);
if (dbrows($result) != 0) {
   while ($data = dbarray($result)) {
      if ($data['forum_cat_name'] != $current_cat) {
         $current_cat = $data['forum_cat_name'];
         echo "<tr>\n<td colspan='5' class='forum-caption'>".$data['forum_cat_name']."</td>\n</tr>\n";
      }
      $moderators = "";
      if ($data['forum_moderators']) {
         $res = "user_id='".str_replace(".", "' OR user_id='", $data['forum_moderators'])."'";
         $result2 = dbquery("SELECT user_id,user_name FROM ".$db_prefix."users WHERE (".$res.")");
         while ($data2 = dbarray($result2)) {
            if ($moderators) $moderators .= ", ";
            $moderators .= "<a href='".BASEDIR."profile.php?lookup=".$data2['user_id']."'>".$data2['user_name']."</a>";
         }
      }
      if ($data['last_post'] > $lastvisited) {
         $fim = "<img src='".THEME."forum/foldernew.gif' alt='".$locale['560']."'>";
      } else {
         $fim = "<img src='".THEME."forum/folder.gif' alt='".$locale['561']."'>";
      }
      echo "<tr>
<td align='center' class='tbl2'>$fim</td>
<td class='tbl1'><a href='viewforum.php?forum_id=".$data['forum_id']."'>".$data['forum_name']."</a><br>
<span class='small'>".$data['forum_description'].($moderators ? "<br>\n".$locale['411'].$moderators."</span></td>\n" : "</span></td>\n")."
<td align='center' class='tbl2'>".$data['thread_count']."</td>
<td align='center' class='tbl1'>".dbcount("(post_id)", "posts", "forum_id='".$data['forum_id']."'")."</td>
<td class='tbl2'>";
      if ($data['forum_lastpost'] == 0) {
         echo $locale['405']."</td>\n</tr>\n";
      } else {
         echo showdate("forumdate", $data['forum_lastpost'])."<br>
<span class='small'>".$locale['406']."<a href='".BASEDIR."profile.php?lookup=".$data['forum_lastuser']."'>".$data['user_name']."</a></span></td>
</tr>\n";
      }
   }
} else {
   echo "<tr>\n<td colspan='5' class='tbl1'>".$locale['407']."</td>\n</tr>\n";
}
echo "</table>
</td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='forum'><br>
<img src='".THEME."forum/foldernew.gif' alt='".$locale['560']."' style='vertical-align:middle;'> - ".$locale['409']."<br>
<img src='".THEME."forum/folder.gif' alt='".$locale['561']."' style='vertical-align:middle;'> - ".$locale['410']."
</td><td align='right' valign='bottom' class='forum'>
<form name='searchform' method='post' action='".BASEDIR."search.php?stype=f'>
<input type='text' name='stext' class='textbox' style='width:150px'>
<input type='submit' name='search' value='".$locale['550']."' class='button'>
</form>
</td>
</tr>
</table>\n";
closetable();

require_once BASEDIR."footer.php";
?>



Redagavo Beta-1· 2009 Lie. 16 12:07:39

Parašė kLx· 2009 Lie. 16 13:07:28
#7

Spėju localhost'e?
Jeigu taip, tai įkėlus į normalų hostingą susitaisys, man taip visada rodo.
Tikriausiai localhost'e išjungta funkcija getImagesize(); ,dėl to rodo defaultinį dydy.