International financial crisis, bloggers and website owners. Part 1

www.gibni.com_wp-content_uploads_2008_10_financial_crisis_2008

As you might have already heard there are some serious stuff going on and everyone in the world started to panic about their financial situation.

Well, now the question is that what is really going on and why should you continue to read on? Let me tell you that many HUGE banks around the world are going bankrupt, and governments are trying to help them out. This might sound OK to you, but it shouldn’t because that means everything gonna change very shortly, like a lot of small companies and also big ones might disappear in the months to come, many poor countries will become extremely poor and in trouble, and that might start civil wars, and also governments will start to tax you like they’ve never had!

financial crisis 2008 International financial crisis, bloggers and website owners. Part 1
I’m always an optimist person but this time, after all i saw and all that specialists say, there will be a lot of problems. Some say that China’s plan in this financial crisis is that it will wait until everything gets collapsed and then it will inject huge amounts of money in the market and ask for many things, that is China will become the owner of the world. That doesn’t look scary at all to you; I suppose; but it should!
Well, now let’s talk about what does it have to do with bloggers and internet people? The question is “Will the international financial crisis affect your website or blog income?”

Basically the income of many blogs and websites depend on the advertisers and sponsors, and some of it on the products they sell, if any.

Now if small companies and markets start to go astray, who will pay the website owner and blogger?

To Be Continued…

Comment on this Post to let others know about what you think!

GD Star Rating
loading...

10:58 PM by Gi
Categories: Blogging, Money Talks | Tags: , , | 2 comments

Dropcap First Letter, Universal Version

As you can see on Gibni.com, articles’ title have got a drop capped first letter.

I’m making this technique available to the public so that you can “Drop cap” any text you wish.

You can drop cap in WordPress or on any other platform where you can run PHP functions.

I’ll explain on how to Drop cap in WordPress without installing any plugin.

I’ll keep it simple; just open the “functions.php” file in your theme directory, and add this function to it:

—Code—Functions.php—

function dropcap_first($content) {
$pos = strpos($content, ‘<a>’);
/* stripos is only available in new PHP versions we’ll  */
/* live with using the case sensitive version so it won’t match <A> */
/*     $pos = stripos($content, ‘<a>’); */
if (($pos !== 0) || ($pos === false)) {
echo ‘<p class=”dropcap-first”><a href=”‘.get_permalink().’” rel=”bookmark” title=”Permanent Link to ‘.the_title_attribute(‘echo=0′).’”‘. $content .’</a></p>’;
} else {
echo ‘<p class=”dropcap-first”><a href=”‘.get_permalink().’” rel=”bookmark” title=”Permanent Link to ‘.the_title_attribute(‘echo=0′).’”‘ . stristr($content, ‘>’).’</p>’;
}
}

—END—Code—

Now that you have added the function, you should supply the text you want to drop cap to this function

Here’s a briefing about internal items of the function:

_____

int strpos ( string $haystack , mixed $needle [, int $offset ] )

Returns the numeric position of the first occurrence of needle in the haystack string. Unlike the strrpos()

before PHP 5, this function can take a full string as the needle parameter and the entire string will be used.

_____

int stripos ( string $haystack , string $needle [, int $offset ] )

Returns the numeric position of the first occurrence of needle in the haystack string.

Unlike strpos(), stripos() is case-insensitive.

_____

string stristr ( string $haystack , mixed $needle [, bool $before_needle ] )

Returns all of haystack from the first occurrence of needle to the end.

_____

Now proceed to formatting the drop cap letter by CSS. Here I’ve defined a new class, named “dropcap-first” and here’s the CSS I’ve written for it:

—Code—Style.css—

.dropcap-first:first-letter {
color:#900;
float: left;
font-size:50px;
padding-right:2px;
font-family:Arial, Helvetica, sans-serif;
}
.dropcap-first {
font-size:26px;
font-family:Arial, Helvetica, sans-serif;
color:#036;
font-weight:bold;
text-decoration:none;
margin:20px 0 0px 0;
}

—END—Code—

After having added the CSS to your main style sheet, you should provide the text you want to Drop cap to the function, for example, here’s what I did for the articles’ titles:

—Code—Index.php—

<div class=”post_title_wrap”><?php $get_title_todropcap=the_title(‘<a>’,'</a>’,FALSE);
dropcap_first($get_title_todropcap); ?>
<small><?php the_time(‘j,M, y’) ?>
<span class=”comments”> | <?php comments_popup_link(‘Be the first to comment’, ’1 Comment’, ‘% Comments’ , ‘Comments Disabled’); ?></span>
<span> | written by: <?php the_author() ?></span>
</small>
</div>

—END—Code—

Once you apply the above procedure, you can get the first letter of the supplied text, dropcapped.

If you have trouble understanding the function, do leave a comment and I’ll explain you what is going on in the function.

GD Star Rating
loading...

01:30 AM by Gi
Categories: Blogging, Web Development, Wordpress | Tags: , | Leave a comment

NO SUSHI – Nouveau Restaurant à Nancy

www.gibni.com_wp-content_uploads_2008_10_10102008033s-300x225

Hier soir je suis allé avec mes amis à un nouveau restaurant, ici à Nancy!

Dans la rue Gourmande, il y a beaucoup de restaurant, avec des spécialités divers, nous, on a choisi de manger Japonais, des SUSHIS!

NO SUSHI, c’est le nouveau restaurant qu’on a choisi. Une ambiance moderne, pas de décorations Japonais, un thème noir et orange, une salle très propre, bien décoré, et un accueil souriant. Dans la carte, plein de nouveaux mots! Sushi, makis, Tamagushi, California ( ! ), Kamikaze, etc.

10102008033s 300x225 NO SUSHI   Nouveau Restaurant à Nancy Continue reading “NO SUSHI – Nouveau Restaurant à Nancy” »

GD Star Rating
loading...

11:38 PM by Gi
Categories: Fun, Ramblings, Reviews | Tags: , , , | 3 comments

Canon EOS 350D Digital

www.gibni.com_wp-content_uploads_2008_10_img_0728-300x200

Ever wondered how beautiful a spider net could be? Well; There are some times that you should have a TOP CAMERA to picture the moments… A photo camera which lets you take even the tiniest details is the EOS 350D by Canon!

I had a test drive with this wonderful photo camera, and let me assure you that it’s the best!
This is basically a reflex camera which takes digital pictures. Having such a camera will change the way you look at photography, you will really enjoy your photos the way it’s meant to be!
The next best thing i’m going to buy is a canon reflex camera, and mostly an EOS series.
Here’s the wonderful photo I talked about, taken by a friend with his EOS 350D. (Just click to see the full size with all the details, (File size is 2.7MB) )

img 0728 300x200 Canon EOS 350D Digital Continue reading “Canon EOS 350D Digital” »

GD Star Rating
loading...

10:23 PM by Gi
Categories: Informatique - Computers, Mobile, Reviews | Tags: , , | 1 comment

Gibni.com Maintenance Schedule

www.gibni.com_wp-content_uploads_2008_10_maintenance_007-300x193

maintenance 007 300x193 Gibni.com Maintenance ScheduleTo optimize Gibni, and to provide more related content in a fast way, I decided to put Gibni in a “Maintenance” state. This is scheduled for Tuesday 14 Octobre 2008 at 23:45 (Paris Local Time) and will end latest before Monday 20 Octobre 2008 at 21:00.

Post Ratings and some other functionalities might be unavailable during the maintenance.

But access to the blog and articles will be garanteed. Continue reading “Gibni.com Maintenance Schedule” »

GD Star Rating
loading...

08:54 PM by Gi
Categories: Ramblings | Leave a comment

New Theme Released. Prince Blog Theme v3.0 Advanced (Beta)

Tonight the third version of Prince Blog Theme developped by Amir H. Moradi is going live on Gibni.com

This is still in beta and is running tests. The theme is not finished yet and requires minor works to be done.

Surveys are getting conducted to know about the issues and advantages. You might be randomly Continue reading “New Theme Released. Prince Blog Theme v3.0 Advanced (Beta)” »

GD Star Rating
loading...

02:26 AM by Gi
Categories: Web Development, Wordpress | Tags: , , | Leave a comment

Recieving My First Google Adsense Payout!

www.gibni.com_wp-content_uploads_2008_10_google-adsense-logo

google adsense logo Recieving My First Google Adsense Payout!

I finally recieved my first Google Adsense Payout! It’s my first payout on the internet! This encouages me to do better and try to write more useful articles and build better websites and blogs.

Now I can confirm you that “IT WORKS”! This is to let all new bloggers and website owners know that THEY CAN MAKE MONEY ONLINE! You have just to build good content and monetize your pages to the best, and the most important is to be patient and try until you get to it!

It took me a long time to get the first payout because I am very busy with my studies at the university and I don’t get enough time to work on the internet, but now that my websites started to produce income, I know that the process will continue; this motivates me to pay more attention to this work.

Well, what I learn is that the best and the more Continue reading “Recieving My First Google Adsense Payout!” »

GD Star Rating
loading...

12:52 AM by Gi
Categories: Blogging, Informatique - Computers, Money Talks, Web Development | Tags: , , , | 2 comments

WordPress… To The Core!

2066045676_413d2e1c52_o-150x150

2066045676 413d2e1c52 o 150x150 Wordpress... To The Core!Back from vacations, it’s been a long time since I’ve written my latest article.

As some of you might know, I’m actually working on a new theme design for Gibni, which is supposed to be much more faster and Search Engine Optimized than the current theme (Prince Blog Theme I).

Good to know that the present online theme gets a 97% SEO Score! And it takes almost 10 seconds to load on a medium speed connection for the first time you visit the site and less than 4 seconds to load in the next visits.

I got some news about the next theme! I’m working on a “Featured Articles” carousel, which will get the most visited articles on the top of the first page. To make that possible, I’ve gone deep inside wordpress, and I edited the core! Now, with a standard wordpress query, I can get the posts ordered by their views count.

This is very useful when you cannot find a plugin which does this job neatly and fastly.

With this method, I limit the SQL requests and obviously, the page loads faster.

I’ll keep you updated on the developpment of the new theme, and also the new WordPress!

I never thought I could even understand the core of wordpress, but now I am adding “in-built” features to WordPress!

GD Star Rating
loading...

03:45 PM by Gi
Categories: Blogging, Informatique - Computers, Web Development, Wordpress | Tags: , , | Leave a comment

← Older posts

Newer posts →

Switch to our mobile site