Cutenews.ru 2.5.5?

What do you think about the script.

Cutenews.ru 2.5.5?

Postby scottdallas » Tue Jan 23, 2007 5:30 pm

So when is the next release of Cutenews.ru going to come out? There's a lot of new features and functionality that have been added and created since 2.5.4 that it makes it almost seem as if downloading a 2.5.4 copy would be obsolete. Could I put together a 2.5.5 beta, upload it, and see if everyone approves?
Everyday I'm tumblin http://scodal.tumblr.com
User avatar
scottdallas
 
Posts: 2209
Joined: Thu May 04, 2006 6:46 pm
Location: US

Postby Saszoo » Tue Jan 23, 2007 6:43 pm

Ah, yes, GREAT IDEA :)

There are so many important updates, that an official would be in order.
User avatar
Saszoo
 
Posts: 414
Joined: Wed Jun 07, 2006 10:34 pm
Location: Norway

Postby FI-DD » Tue Jan 23, 2007 9:34 pm

Of course, you can put together a new beta. Please make a list of the features added.



And please don't put in the category order hack. As it is now it is made for already running installations. New installations need a slightly different hack.
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Postby Syrion » Wed Jan 24, 2007 2:51 am

Won't that be forking from Strawberry? ;)
Image Mini-me
User avatar
Syrion
 
Posts: 185
Joined: Wed Aug 02, 2006 2:03 pm

Postby FI-DD » Wed Jan 24, 2007 7:58 pm

Syrion wrote:Won't that be forking from Strawberry? ;)


Why should adding hacks to a clean version of CuteNews.RU 2.5.4 be forking from Strawberry?
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Postby Syrion » Wed Jan 24, 2007 11:22 pm

D'oh! Strawberry is CNR 2.6, I thought for a moment that we were getting an alternative version count.



Scott, if I can help somewhere, just give me a shout on AIM.



Edit: Let's make sure the output is valid xhtml, now accessibility is an increasing force on the web. :)
Image Mini-me
User avatar
Syrion
 
Posts: 185
Joined: Wed Aug 02, 2006 2:03 pm

Postby WellWho » Thu Jan 25, 2007 12:23 pm

Will there be something to download? :)
User avatar
WellWho
 
Posts: 62
Joined: Tue Jan 09, 2007 6:58 am

CuteNews 2.5.5 Beta 1

Postby scottdallas » Fri Jan 26, 2007 8:36 am

From readme.txt inside the download:



This file will show you what's new to this version of CuteNews.ru and how to use their features. Please make sure you are familiar with CuteNews.ru 2.5.4 and older as none of it's previous features will be explained in this document.



1) Use this in your include code for random posts when $number is greater than or equal to 2:

$random = "true";



2) Use this in your include code for a single random post:

$random_single = "true";



3) Include 'guest.php' for guest can add news feature (now with {avatar} capability like on the 'add news' page. This file can be found in the root directory of your CuteNews.ru 2.5.5 installation. Captcha is installed and working on this.



4) RSS Feed Importer has been installed. Activate it in your plugins.



5) Newsletter feature has been installed. You can send your posts by mail to your subscribers. You can add emails manually through the admin panel or you can show a little subscribe box where people can leave their email to get the newsletter.



***Explaining the newsletter template:***

Go to Options -> Edit Templates and select "Newsletter" in the dropdown.

See the list below to learn what part of the template corresponds to which part of the newsletter and its available tags.



"Active News" -> Header of the newsletter -> Tags: {nl-count}

"Full Story" -> Table of contents -> Tags: {nl-title}, {nl-archive-id}, {nl-news-id}, {nl-cat-id}, {nl-num}, {nl-short-story}, {nl-full-story}

"Comment" -> Body of the newsletter -> Tags: {nl-title}, {nl-archive-id}, {nl-news-id}, {nl-cat-id}, {nl-num}, {nl-short-story}, {nl-full-story}

"Add comment form" -> Footer of the newsletter -> Tags: {nl-count}



6) Captcha (for spam protection) has been added to the overall CuteNews.ru installation. Utilize it by adding {captcha} to your 'Comment form' in your templates.



7) Comments pagination has been added (might only work if you have mod_rewrite enabled at the moment). Put something like this into your comments pagination template:

<p align=center>[prev-link]<[/prev-link] {cpages} [next-link]>[/next-link]</p>

<p align=center>{current-cpages} of {total-cpages}</p>



8) Add a login box anywhere you'd like in your site layout. Put this at the beginning of your news page:

<?php include('path_to_cute/loginbox.php'); ?>



Put this where you want to show the login box in your news page:



<?php include('path_to_cute/loginbox.php'); ?>



9) Approve/moderate comments has been installed. Activate it in plugins.



10) Poll system installed. Add this where you want to see poll:

<?php cn_poll(); ?>



11) resizeAvatar has been installed. Activate in plugins to use. This will allow you to force the size of your avatar to whatever you'd like in your templates by using this in your templates:

{avatar=width,height}



For example: {avatar=120,60}



12) You may now use PHP in your templates. Activate the plugin and follow these guidelines:



Make sure you use full PHP tags: <?php echo 'blahblah'; ?>



This won't work: <? echo 'blahblah'; ?>



And you have to escape the variables: Use \$variable instead of $variable



13) Registration mod has been added. Your users can now sign up on your site. This is useful in association with the loginbox that has been added to this installation. You can change the settings in the admin panel. You can easily create a new template for your registration form. Just create a new folder in

rootpath/plugins/registration/newtemplate/

and copy the template files from the default template into this folder and change them as you like. You can show the register form on your page like this:

echo regFORM('NameOfTemplate');

example: echo regForm('default');



If the template you called doesn't exist, the default template is loaded.



14) News rating has been installed. Activate plugin, then go to plugins menu in admin-panel and push 'Create table!'. You can use these in your active and full story templates:

{rating} - Shows stars from /plugins/rating/ directory

{rating-total} - shows total ratings

{rating-middle} - shows average rating

{rating-form} - use in full story template to show the rating form



15) Improved image manager has been installed. Along with some small cosmetical fixes this will allow you to:

define the width of the thumb in pixels,

add a shadow to the thumb,

sort the images alphabetically or chronologically,

preview pictures next to each image,

choose image align,

add a watermark (text and/or image)



16) Private messaging has been added to your admin panel. Activate in plugins to use it. Set $mail_on_new_pm to true inside /plugins/private-messaging.php on line 564 to activate email notification on new PM.



17) Multiple authors has been added to your plugins. Activate to use. This will allow admin to select/change the author of a news item via a dropdown menu.



18 ) "Today" plugin has been added. Activate to use. It will show for example "Today, 15:34:23" or "Yesterday, 12:26:03". If the article is older than "Yesterday" it displays the normal date. Use {today} in your template.



19) Category order hack is installed.
Attachments
CuteNews.ru 2.5.5 beta.zip
I haven't tested it myself, but those are the features I have added.
(395.25 KiB) Downloaded 482 times
User avatar
scottdallas
 
Posts: 2209
Joined: Thu May 04, 2006 6:46 pm
Location: US

Postby FI-DD » Fri Jan 26, 2007 11:24 am

Cool!!



I just added the category order hack.



Now we only need somebody to test it. :)
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Postby Syrion » Mon Jan 29, 2007 9:25 am

I'll volunteer! Will install it later today.
Image Mini-me
User avatar
Syrion
 
Posts: 185
Joined: Wed Aug 02, 2006 2:03 pm

Postby scottdallas » Mon Jan 29, 2007 9:41 am

I'll test it too. Let me know if you run into any problems! I just haven't had a chance to test it. One thing I realize is that I never changed the version number at the bottom. Think I should? Or wait til it's a final release? Think I added too many mods?
Everyday I'm tumblin http://scodal.tumblr.com
User avatar
scottdallas
 
Posts: 2209
Joined: Thu May 04, 2006 6:46 pm
Location: US

Postby WellWho » Mon Jan 29, 2007 11:59 am

This is what i get when i activate private messages

Code: Select all
txtSQL Warning: Table "pm_inbox" doesn't exist in /home/.../public_html/portal/cnr2/index.php on line 142
User avatar
WellWho
 
Posts: 62
Joined: Tue Jan 09, 2007 6:58 am

Postby FI-DD » Mon Jan 29, 2007 6:39 pm

Just click on Options -> Private Messages and it will never appear again.
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Postby WellWho » Mon Jan 29, 2007 6:45 pm

FI-DD wrote:Just click on Options -> Private Messages and it will never appear again.


It works! :wink:
User avatar
WellWho
 
Posts: 62
Joined: Tue Jan 09, 2007 6:58 am

Postby scottdallas » Mon Jan 29, 2007 10:51 pm

Good good, you made me nervous for a second. I like your avatar lol.
Everyday I'm tumblin http://scodal.tumblr.com
User avatar
scottdallas
 
Posts: 2209
Joined: Thu May 04, 2006 6:46 pm
Location: US

Next

Return to General feedback



Who is online

Users browsing this forum: No registered users and 0 guests

cron