b2evo enquiry

7th Apr 2008 ¥åßßå

Hi ,
Yes, I need help w/ my blog, www.wildcrops.com/blog I want to add
buttons and boxes for advertising, a way for social bookmarking, to
separate the blog categories so our personal life developments are
different from my business ones. I am sure there are other things that
should be done, but I don't know what they are. Maybe you can tell me.

If you were to conduct some kind of online training for this blog, I was
sign up in a New York minute!
Penny Frazier
Goods From The Woods

Thoughts?
¥

 
 
 
 

Comments

Anonymous
7th Apr 2008
I'll start :D

Before we did anything they'd need to be upgraded from 1.9.ancient preferably to 2.x

They're also in dire need of a skin :|

Be interesting to see what sort of "online training" they have in mind ;)

¥
 

AM Page Links ... still has problems

17th Sep 2007 stk

I downloaded the 7-Jan-2007 version of _am_pagelinks.plugin.php, thinking that the <p> semantics problem was solved.

What I discovered, leads me to believe there's still problems with the plugin.

Installed, no problem. But in testing both <!--more-->Custom More<!--endmore-->, I noticed that it simply replaced the <!--more--> bit with my defaulted replacement (defined in the $content() variable). Weird, b/c it works on AstonishMe?

Same with the TEXT<!--endpage--> bit too (didn't look at the source, but it's not paging correctly.

I also notice that IF the plugin is turned OFF, then the paging is lost ... completely (on AM).

(1) Can't figure out why it's not working on Randsco (both MORE and ENDPAGE).
(2) Seems a good enhancement would be to retain paging, when utilized, even if the plugin is disabled.

Just some thoughts.

I guess I'll just go the manual route (again). :p

 
 
 
 

Well LOL ... how things change

21st Mar 2007 stk

I know that Yabba is furiously working at trying to make a new, valid skin for AstonishMe ... (button boy) ... but here's some interesting news.

  1. We were banned from PayPal (don't ask ... stupid) and now we're back on. We've got $200 that we still need to donate to the FG, but partly (because every new version of b2evo breaks skins, we're thinking we might KEEP it) :p
  2. Software and Tools (that great skin that danny made) is NO LONGER using the skin. :| Maybe we should just update it for 1.9.3 and make it publicly available? What do you think, Danny?
  3. Ohio Boating dot NET, where were were paid for integrating the blog into the existing (pretty but useless) homepage ... has been dead since last AUGUST and is now overrun with SPAM.
  4. Good Boating ... the site that kicked us off, has died. The good news is that we're back at it again ... revamping our awesome skin for another boating project (related). We were owed back pay of $2k (which we never got, nor will we likely get). That's the bad news. The good news is that we've got a $2k deposit coming for the new work! :D
  5. Lycos is cool. We got paid some money. The work we did rocked. Hopefully, they'll want more work.
  6. OK Finance sucks. We got paid some $$ originally ... 2k of funny UK money (which is cool, cause it's worth twice as much as US money, for some reason). However, we've lost creative control over the site and it's rapidly turning into a cheesy animated GIF factory. This was supposed to be our swan song, but so far ... it's just been an ugly duck. Time will tell.

That about wraps up the news. This place has been dead for a tad, but with a puff of air or two ... we'll be back up and running in no time!!

Cheers,

the Management.

PS - Yabba STILL needs to fix the Custom MORE plugin

 
 
 
 

Comments

Anonymous
24th Mar 2007
Lol, you obviously haven't tried it on the dev blog ;)

¥
 

testing extra fields

26th Dec 2006 ¥åßßå

If only I knew what it was meant to do :p

 
 
 
 

Comments

Anonymous
29th Jan 2007
testing
 
Anonymous
13th Feb 2007
yet another comment tet
 
Anonymous
23rd Mar 2007
Maybe it's meant to toss an error when someone posts? :o


Scott & Rachel Kimler: Notice: strtotime(): Called with empty time parameter in c:\domains\astonishme.co.uk\wwwroot\plugins\_extrafields.plugin.php on line 202

Scott & Rachel Kimler: Got that message when making my "donations" report.
 

custom more!

10th Dec 2006 stk
 
 
 
 

A regular more

10th Dec 2006 stk
 
 
 
 

Welcome to version 2.0 :D

22nd Nov 2006 ¥åßßå

Due to blondness a technical problem, we've inadvertently been upgraded to version 2.0

At least it has some new features huh? :|

¥

 
 
 
 

PZ hack

11th Oct 2006 Danny
Check this out: Hack to add zoom function Just thought you would like to know there are several people who love your PZ3. They went to a lot of trouble to hack that into their blog. I'll bet they would love to have the plugin that does that. They may even pay for it.
 
 
 
 

ZZZZzzzzzzzz<sub>zzzzz</sub>

26th Jul 2006 ¥åßßå

Seeing as you lot are always asleep I got bored again and redid a few of the plugins ....... mainly cos I know Scott loves it when I rewrite their functionality :|

I made a couple of very minor alterations to the custom more and next page plugin, it makes zero difference to the way it's used it was mainly to tidy up the code a tad

I pretty much rewrote all of the am_custom plugins functionality, now instead of using [[x]css][[x]/css] etc you use <!--css <css to inject> --> etc. The main reason for this is so you don't end up with a page full of garbage if you ever uninstall the plugin (or if we don't upgrade it to future versions of evo). It's fully backwards compatible though so you don't need to worry about any old posts that use the tags. I've updated the post, the zip file and increased the plugins version number cos otherwise Scott will nag me

I also changed the way it treats the title and description tags, it only uses them in $disp = single mode. I also increased the keywords functionality to take into account the blogs own keywords when checking for unique keywords...... Ohhhh did I mention that I totally rewrote the way it's installed? :| Now you just need to delete everything from <title> to </title> (inclusive), the same for description and keywords (the plugin spits out all of the required tags.

I think I'm gonna wander off and play with the update plugin so that we can get it out there.

Hope you slept well :|
¥

 
 
 
 

Comments

Anonymous
27th Jul 2006
ZZZZzzzzzzz
 
Anonymous
27th Jul 2006
The update plugin rocks and I think we should have graphics ONLY when there's a plugin that needs updating.

And that graphic should be a link to get the update.

I was going to ask you about that. What's the work-flow? You see an update, you click link and what ... get new zip? get the actual file change and you don't need to re-install? what?

Now ... how to incorporate NEWS into the basic page? (I'm thinking some kind of CSS hover dealie, like the warning, info, geek buttons ... would be ideal.) Then it can be on that page too (unobtrusive like) ... maybe only show when there's New News?

I'm demanding, huh? :|

But WE ROCK!! He he. (Some heads are gonna twist over this one! French eyebrows will be lifted. Hehehe)
 
Anonymous
27th Jul 2006
ffs - give you summat new to play with and you always want to add gaudy baubles :|

Eyebrows are gonna be lifted with this one though, cos we do ROCK when it comes to "no core hacks were abused to make this [impossible] plugin work" :D

Agreed at only showing status image to (supported) out of date plugins (thought image was already within link, can cure that), I just added all three to show what could be done.

The "news" icon could also be another geek/info/idea/warning icon, we'd have to think of how to tie it in with the date though (date of news, not last modified date of post) [if you want it to be on a "per post" basis, otherwise we could use a similar method as you use on Randsco?]

@update : for public plugins it'd be just as easy to link to the zip file (could even code an auto installer, which would take a smidge more work), but "members only" it should link to the post so evo takes care of login/authentication (but even that could be made into an auto-installer with a smidge of work).... personally I'd rather bring them to the site for all updates.

¥
 

Membership?

23rd Jul 2006 stk

OKAY ... plugins are starting to circle the airport, looking for a landing on a non-existent runway. What's the best way to handle these? I'd like to bring them out as soon as possible, but don't really think we should, until we have membership in place. I don't want to just concentrate on the "free" ones, because then folks'll only grab those.

We need a method for signing up members.

I think the pay-per-plugin thing can wait. Let's get membership rolling and then we can finish the fluff and start rolling some of these plugins down the runway.

We also need to identify which plugins are going to be free, either because they just make b2evo work "right" or because they incorporate/use GPL code. And for those that are original ... like "display code" and "search highlight", how much should we charge on a one-off basis?

MEMBERSHIP

 
 
 
 

Comments

Anonymous
23rd Jul 2006
ffs - you really did wake up in a grumpy mood huh?

Agreed that we need to get membership up and running as soon as possible. I'll put the hound on hold and see if we can get it sorted this week..... of course, that'll mean that you'll have to pull your finger out and start fluffing all the (huge queue of) plugins we currently have stalled on the starting blocks, but that's your sweat not mine so I can live with that :D

I know we've chatted about this but I suppose it's time to put it in text. If a plugin is "correctional" then I think it should be free (after all, we want everybody to enjoy their evo blog). If a plugin is exceptional then it should be members only (paid/unpaid, however we finally decide [with a pay per plugin if we go for paid membership]), but I'm buggered if I can put a price tag on things cos to me they're all "easy enough to replicate" ..... mind you I am a shit hot programmer :| (say "you are" or I'll shoot you :|).

anyway, I'm meant to be the beauty, yer meant to be the brains (business wise), so make a decision and I'll say "damn mate, great decision" ...... with the same conviction as you say "damn mate, great coding" :|

¥
 
Anonymous
25th Jul 2006
"you are" ;)

(a shit) :P

and no wonder we're floundering ... yer the beauty? :o ffs :|

DAMN MATE ... GREAT CODING!! ;)

Speaking of which ... why aren't the google-spell controls showing up in the post? (I turned JS support "on" in AM_custom_CSS and fixed yer first GoogieSpell function variable ... you had "http://b2evo.astonishme.co.uk//plugins" ... which seemed a tad odd).

Still no go tho (answrd the guys questions as best I could). I haven't tried google-spell in our own v1.8 blog yet.

Cripe ... too much to do and tomorrow is definitely FENCE building day. (We're flying to Vancouver Island on Saturday too, to look for a place to live, so will be out of pocket from Sat thru Thurs).

I DID say this was a crap time for b2evo v1.8 to ship. :p

Did you see my "error" report on the forums? Any idea what's causeing the redirect to send a visitor, after a comment, to comment_post.php? :o

Hopefully ... you'll see the AM-allow-comments plugin on the published side of the fence. ;)



 
Anonymous
25th Jul 2006
Well, stop the presses, because am_allow_comments doesn't work.

Downloaded the zip, installed, exited to blog, left comment (logged in), "moderate".

:(

Checked plugin setting and verified "enabled" for "authors" and "members" ... karma == -100.

:o

What gives?
 
Anonymous
25th Jul 2006
Google Spell ... I get the same problem as that other guy. Download ZIP, upload, install ... no controls. :(

Is the download file still only a CVS v1.8, rather than a v1.8 "summer beta"?

I'm not too astonished :p

( And gee ... I came here to fluff :o )
 
Anonymous
25th Jul 2006
ok, here we go
  1. allow comments
    There seems to be some form of bug (either evo or php5, not sure which and I only have your server to test with). For some reason the "weight" of the plugin (not the karma) gets returned as NULL so it never gets called for a spam karma value.
    The weirder thing is, if you install the basic antispam plugin then the "weight" gets returned correctly and the so it gets asked for a karma value.... go figure.
    Fortunately I'd already decided to change the functionality of the plugin as it didn't quite do what it said on the tin. It now sets the karma value to NULL (no spam karma) for authors/members and sets the status to 'published' irrelevant of any spam karma the post has. The only time it won't work is if the comment collects a karma above the delete threshold.
  2. Googie
    I've updated the zip to correct the user settings bug that it had. As it happens this was only part of what causes it not to appear on your blog. I've uploaded a custom version to your blog which uses rand_gen_name() and now it works ;)
    The googiespell on the demo didn't work because of a clashing onload from another plugin. Cured ;)
  3. Error on forums
    I have seen it but I haven't had time to look into it yet
  4. DAMN MATE, GREAT DECISION ...... urm, did you make a decision? :|
¥
 

Yer all hours behind :|

23rd Jul 2006 ¥åßßå

I wasn't really in the mood do any coding on the SpamHound today, mind you I did enough yesterday to last a week :D, so I was messing around with a couple of our (still unreleased) plugins.

The first plugin was the custom <--nextpage--> one. I'd totally forgotten about the custom <--more--> hack, so I added it in. When I get chance I'll update the post and the zip to bring them both up to date.

The second plugin was the custom css (et al) plugin. I made some changes to it's functionality, mainly limiting the keywords to unique keywords, but also to bring it up to date with the new hooks that are available in 1.8. I've updated the post to reflect the changes and also changed the install instructions. It looks like we only need to add the zip (and the bog standard "how to install this plugin" paragraph) and then it should be good to go.

I might take a wander over to the update plugin as well and see if we can't get that one up to release standard ....... it all depends on how many beers I take to the field with me when I go to water :p

Anyway you lot keep on sleeping whilst I do all the grunt work ;)

Have fun,
¥

 
 
 
 

Comments

Anonymous
23rd Jul 2006
sleeping? :o Who can sleep in this heat?

I thought the custom more was already IN the custom nextpage dealie? :o (Shows what I know. Nada.)

Cool @ custom CSS plugin. Been looking at a lot of [css][/css] tags at the beginning of all my v1.8 posts, thinking - they're sure ugly!!

Looks like you took a tad of beers to the flower field with you! I'll have to bring up the X2 satellite and see if I can spot a drunken lout lying near a greenhouse full of flowers, somewhere above the 51st parallel.

If I asked about membership, I bet you'd moan? :|

Beer on.

-stk :D
 
Anonymous
23rd Jul 2006
Nah, I totally forgot about the custom more ...... must be the heat :|, anyway it's in now and it works :D

I'm probably gonna recode most of our [summat].....[/summat] to be <!--summat ....... --> so that they always degrade (I'll code in backwards compatibilty at the same time), of course, this'll give you more time to strut your fluffy stuff and me more time to code memberships :p

lol@ satellite, damn, yer gonna make me have to hide under trees to avoid yer beady eye :|

<moan></moan> ... I might actually crack on with membership (and leave the hound/UPGRADING MY OWN BLOG [did I say </moan>?]) as it'd make you pull yer finger out and do some real work for once :| (seriously : it only needs coding once[ish] so I'll try and get it cracked and coded so we can officially "open")

¥
 

Yet another "just to bring you up to speed" post

16th Jul 2006 ¥åßßå

Due to my crap internet connection I've not done a lot of serious work on the web :( (sorry Scott, I'll get round to converting your rands_blab soon)

Minor shit I've done includes adding the info and geek things to the toolbar. I did it the quick way by just adding it to the buttons array and then spitting out the whole toolbar again (hence why you'll see double in admin). When I get a chance (and my connection sorts it's shit out) I'm gonna look at creating a toolbar plugin and converting the current quicktags and smilies plugins to use them. If it all works then I'll submit it to cvs to see if we can get it in the core.

I've also added (another) post to OnDeck, You'll probably want to fluff it out a tad Scott, but I'm actually happy to publish it as is ;). If you do fluff it, or if you decide it doesn't need fluffing, can you make a post on the forums as well?

Danny : I still haven't got round to converting all the forms in your democracy plugin. Is this something you're working on or do you want me to do the conversion?

EdB : I've uploaded (and installed) your cc plugin. I made a couple of minor changes to it
1/ I moved the plugin.php into the cc_plugin folder and changed the 3 file references to suit. This was just to make it easier when I'm browsing the folders on the server.
2/ I added the AM update code which means we can add it to our update manager (when I finish recoding/testing it for 1.8)
If you want to make a post (here) about it and link it to your blog (or we can handle the download as well, whichever you prefer) then feel free ;)

If you want to make the plugin (or any plugin) AmUpdate aware then you just need to add this line to it :-

	[bg=#ffc]function am_update( & $params ){ $params = array( 'name' =>$this->code, 'version' => $this->version ); }[/bg]

}
?>

Not that it'll do anything until after I finish the update manager plugin, but once I do users will be able to tell if there's a newer version of the plugin available from the tools tab

Have fun,
¥

 
 
 
 

Comments

Anonymous
17th Jul 2006
The poll plugin is on my list, but it's near the bottom. If you get time, go ahead and fix it up and release it.
 
Anonymous
18th Jul 2006
1: In my v1.8 install, the HTML checker is barfing on the usual "style", "id", "mouseover" and such. Rather than edit the _formatting file directly, is there a way to create something (plugin, hack file, etc.) that will either mod _formating on the fly, allow user-defined XHTML tags/subtags/attributes? (Just an idea).

2: Does the new post on OnDeck (bypass comment mod) actually work now? :p If so, then I'll fluff it and get it posted.

3: The collapsing archives look great. One problem ... the months are still links and they only regenerate the front page. :| (Is it a plugin or an AM-specific thing, added directly to _main)?
 
Anonymous
18th Jul 2006
Danny : no prob, I'll get on with it as soon as my connection sorts its shit out :(

Fluffer :-
1/urm, possibly, but it won't be pretty (should be doable from a plugin)... syaing that, I just hacked formatting.php for here :p
2/ assume you know the answer from your unmoderated comment ;)
3/ ffs - I really shouldn't show you shit 'til it's finished. I just swiftly converted the 1.6 version of the plugin but, since then, I've pretty much decided to recode it from the ground up so I'll cure that at the same time (although I'm "fairly" sure that it's the custom stuff we have running here that's clashing)

¥
 
Anonymous
20th Jul 2006
Scott, I just tried the month links and they appear to work for me?

I'm still considering recoding the plugin though. At the moment it's pretty much just a copy of the current archives plugin with a tad of extra functionality, whereas all that's really needed is the extra functionality.

¥
 
Anonymous
22nd Jul 2006
PS ... It looks like the ARchive JS is messing with the enhanced "
<body id="top">  [color=blue]<--- bookmark at page top[/color]

[color=blue](then, at bottom of the page, usually with the navigation control[/color]
<a class="top" href="#" data-code="?php 
  if ($_SERVER['QUERY_STRING'] == "" ) { echo '/'; } else {
	    echo '/?'.str_replace("&","&amp;",$_SERVER['QUERY_STRING']); }
			?>#top" title=" top of page ">[ Back to Top ]</a>
<?php echo '<a href="'.$ReqURI.'#top">[ '.T_('Back to top').' ]</a>'; ?>

Greyed out Navigation Controls

I've had a pet peeve since I first signed up with b2evo. It's got to do with the navigation controls "<previous || next>". When you're at the end (or the beginning) ... there isn't a "" and then the centered thing bounces around and all you see is the other one.

Anyway ... I solved it on randsco (sidebar) by underlaying an image, not using nav_links(), and previous_posts_link() and next_posts_link() instead. I then positioned the image pixel-perfect, which took a LOT of work ... just so the thing always shows "<prev" and/or "next>", when you're at the end or the beginning AND the other ones stay rock solid, alone or together.

So ... the short of it is, I found A way to test for presence of either the end or the beginning and do it all with TEXT, instead of pixel-perfect images. I quite like it. It's deployed on randsco at the BOTTOM of the page.

The code:

  <div id="bNav">
  <?php [color=blue]if( empty($p) && ($paged < 2) ) {[/color]// this is not the inverse of [color=green]if ( empty( $p ) && ( $paged > 1 ) ) {[/color] ;)
				echo '<span>&nbsp;&lt; Newer Entries&nbsp;</span>'; 
		  } else {				
				previous_posts_link('< Newer Entries '); } 
	?>
|
 	<?php $max_page=0;
	      if (!$max_page) $max_page = $MainList->get_max_paged();
	      if (!$paged) $paged = 1;
	      $nextpage = intval($paged) + 1;
					//echo $max_page;
					//echo $nextpage;
	      if ($nextpage == $max_page+1) {
				    echo '<span>&nbsp;Older Entries &gt;&nbsp;</span>';
       } else { next_posts_link(' Older Entries >'); } ?>
</div>

You have an error in your logic (blue above) and you can compress all the last bit ;)

  <div id="bNav">
  <?php if ( empty( $p ) && ( $paged > 1 ) ) {
				previous_posts_link('< Newer Entries ');
		  } else {				
				echo '<span>&nbsp;&lt; Newer Entries&nbsp;</span>';  } 
	?>
|
 	<?php $max_page = $MainList->get_max_paged();
	      $nextpage = ( !$paged ? 2 : intval( $paged ) + 1 );
	      if ( $nextpage > $max_page ) {
				    echo '<span>&nbsp;Older Entries &gt;&nbsp;</span>';
       } else { next_posts_link(' Older Entries >'); } ?>
</div>

Is there a way to do either, better?

 
 
 
 

Comments

Anonymous
2nd Mar 2006
I've edited your post as <amcode> doesn't work in comments (and I'm going to wait until at least beta before I bother implementing it).

Your link ones obvious so I won't bother explaining it.

Your logical error with this line if ( empty( $p ) && ( $paged > 1 ) ) { what this line says is "if p is empty and paged is greater than one", the inverse of which is "if p is not empty or paged is less than two". I just did it the easy way and used the original "if" statement and reversed the action to take ;)

The compressing of the code wasn't just to be smart, it was to remove redundancy.

$max_page=0; // you've just set max_page to zero
if (!$max_page) // and then you test for it being zero
$max_page = $MainList->get_max_paged();// and then you set $max_page again, which makes both of them redundant ;)

if (!$paged) $paged = 1;
$nextpage = intval($paged) + 1; // far neater to do all this at once, and improves readability

if ($nextpage == $max_page+1) { // you're making the poor alu do a pointless extra bit of maths ;)

¥
 

Anti-SPAM plugin (code name "Willow")

21st Feb 2006 stk
Thoughts[spamstats]

¥åßßå and I have been discussing b2evo's poor handling of comment/trackback/referrer SPAM. The 'slam-the-door-in-your-face' blacklist isn't ideal. Black-lists, white-lists ... it's all a gray area and SPAM is something that makes people see red :>.

What color is your anti-spam parachute?

The goal here would be to come up with a much better way of handling SPAM. We've tossed around some ideas and some of them are covered here. I think we should ADD to this, as we move forward, because the concept of improved SPAM handling is universally appealing and would rocket AM! to the forefront of a "must-visit" site, if we were to successfully come up with a plug-in/hack that provided hassle-free, superior anti-SPAM measures.

So ... what would make a system "superior"? We've identified the following list (to which we invite additions/subtractions/discussion):

A Superior Anti-SPAM System

  • It must be 'visitor-friendly'. (i.e., rules out bobo, moderation, disallowing links (<a> tag) and capcha methods ... as all of these either makes visitors jump thru hoops or restrains them, in some fashion.)
  • It must consider and weigh a variety of parameters, in an effort to determine if a comment/trackback or referrer is "spammy". (i.e., we're thinking of a predictive, stochastic percentage that indicates the probability of something being 'spammy'). A list of those criteria follow, later on.
  • It must be easy to administer and must not prohibit admins from posting whatever they want, however spammy it may appear.
  • It must be adaptable (i.e., as SPAM tactics and methodologies change, new parameters need to be added in an easy fashion.)
  • It must LEARN and grow stronger as more SPAM attempts are made and SHARE this learned information within a "trusted" network of like installations.
  • It shouldn't drain CPU resources, with regard to CPU time and table space, so as not to become too burdonsome for the blog engine.
  • Probability cutoffs should be user-set for the handling of SPAM (i.e., less than 45% probability ... gets posted, between 46%-80% ... gets set aside for moderation (and then LEARNS from admin decision, so that future %-range for moderation becomes more narrow); and >81% probability, dosn't get posted (and admin can review to see if system accidentally mis-categorized a non-SPAM post/comment/trackback).
  • It should INVITE SPAM ... (the more SPAM received, the stronger the defenses), and limit energy and bandwidth used by SPAM messages (for SPAM, just say "Thanks for your comment", rather than a 303 error), let SPAMMERS think they've succeeded. Bend, but do not BREAK. (Hence ... "Willow" as a code name.)
  • It should log and categorize SPAM attempts, both to confirm SPAM blockage and volume, but also for admins to analyze and tweak the system to make it better.

These are just some of the ideas that need to be built into the system.

SPAM Factors

Below are things that make a site/comment/post and/or trackback more likely to be SPAMMY and situations in which they AREN'T SPAMMY. For every thing that LOOKS like SPAM, there's generally a situation in which it ISN'T SPAM.

  1. Content: When the post or comment contain words and/or phrases like "penis, incest, 'nice site', cialis, viagra, etc." this makes it more likely to be SPAM. (However, a visitor or poster might just be writing about how he's tired of seeing "cialis" SPAM messages all the time).
  2. Same Email Address - Different Name: Lots of SPAMMERS re-hash a fake email address and this might indicate that a message is more likely to be "spammy". (Or ... stk might be leaving you two comments, but use "Scott" one time and "stk" another)
  3. Invalid Email Addy: Lots of Spammers use made-up email addresses. If we can easily test for this, then it would help identify a comment/trackback as 'spammy'. (However, not 100%, because maybe a visitor is afraid to leave his REAL address and leaves one like 'John-nospam@hisRealSite.com' or a made up one instead)
  4. Repeated Comment URL[color=red]/IP[/color]: If you're being hammered with SPAM, it's likely that a the same URL will be repeated in quick succession. Need to look at time intervals and if this is happening, there's a greater liklihood that comment/trackback is spammy. (Of course, you might also have an avid fan who likes to leave lots of comments, too, so it's not 100% and need to take into account X comments over Y time)
  5. URLs known to be spammy: This is where the blacklist will come in handy, BUT not a 100% sure it's spam kind of blockage. (What about mis-reported blacklisted sites? Or a URL that has been re-assigned to someone else? PLUS ... blacklist only contains KNOWN spam sites ... need something more proactive that can determine spamminess of some site it's never seen.)
  6. Words in URLs: Certainly, URLs that contain certain words provide some measure of the spamminess of the site. (But it's not 100% as some people just pick crappy URLs for their site)
  7. Changing IP Address: In a recent hack, by ¥åßßå, he's implemented an IP-dependent HASH for each of the field names in the comment_post.php and feedback.php files. IF a spammer loads the comment form with one IP, but tries to post with a proxied IP ... they will be unsuccessful, because the field names won't match. (very tricky guy, our ¥åßßå ;)) (But, it's possible that a dial-up connected poster loses his connection and returns to post with a different IP assigned)
  8. Using old file/folder names: If one changes the htsrv folder name to something else and/or the comment_post.php filename to something else, and a spammer comes along, tring to use /htsrv/comment_post.php ... then there's a really strong liklihood that it's SPAM. (Can't really think of a situation where it isn't)
  9. Wrong post ID: If there posting a comment/trackback for a different post ID than they searched for, browsed to, etc., then the comment/trackback is likely to be SPAM. (likewise, I can't think of a situation where it's not).
  10. Links in Content: When there are multiple links in a comment (<a> tag allowed), this increases the liklihood that the message is SPAM. (Of course, you might have a determined poster who's citing his argument with lots of juicy links, too).
  11. Offsite call of comment_post.php: If the referrer isn't your own site, but rather, some other location, then someone is trying to remotely comment and exploit the comment_post.php file. (However, lots of visitors don't send referrer information AND referrers CAN be spoofed ...)
  12. Admin post/comment may look SPAMMY as hell: Regardless of how spammy an admin post/comment is, b/c they OWN the blog ... they should not be hampered by an anti-spam system. Likewise, priority should be given to members, but when running a "get a free blog" system, there needs to be admin moderation for member posts above a certain %-spammy threshold.
  13. [color=red]White URL/IP Check:[/color] A comment/trackback is much less likely to be SPAM if the url/ip of the visitor has been accepted by the admin in previous comment/trackback. (Of course, the SPAMMER may have recently sent a flood, one or more of which got by the SPAM check, so the check would need to include an "older-than" clause ... like older than a week or something)

These "ideal system" characteristics and "is this SPAM or not" %-probability assignations represent WHERE WE ARE TODAY. If you can add more ... PLEASE DO. I will update/refine this list so that when we end up making this plugin-hack ... it will ROCK the SPAMMY world. :D

Page 2 updated 17th March

Tests

Ok, this is a list of test that are running, as more tests are coded up I'll add them here. Feel free to add to this list if you start any tests

IP/post ID key
Ok, this is a really simple test, when the comment form is called a hidden input is added that contains a key based on the ip & post id. When a comment is posted the key is checked for and has 4 potential results :
  1. No key - this pretty much means that we have a spammer who's using crap software
  2. Wrong IP - Although this has a high probability of being a spammer, it could just be a dialup user who lost their connection.
  3. Wrong ID - Again, this pretty much means we've got a spammer.
  4. Invalid key - This probably means we have a spammer who's trying to guess how the key works!
By storing all of the keys as they are issued (along with other data such as post id, ip etc) the original IP will also gain a "spam karma", this karma would be used as part of the final figure.
Reset button
This is another simple test, it just checks for param( 'reset' ) if it exists we've got a spammer
commented input box
A variation of the key, the input box is commented out in html, this checks if the value is sent, if it is it pretty muchs means spam software.
CSS
I haven't implemented this one yet, but basically I'm going to use css to "remove" the 'name' input box from the form (either with display:none or by positioning it a couple of million miles off the page, or z-indexing it below content) and replace it with another box (for the normal user), if $name is set then this is a spammer
Expanding the blacklist concept
Well, I've finally totally emptied my blacklist :O, what I have in place is an expansion of it's methodolgy. Instead of having a true/false blacklist I now have a list of all the ip's, url's and common spam comment content. When a comment is received (along with some of the checks above) it is checked against these lists. If it's found in any of the lists then it is marked as "spam" and put in a little table all of it's own. During the shakedown period I'm also "moderating" any comments that get through these checks (so far none have ..... but I've only had 3,000 spam to judge by) at the time of writing I have the following :-
1450 spammer IP's
30 spam base domains
112 common spam comments
When I get a chance I'll add a page to my blog so that you can see the relevant lists.
You can find the lists here List of wankers, please note, the "counts" aren't completely accurate as yet, they're often far lower than the reality.
More thoughts

I'm still working on all of this, and I still have a few little tricks up my sleeve to stop these wankers once and for all. Unfortunately most of this would be 100% easier in 1.8+ as it's far more geared to the sort of stuff that I'm currently implementing. An unfortunate side effect of running these tests is that I no longer report anything to the evo blacklist, however, it'd be very easy to implement reporting for new spam base urls automatically as they are added to my own lists.

At the moment I still create new entries on my lists manually, mainly because I've been concentrating on methods and testing, but the next stage is to automatically create new entries for any comment that fails ## number of tests. in this way the anti-spam measures will "learn" from the spammers themselves. As a measure of their effectiveness, the wanker who started spamming everybody with the bogus google links was stopped by the fact that he used "known" spam content and also used a few known IP's.

I'm also trying to work out a method whereby the lists could be shared amongst "trusted" blogs so that the net is cast wider, which would help trap new spam before it gets a chance to pound every blog it finds. Basically, if one blog traps a bit of spam that exceeds ## threshold then it would inform the other blogs, in the "trusted" list, of the details of the new spammer (ip's, url's, common content etc). Then, if the same spammer hits any of the other blogs they're already geared up to stop them.

There's, obviously, still a shedload of work to do, and, as I mentioned earlier, I have a few other tests that I want to run as well. The more ways a spammer can "trip up" the better. My eventual goal is to have no antispam blacklist and no moderated comments.

 
 
 
 

Comments

Anonymous
22nd Feb 2006
I've been using EdB's rechecker with Isaac's script that updates the blacklist and rechecks, called via a cron job. It has made my life a lot easier. I don't get nearly as much spam, and what makes it through doesn't last long. Even if I'm away from the web or just forget to despam for a week, new spam on the blog gets deleted automatically shortly after it's added to the central blacklist. I know it's still reactive, but it doesn't have to be me reacting. I also know that there's a slim chance someone could add a keyword to the blacklist that matches one of my commenters and wipe all of their comments out in one fell swoop. A db backup would be my only hope of fixing that. But the chance is so remote and the convenience is so great that it's worth the risk to me.

The problem might be that most folks don't know how to set up a cron job. We could create a plugin event that uses the /htsrv/call_plugin.php file to trigger an update and recheck. Then users could register with us to have our server go hit thier site and force an update. We could manage the cronjob for them. There could also be an option for them to do it themselves. The plugin would just spit out the url in the backoffice that they could copy and paste.
 
Anonymous
22nd Feb 2006
Had another thought, so added it. (Checking the IP/URL of the visitor to see if it's already been allowed by the Admin as a comment or trackback.) This would decrease the probability it's SPAM, BUT the check would need to include an "older than a week" clause, or some time factor, because you wouldn't want to include very recent comments/trackbacks.

In fact ... just the opposite. If the IP or URL is repeated a lot recently (like a flood) then each new one would INCREASE the probability it's SPAM, not the other way around.
 
Anonymous
23rd Feb 2006
Based on the stats I've managed to gather from WafflesOn so far, just adding a key check to the comment form would have stopped 100% of the spam :O However, as you know, I'm all for the multiple analysis methods that you've written about. No one method should decide if a comment is spam or not, rather it should be decided by a group of tests (that can be added to/modified).

Based on the latest changes in CVS it would appear that this will be possible with "mostly" a plugin in phoenix beta, they've added a bunch of new hooks and look like they've started inplementing the "comment karma" idea, which is sort of what this is. Once I've coded up a plugin that can do some tests I'm going to modify the antispam yes/no check to a "percentage chance" check. I'll then run the system for a while and see how much spam it would have stopped.

With a tad of planning you can also make the systems "learn" from the past, especially from any admin overide/confirmation action such as allowing a comment that's above the threshold or deketing a comment that was below the threshold. Again this is made more possible due to the changes they are (still) making.

The main problems that you have with any systems that fight spam are the fact that the moment you publish your methods the spammers can then work at defeating them, and the resources that fighting spam take up.

The ideal goal is to make a spammer have to jump through so many hoops that in the end they trip over whilst not making the innocent jump through a single hoop, or at least, as few as possible.

You don't actually need a whitelist, as the list is sort of a grey one anyway. For example, your IP whitelist would actually be part of an IP list that has a mark for every IP it knows. If an IP is used for the first time you would create a new entry with a default value (say 50%) which gets taken into account when deciding the spam factor. If the admin then allows/disallows a comment from that ip then it's value would be amended accordingly. Eventually a "whitelist IP" would end up having a "0% chance of spam" figure.

I also agree that you shouldn't give spammers a 403 error, all that does is tell them that they need to change their tactics, it's far better to just give them a plain old "cheers for that comment", pretty much uses the same bandwidth. Whilst this means they'll send you a few more comments, that just gives you more data to analyse so that you can refine your methods.

I'll add a page to the post so that we can share any stats that we collect.

¥
 
Anonymous
1st Mar 2006
Hey there all and everyone also. My 'bobo box' hack was pretty damned effective. First, it was entirely text based. If you could see and fill in the 'comment' field you could do the same with the bobo box. Next, it was auto-filled if you ate the commenter cookie. That meant you only had to type it once in your life unless you unchecked "save this crap". Finally, it took advantage of b2evo's "you missed something so click here and you'll go back with all you're useless text intact" feature.

This doesn't mean it's the be-all end-all of antispam! It is supposed to mean that it was very user-friendly and very effective.

Bleh.

I still can't upload properly using cheap (okay FREE) effteepee software.

(Note to self: aggregate AM!)

Oh and for the record I am still getting spam comments after implementing a trick in .htaccess that supposedly means only those refered from an my domain can get to the comments page. I think it helped, but it's also possible another trick helped as much. Anyway without an intelligent system in place spam will be forevermore.

So think different. Think about 7 or 8 or 12 completely different and totally simple antispam methods that don't need each other and can be part of one complete package. When method A fails the user says "fine I'll use method D instead" and on and on and on.

Bleh with a capital Bl and an emphasised eh.
 
Anonymous
2nd Mar 2006
I forgot about your bobo box, it's one of those "so bloody simple" methods that works :D

I actually had an error in my testing logic (yeah, yeah Scott, feel free to take the piss ;) ), the spammers do actually call the form for each of the IP's that they use.

Round about the same time, I also came up with a blinding idea of seeing if $submit was sent, which would mean that the button had actually been pressed....... that one failed as well, there was always a $submit

So I wandered off back to the drawing board ....... had a few beers ....... and a smoke .......anyway, when I got up the next day I felt much better and put some more thought into shit.

I'd already come to the conclusion that this spam is automated, yet it picked up they key and 'appeared' to press the submit button ..... which kind of left only one conclusion, they are using software that parses the form and collects ALL inputs on the form (ohhhh, I should test if "reset" is sent!!!!) ...... I'll let you know how that one goes soon ....... anyway, back to the point...... the software collects all of the inputs ( will let you know if it collects "reset" as well ), fills in the ones it knows and just sends the rest back with whatever value they have (hence I was getting my hidden key back and $submit) .....so ...... I wondered what would happen if I commented the key out in html .......BINGO :D, a browser (tested in IE & FF so far) rightfully ignores the input as it's commented text and DOESN'T return it as a form value BUT THE SPAMMING SOFTWARE DOES .... well, so far 100% of the spammmers that hit my site do.

Anyway, I'm gonna wander off and add the reset thing before I forget and then I'll come and comment on the rest ;)

..... ok, be interesting to see the results of that one ;)

FTP ... I'm assuming you're still trying with firezilla? I think it's a problem with the latest version (Danny and Scott can use it but you and I can't), the one I use is LeapFtp, it's another free one, I'll root down a link or upload the exe if you're interested? In the meantime you can use evos filemanager to upload stuff and leave a note and either Scott or myself can move it to the correct folder for you.

The beta version appears to be geared up for this multiple antispam plugin, it has hooks for both comments and normal posts that a plugin can react to, it'll be interesting to see all of the methods that people employ. The main goal is to have so many varied tests that it becomes a nightmare for the spammers to check for.

My next little sneaky test is to see if they call images and/or style sheets, I'm betting that they don't, in which case I'm going to add/remove boxes using css. Of course, they'll eventually twig what's happening, and start calling the css, but then they need to find a way of parsing it to find out what's there and what isn't, and that'll be fairly impossible to get right. ;)

Sheesh, I'm going to have to add more fields and tests to my anti-spam stats table.

¥
 
Anonymous
11th Mar 2006
I don't know how many of you guys are on the b2evo admin mailing list, but if you're not here's a bit of news summed up in my head. BigF wants to/is going to dump the antispam table thing in favor of a semi-logical analysis of referers to determine if it's spam or not. A series of questions with points awarded for each spammy type of behavior. Like being a .info site or being a blogspot blog or having certain keywords in the url - stuff like that. Anyway if the score is low enough you pass and if it's high enough you fail. Everything else is moderated, though I've no idea why one would moderate referer traffic since it doesn't go anywhere. Maybe comments, but damn then just moderate the freakin comments!

Erp.
 
Anonymous
12th Mar 2006
I'm assuming that lowly members such as myself aren't cool enough to be allowed on the admin list, but, from a few posts on the dev list and from working with the code, it looks like they're going to (finally) be implementing "spam karma" for posts and comments. They also have the neccessary hooks for antispam plugins.

I actually binned my antispam blacklist months ago (well, it has about 20 entries but that's about it). Funny enough it's because I run a few of my own checks (which determine likelyhood of spam) AND I moderate my comments :P If you read page two of this post it'll tell you some of the checks that I'm currently running / have run, I'll be adding some "results" to it soon. Plus a few more sneaky tricks I have up my sleeve to stop these wankers.

I'm still toying with the idea of replacing the "piss off you wanker" screen with a redirect to the FBI site instead (in fact, I'm still considering changing my htsrv url to http://www.ic3.gov/contact/ if I detect a spammer BEFORE they request the comment form ...... though I doubt the spammers will appreciate it, but who gives a fuck about a spammers feelings.

Anyway, I'll write up the results of my tests and do some sort of summary soon.

¥
 

AM! b2evo Hosting Plans

11th Feb 2006 stk

I was approached today about what prices were to host a b2evolution blog with AstonishMe! It got me to thinking that we should come up with some sort of "b2evo hosting plan pricing schedule" and link to a special post from ads (no blinking animated GIFS pleas) within AM!

My initial thoughts ...

  1. Bare-bones hosting plan ... hosting at $$/month ... thanks, yer on yer own (assuming HH has a cPanel for customers to manage their accounts, set up email, ftp, etc.
  2. b2evo plan ... hosting at $$/month ... which includes (list of features), a current version b2evo install, membership to AM!
  3. Then add-ons:
    • $100+ for customizations to an existing skin
    • $250+ for completely new, totally custom skin to customer's desires
    • $50 for transferring an MT blog (contact us for others

This particular individual (contact pending), runs on blogger and apparently, hasn't been too happy since Google bought Blogger a couple of years ago. Anyway, she complains that her site loads slowly and was looking for a new blogging software package ... got turned on to b2evo and AM!

Thoughts?

 
 
 
 

Comments

Anonymous
12th Feb 2006
I know we've discussed this, but here's a summary for the rest of you.

Until we can consider renting a dedicated linux box I think hosting should be put on the backburner. The main reasons for this are the lack of htaccess, clean urls and graphics abilities (in php, although I have a doozy of a .net one that will even resize an image to a desired filesize!).

Whilst we could happily offer this person some space on our current server, if they have their own domain name then they'd need to transfer it to teh new server if/when we get one ( if they just wanted a sub dom of astonish me then that wouldn't matter as I have control of the nameserver ).

I do think it's an area we should expand into, although we both know it'll never make a fortune the "added value" ability that it gives us will always look good.

¥
 

Good Boating: Where We're @

11th Feb 2006 stk

Well hells bells and taco shells. I believe we don't have to have a logo contest after all. :D I came up with one (out of necessity) and you know what? IT ROCKS. It's simple, conveys "astonished" in a very appropriate way and just looks cool.

The lastest rendition of the mock up of the www.goodboating.net front page can be seen HERE.

I've zipped up the files for you, Yabba, and put them in the goodboating subdomain on AM. Summat like here, I think ... (not 100%, but more like 85% ... it's late, damn near 2AM). :o

Have a look at a couple of things, if you can. I did a rounded corner deal on the H2 headers, but I kluged it together. I've got a faded image, wanted %text for accessibility ... and needed two corners in addition ... tried to do a <h2><div><span> thing to get all three images in, but had alignment issues on the <div>, for some reason. (Couldn't seem to get the BG image into the corner, was like there was a border or summat hiding it). Anyway ... that's one.

The other is the right sidebar title fades. I made a shorter version, which will "fade-to-black" in the sidebar ... called them, but it's still pulling up the OTHER ones, for some reason.

I had a HELL of a time getting our logo, CSS rollover in ... one of those ... :o ... why isn't it working things. (till i realized i fergot to close a curly brace immediately above ... ACK. :|

Urm ... I think it validates. (checking) ... strict, yes. Only warnings on the CSS, no errors, and most are bgcolors and simple stuff.

I haven't done anything with the input text boxes - have a play. I still need to add (dunno 100x100, or 150x150) thumb->zoom images on some "sample posts" for a mock-up of the body content. Have a play there if you'd like, but I've got a pretty firm idea of the kind of thing I'm shooting for, but just not certain how to "contain them", as *i think* DIVS are out, b/c they won't slide by the boat really well.

The flowing text around that boat totally rocks, Squirt! (Noggin ... fin)

I've seen Nemo, too many damn times and did I say? It's late. :|

Cheers ... ... I'm on with Rachel tomorrow (today), as she's really stressed with a 3-hour presentation on Monday, mid-term sometime next week and a term paper the following Monday. I'll probably be thin on the 'puter this weekend ...

stk out <-----------

 
 
 
 

Comments

Anonymous
11th Feb 2006
Lol, it looks like a stunned monkey :|

Ok, sorted out sidebar titles to use the proper images. Tarted up the sidebar rollovers a tad as well, will play with the input boxes to make them look better. I'll slot in some kind of collapsing link list.

I'll wait till you've installed the pz images before I bother playing, that's a tad more your area than mine ;)

@rounded corners, I think it's your logic that's a tad out. wrap th <h2> in the <div> , if I get chance I'll look at that as well.

If I get all that done I'll get rid of all the warning in the css as well, probably won't take long.

Tell R is not stress it's PMS :|

Hopefully we'll be launching FSB by monday as well (lol yeah yeah I know, been saying that longer than FG has been releasing beta :|) so that should free up some time and will start generating some $ for us :D

Damn, in the time it's taken me to write this RL has gone from 0 > 100 mph :O

¥
 
Anonymous
11th Feb 2006
Wow, that is one fine template. I like the logo, too. :O
 
Anonymous
12th Feb 2006
Thanks for the help, Yabbio. I've renamed the skin "midas" (for a double hidden meaning), but regardless of the joke, it's a bit more appropriate than "fishy". ;)

I've copied it all back on my server and you can keep up with any changes at randsco.com/midas

I think I killed the stunned monkey ... added a new favicon to the AM site.

 
Anonymous
18th Feb 2006
Yabs ...

I added a title to the page and set up for an area on top of the posts for a colored (summat), gross sorting mechanism.

I've commented out the test block, mostly b/c I don't think it's a good idea to showcase any non-linear videos (which will primarily be used for showcasing boats for sale and the site is meant to be "non-commercial"). Any videos can be showcased in a front-page summary entry ... tho i'm not certain how to resolve the aspect ratio/size issue.

After playing for much too long trying to "fix" the IE right column, I came to realize that it's the font size (and long text) of "OhioBoating.net" that was blowing it out. (When I reduced the font size to 80% for links in the sidebar ... which is ridiculously small ... I finally "found" the problem).

Anyway ... there's a bunch of garbage at the bottom of the CSS file that's there primarily in my attempt to FIX it.

I still need to style the entries and of course, we will need to focus on the sidebar. The blog links will go (tho we can use the VERY NICE rollovers elsewhere). The "description" will go too ... (or be severely reduced). Search stays. Admin stuff goes. And the horrid CATS (with too many kittens) will require some organization and (hopefully) a JS series of drop downs or expanding "departments" will help to tidy it up. Archives will be just a button ... leading to a summary.php page with titles by date. Kudos will disappear and b2evo will go into the footer as text. Oh and search needs to include all/some/phrase buttons.

Have a play with whatever you want to do ... just remember to make a backup.

Cheers.



 
Anonymous
18th Feb 2006
Mornin' Scott,

Lol, yeah, 99% of the garbage that's currently in the sidebar (and content) needs to go in the bin (trash can). The sidebar content needs to be as tailored as the main content. I'm going to be doing the last bit's of "tidy up" on FSB today so I can kick Ash's ass out into the cold to start generating some sales so I might not get a lot of time to play with this... we'll see.

Cool that it's finally starting to slot together though huh? ;)

¥
 

Download manager

7th Feb 2006 ¥åßßå

Ok, I've had a tad of a play under the hood of the download manager plugin and it now has two hooks.

If you want to log a download then use h[x]ttp://download/<file path/name>

If you just want to protect a file (such as images etc) from hotlinking then use h[x]ttp://protected/<file path/name>

All files just get uploaded to media/blogs/chat/protected/<path to file>

I changed the media dir to put it back in the webroot as the filemanager throws a fit if I put it above webroot (must remember to bring that one up on the dev list).

Coming soon :-
Two more "hooks" [am_dl_percent <file path/name>] and [am_dl_count <file path/name>] these will return numbers and can be used as straight text or part of an img url:-

This file has been downloaded [am_dl_count <file path/name>] times

<img src='h[x]ttp://skin/img/[am_dl_percent <file path/name>]percent.jpg' />

Ohh yeah, and I need to render h[x]ttp://skin/ as '' to allow for urls relative to SkinBase().

¥

 
 
 
 

Comments

Anonymous
7th Feb 2006
To bad that b2evo doesn't let us keep the content "off the web", b/c IMO ... that's the COOL part of the manager.
Alright ... I noticed that there are users|blog directories in /protected/media
I also added:

  • dl (file downloads)

  • img
    • blog
      • 0602 (yearMonth)




I don't generally use the upload thing, preferring FTP and like the images used in blogs to be organized (b/c we have lots of images on our site :p ... of course ... prolly "img" would work just fine for as many images as I've used so far. :|

 

Welcome to the Chatter Box

5th Feb 2006 ¥åßßå

Ok, the On Deck blog was starting to get a tad confused and untidy with the mixture of fluffy articles in progress and "chat" style posts between ourselves, so I decided that we should have a dedicated blog for those "I've been thinking" style posts.

¥

 
 
 
 

Comments

Anonymous
5th Feb 2006
good idea :D

LOL ... "admin waffle"? Sounds like an executive's breakfast. :D

"Brain Storming"?
 

Weather plug-in

19th Jan 2006 Danny
I've got a plugin started for adding weather information to the b2evolution sidebar. It might be of interest to sites that are focused on a single location. I maintain the website for a local newspaper and this is one of the features that b2evo needs before I can migrate the site from PostNuke to b2evolution. If you think this might be something to offer on AM, then let me know what it needs to have. Right now it displays current temp, icon, today's high, today's low and a link to the Weather.com 10-day forecast for the location. But Weather.com's xml feed provides all kinds of information, so the sky's the limit. Params in the skin can set all sorts of things, including the location ID and measurement units (standard or metric). You can take a look at it here.

geekI couldn't resist trying this out

PS. Is this the right place to propose stuff like this, or should I just send an email?
Todo:
  1. Finish the backoffice part so that a site that only wants one set of weather settings can just store them in the database. If other blogs on the site want different settings, they can be done in the skin. Maybe the backoffice page can take their settings via a form, and generate the code they need to paste into the skin.
  2. Edit: Done. This can all be done in the backoffice now.
  3. Set up some kind of caching.EDIT: Done. My plugin now caches to the database.
Edit: I've got things working fairly well now. I haven't progressed much as far as the front end presentation, but everything under the hood works fine. Now it's just a matter of making the data presentation more interesting and flexible. Get the file here: weatherplugin.zip.
 
 
 
 

Comments

Anonymous
19th Jan 2006
Danny ... yes, yes and more yes! (been on my to-do list)

Note to self ... redo the sideGeek toolbar (cause the skin folder has been renamed) EDIT: Done (and killed the PZ2 ALT-button to keep blabba happy) ;)

Danny - COOL! (I've been wanting a customized php weather thing for some time ... got several scripts, but just no time to do anything with it).

ULTIMATELY ... for [OUR] site, I want to customize the graphics and do something like HERE ... click the graphic and you can see they've built a bunch of branches to display custom graphics ... depending on weather. Cool! (My problem, besides lack of TIME ... is that I can only draw stick figures like a 5-year old ... Alex is rapidly gaining on me!! ACK!)

for the [PLUGIN] ... maybe we can think about using Some of these icons

and wrap them up into some nice looking graphic to include for the sidebar like this or summat like it.

(You can see I've given this some thought?)

-stk
 
Anonymous
19th Jan 2006
Danny,

I didn't see your link (was so excited by a weather plugin that i just started typing) Ack!

What you have done looks really good. For us (In Celcius Canada with Farenheit Readers) ... would be good to have something stored to the cookie so vistors could select F/C the way THEY want ... rather than the way WE want. (Dunno if cookie is best, but would be persistent). Something that allowed visitors to select what they want and then always get what they selected ... sounds like chocolate chip to me.

Looks like you have most of the coding part down, but I have a bunch of links saved ... for when I was to get started on it ... do you want those (maybe one will incorporate some idea that you hadn't thought of or a neat feature?) Lemme know.

I still like the idea of a graphic behind it to give it some "style" ... for a couple reasons ..

1) can be made "blandish" to fit into a lot of sites.

2) *might* even be made to be customizable in the CSS (or user-made background image?) if done right (just a thought, haven't explored)

3) might lead to some $$ if some business site wanted to customize the graphic for their needs.

4) Could also be a way to advertise AM! ? (if have made by am or summat and a imageMap) ... dunno, might be "tacky" ... still (as Yabba says, "links are links")

Note to self: Still thinking about a "enhanced by AM!" logo for next or on top of a b2evo logo (like a shortcut arrow).

I also like the idea of displaying MORE information on hover (using a CSS pop-up technique ... like the geek dude) AND then linking (like you did) the extended forecast page as an external link to the whole image.

(MIGHT need to find other feeds for better International coverage?? Dunno ... Does the place your using have intl airport code capability?)

Email is good ... never collaborated before using a blog (would think forum better, but we can try this, see how it works ... NOTE TO YABBA ... "super blog" ... nudge, nudge).

ARe you up to speed on Yabbas new AM backoffice plug-ins updater and management tools? (He's really a ace programmer and I think that AM! is really gonna rock because of it!)

ALSO ... Try our new search!

search for "code plugin" ... see the highlights?

now try "http" ...
[mind the double statement ... we're working on that] then but then try it on your own site lol ... get returns?

b2evo has always returned false positives (they find stuff INSIDE html tags) yuck. Never noticed till we highlighted. AND we FIXED IT without hacking the code!! Do we rock or what?

-stk
 
Anonymous
20th Jan 2006
Great, I'm glad I won't be the only one interested in this. And that gives me some direction, too. The graphic that all hook together on that news site are very nice. I've never seen anything quite like that. I've seen the page with all the different icon sets. It souldn't be too hard to swap in icon sets. Weather.com just has their icons numbered (1.png, 2.png, etc) and the xml returns an icon number. So, any icon sets that match that numbering scheme can be dropped in and should work fine. I like the other one, too. Is that a Wordpress plugin or just a standalone script? I'll download it and take a look. I like the idea of caching in the database. Then the user doesn't have to mess with chmodding a cache dir.

We could set a cookie for the unit of measure people want. Unless someone wants oatmeal cookies. I can't abide that. If you've got more links, send them my way. I'll look into the css hover tricks, that's a good idea. I think weather.com has pretty good international support. If there's something better, then I'll switch, but I haven't looked into it much. The only other service like this I ran across was something from the US government. That probably wouldn't have good international support. It's hard to get the people in Washington to even admit that there are other countries. But weather.com has their own codes for cities. I'll have to build something into the backoffice that lets the user search by name, then saves the valid city id for them.

I read the post about the updating system. Sounds very handy. The General might try to talk you into donating that code to the central plugin and skin repositories.

Search highlighting looks great. Format is customizable in css, very nice. I guess the user just drops the code at the bottom of their main css file when they install? It would be nice if there were an easy way to put css code in a plugin and have it available to all b2evo skins (for the people who don't want to customize it and don't want to have to edit every skin). I guess you could use a skin tag and put it in the , but that still requires editing the _main.php file.

Anyway, you've given me some good direction on the weather plugin. I'll work on that some more.
 
Anonymous
20th Jan 2006
Danny,

Oh ... for the mother of all customized weather script, you should check out This Blog. He's taken the Channel 6 thing and greatly expanded on it, making it his site header and overlapping images. It is a piece of art. (Some people have too much talent. And to think he stopped blogging ... blah!) Make sure to check out "the panorama info" tab in the lower right of the header AND use FireFox ... can PAN the panorama". ;)

(Note to self: allow in comments for this site ... at least for members at the min, pref the world, who knows what good link we'll get ... tho I hear yabba saying ... or what spammy link).

Another thought ... with icons, might be to have a plugin setting that chooses several backgrounds (colors and/or styles) and maybe 2 or 3 icon sets. Or ... at the minimum ... 2 background/icon combinations. (i.e., one that works on sites with dark backgrounds and one that works with sites having white or light-colored backgrounds).

The gif can be renamed to match whatever scheme is required, no problem there.

I haven't really looked into the various services that offer weather, but since I looked into to it "a tad", I've come to realize that most major international airports collect and make their data available. So finding a feed *might* not be that difficult. (I believe that the location you're using throws out a pop-up ad when you click for an extended forecast). It would be prefereable to find a place that didn't do that, but I don't know how difficult that would be. Something to look into ... if not for that, then as a secondary place to get a weather feed IF the first site | or feed is interrupted or down.

Some of the following links you might find useful: (I've listed them all here ... just to have them all in one place):

EXAMPLE Sites:
Dunstan's Site
Channel 6 News Lawrence, KS
Mike Davidson Improving the Weather

WEATHER ICONS:
Weather Icons Update
Weather Icons Sets

MISC SCRIPT LEADS:
53x11.com Web Dev PHP Weather.com XML Parser, 1.4
cruelacid productions php realtime weather
Mattsscripts.co.uk - the ultimate free script archive
Ravis 2004 PHP Weather Script
Woody's PHP Scripts
Collin Grady » PHP Weather
Displaying weather on your Web site with PHP
Jeremiah's PHP Weather Hack
PHP Weather - SourceForge Download < -- I didn't get it to work, but look below ... works (or did for me)
PHP Weather
Hmmm ... look here ->National Weather Service ... Internet Weather Source (Ad-free AND International data ;) )
PHP Weather ... INFO ... might find this helpful ..

There you go. Those were all the leads I linked. I haven't gone through them in a while, but some are more promising than others. Have a look. Hopefully you'll get some ideas or script snippets or something useful.

Cheers! -stk


 
Anonymous
20th Jan 2006
Hi Danny,
Lol, now that I know where your dev blog is I can spam yah :p

Nice work with the plugin (lol, knew you'd make Scott happy with that one), the geeky geezer's cool isn't he ;) It looks like you two have pretty much covered all of options.

EDIT: Done (and killed the PZ2 ALT-button to keep blabba happy) ;)

Lol, cheers ;)

"super blog" - lol, sheesh *salutes* yes SIR :|
That'll take quite a tad of work and I was waiting until you had a bunch of fluffy shit to do so I'd get peace and quiet to code :|

The General might try to talk you into donating that code to the central plugin and skin repositories.

Lol, funnily enough, I've actually put some thought into a "global list" plugin (basically grabs and caches lists from registered developers) which I'm sure he'd find far more useful ;)

Scott, we can add whatever html tags we want to comments (without hacking _formatting.php cos we is cool ;) ), give me a list of the ones you want and I'll sort it out (I'll add <a> now) ;)

I was also thinking of making some of the renderers work with comments (bbcode, code, smilies etc), the code plugin would be a tad of a bitch to amend ( it has to grab content before b2evo and our form fields have random names ), but it should all be achievable.

Have fun
¥
 
Anonymous
20th Jan 2006
Ok, I read through all of those links, and here's what I found about choosing a service. There are three options, as far as I can tell.
  1. Weather.com - It's pretty simple to put together a request url and then parse the xml response. But they do have annoying ads. I opened IE, turned off the pop-up blocker and browsed around their site. I was annoyed, but at least I know where to find a date should I ever need one. I don't really want to support a site that uses pop-up ads. They're just using the information from the government, so with them, I'm paying for it twice. Once in tax dollars and once in ads. The only way I would use them is if I removed all links to their site. And that violates their terms for the service, so why bother?

  2. NOAA's METAR conditions - Returns something like this, which you then have to parse. Kind of clunky. And it's only current conditions.

  3. NOAA's xml feeds - No ads, forecasts and all kinds of information. Uses SOAP, which I know nothing about. Looks more complicated in general.

Most of the scripts I've seen so far use either 1 or 2 above. I don't really like either of them. What's I've seen of 3 looks pretty difficult to use. I'm going to read the documentation for it and see if it scares me off.

We can't really deal with graphics until the service stuff is all set up, but I like your ideas. They're ambitious.
 
Anonymous
20th Jan 2006
From what I've read about SOAP so far, it looks way to complicated to use for this, it requires a code library like NuSOAP to be included, which means it's harder to make it as portable as a plugin needs to be. NOAA has another xml service that just returns a simple xml file of current conditions, but it's US only, and not even very many cites in the US. Weather.com is looking better all the time. I'm at a loss here. What do you two think?
 
Anonymous
21st Jan 2006
Test.php

;)

¥
 
Anonymous
21st Jan 2006
Looks nice. Can I take a look at the source code?
 
Anonymous
21st Jan 2006
Hi Danny,
Sorry, had a tad of a busy day so this is the first chance I've had to reply.

At the moment the code just page scrapes weather.msn.com to extract the whole table ( your weather is from http://weather.msn.com/local.aspx?wealocations=wc:USMO0001 ).

It really is just a simple fopen() + grab relevant segment of page. When I next get chance I'll try and improve it so that it just grabs the relevant data instead, which you can then manipulate as desired.

The current code can be found here (that reminds me, I really need to set you up an ftp account, if you email me your choice of user/pwd I'll get it done).

¥
 
Anonymous
27th Jan 2006
You still have the page that demo's the latest version?
 
Anonymous
27th Jan 2006
Yes, it's still running on my dev blog. But most of the changes I've made have been in the backoffice. You can grab the file and install it if you want to take a look. Link is up in the original post. It's one plugin file, plus a bunch of icons. Just drop the file and the weather folder into the plugins dir and install. Uncomment the section called "What the cache dragged in" to see a print_r of the weather data array. That will give you an idea about the kinds of data that can still be added.
 
Anonymous
27th Jan 2006
Sheesh, give a guy ftp access and he still makes yah do the work of uploading :|

I'm afraid the weather plugin doesn't work properly on this version (1.7 cvs, which is a tad behind 1.7 beta) because it doesn't trigger the install/uninstall events required. However, based on your dev blog it's looking good and I can't wait to see the admin area in action :D

If you want it to work with the update manager then you need to add this line to your vars section :-

/* internal */
var $am_plugin_details = array( 'name' =>'am_weather', 'version' => '.5' );

and then add this function anywhere before the end of the class :-

function am_update( & $params ){ $params = $this->am_plugin_details; }

Also, do you want to release this via AM or via your own site with a copy on AM ?

If you want to release it via AM do you mind if I rename it (and change help link inside to point to "release post" once written) to bring it in line with our other plugins? Full credit will obviously be given in "release post" and in the code.

Typically our plugins have something like this in them :-

* @package plugins
*
* {@internal Below is a list of authors who have contributed to design/coding of this file: }}
* @author Yabba - {@link http://www.astonishme.co.uk/}
* @author Stk - {@link http://www.astonishme.co.uk/}
*
* @version $Id: _am_code.plugin.php,v 1.00 Exp $
*/
if( !defined('EVO_CONFIG_LOADED') ) die( 'Please, do not access this page directly.' );

/**
* Code Plugin
*
* @package plugins
*/

class am_code_plugin extends Plugin
{
var $name = 'AM Code';
var $code = 'am_code';
var $priority = 100;
var $version = 'CVS $Revision: 1.00 $';
var $author = 'Astonish Me';
var $help_url = 'http://www.astonishme.co.uk/';

the @author & @link would obviously be you and your blog, and the posting on AM would reflect that you are the coder (you can even write the fluff if you want ;) )

Anyway, just let me know, and we'll make it as you want it.

¥
 
Anonymous
27th Jan 2006
I would have installed it, but I'm having trouble logging in with my ftp client on my Mac (CyberDuck is the client). I can log in from the command line, but not the gui. It errors out when trying to list the dir. Also, I wasn't sure if you wanted me installing stuff. Next time I will. No Install and Uninstall events, eh? What, are you guys in the stone age? I hope they don't pull those events before release. They're so nice. I emailed some login info so you can try it out on my site. I'm open to changing the name and distributing it through AM. We can fix it up with all that code before release. I've already got some of the documentation written. You'll see it when you log in.
 
Anonymous
28th Jan 2006
Lol, hey we like the stone age :|

I shouldn't imagine they'll get rid of the install/uninstall events, as you say they're far to usefull.

The admin area looks great, I'm sure people are going to love this one ;)

¥
 
 

Recent Comments

     
     

    Archives