Перейти из форума на сайт.

НовостиФайловые архивы
ПоискАктивные темыТоп лист
ПравилаКто в on-line?
Вход Забыли пароль? Первый раз на этом сайте? Регистрация
Компьютерный форум Ru.Board » Интернет » В помощь вебмастеру » Скрипт новостей CuteNews

Модерирует : Cheery

 Версия для печати • ПодписатьсяДобавить в закладки
Страницы: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Открыть новую тему     Написать ответ в эту тему

serg62

Newbie
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
Скрипт новостей CuteNews v2.1.2 (2018, April, 26)

 
Офф. сайт: http://cutephp.com
Сайт для русскоязычных пользователей 4 февраля 2006 года сменил название и домен! Теперь новостной скрипт CuteNews.RU называется Strawberry! - http://strawberry.goodgirl.ru
Форум (на русском): http://strawberry.goodgirl.ru/forum
Форум (на английском): http://cutephp.com/forum
Форум (на английском): http://english.cutenews.ru/forum  
Сайт модифицированной версии (AJ-Fork): http://ajfork.berlios.de
Последняя стабильная рус. версия:  Strawberry 1.1.1 (бывший CuteNews.RU)
Моды и плагины (всё на русском): здесь
 
F.A.Q by 6epcepk

Всего записей: 19 | Зарегистр. 03-11-2003 | Отправлено: 19:55 12-11-2003 | Исправлено: exMIB, 14:24 13-04-2024
Cheery



.:МордератоР:.
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
KatiaKoka

Цитата:
файл show_news.php находится в папке CuteNews

а ищется в папке
Цитата:
/var/www/gaevaya/gaevaya.com

вообще - смотрите файл config.php в папке data

----------
Away/DND

Всего записей: 52737 | Зарегистр. 04-04-2002 | Отправлено: 01:30 18-11-2010
KatiaKoka



Newbie
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
У меня там такой код:
 
<?PHP
 
//System Configurations
 
$config_http_script_dir = "http://gaevaya.com/cutenews";
 
$config_skin = "default";
 
$config_date_adjust = "0";
 
$config_smilies = "smile,wink,wassat,tongue,laughing,sad,angry,crying";
 
$config_auto_archive = "no";
 
$config_allow_registration = "no";
 
$config_registration_level = "4";
 
$config_use_avatar = "no";
 
$config_use_wysiwyg = "no";
 
$config_reverse_active = "no";
 
$config_timestamp_active = "d M Y";
 
$config_full_popup = "no";
 
$config_full_popup_string = "HEIGHT=400,WIDTH=650,resizable=yes,scrollbars=yes";
 
$config_show_comments_with_full = "yes";
 
$config_auto_wrap = "44";
 
$config_reverse_comments = "no";
 
$config_flood_time = "15";
 
$config_comment_max_long = "1500";
 
$config_comments_per_page = "50";
 
$config_only_registered_comment = "no";
 
$config_allow_url_instead_mail = "yes";
 
$config_timestamp_comment = "d M Y h:i a";
 
$config_comments_popup = "no";
 
$config_comments_popup_string = "HEIGHT=400,WIDTH=650,resizable=yes,scrollbars=yes";
 
$config_show_full_with_comments = "yes";
 
$config_notify_email = "katiakoka@ukr.net";
 
$config_notify_status = "disabled";
 
$config_notify_registration = "no";
 
$config_notify_comment = "no";
 
$config_notify_unapproved = "no";
 
$config_notify_archive = "no";
 
$config_notify_postponed = "no";
 
?>

Всего записей: 7 | Зарегистр. 17-11-2010 | Отправлено: 19:34 18-11-2010
Cheery



.:МордератоР:.
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
KatiaKoka

Цитата:
У меня там такой код:

ну, а скрипт где лежит при этом?
в папке
Цитата:
cutenews
?
плюс вам спала мало, чтобы светить мыло тут?
и второе кстати - в скрипте много дыр, на самом деле

----------
Away/DND

Всего записей: 52737 | Зарегистр. 04-04-2002 | Отправлено: 20:25 18-11-2010
KatiaKoka



Newbie
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
Да бог с ним с мылом...главное разобраться....
 
значит путь должен так писаться?
$config_http_script_dir = "/cutenews";

Всего записей: 7 | Зарегистр. 17-11-2010 | Отправлено: 20:32 18-11-2010
Cheery



.:МордератоР:.
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
KatiaKoka

Цитата:
$config_http_script_dir = "/cutenews";

да, достаточно просто указать путь относительно корня сайта.. но он не влияет на include
я же, вроде бы, спросил (или забыл) - вы куда инклудите скрипт ??
сообщение говорит, что  

Цитата:
Warning: include(./show_news.php) [function.include]: failed to open stream: No such file or directory in /var/www/gaevaya/gaevaya.com/ on line 107  

то есть файл, который пытается подключить show_news.php, не находится в папке cutenews
какой файл/скрипт пытается проинклудить cutenews?? там путь неправильно указан на 107 строке

----------
Away/DND

Всего записей: 52737 | Зарегистр. 04-04-2002 | Отправлено: 20:45 18-11-2010
KatiaKoka



Newbie
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
Cheery
 
 
<?PHP
 include("cutenews/show_news.php");
?>
 
вы этот код имете в виду?
 
Добавлено:
А файл  show_news.php   имеет такой вид
 
(удалено)

Всего записей: 7 | Зарегистр. 17-11-2010 | Отправлено: 20:49 18-11-2010 | Исправлено: Cheery, 21:17 18-11-2010
Cheery



.:МордератоР:.
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
KatiaKoka
не нужно приводить вид, все и так знают.

Цитата:
вы этот код имете в виду?

да, этот..  
но показываете вы, скорее всего, не то..
что на 107 строке основного файла?
ищет же в той же директории!!

Цитата:
Warning: include(./show_news.php) [function.include]: failed to open stream: No such file or directory in /var/www/gaevaya/gaevaya.com/ on line 107  



----------
Away/DND

Всего записей: 52737 | Зарегистр. 04-04-2002 | Отправлено: 21:25 18-11-2010
KatiaKoka



Newbie
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
include("cutenews/show_news.php");
 
вот эта строка
помогите...что делать?

Всего записей: 7 | Зарегистр. 17-11-2010 | Отправлено: 18:43 19-11-2010
Cheery



.:МордератоР:.
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
KatiaKoka

Цитата:
вот эта строка

я не верю, что это именно она.  

Цитата:
Warning: include(./show_news.php) [function.include]: failed to open stream: No such file or directory in /var/www/gaevaya/gaevaya.com/ on line 107  

говорит о том, что файл ищется в той же директории
не в cutenews папке, а в той же, где и основной php файл
вы же видите, что в пути нет cutenews, только ./show_news.php

----------
Away/DND

Всего записей: 52737 | Зарегистр. 04-04-2002 | Отправлено: 19:58 19-11-2010
KatiaKoka



Newbie
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
Все, я поняла свою ошибку, я вставляла новости не на главную страницу, а в раздел.....
 
Не знаете ли можно создавать разные новости на разных страницах?

Всего записей: 7 | Зарегистр. 17-11-2010 | Отправлено: 21:59 19-11-2010
Cheery



.:МордератоР:.
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
KatiaKoka

Цитата:
Не знаете ли можно создавать разные новости на разных страницах?

да.. читайте
http://cutephp.com/cutenews/readme.html

----------
Away/DND

Всего записей: 52737 | Зарегистр. 04-04-2002 | Отправлено: 22:14 19-11-2010
324280

Junior Member
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
Всем привет!  
Пытаюсь установить Stawberry 1.1.1. На первом же шаге вместо русского текста выводятся кракозябры.
Где и как можно задать правильную кодировку?

Всего записей: 51 | Зарегистр. 30-07-2010 | Отправлено: 18:08 15-06-2012
Cheery



.:МордератоР:.
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
324280

Цитата:
Где и как можно задать правильную кодировку?

в браузере пробовали выбрать?

----------
Away/DND

Всего записей: 52737 | Зарегистр. 04-04-2002 | Отправлено: 18:21 15-06-2012
324280

Junior Member
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
Cheery,
 
спасибо, поменял - помогло.

Всего записей: 51 | Зарегистр. 30-07-2010 | Отправлено: 20:37 15-06-2012
Gnome69

Junior Member
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
Тем временем CuteNews вновь обновляется, на данный момент последней версией является 2.0.1 от 20.03.2014 года.
 
Changelog последней версии 2.0.1
 

Цитата:
 
Main improvements and enhancements:
 
1. Fixed HTML escaping;
2. Fixed date formatting (added the option to enter days of week in any language);
3. Updated the display of news items, improved pagination, fixed search form (the link to the news from the search is now working);
4. Fixed display of ID category in Integration Wizard;
5. Added the $ignore_rewrite option available for the news that doesn't require rewriting;
6. Added “smart” cutting of words via bb-tag [truncate=N]..[/truncate] (ignoring of HTML markup tags), counting of actual words;
7. XSS: tags from news are not cut out, except for "script" in various forms;
8. Fixed counting of active news items for pagination, old indexes are replaced with new ones, added sorting by tags;
9. Fixed CKFinder implementation, added a plug-in;
10. Added "Switch to html" mass action in News Listing;
11. Removed the "IP ban" counter in order for configuration not to return to its default value;
12. Fixed the Integration Wizard bug (which showed ")" at the end of the template);
13. Fixed the bug connected with the $template option which failed to work giving the default error;
14. Fixed thumbnails formation in the media gallery - now thumbs photos are displayed separately;
15. Added "anchor" in bb-tags to generate links in the format: id=<Id>#my_anchor ;
16. Added alphabetical sorting in the media gallery;
17. Removed "greed" of bb-tags capture ([link]...[/link] .... [link]...[/link] captured and formed only one link instead of two).
 

 
Скачать её можно по следующей ссылке: http://cutephp.com/click.php?cutenews_latest

Всего записей: 112 | Зарегистр. 25-05-2006 | Отправлено: 12:03 21-03-2014
6stprod

Newbie
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
Я использую cutenews 2,0,2 В шаблон я вставил свой код див элемента, который отображается таким блоком (фото)  h t t p://hkar.ru/wYrI  Этих блоков в разметке 4 в ряду. Я хочу выводить в этих блоках сувенирку. Описание вывожу тегом {short_story}, название вывожу {tittle Вопрос такой - как мне вывести картинку, которую я прикрепляю в аттач? и как НЕ показывать ее в описании(вылезет она вместе с описанием в всплывающем окне) Нужно чтобы изображение, которое я залил в галерею, можно было установить как картинку новости. Как так сделать?

Всего записей: 3 | Зарегистр. 06-12-2014 | Отправлено: 22:39 06-12-2014
exMIB



Silver Member
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
v2.0.2 (2014, August 21)
 
Main improvements and enhancements:
 
1. For additional security, all news, comments and configurations are coded in base64.
2. Added migration from version 2.0.1 to 2.0.2.  
3. Fixed bugs appearing during migration from version 1.5.3.  
4. Fixed the functioning of the Preview button in the migration section.
5. Added error messages during migration.
6. Added an option of automatic generation of Page Aliases when news is added.
7. Added an option of disabling the standard comment system.
8. Added an option of controlling the maximum width of loaded images in Media manager.
9. In Dashboard > Categories, the checkboxes for adding and deleting categories are replaced with buttons.
10. Prohibited creation of duplicate categories.
11. Changed the algorithm for calculating Id for category.
12. Fixed banning of users.
13. In Dashboard > Groups, the checkboxes for deleting, resetting the system groups to the default value are replaced with buttons. The functions of adding and editing of groups are applied to different buttons.
14. Prohibited editing of rights in the admin and ban system groups.  
15. Adjusted the layout of templates in Dashboard > Templates.
16. Fixed the functioning of the [cat] tag.
17. Fixed the display style of the [quote] tag.
18. The Preview checkbox in Add News is replaced with a button.
19. Fixed the layout displaying preview in Add News.  
20. In Edit News, error messages redirecting to another page are replaced with pop-ups.
21. Fixed adding of images to Media manager via links.
22. Fixed the display of thumbnails in Media manager.  
23. Fixed the error of displaying pagination.
24. Fixed processing of indexes on Windows based servers.
25. Adjusted the display of text on the Delete comments button according to the number of comments.
26. Adjusted the layout on the example.php webpage.
27. Fixed the behavior of comment form after adding/editing of comments.
28. Fixed user authentication when logging in via comment form.
29. Fixed the account of group rights when user is working with comments.
30. Improved overall system stability.
 
 
Добавлено:
v2.0.3 (2015, April, 21)
 
1. Fixed the error of displaying pagination when filtering by nonexistent category.
2. Fixed the error of configuration conversion when migrating from version 1.5.3.
3. Fixed the error of generating links to news when mass changing category in news editing mode.
4. Adjusted the functioning of filters in the news list in EditNews, now filtering by category in All categories doesn't overwrite the filter specified via Change filters.
5. Adjusted the displaying of image options in Inline Media manager when adding icons to category.
6. Fixed the generation of the path to the first page in pagination when Rewrite is enabled.
7. Fixed the error of saving the contents of new user templates.
8. Fixed the error of settings the configuration for the global array $ _GET.
9. Fixed the error of filtering on the list of categories when setting variable $ category.
10. Removed support for bb-code [image], now all images can only be inserted via Media Manager.
11. Changed the principle of filter formation on the list of news Edit News, now several categories can be chosen for filtering.
12. Fixed the error of downloading files other than images in Media Manager.
13. Added utility for converting indexes, that fixes bugs after the removal or archiving of news.
14. Redesigned user authentication mechanism, now it runs based on phpsession, cookies are used only when the "Remember me" option is used.
15. Redesigned the mechanism of pagination and indexes conversion when uploading news.
16. Fixed authentication error when trying to leave comments.
17. Added the highlighting of newly downloaded files via URL.
18. Fixed display of pictures in Picture Manager.
19. Fixed the error when loading an incorrect URL in the media manager.
20. Removed some notices from the code.
21. Fixed the error when registering guests in the system.
22. Fixed errors when migrating news and users from 1.5.x and 2.0.x.
23. Fixed the errors in the template when Rewrite is enabled and the error when switching between news.
24. Fixed generation of thumbnails in Dashboard > Media manager.
25. Fixed error of storing thumbnails when deleting the original image file in Dashboard > Media manager.
26. Separated the functions of thumbnail generation and image resizing in Dashboard > Media manager.
27. Fixed bug with thumbnails not moving when the original image was moved in Media manager.
28. Fixed behavior of multiple files uploading form in Dashboard > Media manager, now the contents of previous file selection field is not reset when adding a new file selection field.
29. Adjusted pop-up message appearing when trying to download a file with a size larger than that specified in the option PHP upload_max_filesize in Dashboard> Media manager.
30. Fixed error with moving file groups to different folders in Dashboard > Media manager.
31. Added message 'No selected files for upload' to Dashboard > Media manager.
32. Corrected behavior of checkbox Move up when moving files to media Manager.
33. Fixed layout of messages displayed in inline Media manager.
34. Added avatars to Dashboard > Personal options and output avatars variable {avatar} to news  templates.
35. Fixed bug with saving flag 'Hide my e-mail from visitors' in Dashboard > Personal options.
36. Removed duplicate message 'Confirm new password' in Dashboard > Personal options.
37. Added preview of quick and full news according to their templates when editing / adding news.
38. Fixed bug of links generating in news preview block when editing / adding news.
39. Improved the conversion of diacritics when generating a page alias when editing / adding news.
40. Fixed the bug of resetting the date of publication when previewing news when editing / adding news.
41. Added protection against Clickjacking attacks in Dashboard.
42. Eliminated possibility of  XSS-attack via error when editing comments.
43. Fixed bug with access rights checking when deleting user comments.
44. Added message 'No data for update when editing the group' in Dashboard > Groups.
45. Fixed bug in Dashboard > Block IP, which was leading to users blocking themselves.
46. Added message 'No selected options for migration' in Dashboard > Maintenance> Migration.
47. Added option 'Overwrite current system settings' in Dashboard > Maintenance> Migration, allowing for overwriting configured settings.
48. Removed dot in news identifier in the link to comments.
49. Adjusted displaying of a list of recent comments in Dashboard > Comments.
50. Fixed bug with saving configurations during the installation of CuteNews, now CuteNews is not trying to save a configuration when the user doesn't have rights to write to cdata.
51. Improved the work of CuteNews with paths during file operations in Windows.
52. Improved overall stability of the system.
 
 
 
Добавлено:
v2.0.4 (2016, June, 1)
 
Fixed the profile picture vulnerability and added an extra check on the type of an uploaded file from the Media Gallery and from the user profile.
 
 
Добавлено:
v2.1.0 (2017, December, 22)
 
ADD    A new interface of Dashboard based on bootstrap framework
FIX    Output of the maximum width of image in the news preview
       Filtering the output of links in the preview
       Output of images in TITLE is deleted
       Fixed a bug while unpacking backup from ZIP file
ADD    Action choice in the media gallery is added
       Added the opportunity to insert several images via popup in the media gallery
FIX    Corrected the message about empty archives when selecting the news listing
ADD    Added breadcrumbs in the news and the listing
UPDATE Updated the module interface for localization
FIX    Increased coverage of messages for localization (minor)
FIX    Fixed bug of category management (auto-incrementing id)
FIX    Fixed incorrect listing display when deleting a category
 
 
Добавлено:
v2.1.1 (2018, March, 28)
 
ADD    Added the LOGIN button in the navigation menu
ADD    Was added a global variable $SiteTitle for the title of the site.
FIX    Assign a PHP_SELF constant using a user override $PHP_SELF
ADD    Added Localization for breadcrumbs in Dashboards
DEL    Removed the red button class for ReedMore.
FIX    Replaced the link of the (user's mail) to the Module.
FIX    Fixed URL direction. Replacement of index.php with PHP_SELF
ADD    Added "div" tag at the end of the capcha image
FIX    Replacing the link of comments authors on user's module, or email if it was a guest's
ADD    Added a bootstrap class for the delete comment button.
ADD    Added a bootstrap class for form
FIX    Fixed links in the breadcrumbs
FIX    Corrected directory name of for USERS on the way in zip-class
FIX    Fixed URL direction after deleting words in localization
ADD    Added links to news in the news manager for users without the right to edit news.
FIX    A few edited templates for the bootstrap
 
 
Добавлено:
v2.1.2 (2018, April, 26)
 
ADD     New search order by field 'vcnt' (news views count)
FIX     Fix bootstrap fonts glyphicons
FIX     Improve warning message form
ADD     Add hook to echo headers links with guest mode for hook('core/headermenu')
FIX     Fix reassign PHP_SELF for rewrite module
FIX     Fix bug with overriding PHP_SELF
FIX     Fix problem was checking the Avatar when updating user data
ADD     Users can modify URL template for make custom query by returning modified data from hook('news/authorurl')
FIX     Fixes bootstrap templates
 
 
Добавлено:
Скачать последнюю версию: http://cutephp.com/click.php?cutenews_latest

Всего записей: 3300 | Зарегистр. 27-09-2001 | Отправлено: 14:19 13-04-2024
Открыть новую тему     Написать ответ в эту тему

Страницы: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Компьютерный форум Ru.Board » Интернет » В помощь вебмастеру » Скрипт новостей CuteNews


Реклама на форуме Ru.Board.

Powered by Ikonboard "v2.1.7b" © 2000 Ikonboard.com
Modified by Ru.B0ard
© Ru.B0ard 2000-2024

BitCoin: 1NGG1chHtUvrtEqjeerQCKDMUi6S6CG4iC

Рейтинг.ru