module like facebook status v2 JohnCMS

255
.
Name of mod: Mod v2 you face the same status JohnCMS
Author: Nguyen Ary
Description: writing mood, like, essays, like facebook. Suitable to replace the chat room.

Feutures:
- Add functionality BOT (bot mod edit panel Ari Tuan)
- Cut short when the characters too long
and click the link to read more. Apply for all status and status Commentary
- Adm. status and writers can remove status
- The writer's status can delete comment status.
- You can post status after status post repair. After 5 minutes incorrigible.
- Show you like status in comment

Note: this module default in vietname language.

[b]Instructions:
- Upload to host, with public_html/www root, uncompress.
Import data file on phpmyadmin.
- Edit /status/bot.php. Change $idbot = 2;
then modify ID of 2 bar of your wap BOT
- Open /incfiles/classes/functions.php.
this code more appropriate box
//chuc vu
public static function rights($var) {
$rights = mysql_fetch_array(mysql_query("SELECT `rights` FROM `users` WHERE `id`='".$var."'"));
$rank = array(
0 => '[Member]',
1 => '[V.I.P]',
2 => '[Auto]',
3 => '[JavaMaster]',
4 => '[WapMaster]',
5 => '[S.W.A.T]',
6 => '[Mod]',
7 => '[SMod]',
8 => '[Admin]',
9 => '[Sáng Lập]' );
$out = '' . $rank[$rights['rights']];
return $out;
}
//het chuc vu
Прикрепленные файлы:
.
demo index
Прикрепленные файлы:
.
demo share photo at status
Прикрепленные файлы:
.
If any error..
Please add this code to /incfiles/classes/functions.php

public static function gio($var)
    {
        $shift = (self::$system_set['timeshift'] + self::$user_set['timeshift']) * 3600;
        if (date('Y', $var) == date('Y', time())) {
            if (date('z', $var + $shift) == date('z', time() + $shift))
                return self::$lng['today'] . ', ' . date("H:i", $var + $shift);
    if (date('z', $var + $shift) == date('z', time() + $shift) - 1)
                return self::$lng['yesterday'] . ', ' . date("H:i", $var + $shift);
        }

        return date("d.m.Y / H:i", $var + $shift);
    }
.
add this css status to /theme/default/style.css

.stt-menu {
background-color: #aaaaaa;
margin: 0;
padding: 4px 0px 0px 2px;
}
#stt-tab1 {
background-color: #f2f6f8;
margin: 2px 2px 0px 3px;
padding: 2px;
}
#stt-tab2 {
background-color: transparent;
margin: 2px 2px 0px 2px;
padding: 2px;
}
.stt-pic {
border: 1px solid #bbbbbb;
background-color: #ebebeb;
margin: 5px;
padding: 5px;
}
.stt-pic img {
max-width: 85%;
height: auto;
}
.newsx {
   background-color: #f2f6f8;   border-bottom: 1px solid
#eaeae9;   color: #34617e;   padding: 4px 3px 3px
3px;   margin: 0 0 0 0;}
.dmenu {
background-color: #c7e8d5;
border: 1px solid white;
margin: 0;
padding: 3px 4px 3px 4px;
}
.showlike {
margin-top: 8px;
border: 1px solid #d7edfc;
background-color: #f1f7fc;
color: gray;
font-size: 11px;
padding: 2px 4px 2px 4px;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
}
.stt {
margin:0;
background:#d3d6dc;
padding: 1px;
}
.stt .list1, .stt .list2 {
background-color: #fff;
border: 1px solid #c2c2c2;
padding: 4px;
margin: 4px;
}
.stt .content, .stt .content {
padding: 4px 0px 4px 0px;
}
.like {
background-color: #fbfad6;
border-left: 3px solid #e5bd00;
border-top: 1px solid #f0f1cf;
border-right: 1px solid #f0f1cf;
border-bottom: 1px solid #f0f1cf;
color: #34617e;
padding: 3px 4px 3px 4px;
margin-top: 4px;
}


note: use quote to copy css
.
EcHo_Texas
If you are not happy seeing the demo.

here for live demo : Cyberloft
.
Cool I'm liked
.
can you translate this module into english?
.
there are many mistakes in code.
almost all code in one line.
somewhere language package somewhere only vietnam...
old type of code sometimes
.
GhosT-ReCoN
this is a badly translated russian version.
Прикрепленные файлы:
Всего: 36
Фильтр по автору
Скачать тему