Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: RoW klausimai !

Parašė jf· 2010 Rugp. 8 18:08:11
#1

Sveiki turiu problema..

taigi padariau seo frendly url tai kai einu i www.playgame.lt vistiek prideda galune /news.php bet kai noriu patikrint ar tarkim veikia www.playgame.lt/naujienos tai normaliai atidaro. gal kas zino kaip padaryti kad iskart veiktu visas url.


mano .htaccess

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^/(.*)$
RewriteRule ^naujienų-kategorijos$ news_cats.php [N]
RewriteRule ^naujienos$ news.php [N]
RewriteRule ^siuntiniai$ downloads.php [N]
RewriteRule ^kontaktai$ contact.php [N]
RewriteRule ^redaguoti-profilį$ edit_profile.php [N]
RewriteRule ^duk$ faq.php [N]
RewriteRule ^namai$ index.php [N]
RewriteRule ^prisijungti$ login.php [N]
RewriteRule ^slaptazodis$ lostpassword.php [N]
RewriteRule ^zinutes$ messages.php [N]
RewriteRule ^profilis$ profile.php [N]
RewriteRule ^straipsnis$ readarticle.php [N]
RewriteRule ^registracija$ register.php [N]
RewriteRule ^paieška$ search.php [N]
RewriteRule ^tinklapis$ viewpage.php [N]

Redagavo jf· 2010 Rugp. 8 19:08:04

Parašė Jaunelis· 2010 Rugp. 8 18:08:31
#2

taigi per nustatymus padaryta ;DDDD kad mestu į news.php per pagrindiniai nustatymai :) per adminke pasikeisk

Parašė jf· 2010 Rugp. 8 18:08:39
#3

Aciu.. Nepagalvojau ;D padariau.
Kitas klausimas gal zinot kdl klaida meta

http://www.playgame.lt/forum/vie...forum_id=2

Redagavo jf· 2010 Rugp. 8 19:08:38

Parašė Bucis· 2010 Rugp. 8 19:08:53
#4

RoW parašė:
mano .htaccess

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^/(.*)$
RewriteRule ^naujienų-kategorijos$ news_cats.php [N]
RewriteRule ^naujienos$ news.php [N]
RewriteRule ^siuntiniai$ downloads.php [N]
RewriteRule ^kontaktai$ contact.php [N]
RewriteRule ^redaguoti-profilį$ edit_profile.php [N]
RewriteRule ^duk$ faq.php [N]
RewriteRule ^namai$ index.php [N]
RewriteRule ^prisijungti$ login.php [N]
RewriteRule ^slaptazodis$ lostpassword.php [N]
RewriteRule ^zinutes$ messages.php [N]
RewriteRule ^profilis$ profile.php [N]
RewriteRule ^straipsnis$ readarticle.php [N]
RewriteRule ^registracija$ register.php [N]
RewriteRule ^paieška$ search.php [N]
RewriteRule ^tinklapis$ viewpage.php [N]


lt raidžių negali būti :D

Parašė jf· 2010 Rugp. 8 19:08:48
#5

header.php Puslapyje meta toki klaida :

Notice: Undefined variable: title in /home/zenkacs/domains/playgame.lt/public_html/themes/templates/header.php on line 31




<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: header.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }

require_once INCLUDES."output_handling_include.php";
require_once INCLUDES."header_includes.php";
require_once THEME."theme.php";

if ($settings['maintenance'] == "1" && !iADMIN) { redirect(BASEDIR."maintenance.php"); }
if (iMEMBER) { $result = dbquery("UPDATE ".DB_USERS." SET user_lastvisit='".time()."', user_ip='".USER_IP."' WHERE user_id='".$userdata['user_id']."'"); }

echo "<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>\n";
echo "<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='".$locale['xml_lang']."' lang='".$locale['xml_lang']."'>\n";
echo "<head>";
include_once INCLUDES."dynamic_titles.php";
echo "<title>".$title.$settings['sitename']."</title>\n";
echo "<meta http-equiv='Content-Type' content='text/html; charset=".$locale['charset']."' />\n";
echo "<meta name='description' content='".$settings['description']."' />\n";
echo "<meta name='keywords' content='".$settings['keywords']."' />\n";
echo "<link rel='stylesheet' href='".THEME."styles.css' type='text/css' media='screen' />\n";
if (file_exists(IMAGES."favicon.ico")) { echo "<link rel='shortcut icon' href='".IMAGES."favicon.ico' type='image/x-icon' />\n"; }
if (function_exists("get_head_tags")) { echo get_head_tags(); }
echo "<script type='text/javascript' src='".INCLUDES."jscript.js'></script>\n";
echo "<script type='text/javascript' src='".INCLUDES."jquery.js'></script>\n";
echo "</head>\n<body>\n";

require_once THEMES."templates/panels.php";
ob_start();
?>



Parašė se7en-· 2010 Rugp. 8 19:08:22
#6

NerūkantiS parašė:

lt raidžių negali būti :D
Kodėl ne? pas mane ant DLE taip pat pasidaręs adresus su lt raidėm viskas ok.

Parašė jf· 2010 Rugp. 8 19:08:34
#7

echo "<head>\n<title>".$title.$settings['sitename']."</title>\n";


kur cia klaida ?

Parašė jf· 2010 Rugp. 13 12:08:34
#8

Turiu kita klausima



Kaip padaryti kad tekstas baltas butu ;DD ta prasme zinutes baltos spalvos....

Parašė avice· 2010 Rugp. 13 13:08:14
#9

taigi css faile pakeisk spalva

Parašė jf· 2010 Rugp. 13 13:08:13
#10

Tai kad visur pasikeis tada :) o man reikia only saukykla...

Parašė avice· 2010 Rugp. 13 13:08:10
#11

tai pasaidaryk atskirai saukyklos teksto spalva

Parašė Almanachas· 2010 Rugp. 13 13:08:28
#12

Avice parašė:
taigi css faile pakeisk spalva


Yra kazkur css faile kazkas tokio kaip "shoutboux" ar "chating" , "chat" ten pakeisk ja.

Parašė jf· 2010 Rugp. 13 13:08:12
#13

Jau radau :) .shoutboux reikejo rast styles.css

Parašė Donatas· 2010 Rugp. 13 13:08:32
#14

Soz, kad ne į temą, bet preitas dizainas buvo gražesnis. :)

Parašė jf· 2010 Rugp. 13 14:08:06
#15

;DD na ka zinau man sis simple paprastas ir grazus :)

Parašė jf· 2010 Rugp. 13 19:08:51
#16

------------
KITAS KLAUSIMAS
------------

Gal kas žino kaip padaryti :

Tarkim turiu forume kategorija "Naujienos" ir noriu sukurt puslapyje panele kad rodytu pačios naujujausios naujienos Top5. ir kad rodytu butent tik is "Naujienos kategorijos" jai padesite gausite 11balu. Žinau, kad yra toks modas top forumo pranešimai,bet gal kaip nors imanoma butu padaryti top kategorijos pranešimus ;) Ačiu iš anksto.

Parašė Pakartoti slaptažodį· 2010 Rugp. 13 19:08:30
#17

SQL užklausa: {{ WHERE news_cat = '[id]' }}

Dėl pajuodinto žodžio nesu tikras.

Parašė jf· 2010 Rugp. 13 21:08:38
#18

Na as taip nemoku ;) Gal kas idetum visa koda

Parašė Pakartoti slaptažodį· 2010 Rugp. 13 23:08:20
#19

Duok panelę, sutaisysiu.

Parašė jf· 2010 Rugp. 13 23:08:28
#20

<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2010 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: forum_threads_panel.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }

openside($locale['global_020']);
echo "<div class='side-label'><strong>".$locale['global_021']."</strong></div>\n";
$result = dbquery("
   SELECT tt.forum_id, tt.thread_id, tt.thread_subject, tt.thread_lastpost FROM ".DB_THREADS." tt
   INNER JOIN ".DB_FORUMS." tf ON tt.forum_id=tf.forum_id
   WHERE ".groupaccess('tf.forum_access')." AND tt.thread_hidden='0'
   ORDER BY thread_lastpost DESC LIMIT 5
");
if (dbrows($result)) {
   while($data = dbarray($result)) {
      $itemsubject = trimlink($data['thread_subject'], 23);
      echo THEME_BULLET." <a href='".FORUM."viewthread.php?thread_id=".$data['thread_id']."' title='".$data['thread_subject']."' class='side'>$itemsubject</a><br />\n";
   }
} else {
   echo "<div style='text-align:center'>".$locale['global_023']."</div>\n";
}
echo "<div class='side-label'><strong>".$locale['global_022']."</strong></div>\n";

$timeframe = ($settings['popular_threads_timeframe'] != 0 ? "thread_lastpost >= ".(time()-$settings['popular_threads_timeframe']) : "");
list($min_posts) = dbarraynum(dbquery("SELECT thread_postcount FROM ".DB_THREADS.($timeframe ? " WHERE ".$timeframe : "")." ORDER BY thread_postcount DESC LIMIT 4,1"));
$timeframe = ($timeframe ? " AND tt.".$timeframe : "");

$result = dbquery("
   SELECT tf.forum_id, tt.thread_id, tt.thread_subject, tt.thread_postcount
   FROM ".DB_FORUMS." tf
   INNER JOIN ".DB_THREADS." tt USING(forum_id)
   WHERE ".groupaccess('tf.forum_access')." AND tt.thread_postcount >= '".$min_posts."'".$timeframe." AND tt.thread_hidden='0'
   ORDER BY thread_postcount DESC, thread_lastpost DESC LIMIT 5
");
if (dbrows($result) != 0) {
   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n";
   while($data = dbarray($result)) {
      $itemsubject = trimlink($data['thread_subject'], 20);
      echo "<tr>\n<td class='side-small'>".THEME_BULLET." <a href='".FORUM."viewthread.php?thread_id=".$data['thread_id']."' title='".$data['thread_subject']."' class='side'>$itemsubject</a></td>\n";
      echo "<td align='right' class='side-small'>[".($data['thread_postcount'] - 1)."]</td>\n</tr>\n";
   }
   echo "</table>\n";
} else {
   echo "<div style='text-align:center'>".$locale['global_023']."</div>\n";
}
closeside();
?>



Parašė jf· 2010 Rugp. 14 15:08:41
#21

Kur keist avataru didi ar tt ?





Parašė allenas.· 2010 Rugp. 14 15:08:26
#22

Per administratoriaus panelę.

Parašė jf· 2010 Rugp. 14 15:08:55
#23

-Allenas parašė:
Per administratoriaus panelę.



Tai kur tiksliau.... ?

Parašė allenas.· 2010 Rugp. 14 15:08:26
#24

Sistemos administracija > Foto galerijos nustatymai > Albumo atvaizdo dydis

Parašė gakse· 2010 Rugp. 14 16:08:06
#25

https://webdnd.com/avataro-dydis...

Parašė jf· 2010 Rugp. 15 11:08:29
#26

gakse parašė:
https://webdnd.com/avataro-dydis...


Si pamoka netinka nes pas mane v7 :) gal kas padetu ??

Parašė jf· 2010 Rugp. 16 23:08:34
#27

Prasau pagalbos (neveikia kelti megtukas)

Parašė Narysx· 2010 Rugp. 17 00:08:52
#28

https://webdnd.com/avataro-dydis...

ši pamoka tau turi tikti, pats pagal ją pasidariau. :)

Parašė jf· 2010 Rugp. 21 10:08:54
#29

Nu nzn kaip tau isejo padaryt ;) bet man neiseina... Gal yra ant v7 pamoka kokia ?

Parašė jf· 2010 Rugp. 25 12:08:20
#30

Up tai nekas del avataro didzio nezino kaip padaryt ?