Today, I’m going to tell about a blog that I happen to read, Roshan’s blog.
Ace color mood for the blog. I like the way how posts are assorted by date, month and year. I enjoy the quick quotations available in the blog. I cannot help but stare why such ideas were not discussed […]
Read the rest...
Cedik on June 7th, 2008
I recently started coding a site, based on theme made in Photoshop for one of my friends and I also had to make my own feedback form for that site, where the visitors could leave their opinion about the site. This feedback page also has the possibility to limit the number of characters that can be posted, and it also display how much of those characters you have used, thanks to a javascript code taken from DynamicDrive. In order to use this feedback form, you’ll also need a MySql database and access to it. First of all, insert this code in the head of your document (it’s used for the part that limits the number of characters in the comment) Read the rest of this entry »
Cedik on June 4th, 2008
First of all, I’d like to mention that this is not a post for an absolute beginner. This is more of a post for those who work with php and know their way around but who simply don’t know certain things about how you should make a php page. So, without further adu, the 5 important steps you should keep in mind when making a php site are:
1. Put all the essential data inside a config.php file. This way, you won’t have to rewrite the passwords and all the global variables inside each php file. And by global variables I mean those variables keep their value all over the site. If $var1 has the same value in index.php and gallery.php, why declair it twice?
What are the advantages of this? Read the rest of this entry »
Cedik on June 1st, 2008
No-cache and no-store tags not working? It happened to me too. I tried all the tricks: the pragma meta tags, the cache-control meta tags, I even made the page have an expiration date from the past. Useless! All of these tactics were useless agains Internet Explorer and Opera. They only worked on Firefox and Safari.
You see, I made this script that updated an image every time someone went to the next page. The image was modified by the php command before the < img src > tag was output but still… no matter what I did, IE and Opera used to run that image from their cache, so the user had to reload the page in order to see the newly generated image. But I managed to get things going. Read the rest of this entry »
Cedik on May 30th, 2008
I just run recently on a problem that was affecting a forum that I administer. One of the forum’s table was marked as crashed and therefor the whole site wasn’t working. Since I’m not the root admin, I do not have complete access at the site’s resources. If I’d had mysql access, this could have been fixed easily. But I didn’t have. And I couldn’t wait for the root admin to come on-line, I had to do something. Fortunately, I did had ftp access so I made a php file that could fix that table for me. Here is the code: Read the rest of this entry »
Cedik on May 12th, 2008
It’s also official. Me and my friend Falcon have started working on a php-fusion pet shop infusion. I know, some might think that I start a lot of things (like the Anime CMS) and I don’t finish any of them, but the php-fusion shop already exists. I mean, I made a php-fusion shop for one of my sites and you can see it here, but it’s only a rough version, manually coded into the fusion source files and with the database tables also manually created. Oh yeah, and the style is not the one from the themes so used with another theme on another site it will look really bad. Read the rest of this entry »
Cedik on May 10th, 2008
Among other sites, I’m also an administrator on the romanian anime forum Manga-anime.ro. That forum is a SMF one and recently we had some problems with the spam bots registering our boards and spamming them with porn or pharmaceutical stuff. The root admin tried to install a SMF mod that should have prevented them from registering by making them solve some simple puzzles, but the mod just didn’t work. So I tried to make something myself, from scratch. I came with the idea of adding a simple math problem for them to solve: the sum of two numbers. The numbers are randomly generated from 1 to 5 so the sum should be pretty simple to solve by anyone. However, since I don’t know how SMF system works, this modification is not that complex or accurate.
In order to do this on your SMF site too, you must follow three simple steps. Read the rest of this entry »
Cedik on May 9th, 2008
Today, I’ll share with my readers and visitors a php-fusion that I made for one of my sites. It’s based on similar mods written for phpBB or myBB, but only the idea was “copied”. The coding was done from scratch.
Therefor, I bring to you today the Php-fusion signature mod v1.0 Since this is the first version, it doesn’t do really much but I’m planning of making this a real infusion, with and admin panel interface. So far, all this infusion can do is to generate an image that will display the stats of your php-fusion based forum. On the image will appear the number of members, posts and threads. Also, if you want, you can also make it display your site name and url, but this options isn’t “activated” by default. Read the rest of this entry »
Cedik on May 5th, 2008
As an anime fan and webmaster of a couple of anime sites like Animezup, Extra Animezup or Bleach Romania, I knwo what it means to have an anime and manga related site. My sites were based on Content Management System like Php-Fusion or MkPortal, but I had to rewrite some of their modules and/or language files to make them work for an anime site. Also, none of them had a really good download system so my anime downloads site lacked many options. Since my sites are already too old and established, it would be a real pain to remake them in a more appropriate way, but since I started to learn some php at school and I’m also not bad at programming, I decided to make my own CMS, which will be the most suitable for an anime site. Read the rest of this entry »