Hello,
Are there some steps/tweaking to setup Smartcj so google doesn't know i'm using smartcj script?
Because i got all my smartcj domains banned by google a while back.
Thank you.
Setup Smartcj Correctly
Re: Setup Smartcj Correctly
Sure, what would you like to hide exactly?
Don't forget to run script update
Re: Setup Smartcj Correctly
1) I would like to hide the cookie to Google. Is mD5 the better way?
2) I would like to hide the directory, after changing the name, can i put a htpasswrd on the "new scj" directory?
3) Can i delete rot_in file? Will it affect rotation?
4) In the template, should i only put <!--SCJ_COUNT_VIEWS--> or do i also need to have <!--SCJ_INCLUDE--> ?
Thank you.
2) I would like to hide the directory, after changing the name, can i put a htpasswrd on the "new scj" directory?
3) Can i delete rot_in file? Will it affect rotation?
4) In the template, should i only put <!--SCJ_COUNT_VIEWS--> or do i also need to have <!--SCJ_INCLUDE--> ?
Thank you.
Re: Setup Smartcj Correctly
1. Yes, there's an option for this in settings
I don't know whether it's better for Google or not...
2. Sure
3. You can rename it as well
4. Both of you want to count hits
I don't know whether it's better for Google or not...
2. Sure
3. You can rename it as well
4. Both of you want to count hits
Don't forget to run script update
Re: Setup Smartcj Correctly
3) If i change name for scj/cgi/rot_in.php for example to scj/cgi/ratin.php, Do i need to change let it know somewhere in the settings/config? Where exactly?
4) Can i delete scj_pro.lic from my root?
5) Can i delete scjwebmaster.php?
4) Can i delete scj_pro.lic from my root?
5) Can i delete scjwebmaster.php?
Re: Setup Smartcj Correctly
3. Yes, when you add code with rotin.php you have to change the name of the file of course
4. No, but you can hide it with a rewrite rule
5. Yes
4. No, but you can hide it with a rewrite rule
5. Yes
Don't forget to run script update
Re: Setup Smartcj Correctly
4) What would be that rewrite rule code exactly?
Re: Setup Smartcj Correctly
Sorry I can not treat it right now.
There are 2 ways
1. Remind me in a week and I'll write it
2. Ask admin to write it for you, it's not a complicated task
There are 2 ways
1. Remind me in a week and I'll write it
2. Ask admin to write it for you, it's not a complicated task
Don't forget to run script update
-
resellerhostings
- Posts: 1
- Joined: Fri Jan 22, 2016 10:46 am
Re: Setup Smartcj Correctly
is this the lines i change or is there more lines i need to change
// create config
$tr = array();
$tr['__DB_HOST__'] = $mysql_host;
$tr["__DB_USER__"] = $mysql_user;
$tr["__DB_PASSWORD__"] = $mysql_pass;
$tr["__DB_NAME__"] = $mysql_name;
$tr["__PHP_PATH__"] = $php_path;
$tr["__ADMIN_EMAIL__"] = $admin_email;
$tr["__PATH_TO_LOG__"] = $scj_path . 'logs/';
// create config
$tr = array();
$tr['__DB_HOST__'] = $mysql_host;
$tr["__DB_USER__"] = $mysql_user;
$tr["__DB_PASSWORD__"] = $mysql_pass;
$tr["__DB_NAME__"] = $mysql_name;
$tr["__PHP_PATH__"] = $php_path;
$tr["__ADMIN_EMAIL__"] = $admin_email;
$tr["__PATH_TO_LOG__"] = $scj_path . 'logs/';
Re: Setup Smartcj Correctly
4) Could you please give me this url rewrite code? Admin couldn't write it.
6) Here http://smartcj.com/wiki/doku.php?id=new_rotation_hints About "How to change links /gallery/cool/index.html?123x45x678" "Option 3 if you want completely another style":
6a) Should i put in the subtemplate?
6b) Should i put in common.php of the root, or common.php of scj/cgi?
6c) If i put Then the url should be http://www.domain.com/tag/<!--TAG_NAME- ... =$my_var[2]?>
7) I uploaded the default htaccess from /scj/tube/ and pasted it in the root. Should i change all /scj/cgi/out.php paths to /out.php paths?
Thank you.
6) Here http://smartcj.com/wiki/doku.php?id=new_rotation_hints About "How to change links /gallery/cool/index.html?123x45x678" "Option 3 if you want completely another style":
6a) Should i put
Code: Select all
<?php $my_var = explode('x', '<!--THUMB_LINK-->'); ?>6b) Should i put
Code: Select all
if (isset($_GET['a'])) {
$_GET['link'] = 'images/' . $_GET['a'] . 'x' . $_GET['b'] . 'x' . $_GET['c'];
}6c) If i put
Code: Select all
if (isset($_GET['y'])) {
$_GET['link'] = 'images/' . $_GET['a'] . 'x' . $_GET['b'] . 'x' . $_GET['c'];
}7) I uploaded the default htaccess from /scj/tube/ and pasted it in the root. Should i change all /scj/cgi/out.php paths to /out.php paths?
Thank you.







