Total Users Online: 0 üye, 288 guest | Tarih/Saat: 2026-09-22 06:09
 
konulari facebook ve twittere aktarmak
2012-03-02 19:47 GMT  oklu Alnt
cyberthm
Seditio
User is: Online status   Gender_M
Posts: 52
Ülke: Diğer - -
Meslek:
Age: 39

selam arkadawlar benim bi sorunum var awagidaki resimlere dikatle bakiniz
ok iwaretleriyle olan yerlere ben paylawim kurmak istiyorum yani facebook ve twitter

yani son forum mesajlarinin onunde facebook ve twitter iconlarin kurup paylawdigim
konulari yani son forum konularini facebook-da ve twitterde paylawmak istiyorum,ve hemen
iwaretlediyim yerlere iconlarin kurup konulari facebookda ve twittere aktarmak istiyorum
ama beceremedim o yuzden awagida latestpost-da yaptigim kodlari koydum bi inceleyip bakarsaniz sevinirim
arkadawlar..wimdide soyleyeyim ben sed 160 kullanicisiyim..awagidaki kodlarda nerede hata yapiyorum bi bakarmisiniz?




Kod:
<?PHP

/* ====================
[BEGIN_SED]
File=plugins/latestposts2/latestposts2.php
Version=121
Updated=31-aralýk-2007
Type=Plugin
Author=Aragorn-pc
Description=kankayizz.net
[END_SED]

[BEGIN_SED_EXTPLUGIN]
Code=latestposts2
Part=main
File=latestposts2
Hooks=index.tags
Tags=index.tpl:{LATEST_POSTS_2}
Minlevel=0
Order=10
[END_SED_EXTPLUGIN]
==================== */

if ( !defined('SED_CODE') ) { die("Hacking attempt."); }

$plimit = "35";   // define number of rows you want to see...

$sql = sed_sql_query("SELECT t.ft_id, t.ft_sectionid, t.ft_title, t.ft_updated, t.ft_postcount, t.ft_viewcount, t.ft_lastposterid, t.ft_lastpostername, s.fs_id, s.fs_title, s.fs_category FROM $db_forum_topics t,$db_forum_sections s
WHERE t.ft_sectionid=s.fs_id AND t.ft_movedto=0 AND t.ft_mode=0 ORDER by t.ft_updated DESC LIMIT $plimit");
$latestposts2 .= "<table class=\"cells\"><tr>";
$latestposts2 .= "<tr><td class=\"fscat\"><center>Payla?</b></center></td><td class=\"fscat\"><center>M?vzu</b></center></td><td class=\"fscat\">
<center>Mesajlar</b></center></td></td><td class=\"fscat\"><center>Oxunma</b></center></td><td class=\"fscat\"><center>Son G?ndərən</b></center></td><td class=\"fscat\"><center>Tarix</b></center></td></tr>";
$ii=0;
while ($row = sed_sql_fetcharray($sql)){
if (sed_auth('forums', $row['fs_id'], 'R')){
$ii++;
$img = ($usr['id']>0 && $row['ft_updated']>$usr['lastvisit']) ? "<a href=\"forums.php?m=posts&q=".$row['ft_id']."&amp;n=unread#unread\"><img src=\"skins/$skin/img/system/arrow-unread.gif\" alt=\"\" /></a><font color='red'>" : "<a href=\"forums.php?m=posts&amp;q=".$row['ft_id']."\"><img src=\"skins/$skin/img/system/arrow-follow.gif\" alt=\"\" /></a></b></font> ";

$latestposts2 .= "<tr><td> &nbsp;";
$latestposts2 .= "<tr><td> &nbsp;";
$latestposts2 .= $img."<a href=\"https://www.facebook.com/pages/Azmobilnet-Azerbaijan-Mobile-Center/337431572961390=http://azmobil.net/q-".$row['ft_id'].".html"\"><img src=\"http://azmobil.net/images/facebook_icon.png\"></a><a href=\"http://twitter.com/intent/session?original_referer=http://azmobil.net/q-".$row['ft_id'].".hmtl\"><img src=\"http://cepteam.net/images/twitter_icon.png\"></a> &nbsp;<a href=\"forums.php?m=posts&amp;q=".$row['ft_id']."\" title=\"".$row['ft_title']."\">".sed_cc(sed_cutstring(stripslashes($row['ft_title']),28))."</a></td>";

$latestposts2 .="<td><center>&nbsp;(" .$row["ft_postcount"]. ") </center></td>";
$latestposts2 .="<td><center>&nbsp;(" .$row["ft_viewcount"]. ")</center></td>";
$latestposts2 .= "<td><center>".sed_build_user($row['ft_lastposterid'], $row['ft_lastpostername'])."</td>";
$latestposts2 .= "<td><center>&nbsp; ".sed_build_timegap($row['ft_updated'], $sys['now_offset'])."</b></td></center></tr>";




}
}
if($ii==0){
$latestposts2 .= "<tr><td colspan=\"5\"><center>Son Forum Mesajlarýný G?rebilmek Ý?in Giriþ Yapýnýz..</center></td></tr>";
}

$latestposts2 .= "</table>";

$t-> assign(array(
"LATEST_POSTS_2" => $latestposts2,
));

?>
Konuyla İlgili Diğer Başlıklar
Facebook New Design 2013
Facebook Tarzı bildirim eklentisi
Facebook veya Twitter Tarzı Sayfalama
How To: Update Facebook status using PHP Curl?
Facebook Style TextArea with Wall Posting Script using jQuery PH

 

Powered by Seditio © 2009-2012 All Rights Reserved