Seditio ve Ldu hakkında sınırsız arama yapın
 
 
> 1 <

Etiketler: soru soracaktım

Author Message

MetalDaze

Members


Online status

133 posts
http://www.judaspriest-turkey.com
Pagerank: 3

Location: Turkey
Occupation:
Age:

#1529   2007-04-18 11:26 GMT      

Ya abi ben neocrome den userswall pluginsini ekledim.Üyenin profiline girince yorum ve puanlama yapabiliyorsun.Benim için güzel bir eklenti ama şu geldi aklıma olurmu acaba.Mesela üyelere son bırakılan yorumlar gibisinden bir eklenti olabilirmi.işte liste halinde çıkar mesela en son şu üyeye şu yorum bırakıldı.puanlama o kadar önemli değil gerçi yorumlar önemli.anlamışındır umarım
Judas Priest TürkiYe!!!
http://www.judaspriest-turkey.com

Araqon

Members


Online status

143 posts

Location: Turkey
Occupation:
Age: 8

#1532   2007-04-18 14:10 GMT      
Quote
MetalDaze :
üyelere son bırakılan yorumlar



?

MetalDaze

Members


Online status

133 posts
http://www.judaspriest-turkey.com
Pagerank: 3

Location: Turkey
Occupation:
Age:

#1533   2007-04-18 14:42 GMT      

Üye profilinde bu üye hakkında yorum bırak diye bir bölüm açılıyor ayrıca puanlama falanda yapıyon üyeye öle bişi işte:S
Judas Priest TürkiYe!!!
http://www.judaspriest-turkey.com

MetalDaze

Members


Online status

133 posts
http://www.judaspriest-turkey.com
Pagerank: 3

Location: Turkey
Occupation:
Age:

#1538   2007-04-18 20:22 GMT      
Abii varmı çaresi be?
Judas Priest TürkiYe!!!
http://www.judaspriest-turkey.com

Kaan

Moderators


Online status

2,151 posts
http://www.ntka.org
Pagerank: 2

Location: Turkey
Occupation: Destek
Age: 26

#1542   2007-04-19 01:16 GMT      
Henüz yok oyle bişey Dvdbil yaparsa belki olur

MetalDaze

Members


Online status

133 posts
http://www.judaspriest-turkey.com
Pagerank: 3

Location: Turkey
Occupation:
Age:

#1544   2007-04-19 07:34 GMT      
Ya son yapılan üye yorumlarını göstermese bile son yorum bırakılan üyeleri göstersede olur eheh dvdbil abimden cevap gelmedikçe hedef küçültiyim en iyisi yaw
Judas Priest TürkiYe!!!
http://www.judaspriest-turkey.com

MetalDaze

Members


Online status

133 posts
http://www.judaspriest-turkey.com
Pagerank: 3

Location: Turkey
Occupation:
Age:

#1604   2007-04-22 11:55 GMT      
Abi ben buna kafayı taktım yaw bari olmaz deyin de susıyım Şimdi bişey düşündüm abi olurmu ki fikir verin bari. iki ayrı kod yapıştırıcam alta üstteki kodlar recentcomments plugini olan yani haberlere makalelere dosyalara bırakılan son yorumları gösteriyor anasayfada. onun altına yapıştırdığım kolar ise user wall pluguni yani üyelere yapılan yorumların olduğu kodlar. şimdi bu üstteki son dosyalara yapılan yorumlar yerine üyelerin profiline bırakılan yorumları gösterecek şekilde üstünde değişiklik yapmak gibi bir şansımız olurmu.düşündümde bu aklıma geldi nasıl olur abi saçmamı yoksa?


recentcomments(Dosyalara Dökümanlara Son Yapılan Son Yorumlar)
Code:
<?PHP

/* ====================
Seditio - Website engine
Copyright Neocrome
http://www.neocrome.net

[BEGIN_SED]
File=plugins/recentcomments/recentcomments.php
Version=110
Updated=2006-jun-27
Type=Plugin
Author=Neocrome
Description=
[END_SED]

[BEGIN_SED_EXTPLUGIN]
Code=recentcomments
Part=main
File=recentcomments
Hooks=index.tags
Tags=index.tpl:{PLUGIN_LATESTCOMMENTS}
Minlevel=0
Order=10
[END_SED_EXTPLUGIN]

==================== */

if (!defined('SED_CODE')) { die('Wrong URL.'); }

/* ============ MASKS FOR THE HTML OUTPUTS =========== */

$cfg['plu_mask_comments'] = " %3\$s: %1\$s"." ".$cfg['separator']." "."%2\$s"."<br />";
// %1\$s = Link to the comment
// %2\$s = Author
// %3\$s = Date

$plu_empty = $L['None']."<br />";

/* ================== FUNCTIONS ================== */

function sed_get_latestcomments($limit, $mask)
{
//global $L, $db_com, $usr, $cfg, $plu_empty;
global $L, $db_com, $db_pages, $usr, $cfg, $sed_cat, $plu_empty;//motor2hg


$sql = sed_sql_query("SELECT MAX(com_id) AS _id, MAX(com_date) AS _date FROM $db_com WHERE com_isspecial=0 GROUP BY com_code ORDER BY _date DESC LIMIT $limit");

$com_latest = array();
while($row = sed_sql_fetcharray($sql)) $com_latest[] = $row['_id'];

$sql = sed_sql_query("SELECT com_id, com_code, com_date, com_author FROM $db_com WHERE com_id IN('".implode("','",$com_latest)."') ORDER BY com_date DESC");


while ($row = sed_sql_fetcharray($sql))
{
/*$com_code = $row['com_code'];
$j = substr($com_code, 0, 1);
$k = substr($com_code, 1);*/
$com_code = $row['com_code'];//motor2hg

$z = $row['page_title'];//motor2hg

$j = substr($com_code, 0, 1);//motor2hg

$k = substr($com_code, 1);//motor2hg

switch($j)
{
//case 'p':
//$lnk = "<a href=\"page.php?id=$k&comments=1#c".$row['com_id']."\">".$L['Page']." #".$k."</a>";
//break;
//////////////////////////////motor2hg/////////////////////////////
                case 'p':
                $sql2 = sed_sql_query("SELECT page_title FROM sed_pages WHERE page_id = $k LIMIT 0, 30");
                while ($row2 = sed_sql_fetcharray($sql2))
                { $page_title = $row2['page_title']; }
                $lnk = "<a href=\"page.php?id=$k&amp;comments=1#c".$row['com_id']."\">"." \"".$page_title."\"</a>";
                break;
///////////////////////motor2hg/////////////////////////////////////
case 'v':
$lnk = "<a href=\"javascript:polls('".$k."&comments=1#c".$row['com_id']."')\">".$L['Poll']." #".$k."</a>";
break;

}
$res .= sprintf($mask, $lnk, sed_cc($row['com_author']), date($cfg['formatyearmonthday'], $row['com_date'] + $usr['timezone'] * 3600));
}

$res = (empty($res)) ? $plu_empty : $res;

return($res);
}


/* ============= */

if (!$latestcomments && $cfg['plugin']['recentcomments']>0)
{
$latestcomments = sed_get_latestcomments($cfg['plugin']['recentcomments']['maxcomments'], $cfg['plu_mask_comments'] );
sed_cache_store('latestcomments', $latestcomments, 120); }


$t-> assign(array(
"PLUGIN_LATESTCOMMENTS" => $latestcomments,
));

?>



Bunlarda User wall plugini içindeki php dosyaları...(Üyeye Profilinden Yorum Bırakma)

userswall.tags.php
Code:
<?PHP

/* ====================
Seditio - Website engine
Copyright Neocrome
http://www.neocrome.net

[BEGIN_SED]
File=plugins/userswall/userswall.tags.php
Version=100
Updated=2006-aug-14
Type=Plugin
Author=Spartan
Description=Adds a "wall" to each user's page, enabling comments/ratings for each user.
[END_SED]

[BEGIN_SED_EXTPLUGIN]
Code=userswall
Part=tags
File=userswall.tags
Hooks=users.details.tags
Tags=users.details.tpl:{USERS_DETAILS_COMMENTS},{USERS_DETAILS_COMMENTS_DISPLAY},{USERS_DETAILS_RATINGS},{USERS_DETAILS_RATINGS_DISPLAY},{USERS_DETAILS_USERSWALL}
Minlevel=0
Order=10
[END_SED_EXTPLUGIN]

==================== */

if (!defined('SED_CODE')) { die('Wrong URL.'); }

/* ===== Start config: Language ===== */

$L['comments'] = "Incele ve Ekle:";
$L['ratings'] = "Puan Ver:";
$L['userswall'] = "Özür Dileriz Yorumlamaya ve Puanlamaya Kapali.";

/* ===== Finish config ===== */

if ($cfg['plugin']['userswall']['switch']=='On') {
$t->assign(array(
"USERS_DETAILS_COMMENTS" => $L['comments']." ".$comments_link,
"USERS_DETAILS_COMMENTS_DISPLAY" => $comments_display,
"USERS_DETAILS_RATINGS" => $L['ratings']." ".$ratings_link,
"USERS_DETAILS_RATINGS_DISPLAY" => $ratings_display
));
} else {
$t->assign(array(
"USERS_DETAILS_USERSWALL" => $L['userswall'],
));
}
?>



userswall.first.php
Code:
<?PHP

/* ====================
Seditio - Website engine
Copyright Neocrome
http://www.neocrome.net

[BEGIN_SED]
File=plugins/userswall/userswall.first.php
Version=100
Updated=2006-aug-14
Type=Plugin
Author=Spartan
Description=Adds a "wall" to each user's page, enabling comments/ratings for each user.
[END_SED]

[BEGIN_SED_EXTPLUGIN]
Code=userswall
Part=first
File=userswall.first
Hooks=users.details.first
Tags=
Minlevel=0
Order=10
[END_SED_EXTPLUGIN]

==================== */

if (!defined('SED_CODE')) { die('Wrong URL.'); }

if ($cfg['plugin']['userswall']['switch']=='On') {
$comments = sed_import('comments','G','BOL');
}

?>



userswall.main.php
Code:
<?PHP

/* ====================
Seditio - Website engine
Copyright Neocrome
http://www.neocrome.net

[BEGIN_SED]
File=plugins/userswall/userswall.main.php
Version=100
Updated=2006-aug-14
Type=Plugin
Author=Spartan
Description=Adds a "wall" to each user's page, enabling comments/ratings for each user.
[END_SED]

[BEGIN_SED_EXTPLUGIN]
Code=userswall
Part=main
File=userswall.main
Hooks=users.details.main
Tags=
Minlevel=0
Order=10
[END_SED_EXTPLUGIN]

==================== */

if (!defined('SED_CODE')) { die('Wrong URL.'); }

if ($cfg['plugin']['userswall']['switch']=='On') {
$item_code = 'u'.$urr['user_id'];
list($comments_link, $comments_display) = sed_build_comments($item_code, 'users.php?m=details&id='.$urr['user_id'], $comments);
list($ratings_link, $ratings_display) = sed_build_ratings($item_code, 'users.php?m=details&id='.$urr['user_id'], $ratings);
}

?>
Judas Priest TürkiYe!!!
http://www.judaspriest-turkey.com

Dvdbil

Administrator


Online status

2,258 posts
http://www.seditio-tr.com
Pagerank: 3

Location: Turkey istanbul
Occupation: Web Site(ler) İşletmeciliği
Age: 28

#1607   2007-04-22 12:38 GMT      
recentcomments.php dosyasını alttaki ile değiştir.
Test etmedim, son yorumlar kısmına yorum yapılan kişi ekleniyor ve ekleyenin kullanıcı adı.
Umarım istediğin böyle birşeydir.

Code:
<?PHP

/* ====================
Seditio - Website engine
Copyright Neocrome
http://www.neocrome.net

[BEGIN_SED]
File=plugins/recentcomments/recentcomments.php
Version=110
Updated=2006-jun-27
Type=Plugin
Author=Neocrome
Description=
[END_SED]

[BEGIN_SED_EXTPLUGIN]
Code=recentcomments
Part=main
File=recentcomments
Hooks=index.tags
Tags=index.tpl:{PLUGIN_LATESTCOMMENTS}
Minlevel=0
Order=10
[END_SED_EXTPLUGIN]

==================== */

if (!defined('SED_CODE')) { die('Wrong URL.'); }

/* ============ MASKS FOR THE HTML OUTPUTS =========== */

$cfg['plu_mask_comments'] = " %3\$s %1\$s"." ".$cfg['separator']." "."%2\$s"."<br />";
// %1\$s = Link to the comment
// %2\$s = Author
// %3\$s = Date

$plu_empty = $L['None']."<br />";

/* ================== FUNCTIONS ================== */

function sed_get_latestcomments($limit, $mask)
{
//global $L, $db_com, $usr, $cfg, $plu_empty;
global $L, $db_com, $db_pages, $usr, $cfg, $sed_cat, $plu_empty;//motor2hg


$sql = sed_sql_query("SELECT MAX(com_id) AS _id, MAX(com_date) AS _date FROM $db_com WHERE com_isspecial=0 GROUP BY com_code ORDER BY _date DESC LIMIT $limit");

$com_latest = array();
while($row = sed_sql_fetcharray($sql)) $com_latest[] = $row['_id'];

$sql = sed_sql_query("SELECT com_id, com_code, com_date, com_author FROM $db_com WHERE com_id IN('".implode("','",$com_latest)."') ORDER BY com_date DESC");


while ($row = sed_sql_fetcharray($sql))
{
/*$com_code = $row['com_code'];
$j = substr($com_code, 0, 1);
$k = substr($com_code, 1);*/
$com_code = $row['com_code'];//motor2hg

$z = $row['page_title'];//motor2hg

$j = substr($com_code, 0, 1);//motor2hg

$k = substr($com_code, 1);//motor2hg

switch($j)
{
//case 'p':
//$lnk = "<a href=\"page.php?id=$k&comments=1#c".$row['com_id']."\">".$L['Page']." #".$k."</a>";
//break;
//////////////////////////////motor2hg/////////////////////////////
                case 'p':
                $sql2 = sed_sql_query("SELECT page_title FROM sed_pages WHERE page_id = $k LIMIT 0, 30");
                while ($row2 = sed_sql_fetcharray($sql2))
                { $page_title = $row2['page_title']; }
                $lnk = "<a href=\"page.php?id=$k&amp;comments=1#c".$row['com_id']."\">"." \"".$page_title."\"</a>";
                break;
//////////////////////////////hack by Dvdbil - seditio-tr.com/////////////////////////////
                case 'u':
                $sql3 = sed_sql_query("SELECT user_name FROM sed_users WHERE user_id = $k LIMIT 0, 30");
                while ($row3 = sed_sql_fetcharray($sql3))
                { $user_name = $row3['user_name']; }
                $lnk = "Üyeye: <a href=\"users.php?m=details&id=$k&amp;comments=1#c".$row['com_id']."\">\"".$user_name."\"</a>";
                break;
///////////////////////motor2hg/////////////////////////////////////
case 'v':
$lnk = "<a href=\"javascript:polls('".$k."&comments=1#c".$row['com_id']."')\">".$L['Poll']." #".$k."</a>";
break;

}
$res .= sprintf($mask, $lnk, sed_cc($row['com_author']), date($cfg['formatmonthday'], $row['com_date'] + $usr['timezone'] * 3600));
}

$res = (empty($res)) ? $plu_empty : $res;

return($res);
}


/* ============= */

if (!$latestcomments && $cfg['plugin']['recentcomments']['maxcomments']>0)
{
$latestcomments = sed_get_latestcomments($cfg['plugin']['recentcomments']['maxcomments'], $cfg['plu_mask_comments'] );
//sed_cache_store('latestcomments', $latestcomments, 5);

}

$t-> assign(array(
"PLUGIN_LATESTCOMMENTS" => $latestcomments,
));

?>
Sitelerinize profesyonel anlamda hizmet verilir;

- Performans optimizasyonu,
- Üst düzey güvenlik yamaları,
- İsteğe bağlı eklentiler,
- Her çeşit bot (program, video, resim, arsiv, haber),
- Profesyonel görsel skin.

Tüm tasarım, kodlamalar ve optimizasyon Neocrome referansı ile tarafımca hazırlanmakta.
 
*************************İSTATİSTİKLER*************************
Müşterim olan danışmanlığını yaptığım toplam kişi sayısı: 27
Sadece Eklenti hazırladığım kişi sayısı: 29
Uygulama yaptığım toplam site sayısı: 43
-------------------------------------------------
Müşterinin isteği doğrultusunda hazırladığım;
- eklenti sayısı: 56
- skin sayısı: 9
- bot sayısı: 23
- özel güvenlik yamaları: 22
- Sql performans optimizasyonu: 13 (yüksek hitli siteler için)
- Portal genel cache ve materyal optimizasyonu: 15
***************************************************************

MetalDaze

Members


Online status

133 posts
http://www.judaspriest-turkey.com
Pagerank: 3

Location: Turkey
Occupation:
Age:

#1611   2007-04-22 14:24 GMT      

Yaa Abi harikasın sen bee ehehe walla oldu,çok sağolasın
Judas Priest TürkiYe!!!
http://www.judaspriest-turkey.com
> 1 <

Benzer konular (Similar topics) #BETA

Keywords (beta):

Forum Arşiv (beta):

[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34] [35] [36] [37] [38] [39] [40] [41] [42] [43] [44] [45] [46] [47] [48] [49] [50] [51] [52] [53] [54] [55] [56] [57] [58] [59] [60] [61] [62] [63] [64] [65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77] [78] [79] [80] [81] [82] [83] [84] [85] [86] [87] [88] [89] [90] [91] [92] [93] [94] [95] [96] [97] [98] [99] [100] [101] [102] [103] [104] [105] [106] [107] [108] [109] [110] [111] [112] [113] [114] [115] [116] [117] [118] [119] [120] [121] [122] [123] [124] [125] [126] [127] [128] [129] [130] [131] [132] [133] [134] [135] [136] [137] [138] [139] [140] [141] [142] [143] [144] [145] [146] [147] [148] [149] [150] [151] [152] [153] [154] [155] [156] [157] [158] [159] [160] [161] [162] [163] [164] [165] [166] [167] [168] [169] [170] [171] [172] [173] [174] [175] [176] [177] [178] [179] [180] [181] [182] [183] [184] [185] [186] [187] [188] [189] [190] [191] [192] [193] [194] [195] [196] [197] [198] [199] [200] [201] [202] [203] [204] [205] [206] [207] [208] [209] [210] [211] [212] [213] [214] [215] [216] [217] [218] [219] [220] [221] [222] [223] [224] [225] [226] [227] [228] [229] [230] [231] [232] [233] [234] [235] [236] [237] [238] [239] [240] [241] [242] [243] [244] [245] [246] [247] [248] [249] [250] [251] [252] [253] [254] [255] [256] [257] [258] [259] [260] [261] [262] [263] [264] [265] [266] [267] [268] [269] [270] [271] [272] [273] [274] [275] [276] [277] [278] [279] [280] [281] [282] [283] [284] [285] [286] [287] [288] [289] [290] [291] [292] [293]