126

(18 replies, posted in Problem Solving / Help & Support)

I had this problem over the weekend but with the update it has not re-appeared. Just upload onto your server but be careful not to overwrite your cdata news.txt etc . and config.php. I  backup everything first just in case.

127

(18 replies, posted in Problem Solving / Help & Support)

Are you using the latest version?
v1.5.2 GitHub 0ea0d27153

- Fixed XSS / PHP_SELF
- Executable PHP code in templates
- No input filter on backup name
- Faulty CSRF check in editnews
- Infinite loop of errors when ban file missing && Case-sensitive regexp for link check
- Escaping " for unban link && Input filter for | in IP ban
- Login Ban fixed
- Input filter in News Wizard
- News Preview: remove links
- Add preview function
- CSRF problem in image upload fixed
- Fixed image detection in image upload
- E-mails hidden by default
- Add checking "allow_url_fopen" option
- Improved install/update process

128

(9 replies, posted in News)

I have put More English grammar corrections here:
https://cutephp.com/forum/index.php?s=&...st&p=156726

Some more English corrections:  https://cutephp.com/forum/style_emoticons/default/smile.gif

CuteNews/inc/images.php
53 $img_result .= "
[color= red;]$image_name -> Image already exist![/color]";
     $img_result .= "
[color= red;]$image_name -> Image already exists![/color]";


CuteNews/inc/options.php
283  msg("Error", lang('Error!'), lang("You cannot delete the RSS template, it is not even supposed you to edit it"), '#GOBACK');
         msg("Error", lang('Error!'), lang("You cannot delete the RSS template, you are not even supposed  to edit it"), '#GOBACK');
   

298 msg("error", lang('Error!'), "Cannot delete file ./cdata/$do_template.tpl
maybe the is no permission from the server", '#GOBACK');
       msg("error", lang('Error!'), "Cannot delete file ./cdata/$do_template.tpl
maybe there is no permission from the server", '#GOBACK');

CuteNews/search.php
140 else echo "<div class='cutenews_not_match'>".lang('There are no news matching your search criteria')."</div>";
       else echo "<div class='cutenews_not_match'>".lang('There are no news articles matching your search criteria')."</div>";

CuteNews/skins/base_skin/help/sections/archives.tpl
3 (where only the active news are hold)
   (where only the active news are held)

Options>System Configurations>General>Allow self-Registration>Yes
Self-Registration Level>Choose your status>

Then link to www.yoursite.com/cutenews/register.php

How to add Highslide into Cutenews 1.5 with CKeditor.

1. Download the highslide plugin from  http://code.google.com/p/lajox

2. Upload highslide folder to  cutenews/core/ckeditor/plugins/

3. Configure in cutenews/skins/base_skin/addnews/index_cke.tpl
   
Add to
toolbar: [
a value 'highslide'
e.g.

 ['Image','highslide',Table','HorizontalRule','Smiley'],

4. In cutenews/skins/base_skin/addnews/index_cke.tpl
   Add the extra plugin 'highslide' after:
entities_greek: false,

extraPlugins: 'highslide',

5. Do the same two modifications as in 3 & 4 above  in cutenews/skins/base_skin/editnews/editnews/index_cke.tpl

6. Modify cutenews/core/ckeditor/plugins/highslide/js/main.js
   Just the line:

hs.graphicsDir = '/cutenews/core/ckeditor/plugins/highslide/js/graphics/';

Note 1: If you upgrade cutenews using the built-in upgrade function you will need to put back the changes in both templates  index_cke.tpl

Note2: Ignore the readme in the downloaded highslide folder. You do not need to alter the ckeditor/config.js file. Cutenews does not use this.

Note 3; You can add/delete Highslide functions in:
cutenews/core/ckeditor/plugins/highslide/js/main.js  e.g.

        hs.align = 'center';
    hs.transitions = ['expand', 'crossfade'];
    hs.outlineType = 'rounded-white';
    hs.wrapperClassName = 'controls-in-heading';

or
        hs.align = 'center';
    hs.transitions = ['expand', 'crossfade'];
    hs.wrapperClassName = 'dark borderless';
    hs.fadeInOut = true;
    hs.dimmingOpacity = .75;






I can't find this code in the 1.5 version. How to integrate cutenews with disqus original how to thread. This post has been edited by joifan2k: Aug 20 2012, 08:24 ...

Look in core.php for

$output  = str_replace(array("[link]", "[/link]"), array('[url=]', "[/url]"), $output);


But I cannot guarantee that the hack will work in this new version.

Check ckeditor in your cutenews/core/ directory, try reloading  it.

Use a test page with the default template. If the date  shows then it is not a cutenews problem but a problem with your template, webpage or css.

Use the Headlines template.
Change it to suit.

Have you set a date format in System Configuration>News>Time format for news?

Does the Title and short story show ?

Try using a Hex value for your colours
#ffffff

You should be able to create a directory and  password protect it using the control panel of your webserver.
Then put a newspage in that directory with the category for Journalists only.
Put a link to that page on your main website. When anyone clicks on the link to read that news page they will need to enter the password.
Google for .htpassword or .htaccess directories for more information.

http://bignosebird.com/apache/a10.shtml

Options>system configurations>Smiles

Delete the list of smilies.

Post the news into password protected directories and give your Journalists the password.

141

(9 replies, posted in News)

Well done. I see you have corrected the grammar/spelling in the new version.
https://cutephp.com/forum/style_emoticons/default/biggrin.gif

Support_Team last logged in 17 January but didn't give any support.
https://cutephp.com/forum/style_emoticons/default/huh.gif

It would be easy for the cutenews authors to add in the facility for using CKFinder with CKEditor editor.
It would only need the option to be implemented in the control panel with a suitable template file in the base_skins add and edit news.

CKEditor with CKFinder allows the uploading of PDF files but CKFinder needs a licence if you want the facility of different directories, so this is probably why the cutenews authors have not included it.

It is possible to change the existing templates to incorporate  CKFinder and you can then upload images and PDFs.
I can post how to do this if you are interested.

Damoor, is it right that you are not the official support?


I am just another user. https://cutephp.com/forum/style_emoticons/default/mellow.gif

The file upload should be working if you have set the Full URL to cutenews Directory correctly.
The uploads folder is now cutenews/uploads. It was data/upimages. The upgrade script does not appear to fix this.

I have now got them all back to a completely unedited version.


Then why not use the new version cutenews 1.5.0 which has CKeditor and captcha built in. Then implement the CKfinder changes to that version.

Cutenews version In 1.5.0b used a temporary file for the database users called
db.users.php
This is no longer needed hence the deprecated message asking you to delete the file.
You can delete it from your server.

Your users are stored in
users.db.php
Which you must not delete.
If you logged in and deleted a user you would have removed the user from
/cdata/users.db.php.

Options>System Configuration>News>Show Comments When Showing Full Story>Yes

You have changed the command to preg_match but you have not added the end delimeter.

You always need a delimiter with preg_match and preg_replace
Like this
if(!preg_match("^$self^",$HTTP_REFERER) and $HTTP_REFERER != ""){
and this
$title = preg_replace("/<[^>]*>/","",$title);

Note the delimiter ^ at the beginning and the end of $self.
It does not matter what character you use for the delimeters but they must both be the same.
You can use  / or ^ or >.

Extract the files from the zip and then upload the extracted cutenews directory.
Set the correct permissions on the folders.
Run the installer by logging in to cutenews/index.php

Posts found: 126 to 150 of 305

Pages Previous 1 4 5 6 7 8 13 Next

CutePHP Forums → Posts by Damoor