Documente Academic
Documente Profesional
Documente Cultură
community,
uncomment the row "php_flag engine off" in ./static/.htaccess and ./storage/.hta
ccess files
Mail send problems
-------------------------If you have problems with the emails distribution and one of these two problem
s:
- send emails with empty body
- send emails with incomplete text in the body
You can resolve this issue by changing a few items in the file ./system/helper
s/func_main.php
Go to line 126 and delete all lines that contain the phrase (DELETE_THIS_LINE)
:
---------------------------------------------/* (DELETE_THIS_LINE) This is a fix for everybody with mail issues (2 types)
(DELETE_THIS_LINE) 1. Your script send mails with blank body
(DELETE_THIS_LINE) 2. Your script send mails with missing text in the mail
body
(DELETE_THIS_LINE) To activate the fix delete all the lines which contains
(DELETE_THIS_LINE).
do_send_mail($email, $subject, $message_txt, $from);
return;
(DELETE_THIS_LINE)*/
---------------------------------------------Once you have deleted the lines you should have only the following code left:
---------------------------------------------do_send_mail($email, $subject, $message_txt, $from);
return;
---------------------------------------------Note: please backup the file ./system/helpers/func_main.php before applying an
y changes
------------------------Using Google reCaptcha
------------------------To activate the google reCaptcha on your sharetronix community follow the step
s below:
1. Go to https://www.google.com/recaptcha/admin/create
2. Create your private and public keys.
3. Open the ./conf_main.php file
4. Enter the value for the private key at $C->GOOGLE_CAPTCHA_PRIVATE_KEY
5. Enter the value for the public key at $C->GOOGLE_CAPTCHA_PUBLIC_KEY
-------------------------
= 'Your Key';
= 'Your app id';
= 'Your app secret';
------------------------TWITTER CONNECT
------------------------To activate Twitter OAuth Login for your Sharetronix site, first you have
to register a Twitter application and get its Consumer KEY and SECRET:
1. Complete the Sharetronix installation/upgrade script
2. Go to the Twitter New Application form: https://dev.twitter.com/apps and cl
ick on "Create New Application" button
3. Fill App Name, Description and Website(eg. http://mysharetronixcommunity.co
m).
4. Agree with "Developer Rules Of The Road", enter the captcha code and click
on the "Create your Twitter application" button.
5. Click on the "Settings" tab and in the "Application Type" section for acces
s type choose "Read and Write" and click on "Update this Twitter's application"
button
6. Go to the "Details" tab and copy your application's "Consumer key" and "Con
sumer secret" and paste them in your ./system/conf_main.php file in the
$C->TWITTER_CONSUMER_KEY
$C->TWITTER_CONSUMER_SECRET
= '';
= '';
7. You MUST also put a Callback URL in the SETTINGS tab in your twitter applic
$C->BITLY_LOGIN
$C->BITLY_API_KEY
= '';
= '';