Archive for the ‘wordpress’ Category

my visual editor was totally broken

November 10th, 2007 4:51 pm

upgrade to 2.3.1 seem to broke my visual editor…
thank you wp dev..you fixed 20bugs then give me 1 big bullshit bug!
fresh re-install also give negative result. it’s gone!! and i’m pretty sure it got something to do with tinymce…
try to check http://wordpress.org/support/ for help..but no luck.
so to anyone who faced this problem like me, i suggest you disable visual editor.
go to User > Your Profile then untick “Use the visual editor when writing”
huh… -_-

put proper keyword to your auction ads

May 24th, 2007 1:30 am

i know some of you must be using auctionads to earn some money online. what good about it is that we been given flexibility to put certain keywords to auctionads javascript so that proper ads that related to our website content will come out. by doing that, we normally put general keyword for our web content. actually there’s another trick to put keyword according to posting entry. if you’re using wordpress as blog engine, here’s the trick how you can put specific keyword according to you entry.

<?php
foreach((get_the_category($posts[0]->ID)) as $cat) :
     $keywords .= $cat->category_nicename .’,';
endforeach;
?>

then put this in your auctionads javascript.

auctionads_ad_kw =  "<?php echo $keywords; ?>";

you are done. btw, if you can make a plugin from this and this trick not limited to auctionads only, you can also do it to other advertising services that requires keywords.. good luck!

bandwidth saving wordpress theme

May 22nd, 2007 1:13 am

save you bandwidth by splitting css and javascript files and load them in necessary place only.

for example splitting styles.css into 3

  1. style.css - default in all place
  2. comments.css - css at comments place
  3. more.css - for other thing like archive/pages or whatever

then load them at right place. in your header.php put

<?php if (is_single() && have_post()) : ?>

<link rel="stylesheet" type="text/css" media="screen" href="<?php bloginfo('template_directory'); ?>/css/comments.css" />

<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/engine/comments.js.php?2"></script>

<?php endif; ?>

i’m use ajax commenting but i required the javascript at single page only. hope this trick can save your bandwidth… sikit-sikit.. haha

a little update ^___^

April 12th, 2007 4:58 am

it’s been a while since my last update, sorry i don’t have time. because i’m very very busy practising sleep for power. lol

from now on, i’ll just update my blog from twitter.com/novatech. so if you have twitter account, i’ll be glad if you add me as your frien ^__^

ooopss.. 4.51 pm already, need to sleep. 5 hours after this, i going to present my software engineering project prototype. check out my ebazaar system.orait, i’ll blog about this later..

if you can see below, i created a new plugin so-called twitter viewer. this mean you can read my miniblog update from here instead of reading it from twitter site.

i’ll release my rolling archives and twitter view plugin tomorrow.. hopefully

huargh!! sleeeeepppppppy already

oh.. if you those curves of my layout. yaya! it’s css3. just for fun. currently ie user can’t see la… make my layout look stupid. maybe i going to remove it after this. just for experimentation only [smokie]

update:

i rebuild the twitter viewer, i decided to use magpie rss to as the rss fetcher instead of using my own which is a lot more slower.. lol -_-

download the twitter view plugins (version 1.1)

added some future for limiting the amount of update to be shown. i forgot to put this at first place. thanks bat for the info.

usage : <?php twitter_view("http://twitter.com/statuses/friends_timeline/4020501.rss","10"); ?>
10 = maximum update you want to show
and..please replace twitter rss url to your own url.

about rolling archives, sorry i can’t release it yet. i need to do some modification on the javascript since it been coded in badwords ( if you are kelantanese, you can view the source and got what i mean) haha!

i think, i need a new plugin for video streaming…. still looking for good one. anarchy media player has lost it’s umpph!!

till then, ok see ya….

calo!! ~___~

you design it, we make it wordpress theme

December 27th, 2006 3:06 am

orait, last night i come across with this “macam best” idea. when i’m visiting wordpress help forums (many of them), i found a lot of them discuss about how to create wordpress theme on your own. Most of them got reply “learn css and basic html” lol, what i realise is that some people already know how to design, they even do better then person who reply to his/her question about how to create wordpress theme. basically not all people know how to design will know how to code right? so, why do i not take this advantage by letting me do the coding process while you design the layout? i know it sound easy for some people, but it also required time and energy, so i might charge it. don’t worry it won’t cos you “million” haha!

oh ya did i mention “we” ? orait maybe i’m going to ask my friend to do it. i know some people who good in converting standard design into theme. and.. and.. next time maybe i’m gonna expand this for other cms’ theme. i didn’t dicided yet what price to put. but if you are interested, don’t be shy to contact me through my contact form. you can also email me directly to stewpit[at]gmail.com


who's online