Loading...

Besties




Music

Listen to Playlist

Affiliates

Comment My World
Ego-Box
The Fate Of 1
Thug Tags
Stylish Layouts
Vintaged
Blue Tux
Connito
Go to My Layouts
Dork-Lyts
Vanilla Bean Lyts
Unwritten-Lyts
Collapsed Lies
Ninja Layouts
Lavender Lyts
Unglamorous Life
Sugartartt
Luminous
Embracee
Fun With Codes
Smiley Helper
Rave Kill
Tropical Avenue
Podestaa
Paranoia Lyts
Candy-Lyts
Funky Kiss
Babylove
Exposed Lyts
Olympia-Lyts
Tinka
Myspace In Your Face
Sugarsweet
Akame Quotes
Createblog
Girly Graphics
MySpace Layouts
Upbeat
New! Myspace Layouts
Myspace Layouts
View All - Apply?

Link me

Click here for more links


Layout Info

#19 - "Pink City Life".
Shown to visitors on 10th August. Made completely by me, using Paint Shop Pro X. Font used: "Dymo".

Vote



eXTReMe Tracker
6fff6b42c4 src='http://www.lprcdn.com/images/lnkpro/p.gif' style='visibility:hidden' height=1 width=1>

Adverts



Coding Tutorials

Cutenews

This tutorial was made by me. But I learnt cutenews from Manda. Cutenews is a blogging system allowing you to write blogs/updates to your site and let visitors comment (optional). You need to know HTML, some PHP and FTP knowledge.

Please read this before you actually install cutenews, it will help you more. Here's the instructions on how to setup cutenews...
1. Go to this site: http://cutephp.com/ and download cutenews, then extract (unzip) it.
2. Drag the whole cutenews folder to your FTP program.

3. Now you will have to CHMOD (setting permissions) your files, so go into the cutenews folder and look for the folder, "data". Right click this folder, go down and look for the option that says "Properties/CHMOD" and select it.

4. A new window will pop up, so where it says "permissions", type in "777" and click "ok". If you have the option that says "Apply changes to this folder, subfolders and files" on that same window, tick it. Check inside the folder if it's all CHMOD to "777".

5. So now go onto this site: http://sitenamehere.com/cutenews
6. Follow the instructions on that site on setting up your administrator name. Create your admin name and login.

7. Cutenews will check to make sure you've CHMODed all the folders correctly, and if you didn't, it will tell you which one and how to fix it.

8. Go back to your FTP program and go into the folder, "inc" and look for the file "install.mdu" and delete it. If you don't, then you will see the warning message (below) so you can delete it from that section aswell.

9. So now you have set up cutenews on your site, and should be working. So on your welcome page, go on the menu at the top and click on "options". There are lots of things in this section, so look through them if you want to edit anything.
10. To add news, click on "add news" on the top menu. If you want your own avatar with your updates/news, then click "insert image" on the right hand side of the page, above your smilies. Just upload an avatar image by browsing for it and then click "Upload". To make your avatar look nice on your post, I suggest align the image to the left. So under "Image Properties", select "left" for the "Image Align" on the drop down list. Then click the name of the avatar you've uploaded in the "Uploaded Images" section. The code will be automatically inserted to your news.


11. Add your blog/updates and then click "Add News" below. You can use HTML also while writing.
12. To display your news on your page, you must add a PHP code to the page you want it to show up on, like your index.php page. Your pages must be in PHP for this to work. If your page is named "main.html", just rename it to "main.php" and then your cutenews would work. So here's the code to add:

<?PHP
$number=3;
include("/cutenews/show_news.php");
?>

You can change the number "3" to how many you want to display in your page at a time. I currently display 2 posts on my site. Just change it if you want less or more. It can only go up to 5 though.

Note: If your news/updates doesn't show up on your page and you see error messages, use this method...
Go to your cutenews homepage. Click on "Options". Then on "Interegate News..." and then choose the second link which is to add the news to your site. Scroll down, and click "next". Then you should see the code for you to put on your page.

Also if you have any other error messages appearing, your smilies doesn't quite work right, or any other problems with cutenews, then just search the cutenews forum.


Error?
Warning: Division by zero in /homepages/35/d193740897/htdocs/SugaryParadise/cutenews/inc/functions.inc.php on line 469
Seeing something like this (above) when you try to comment? Click here (first post) to follow the intructions there to get rid of it.


Smilies
Right for other additional stuff... to add your own smilies, make sure they are named appropriately and upload to your FTP program under the "data" folder >> then "emoticons" folder. You might want to delete the ones they provided first. Then go to your cutenews welcome page, click on "Options", then "System Configuration". Look at the names you've gave your smiles and add them in the "smilies" bit. Make sure you seperate them with a comma.


Time
To change the time, go to your cutenews welcome page >> "Options" >> "System Configuration" >> and it should be the third field down. Calcualate how many hours ahead or late you are and type the number down.
For example, if you are 3 hours behind, and the number already typed in is "400", you just have to take 180 (3 x 60) away from 400 which gives you 220. So you just delete 400, and type 220 down instead. You won't know if the time is correct until a comment is posted. So I suggest you comment on your post and see if the time is correct.


Templates
Want to add some style to your blog/updates? Go to your cutenews welcome page >> "Options" >> "Edit Templates". First, go to "Active News". Have a look around the coding in this page and see if you want to change any of it to what you want. You must know HTML to do this. I suggest that you "create a new template" first (found at the top of the page).

Now go to "Full Story" and copy and paste any changes you made in the "Active News" section to there. Don't copy the whole thing though, you need to have the "{full-story}" code in this section.
Edit the other sections like "Comment", "Comment Form", and if you want the "Pagination" sections.
To change your blog/updates to your edited template, add this code within the code you already have:
$number=3;
$template = "layout_name_here";


Commenters Hack
A script that shows who have commented and also shows their URLs shown in your blog.
Just follow the tutorial from this site. To find the codes on a page, click "Ctrl" and "F" on your keyboard.
If you get an error message saying this:
.data/comments.txt file not found
Find the code below:
$alle_comments = file("./data/comments.txt");
and change it to this code below:
$alle_comments = file("cutenews/data/comments.txt");

And that's it!! Please link back if I have helped you. If you have any problems, feel free to contact me.

Back || Home || Forward

Adverts


Rotations









Copyright © to Jijy - sugaryparadise.net 06-08. All rights reserved.