John CMS

Started on the old forum in June 2009 · view the original in the archive · old links redirect here

#mobile-cms

43 replies · 6,864 views · started 17 years ago · 1 min read

TL;DR · summary of 43 replies
  • - The main issue was finding a way to translate text on the main page of John CMS.
  • - Riderz mentioned he is translating and needs help with changing text at the bottom of the main page, specifically where to find the PHP file for translation.
  • - There were suggestions from others like metulj that if people are interested in an English version, they should translate it themselves rather than relying on others.

Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.

18 participants
kabooms Developer · 80 posts #21

Yah i allready ask it support forum they use phpsuexec in there hosting.

riderz Lead · 975 posts #22

andyjay33 i have posted all my scripts i ever had but no one ever say tanx they just want and want i could have posted my english version long time ago have it more than 2 months now that i converted it but weveryone just want it why not try do it urself like u and me we took the time to translate the script other wise they must trade thats the best option


Jacques jacques@gw-designs.co.za http://coding.biz.tm Come join and lets make it a place to learn all the noobies how to code


NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

metulj Super moderator Principal · 1,726 posts #23

choideptb wrote: Let's upload johncms .Plz

it's uploaded !!! oh you want englihs version? ahh.. well.... thats the problem you know... but english version is here... waiting for you... just go and grab it.. JohnCMS_english.zip😳

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

andyjay33 Developer · 75 posts #24

i agree with you rider ppl are quick to leech scripts from ppl but not give anything back at the end of the day ppl on here will only get the standard english version not the one im gonna heavily modify i dont mind sharing ive took scripts from this site its my time to give something back 🙂

andyjay33 Developer · 75 posts #25

ive 85% translated it so it wont be long now been busy with coding a new website so as soon as thats done il post up the johncms script

riderz Lead · 975 posts #26

John Cms

Well here are the john cms script that i have i dnt use it so its useless for me but say tanx and do share what ever u have there may be few words that i forgotten


Jacques jacques@gw-designs.co.za http://coding.biz.tm Come join and lets make it a place to learn all the noobies how to code


NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

Attachments: cms.zip
riderz Lead · 975 posts #27

if u download it ull see the john cms rusian version is also in there


Jacques jacques@gw-designs.co.za http://coding.biz.tm Come join and lets make it a place to learn all the noobies how to code


NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

cobusbo Developer · 117 posts #29

thank you riderz ya the problem is we all are not as clever as you guys we are still learning all the basics

riderz Lead · 975 posts #30

well im not clever and im not a coder

my secret are Here anyone can do it


Jacques jacques@gw-designs.co.za http://coding.biz.tm Come join and lets make it a place to learn all the noobies how to code


NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

capofret Developer · 225 posts #32

Hadian wrote: Riderz or someone can u help me? Please upload only john cms eng (with zip).. My PC error i use phone now (my ballance is low XD). Please!

dont be lazy, you just need to click download. whats so hard about that? we are not your slaves to do everything for you 😠

LDSWAPWORLD site closed. im busy with other things in life like facebook , send me PM so i can add you 🙂 www.pinoySG.com

don't ask for help if you're not even helping yourself! i am tired of seeing the line "best site", i want to see something NEW and UNIQUE. maybe if i find one, ill go back to my wap life again.

External image (may be gone)

riderz Lead · 975 posts #34

tanx for letting us know there are a new one out ill be translating it soon


Jacques jacques@gw-designs.co.za http://coding.biz.tm Come join and lets make it a place to learn all the noobies how to code


NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

kabooms Developer · 80 posts #35

wow mod built 300 it might better than before aheehhehehe thanks!

riderz Lead · 975 posts #36

here are a link to the one im translating now started few minutes ago

Geckowap


Jacques jacques@gw-designs.co.za http://coding.biz.tm Come join and lets make it a place to learn all the noobies how to code


NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

wap2k Developer · 168 posts #37

Register.php in english lol

<?php
/*
////////////////////////////////////////////////////////////////////////////////
// JohnCMS                             Content Management System              //
// Official site of the project:       http://johncms.com                     //
// Additional site support:            http://gazenwagen.com                  //
////////////////////////////////////////////////////////////////////////////////
// JohnCMS core team:                                                         //
// Eugene Ryabinin aka john77          john77@gazenwagen.com                  //
// Oleg Cassian aka AlkatraZ           alkatraz@gazenwagen.com                //
//                                                                            //
// Information about the versions in the accompanying file version.txt        //
////////////////////////////////////////////////////////////////////////////////
*/

define('_IN_JOHNCMS', 1);

$textl = 'Registration';
$rootpath = '';
require_once ("incfiles/core.php");
require_once ("incfiles/head.php");

if ($regban || !$set['mod_reg'])
{
	echo '<p>Registration is temporarily closed.</p>';
	require_once ("incfiles/end.php");
	exit;
}

echo '<div class="phdr">Registration on the site</div>';
function regform()
{
    $cod = rand(1000, 9999);
    $_SESSION['code'] = $cod;
    echo '<form action="registration.php" method="post">';
    echo '<br /><b>Username:</b><br/><input type="text" name="nick" maxlength="15" value="' . check($_POST['nick']) . '" /><br />';
    echo '<small>min. 2, Max. 15 Symbols.<br />The letters of the Russian and Latin alphabet are permitted,<br />number and the signs - = @ ! ? ~ _ ( ) [ ] . * (besides zero)</small><br /><br />';
    echo '<b>Password:</b><br/><input type="text" name="password" maxlength="20" /><br/>';
    echo '<small>min. 3, маx. 10 Symbols.<br />The letters of Latin alphabet and number are permitted.</small><br /><br />';
    echo '<b>IM name:</b><br/><input type="text" name="imname" maxlength="30" value="' . check($_POST['imname']) . '" /><br />';
    echo '<small>Max. 30 symbols.</small><br /><br />';
    echo 'Gender:<br/><select name="sex"><option value="m">Male</option><option value="zh">Female</option></select><br /><br />';
    echo 'About: <small>(Max. 500 symbols)</small><br/><textarea rows="3" name="about">' . check($_POST['about']) . '</textarea><br/><br/>';
    echo 'If you do not see figure with the code,<br />Your phone does not support images<br />or you need to reload.<br /><br />';
    echo '<img src="code.php" alt=""/><br />';
    echo 'Code from the picture:<br/><input type="text" maxlength="4"  name="kod"/><br /><br />';
    echo '<input type="submit" name="submit" value="Регистрация"/><br /><br /></form>';
}

if (isset($_POST['submit']))
{
    // We assume the variables
    $reg_kod = intval($_POST['kod']);
    $reg_nick = trim($_POST['nick']);
    $lat_nick = rus_lat(mb_strtolower($reg_nick));
    $reg_pass = trim($_POST['password']);
    $reg_name = trim($_POST['imname']);
    $reg_about = trim($_POST['about']);
    $reg_sex = trim($_POST['sex']);

    $error = false;
    // Checking Username
    if (empty($reg_nick))
        $error = $error . 'Username must be filled in!<br/>';
    elseif (mb_strlen($reg_nick) < 2 || mb_strlen($reg_nick) > 15)
        $error = $error . 'Inadmissible length Of Username<br />';
    if (preg_match("/[^1-9a-z\-\@\*\(\)\?\!\~\_\=\[\]]+/", $lat_nick))
        $error = $error . 'Inadmissible symbols in Login!<br/>';
    //  Checking Password
    if (empty($reg_pass))
        $error = $error . 'The password must be filled in!<br/>';
    elseif (mb_strlen($reg_pass) < 3)
        $error = $error . 'Inadmissible length of the password<br />';
    if (preg_match("/[^\da-zA-Z_]+/", $reg_pass))
        $error = $error . 'Inadmissible symbols in the password!<br/>';
    //  Checking Username
    if (empty($reg_name))
        $error = $error . 'Username must be filled in!<br/>';
    //  Checking Verification Code
    if (empty($reg_kod))
        $error = $error . 'The verifying code cant be empty!<br/>';
    elseif ($reg_kod != $_SESSION['code'])
        $error = $error . 'The verifying code is incorrect!<br/>';

    // Checking the variables
    if (empty($error))
    {
        $pass = md5(md5($reg_pass));
        $reg_name = check(mb_substr($reg_name, 0, 20));
        $reg_about = check(mb_substr($reg_about, 0, 500));
        $reg_sex = check(mb_substr($reg_sex, 0, 2));
        // Проверка, занят ли ник
        $req = mysql_query("select * from `users` where `name_lat`='" . mysql_real_escape_string($lat_nick) . "';");
        if (mysql_num_rows($req) != 0)
        {
            $error = 'This nick is already registered! Please Select another. thankyou<br/>';
        }
    }

    if (empty($error))
    {
        if ($set['rmod'] != 1)
        {
            $preg = 1;
        } else
        {
            $preg = 0;
        }
        mysql_query("INSERT INTO `users` SET
		`name`='" . mysql_real_escape_string($reg_nick) . "',
		`name_lat`='" . mysql_real_escape_string($lat_nick) . "',
		`password`='" . mysql_real_escape_string($pass) . "',
		`imname`='" . $reg_name . "',
		`about`='" . $reg_about . "',
		`sex`='" . $reg_sex . "',
		`rights`='0',
		`ip`='" . $ipl . "',
		`browser`='" . $agn . "',
		`datereg`='" . $realtime . "',
		`lastdate`='" . $realtime . "',
		`preg`='" . $preg . "';");

        $usid = mysql_insert_id();
        echo "You are registered!<br/>";
        echo "User id: " . $usid . "<br/>";
        echo "Username: " . $reg_nick . "<br/>";
        echo "Password: " . $reg_pass . "<br/>";
        echo "Auto Login URL:<br/><input type='text' value='" . $home . "/auto.php?id=" . $usid . "&p=" . $reg_pass . "' /><br/>";

        if ($set['rmod'] == 1)
        {
            echo "Please wait for your registration to be confirmed by the administrator<br/>";
        } else
        {
            echo "<br /><a href='auto.php?id=" . $usid . "&p=" . $reg_pass . "'>Enter</a><br/><br/>";
        }
    } else
    {
        echo '<br /><b>ERROR!</b><br />' . $error;
        regform();
    }
}

// Form of the registration
else
{
    if ($set['rmod'] == 1)
    {
        echo "Attention! You will be able to obtain the authorized access to the divisions of site after confirmation of your registration by administrator.<br/>";
    }
    regform();
}

require_once ("incfiles/end.php");

?>
riderz Lead · 975 posts #39

ok nice can u do some of the folders ive done the pages folder incfiles all files in main folder and am busy with the panel folder wap2k were busy with the str folder he posted the files he done in translation catagorie here


Jacques jacques@gw-designs.co.za http://coding.biz.tm Come join and lets make it a place to learn all the noobies how to code


NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close