Ms-Rajpot help topic)

Тема закрыта
722
.
Ok Sir Koenig, i try.
.
Люди берегите воду - пейте пиво...
Ms-Rajpot, Better to remove the browser than the IP
.
Dear sir venom, i am removing to this details,

Browser:NokiaC1-01/2.0 (06.15) Profile/MIDP-2.1 Configuration/CLDC-1.1 UCWEB/2.0 (Java; U; MIDP-2.0; en-US; NokiaC1-01) U2/1.0.0 UCBrowser/ 9.5.0.449 U2/1.0.0
IP address: 70.39.186.230 [ ?] / 203.124.28.74 [ ?]

Sir Koenig's code is not working,
.
Люди берегите воду - пейте пиво...
line 372 in /incfiles/classes/functions.php
$out .= '<div><span class="gray">' . self::$lng['browser'] . ':</span> ' . htmlspecialchars($user['browser']) . '</div>' .
                    '<div><span class="gray">' . self::$lng['ip_address'] . ':</span> ';

change to
$out .= '<div><span class="gray">' . self::$lng['ip_address'] . ':</span> ';
.
Oh Thank you so much Sir venom , its 100% working, and Sir how i can Show 4,online user photos in mainpage ?
.
Люди берегите воду - пейте пиво...
# Ms-Rajpot (24.10.2015 / 00:00)
online user photos in mainpage ?
photo from photo album, recently added
.
(\/)____o_O____(\/)
Help in male/female Difrend Avatar,
.
Help in Guestbook Direct Replay form in mainpage
Dear Helpers, i am pasting the Replay form code in my mainpage:
// Форма ввода нового сообщения
        if (($user_id || $set['mod_guest'] == 2) && !isset($ban['1']) && !isset($ban['13'])) {
            $token = mt_rand(1000, 100000);
            $_SESSION['token'] = $token;
            echo '<div class="gmenu"><form name="form" action="/guestbook/index.php?act=say" method="post">';
            if (!$user_id)
                echo $lng['name'] . ' (max 25):<br/><input type="text" name="name" maxlength="25"/><br/>';
            echo '<b>' . $lng['message'] . '</b> <small>(max 5000)</small>:<br/>';
            echo bbcode::auto_bb('form', 'msg');
            echo '<textarea rows="' . $set_user['field_h'] . '" name="msg"></textarea><br/>';
            if ($set_user['translit'])
                echo '<input type="checkbox" name="msgtrans" value="1" />&nbsp;' . $lng['translit'] . '<br/>';
            if (!$user_id) {
                // CAPTCHA для гостей
                echo '<img src="../captcha.php?r=' . rand(1000, 9999) . '" alt="' . $lng['captcha'] . '"/><br />' .
                    '<input type="text" size="5" maxlength="5"  name="code"/>&#160;' . $lng['captcha'] . '<br />';
            }
            echo '<input type="hidden" name="token" value="' . $token . '"/>' .
                '<input type="submit" name="submit" value="' . $lng['sent'] . '"/></form>';
}

The code is 100% working, but after Pasting in this Form Text and after click at the send button i am automaticly going to /guestbook/index.php?
But how i can set to this with this style,
Example:
if i am or anyone pasted text msg in this form box then we will not going in to /guestbook/index.php? We will after text pasting automaticly Redirecting in mainpage.php ?
.
Help in Editing/Uploading Smilies
Hi Dear Helpers, please help me, How i can change smilies texts and How i can uploaded more smilies in my site ? My script is johncms 6.1.2
.
(\/)____o_O____(\/)
вроде как надо через фтп переименовать файлы смайлов и обновить кэш. кто знает отпишитесь
Всего: 27