PDA

View Full Version : Critical Analysis


Donace
11-19-2008, 02:21 PM
I had a huge number of tweaks I wanted to do on my site but with all the new functionality of 2.7 I though it was better to wait and use the new hooks.

Though my checklist is still growing....In an attempt to make it grow further I need your help!

If you could review (critique begin a must!) http://thenexus.tk on your blog or here...that would be great!

If you do blog about it let me know and I'll add your 125x125 on rotation for a month!

Thanks for your help! and as Suzanne would say to get a quick reply and leave you feeling positive!:p

*SmiLes*

Donace

akira07
11-20-2008, 12:59 AM
Hey just wanna ask, what it is :

Hello!
bloggingtips.com user
hope you enjoy : htaccess reviewed
Feel Free To Bookmark it

Your visitor is not just from bloggingtips, right? So i think it's better to write "Hi, visitor"
Well it's a small matter :D

athlon24
11-20-2008, 01:07 AM
that's what he is talking about. When you click his link from bloggingtips, he will greet you as bloggingtips user. others don't see it really.

@Donace
It's cool... but if the reader just directly go into your site. It says, Hello user. Maybe you can just take "user" away in that option.

akira07
11-20-2008, 01:14 AM
oh great system then, so that sytem is tracking our previous activity and then automatically show "greeting" which great like that :D.


@athlon24
so, do you mean it's only show "Hello..." ?
Yeah, i think it's good idea because if we go directly to him site, and find "Hello, user" people will confuse : "User of what?"

athlon24
11-20-2008, 01:20 AM
yeah, you probably got good grasp of it and you can try it anyway. or to try it better. you put a link to your site and try it.

Donace
11-20-2008, 07:01 AM
yes that was the plan for the 'welcome box' I started to code it...its main aim was to greet everyone and find out where the are from(check referrer)...if it was social media then prominently display their button on the articles so to increase conversion.

Haven't had time to complete the amended script since I put the first bit up last week. If you guyz want a crack at it i'll throw the source doe up in a bit.

athlon24
11-20-2008, 11:16 AM
wow, that was really nice... better if you make it a plugin if that will be possible. In that case, you will benefit more.

navjotjsingh
11-20-2008, 02:16 PM
Well there are 2 plugins recently being released for the same task...Donace..

http://wordpress.org/extend/plugins/referrer-detector/ and http://wordpress.org/extend/plugins/wp-greet-box/

Donace
11-20-2008, 03:00 PM
@navjot yea I did see them..they rely on javascript ... my one is pure php at the moment (and will stay that way hopefully :p) .... thus making it faster and less 'heavy' then the others...plus I wanted to expand my php knowledge hence this pet project to waste time on the train...

@Athlon I may make it into a plugin once I have the main code sorted shouldn't be to hard to do.

Any other critique welcome

akira07
11-20-2008, 09:07 PM
or there is a plugin to greet someone like this :

Hello, ip address xx.xxx.xxx.xx ???

Or that will be bad?

sarahG
11-20-2008, 09:58 PM
or there is a plugin to greet someone like this :

Hello, ip address xx.xxx.xxx.xx ???

Or that will be bad?

It wouldn't be bad but there's not much point either. I wouldn't really be that impressed to be greeted with my IP address. I'd be more impressed if I'd left a comment in the past, and you read the cookie on my machine to determine who I was (using my comment name) and greeted me that way.

Donace, not much of a designer so can't critique on how your site looks, however from a markup point of view I'd maybe see which simple validation errors you could fix up as there are some basic issues there that are easily dealt with.

Donace
11-20-2008, 10:06 PM
@ sarah if its the errors im thinking of...they are due to the codebox plugin and shutter reloaded plugin...not really much I can do about that...if its the theme itself though let me know and i'll tweak a bit as I don't think citrus themes update their themes.

Thanks for the look

akira07
11-21-2008, 12:52 AM
It wouldn't be bad but there's not much point either. I wouldn't really be that impressed to be greeted with my IP address. I'd be more impressed if I'd left a comment in the past, and you read the cookie on my machine to determine who I was (using my comment name) and greeted me that way.


there will be problem if i delete my cookies, and then i visit him site, what greeting is comes up?
If you can programming, make it 2 alternatives, if the system find no cookies then make it greet with "hello, good morning/afternoon/night" based on time in the server system, if system find cookies, just make it like sarahG said.

navjotjsingh
11-21-2008, 01:44 AM
GoodMorning/Afternoon/Night is again not a good idea since whole world is separated by timezones. A Person residing in India may be having a day but night elsewhere. And if you go by server times and not WP times, then every site will be in US...irrespective of international users unless he chooses webhosting from some other country.

sarahG
11-21-2008, 07:27 AM
GoodMorning/Afternoon/Night is again not a good idea since whole world is separated by timezones. A Person residing in India may be having a day but night elsewhere. And if you go by server times and not WP times, then every site will be in US...irrespective of international users unless he chooses webhosting from some other country.

You can use JS to grab the user's timezone, but again, you're having to rely on JS then.

there will be problem if i delete my cookies, and then i visit him site, what greeting is comes up?

You should always have a validation check in there, as not everyone would have commented on the site anyway, hence why I said 'if'.

Donace
11-21-2008, 03:19 PM
Recognising the visitors if they have commented before and don't change their IP i suppose could be achieved by using the tracking system in the woopra system. Again though I think JS would be required and my plan was to make it a PHP exclusive thing.

Thanks again for the feedback...remember critique is not limited to design and coding :p you can hack my writing style / article choices every thing to bits!

sarahG
11-21-2008, 03:59 PM
Recognising the visitors if they have commented before and don't change their IP i suppose could be achieved by using the tracking system in the woopra system. Again though I think JS would be required and my plan was to make it a PHP exclusive thing.

Well it can be achieved with pure PHP. When someone comments you just grab their name and set a cookie with it. Then check for the cookie when they return and say hello to them. No JS needed. You could turn this into a plugin using the right hook to set the cookie (ie. when a comment is made).

Donace
11-21-2008, 04:21 PM
problem being if my visitors actually listen to me (:p) they would be clearing their cookies as their routine or be relying on secure 'cookieless' browsing.

Though I would probably look in to it...if your interested this is the current code:

<?php

//set id
global $id;
$refer=$_SERVER['HTTP_REFERER'];
$title=the_title('','',false);
$domain=$matches[0];

// get host name from URL
preg_match('@^(?:http://)?([^/]+)@i',
"$refer", $matches);
$host = $matches[1];

// get last two segments of host name
preg_match('/[^.]+\.[^.]+$/', $host, $matches);

//the message

echo "Hello! <br>";
echo "{$matches[0]}\n";
echo " user <br>";
echo "hope you enjoy : " ;
echo $title;
echo "<br> Feel Free To Bookmark it";

?>

and was going to rely on 'switch' command for the different methods like:

<?php
switch ($domain) {
case "stumbleupon.com":
echo "message";
break;

Was also going to add the following SM sites

'BarraPunto' =>
'favicon' => 'barrapunto.png',
'url' => 'http://barrapunto.com/submit.pl?subj=TITLE&amp;story=PERMALINK',
),

'blinkbits' =>
'favicon' => 'blinkbits.png',
'url' => 'http://www.blinkbits.com/bookmarklets/save.php?v=1&amp;source_url=PERMALINK&amp;title=TITLE&amp;body =TITLE',
),

'BlinkList' =>
'favicon' => 'blinklist.png',
'url' => 'http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=PERMALINK&amp;Title=TITLE',
),

'BlogMemes' =>
'favicon' => 'blogmemes.png',
'url' => 'http://www.blogmemes.net/post.php?url=PERMALINK&amp;title=TITLE',
),

'BlogMemes Fr' =>
'favicon' => 'blogmemes.png',
'url' => 'http://www.blogmemes.fr/post.php?url=PERMALINK&amp;title=TITLE',
),

'BlogMemes Sp' =>
'favicon' => 'blogmemes.png',
'url' => 'http://www.blogmemes.com/post.php?url=PERMALINK&amp;title=TITLE',
),

'BlogMemes Cn' =>
'favicon' => 'blogmemes.png',
'url' => 'http://www.blogmemes.cn/post.php?url=PERMALINK&amp;title=TITLE',
),

'BlogMemes Jp' =>
'favicon' => 'blogmemes.png',
'url' => 'http://www.blogmemes.jp/post.php?url=PERMALINK&amp;title=TITLE',
),

'blogmarks' =>
'favicon' => 'blogmarks.png',
'url' => 'http://blogmarks.net/my/new.php?mini=1&amp;simple=1&amp;url=PERMALINK&amp;title=TITLE' ,
),

'Blogosphere News' =>
'favicon' => 'blogospherenews.gif',
'url' => 'http://www.blogospherenews.com/submit.php?url=PERMALINK&amp;title=TITLE',
),

'Blogsvine' =>
'favicon' => 'blogsvine.png',
'url' => 'http://blogsvine.com/submit.php?url=PERMALINK',
),

'blogtercimlap' =>
'favicon' => 'blogter.png',
'url' => 'http://cimlap.blogter.hu/index.php?action=suggest_link&amp;title=TITLE&amp;url=PERM ALINK',
),

'Blue Dot' =>
'favicon' => 'bluedot.png',
'url' => 'http://bluedot.us/Authoring.aspx?u=PERMALINK&amp;title=TITLE',
),

'Book.mark.hu' =>
'favicon' => 'bookmarkhu.png',
'url' => 'http://book.mark.hu/bookmarks.php/?action=add&amp;address=PERMALINK%2F&amp;title=TITLE',
'description' => 'description',
),

'Bumpzee' =>
'favicon' => 'bumpzee.png',
'url' => 'http://www.bumpzee.com/bump.php?u=PERMALINK',
),

'co.mments' =>
'favicon' => 'co.mments.gif',
'url' => 'http://co.mments.com/track?url=PERMALINK&amp;title=TITLE',
),

'connotea' =>
'favicon' => 'connotea.png',
'url' => 'http://www.connotea.org/addpopup?continue=confirm&amp;uri=PERMALINK&amp;title=TITL E',
),


'del.icio.us' =>
'favicon' => 'delicious.png',
'url' => 'http://del.icio.us/post?url=PERMALINK&amp;title=TITLE',
),

'De.lirio.us' =>
'favicon' => 'delirious.png',
'url' => 'http://de.lirio.us/rubric/post?uri=PERMALINK;title=TITLE;when_done=go_back',
),

'Design Float' =>
'favicon' => 'designfloat.gif',
'url' => 'http://www.designfloat.com/submit.php?url=PERMALINK&amp;title=TITLE',
),

'Digg' =>
'favicon' => 'digg.png',
'url' => 'http://digg.com/submit?phase=2&amp;url=PERMALINK&amp;title=TITLE',
'description' => 'Digg',
),

'DotNetKicks' =>
'favicon' => 'dotnetkicks.png',
'url' => 'http://www.dotnetkicks.com/kick/?url=PERMALINK&amp;title=TITLE',
'description' => 'description',
),

'DZone' =>
'favicon' => 'dzone.png',
'url' => 'http://www.dzone.com/links/add.html?url=PERMALINK&amp;title=TITLE',
'description' => 'description',
),

'eKudos' =>
'favicon' => 'ekudos.gif',
'url' => 'http://www.ekudos.nl/artikel/nieuw?url=PERMALINK&amp;title=TITLE',
),

'email' =>
'favicon' => 'email_link.png',
'url' => 'mailto:?subject=TITLE&amp;body=PERMALINK',
'description' => 'E-mail this story to a friend!',
),

'Facebook' =>
'favicon' => 'facebook.png',
'url' => 'http://www.facebook.com/sharer.php?u=PERMALINK&amp;t=TITLE',
),

'Fark' =>
'favicon' => 'fark.png',
'url' => 'http://cgi.fark.com/cgi/fark/edit.pl?new_url=PERMALINK&amp;new_comment=TITLE&amp;new_co mment=BLOGNAME&amp;linktype=Misc',
// To post to a different category, see the drop-down box labeled "Link Type" at
// http://cgi.fark.com/cgi/fark/submit.pl for a complete list
),

'feedmelinks' =>
'favicon' => 'feedmelinks.png',
'url' => 'http://feedmelinks.com/categorize?from=toolbar&amp;op=submit&amp;url=PERMALINK&amp;na me=TITLE',
),

'Furl' =>
'favicon' => 'furl.png',
'url' => 'http://www.furl.net/storeIt.jsp?u=PERMALINK&amp;t=TITLE',
),

'Fleck' =>
'favicon' => 'fleck.gif',
'url' => 'http://extension.fleck.com/?v=b.0.804&amp;url=PERMALINK',
),

'Global Grind' => Array (
'favicon' => 'globalgrind.gif',
'url' => 'http://globalgrind.com/submission/submit.aspx?url=PERMALINK&amp;type=Article&amp;title=TITLE '
),

'Google' => Array (
'favicon' => 'googlebookmark.png',
'url' => 'http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=PERMALINK&amp;title=TITLE'
),

'Gwar' =>
'favicon' => 'gwar.gif',
'url' => 'http://www.gwar.pl/DodajGwar.html?u=PERMALINK',
),

'Haohao' =>
'favicon' => 'haohao.png',
'url' => 'http://www.haohaoreport.com/submit.php?url=PERMALINK&amp;title=TITLE',
),

'HealthRanker' =>
'favicon' => 'healthranker.gif',
'url' => 'http://healthranker.com/submit.php?url=PERMALINK&amp;title=TITLE',
),

'Hemidemi' =>
'favicon' => 'hemidemi.png',
'url' => 'http://www.hemidemi.com/user_bookmark/new?title=TITLE&amp;url=PERMALINK',
),

'IndiaGram' =>
'favicon' => 'indiagram.png',
'url' => 'http://www.indiagram.com/mock/bookmarks/desitrain?action=add&amp;address=PERMALINK&amp;title=TITLE ',
),

'IndianPad' =>
'favicon' => 'indianpad.png',
'url' => 'http://www.indianpad.com/submit.php?url=PERMALINK',
),

'Internetmedia' =>
'favicon' => 'im.png',
'url' => 'http://internetmedia.hu/submit.php?url=PERMALINK'
),

'kick.ie' =>
'favicon' => 'kickit.png',
'url' => 'http://kick.ie/submit/?url=PERMALINK&amp;title=TITLE',
),

'Kirtsy' =>
'favicon' => 'kirtsy.gif',
'url' => 'http://www.kirtsy.com/submit.php?url=PERMALINK&amp;title=TITLE',
),

'laaik.it' =>
'favicon' => 'laaikit.png',
'url' => 'http://laaik.it/NewStoryCompact.aspx?uri=PERMALINK&amp;headline=TITLE&amp; cat=5e082fcc-8a3b-47e2-acec-fdf64ff19d12',
),

'LinkArena' =>
'favicon' => 'linkarena.gif',
'url' => 'http://linkarena.com/bookmarks/addlink/?url=PERMALINK&amp;title=TITLE',
),

'LinkaGoGo' =>
'favicon' => 'linkagogo.png',
'url' => 'http://www.linkagogo.com/go/AddNoPopup?url=PERMALINK&amp;title=TITLE',
),

'LinkedIn' =>
'favicon' => 'linkedin.png',
'url' => 'http://www.linkedin.com/shareArticle?mini=true&amp;url=PERMALINK&amp;title=TITLE&amp;s ource=BLOGNAME&amp;summary=EXCERPT',
),

'Linkter' =>
'favicon' => 'linkter.png',
'url' => 'http://www.linkter.hu/index.php?action=suggest_link&amp;url=PERMALINK&amp;title= TITLE',
),

'Live' =>
'favicon' => 'live.png',
'url' => 'https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=PERMALINK&amp;title=TITLE' ,
),

'Ma.gnolia' =>
'favicon' => 'magnolia.png',
'url' => 'http://ma.gnolia.com/bookmarklet/add?url=PERMALINK&amp;title=TITLE',
),

'Meneame' =>
'favicon' => 'meneame.gif',
'url' => 'http://meneame.net/submit.php?url=PERMALINK',
),

'MisterWong' =>
'favicon' => 'misterwong.gif',
'url' => 'http://www.mister-wong.com/addurl/?bm_url=PERMALINK&amp;bm_description=TITLE&amp;plugin=soc' ,
),

'MisterWong.DE' =>
'favicon' => 'misterwong.gif',
'url' => 'http://www.mister-wong.de/addurl/?bm_url=PERMALINK&amp;bm_description=TITLE&amp;plugin=soc' ,
),

'Mixx' =>
'favicon' => 'mixx.png',
'url' => 'http://www.mixx.com/submit?page_url=PERMALINK&amp;title=TITLE',
),

'muti' =>
'favicon' => 'muti.png',
'url' => 'http://www.muti.co.za/submit?url=PERMALINK&amp;title=TITLE',
),

'MyShare' =>
'favicon' => 'myshare.png',
'url' => 'http://myshare.url.com.tw/index.php?func=newurl&amp;url=PERMALINK&amp;desc=TITLE',
),

'N4G' =>
'favicon' => 'n4g.gif',
'url' => 'http://www.n4g.com/tips.aspx?url=PERMALINK&amp;title=TITLE',
),

'NewsVine' =>
'favicon' => 'newsvine.png',
'url' => 'http://www.newsvine.com/_tools/seed&amp;save?u=PERMALINK&amp;h=TITLE',
),

'Netvouz' =>
'favicon' => 'netvouz.png',
'url' => 'http://www.netvouz.com/action/submitBookmark?url=PERMALINK&amp;title=TITLE&amp;popup=no' ,
),

'NuJIJ' =>
'favicon' => 'nujij.gif',
'url' => 'http://nujij.nl/jij.lynkx?t=TITLE&amp;u=PERMALINK',
),

'PlugIM' =>
'favicon' => 'plugim.png',
'url' => 'http://www.plugim.com/submit?url=PERMALINK&amp;title=TITLE',
),

'PopCurrent' =>
'favicon' => 'popcurrent.png',
'url' => 'http://popcurrent.com/submit?url=PERMALINK&amp;title=TITLE&amp;rss=RSS',
'description' => 'description',
),

'Pownce' =>
'favicon' => 'pownce.gif',
'url' => 'http://pownce.com/send/link/?url=PERMALINK&amp;note_body=TITLE&amp;note_to=all'
),

'ppnow' =>
'favicon' => 'ppnow.png',
'url' => 'http://www.ppnow.net/submit.php?url=PERMALINK',
),

'Print' =>
'favicon' => 'printer.png',
'url' => 'javascript:window.print();',
'description' => 'Print this article!',
),

'Propeller' =>
'favicon' => 'propeller.gif',
'url' => 'http://www.propeller.com/submit/?U=PERMALINK&amp;T=TITLE',
),

'Ratimarks' =>
'favicon' => 'ratimarks.png',
'url' => 'http://ratimarks.org/bookmarks.php/?action=add&address=PERMALINK&amp;title=TITLE',
),

'RawSugar' =>
'favicon' => 'rawsugar.png',
'url' => 'http://www.rawsugar.com/tagger/?turl=PERMALINK&amp;tttl=TITLE',
),

'Rec6' =>
'favicon' => 'rec6.gif',
'url' => 'http://www.syxt.com.br/rec6/link.php?url=PERMALINK&amp;=TITLE',
),

'Reddit' =>
'favicon' => 'reddit.png',
'url' => 'http://reddit.com/submit?url=PERMALINK&amp;title=TITLE',
),

'SalesMarks' =>
'favicon' => 'salesmarks.gif',
'url' => 'http://salesmarks.com/submit?edit[url]=PERMALINK&amp;edit[title]=TITLE',
),

'Scoopeo' =>
'favicon' => 'scoopeo.png',
'url' => 'http://www.scoopeo.com/scoop/new?newurl=PERMALINK&amp;title=TITLE',
),

'scuttle' =>
'favicon' => 'scuttle.png',
'url' => 'http://www.scuttle.org/bookmarks.php/maxpower?action=add&amp;address=PERMALINK&amp;title=TITLE' ,
'description' => 'description',
),

'Segnalo' =>
'favicon' => 'segnalo.gif',
'url' => 'http://segnalo.alice.it/post.html.php?url=PERMALINK&amp;title=TITLE',
),

'Shadows' =>
'favicon' => 'shadows.png',
'url' => 'http://www.shadows.com/features/tcr.htm?url=PERMALINK&amp;title=TITLE',
),

'Simpy' =>
'favicon' => 'simpy.png',
'url' => 'http://www.simpy.com/simpy/LinkAdd.do?href=PERMALINK&amp;title=TITLE',
),

'Slashdot' =>
'favicon' => 'slashdot.png',
'url' => 'http://slashdot.org/bookmark.pl?title=TITLE&amp;url=PERMALINK',
),

'Smarking' =>
'favicon' => 'smarking.png',
'url' => 'http://smarking.com/editbookmark/?url=PERMALINK&amp;title=TITLE',
),

'Socialogs' =>
'favicon' => 'socialogs.gif',
'url' => 'http://socialogs.com/add_story.php?story_url=PERMALINK&amp;story_title=TITL E',
),

'Spurl' =>
'favicon' => 'spurl.png',
'url' => 'http://www.spurl.net/spurl.php?url=PERMALINK&amp;title=TITLE',
),

'SphereIt' =>
'favicon' => 'sphere.png',
'url' => 'http://www.sphere.com/search?q=sphereit:PERMALINK&amp;title=TITLE',
),

'Sphinn' =>
'favicon' => 'sphinn.png',
'url' => 'http://sphinn.com/submit.php?url=PERMALINK&amp;title=TITLE',
),

'StumbleUpon' =>
'favicon' => 'stumbleupon.png',
'url' => 'http://www.stumbleupon.com/submit?url=PERMALINK&amp;title=TITLE',
),

'Taggly' =>
'favicon' => 'taggly.png',
'url' => 'http://taggly.com/bookmarks.php/pass?action=add&amp;address=',
),

'Technorati' =>
'favicon' => 'technorati.png',
'url' => 'http://technorati.com/faves?add=PERMALINK',
),

'TailRank' =>
'favicon' => 'tailrank.png',
'url' => 'http://tailrank.com/share/?text=&amp;link_href=PERMALINK&amp;title=TITLE',
),

'ThisNext' =>
'favicon' => 'thisnext.png',
'url' => 'http://www.thisnext.com/pick/new/submit/sociable/?url=PERMALINK&amp;name=TITLE',
),

'TwitThis' =>
'favicon' => 'twitter.png',
'url' => 'http://twitthis.com/twit?url=PERMALINK',
),

'Upnews' =>
'favicon' => 'upnews.gif',
'url' => 'http://www.upnews.it/submit?url=PERMALINK&title=TITLE',
),

'Webnews.de' =>
'favicon' => 'webnews.gif',
'url' => 'http://www.webnews.de/einstellen?url=PERMALINK&amp;title=TITLE',
),

'Webride' =>
'favicon' => 'webride.png',
'url' => 'http://webride.org/discuss/split.php?uri=PERMALINK&amp;title=TITLE',
),

'Wikio' =>
'favicon' => 'wikio.gif',
'url' => 'http://www.wikio.com/vote?url=PERMALINK',
),

'Wikio FR' =>
'favicon' => 'wikio.gif',
'url' => 'http://www.wikio.fr/vote?url=PERMALINK',
),

'Wikio IT' =>
'favicon' => 'wikio.gif',
'url' => 'http://www.wikio.it/vote?url=PERMALINK',
),

'Wists' =>
'favicon' => 'wists.png',
'url' => 'http://wists.com/s.php?c=&amp;r=PERMALINK&amp;title=TITLE',
'class' => 'wists',
),

'Wykop' =>
'favicon' => 'wykop.gif',
'url' => 'http://www.wykop.pl/dodaj?url=PERMALINK',
),

'Xerpi' =>
'favicon' => 'xerpi.gif',
'url' => 'http://www.xerpi.com/block/add_link_from_extension?url=PERMALINK&amp;title=TITLE' ,
),

'YahooMyWeb' =>
'favicon' => 'yahoomyweb.png',
'url' => 'http://myweb2.search.yahoo.com/myresults/bookmarklet?u=PERMALINK&amp;=TITLE',
),

'Yigg' =>
'favicon' => 'yiggit.png',
'url' => 'http://yigg.de/neu?exturl=PERMALINK&amp;exttitle=TITLE',
),
);



was also debating allowing custom messages for each SM plus ability to create 'custom' ones....

Will look into out once the case im working on resolves (so anytime within 2-72weeks :p) so if anyone feels like having a crack at it go right ahead. :D

(side note prehaps split the thread 1) the original critque and 2) the 'welcome' box debate)

Donace
12-06-2008, 11:40 AM
btw if anyone who commented here wants to cash in on their free 125x125 for a month throw me a PM