Framed Cutenews.ru v2.0

Download plugins, language packs and stuff.

Framed Cutenews.ru v2.0

Postby scottdallas » Wed Jan 30, 2008 5:08 pm

Scrap the old version. I fixed some bugs (like the jerrygeier.com :lol: bug) and updated this one a lot more. I would suggest removing the old version and completely replacing it with this one.

Some screenshots:
ImageImageImage

WHAT'S NEW?
1) There are now a total of 4 upload fields along the left bar.
2) Added 'Outside Resources' for fun.
3) Skinned admin panel.
4) Added more cutenews.ru buttons to help get around quicker.
5) Added 2 permanent codes in the boxes at bottom for quick copy and paste HTML. First is image HTML. Second is embedding HTML (for flash, videos, and mp3's).
6) You'll notice there are separate directories (uploads1-4). This is because some servers limit a directory to only 1000 files.. so this increases total files to 4000... 1000 per upload box. If your host doesn't care, then just forget about that all together. It will be irrelevant in your case.



WHAT DOES IT DO?
It's a very simple concept. It takes cutenews.ru and puts it inside an iframe window. This allows you to add extra buttons and features all around your admin panel. But, most importantly, it adds the ability to upload files to your website without FTP. Any files! The upload boxes ARE password protected. If someone tries to use your upload scripts without being logged in, they will just get an error page.



INSTALLATION:
Extract all files (except this readme.txt, of course) to the root of your website.. Yes! To the root! (unless you really know what you're doing and you know that your website will require a different setup) After you have extracted you may visit your new 'framed cutenews.ru' admin panel at:
http://www.yoursite.com/adminpanel

Directories created:
/uploads1 <-- used to store all files upload box #1
/uploads2 <-- used to store files from upload box #2
/uploads3 <-- used to store files from upload box #3
/uploads4 <-- used to store files from upload box #4
/adminpanel <-- URL to your iframe admin panel (http://www.yoursite.com/adminpanel)
/adminpanel/images <-- stores image files used for skinning Framed Cutenews.ru



MODIFICATIONS:
1) Open adminpanel/login.php and change:
if ( $password == "changeme"

2) Open adminpanel/globals.php and change:
$sitetitle = "yoursite.com";
$path2cnr = "http://www.yoursite.com/admin"; <-- NO ENDING SLASH IN URL!

THAT'S IT!!! I hope you love it.

Also, after you log in to your admin panel.. click the 'Help' button at the top for instructions on properly using the upload box :)

*edit: If you downloaded before 1-31-08 then you will need to redownload. I fixed the 'eeitnews' bug (in other words this fixes your admin panel so the 'Edit' button works).
Attachments
framedcutenews2.zip
Extract all files to root of your website (except readme.txt)
(195.91 KiB) Downloaded 249 times
Everyday I'm tumblin http://scodal.tumblr.com
User avatar
scottdallas
 
Posts: 2209
Joined: Thu May 04, 2006 6:46 pm
Location: US

Postby kirby145 » Mon Feb 04, 2008 8:45 am

Thank you for the update
User avatar
kirby145
 
Posts: 36
Joined: Sat Sep 08, 2007 8:27 pm
Location: look behind you

Postby scottdallas » Mon Feb 04, 2008 1:17 pm

You're welcome. Do you find it handy?
Everyday I'm tumblin http://scodal.tumblr.com
User avatar
scottdallas
 
Posts: 2209
Joined: Thu May 04, 2006 6:46 pm
Location: US

Postby SolidSnake2003 » Wed Feb 06, 2008 12:12 pm

Thanks for making this available, its really cool.
User avatar
SolidSnake2003
 
Posts: 68
Joined: Tue Jul 31, 2007 3:26 am

Postby kirby145 » Sun Feb 10, 2008 10:19 pm

Of course it is handy. Soon I will have up a site where you can download things or upload images to it and this is necessary to speed things up.
User avatar
kirby145
 
Posts: 36
Joined: Sat Sep 08, 2007 8:27 pm
Location: look behind you

Modded

Postby gilu » Tue Feb 12, 2008 8:00 am

Alright, scottdallas!
You wanted it, here it is! 8)

Upload everything and edit "adminpanel/globals.php".

Have fun!
Attachments
Adminpanel_mod.zip
Framed CuteNews.ru 2.0 - Modded

Changes:
- chmod uploaded files to 0644
- added simple instructions on how to install
(44.17 KiB) Downloaded 135 times
Adminpanel_mod.zip
Framed CuteNews.ru 2.0 - Modded
(43.85 KiB) Downloaded 137 times
Last edited by gilu on Thu Feb 14, 2008 4:50 pm, edited 1 time in total.
gilu
 
Posts: 25
Joined: Fri Dec 28, 2007 9:15 pm
Location: Lyss, Switzerland

Re: Framed Cutenews.ru v2.0

Postby marcusmagalhaes » Thu Feb 14, 2008 12:39 pm

I've problem with your zip file... please send it again!!!
Image


scottdallas wrote:Scrap the old version. I fixed some bugs (like the jerrygeier.com :lol: bug) and updated this one a lot more. I would suggest removing the old version and completely replacing it with this one.

Some screenshots:
ImageImageImage

WHAT'S NEW?
1) There are now a total of 4 upload fields along the left bar.
2) Added 'Outside Resources' for fun.
3) Skinned admin panel.
4) Added more cutenews.ru buttons to help get around quicker.
5) Added 2 permanent codes in the boxes at bottom for quick copy and paste HTML. First is image HTML. Second is embedding HTML (for flash, videos, and mp3's).
6) You'll notice there are separate directories (uploads1-4). This is because some servers limit a directory to only 1000 files.. so this increases total files to 4000... 1000 per upload box. If your host doesn't care, then just forget about that all together. It will be irrelevant in your case.



WHAT DOES IT DO?
It's a very simple concept. It takes cutenews.ru and puts it inside an iframe window. This allows you to add extra buttons and features all around your admin panel. But, most importantly, it adds the ability to upload files to your website without FTP. Any files! The upload boxes ARE password protected. If someone tries to use your upload scripts without being logged in, they will just get an error page.



INSTALLATION:
Extract all files (except this readme.txt, of course) to the root of your website.. Yes! To the root! (unless you really know what you're doing and you know that your website will require a different setup) After you have extracted you may visit your new 'framed cutenews.ru' admin panel at:
http://www.yoursite.com/adminpanel

Directories created:
/uploads1 <-- used to store all files upload box #1
/uploads2 <-- used to store files from upload box #2
/uploads3 <-- used to store files from upload box #3
/uploads4 <-- used to store files from upload box #4
/adminpanel <-- URL to your iframe admin panel (http://www.yoursite.com/adminpanel)
/adminpanel/images <-- stores image files used for skinning Framed Cutenews.ru



MODIFICATIONS:
1) Open adminpanel/login.php and change:
if ( $password == "changeme"

2) Open adminpanel/globals.php and change:
$sitetitle = "yoursite.com";
$path2cnr = "http://www.yoursite.com/admin"; <-- NO ENDING SLASH IN URL!

THAT'S IT!!! I hope you love it.

Also, after you log in to your admin panel.. click the 'Help' button at the top for instructions on properly using the upload box :)

*edit: If you downloaded before 1-31-08 then you will need to redownload. I fixed the 'eeitnews' bug (in other words this fixes your admin panel so the 'Edit' button works).
Attachments
Picture 1.png
(48.9 KiB) Downloaded 119 times
marcusmagalhaes
 
Posts: 172
Joined: Tue Apr 24, 2007 1:17 pm

Postby scottdallas » Thu Feb 14, 2008 7:23 pm

Wow I just got to try out your mod.. I like the list_dir.php showing there.. It wouldn't refresh for me though. I had to remove approve.php from the top of the file.. but then it makes it unsecure. Still very cool though.. globals.php makes more sense too.. and your readme.txt

About the bad zip download.. well I just downloaded my version and installed it again. I'm not sure why you're having trouble :(
Everyday I'm tumblin http://scodal.tumblr.com
User avatar
scottdallas
 
Posts: 2209
Joined: Thu May 04, 2006 6:46 pm
Location: US

Postby gilu » Fri Feb 15, 2008 4:31 pm

scottdallas wrote:It wouldn't refresh for me though.


What do you mean? You have to click the refresh link to refresh --> [ refresh listing ] . It doesn't do it automatically.
What if you click on your restart link? Does it refresh then?

One thing I don't like and haven't figured that one out is, when I delete a file, it reloads CuteNews to the start menu ???
So never delete a file while typing! :-)


EDIT:
btw: You can drag & drop uploaded files from the listing to the textarea. You don't have to use copy & paste! ;)
gilu
 
Posts: 25
Joined: Fri Dec 28, 2007 9:15 pm
Location: Lyss, Switzerland

Postby gilu » Fri Feb 15, 2008 9:30 pm

scottdallas wrote:I had to remove approve.php from the top of the file.. but then it makes it unsecure.


Maybe you could try something like this:

Code: Select all
<?php
session_start();
// require_once 'approve.php';
?>
<script src="admin.js" type="text/javascript"></script>
<style type="text/css">
<!--
.style1 {
   font-size: small
}
-->
</style>

<table style="width:50%; border:0px;" cellpadding="1">
  <tr>
<?php
// Just some formating stuff
$n = "\n";
$t = "\t";
   
// Check for login session - no need to include another file
if (!isset($_SESSION['phplogin'])){
   print '<td><span style="font-weight:bold;">Error 401 :: Authorization Required!</span></tr>';
} else {   
   require "globals.php"; // yes, we still need this file.
   $dir= $target_path;

   // Open a known directory, and proceed to read its contents
   if (is_dir($dir)) {
       if ($dh = opendir($dir)) {
         while (($file = readdir($dh)) !== false) {
            if($file != "." && $file != ".." ) {
               print $t.'<td><a href="javascript:confirmDelete(\'?action=remove&amp;del_file='.$file.'\', \''.$file.'\')" class="style1" alt="delete file">x</a></td>'.$n;
               print $t.'<td><a href="http://www.'.$sitetitle.$target.$file.'" class="style1">'.$file.'</a></td>'.$n;
               print '</tr>'.$n;
               $test = true;
            }
           }
           closedir($dh);
       }
   }
}
?>
</table>


<?php
// Check for login session
if (isset($_SESSION['phplogin'])){

   // Any files uploaded yet?
   if(!$test){ print '<div style="text-align:center; font-size: small;">no files uploaded yet.</div>'; }

   switch($_GET['remove']) {
      case '':

      //delete desired file
      $del_file = $_REQUEST['del_file'];
      $file = $target_path.$del_file;

      if ($action == 'remove' and $del_file){
         @unlink($file);
         print '<SCRIPT LANGUAGE="javascript">
         <!--
            history.go(0)
         //---> </SCRIPT>';
      }
   break;
   }
}
?>


HTH!

G.
gilu
 
Posts: 25
Joined: Fri Dec 28, 2007 9:15 pm
Location: Lyss, Switzerland

Postby scottdallas » Sun Feb 17, 2008 8:58 pm

What would that do?

What I'm seeing it do is it doesn't seem to keep you logged in very long and then pages error out.. I don't know how to fix that. It's been doing that since I first set this up. It's something to do with that semi-generic login/password thing I'm using.
Everyday I'm tumblin http://scodal.tumblr.com
User avatar
scottdallas
 
Posts: 2209
Joined: Thu May 04, 2006 6:46 pm
Location: US

Postby gilu » Sun Feb 17, 2008 9:56 pm

scottdallas wrote:... it doesn't seem to keep you logged in very long and then pages error out...


Huh!? I don't seem to have your problem....!?
I don't know what to tell you... maybe you could use the session from CuteNews.ru?
gilu
 
Posts: 25
Joined: Fri Dec 28, 2007 9:15 pm
Location: Lyss, Switzerland

Postby scottdallas » Mon Feb 18, 2008 4:41 pm

I don't know what to tell you... maybe you could use the session from CuteNews.ru?


I thought about that but I don't know how to link them.. plus that means that users have to make sure to install cutenews.ru FIRST before using the adminpanel, but that's not a huge thing.

Well, I'm glad you don't have the same error.. it doesn't do it a lot to me.. it's gotta be that login script I used.
Everyday I'm tumblin http://scodal.tumblr.com
User avatar
scottdallas
 
Posts: 2209
Joined: Thu May 04, 2006 6:46 pm
Location: US

Postby scottdallas » Wed Feb 20, 2008 7:55 am

I have been putting this admin panel on all my sites instead of having one large admin panel to administrate sites. I really enjoy it. It works just as well and now we can work on it live here..

but that's not the real reason I came to reply to my own post :lol: I have a good one...

Today, while using it, I noticed there's no Categories button at the top! If nothing else, I hope this serves as a reminder to myself to remember to fix that. I can't even tell you how many times I tried to push that button and it wasn't even there! AHH!
Everyday I'm tumblin http://scodal.tumblr.com
User avatar
scottdallas
 
Posts: 2209
Joined: Thu May 04, 2006 6:46 pm
Location: US

Postby ivanh » Wed Apr 30, 2008 8:30 pm

lol totally off topic to what you guys are talking about

anyhow after uploading it is it just uploaded to the folder? or does it get added as news?
say i upload a file, how would i insert it into my news (like an add image button) so views can click on the link and it will dl it
ivanh
 
Posts: 75
Joined: Thu Aug 16, 2007 2:41 pm

Next

Return to Additional Downloads



Who is online

Users browsing this forum: No registered users and 0 guests

cron