
effin_casinos = true;false just before callingbb2html(); if you need to do a "mock" preview, or in any situation where the user has already authorised themselves, i.e. a blog or bulletin board. in this case, cbparser will leave the links unaltered.1false by default; simply passeffin_casinos = true; just before calling thebb2html() function whenever you need casino-spammer protection. my comments engine (which Istill haven't gotten around to releasing) does it like this..if (isset($_POST['comment_preview'])) { $effin_casinos = false;// only for the preview} else { $effin_casinos = true;// when they post.. hahah!} $comment = bb2html($_POST['comment'],$name);
false (same as an empty string(''). you can check for this in your calling script and produce a message telling the user to check their bbcode, or whatever, pretty neat. this..gives you an idea. the balance checking routine should cover most situations, but is probably not foolproof. I'll chuck this version in the beta section for a spell anyway, just to be sure.$comment = bb2html($_POST['comment'],$name); if ($comment != '') { do something funky here; } else {// the user's form will still contain their post$unbalanced_tags = true;// I'll use this later$comment = "tags don't balance!";// put in preview area}
$spammer_preview = true;and you'll get back a "mock" preview, which looks, to the spammer, like all the links will work just fine. but when they actually post.. hahahah!

v2.3.9.3
you can now edit the about page from within corzblog. multiple "entries" come up in a drop-down menu, just like the regular blog.
fixed a few formatting foibles on some of the error pages (well, I never see 'em!)
v2.3.9.2
improved error reporting on the edit page.
fixed a bug where if you installed corzblog in a ~user (virtual) folder, although everything worked fine, archiving worked fine; strangely, no archives appeared in the menu. they do now.
made some of the preferences clearer, and more flexible for folks with unusual server setups.v0.8rc5
add "switch" capability. if a user is inside a download menu, they can switch to the source menu by simply clicking the section title. they can switch back and forth like this. saves having to go *back* to the main menu, then *jump* to the other (source/download) section, then *enter* the sub-section. cool.
this functionality only activates if the target folder exists. otherwise the section title is normal text, not a link.[url="http://www.casino.com"]my hoopy casino site[/url]spam away!

$effin_casinos = true;v0.7.5b4 Nov 2004
added a preference for "embedding", for folks that want to run corzoogle from inside another page. corzoogle will return the results in the same space.
added some notes about the $search_between preference, and how it relates to $search_in_tags.
added multiple corzblog searching. previously we were limited to a single blog installation. you no longer need to specify this, corzoogle will return correct results for any number of blog installations automatically. I spotted this limitation after I started my devblog. if you use a name other than "arc" for your corzblog archives, this functionality will break, though you could edit in whatever name you do use. (why would anyone want to change that?)
v0.7.5b3 Nov 2004
fixed a bug I introduced in 0.7.5b1, where certain queries, matching words right at the end of the text could preduce unexpected results, usually putting the entire page into the preview.
fixed a minor bug where certain documents could potentially be scored twice for their filename.
added facility to set initial scoring weight in a multiple-query term.
added switch to force corzoogle to only search documents containing your chosen $search_between tags, particularly for folks that use custom $search_between tags.
v0.7.5b2 Nov 2004
added "notify" facility for searches. you can be emailed every time someone searches your site! you might want to put a filter on that!
this facility is disabled by default, and completely untested; please report back any interesting findings.
$search_between tags can now be case-insensitive, if you need that.
v0.8rc4
the distro machine now prevents users from attempting "multi-part" downloads. why some folks would want to download a 50k zip file in five parts is beyond me, anyway, the first part will work fine, any subsequent attempts will get a wee message instead. in this event, the user also has an opportunity to reset their download session maunually (just in case) by pressing a button.
v0.7.5b1 Nov 2004
small performance improvements when searching for queries with -not words
"search between" tags can be case-sensitive (default) or case-insensitive, the latter is marginally slower, but potentially useful.
v0.8rc3
added "show all files" option. this bypasses your extensions prefs and shows *everything*. i needed this for something.
added an admin logout button for menu pages. as it stood, you could be logged onto a secure machine as admin, and so automatically cleared for access to the secure area, there was no indicator that this was because you were logged in as an admin, which could potentially lead to confusion ;o)
added direct link to the admin/stats page from the secure area login page. this saves you having to login twice, and prevents a double logout too! the link operates like, and is controlled by the same settings as, the "stats link".v0.7.4 Oct-Nov 2004
added (ugly) highlights to "exact" word matches. they are disabled by default (they were sort of in there already, some one wanted them working) This looks like someone drew a marker pen through all the exact hits *ewww*
added a switch for searching inside html tags. I'll set this to false, which produces neater reults. if you are using coroogle to "grep" your site for editing, or searching web-development technical documentation, or such-like, you'll likely want to set this to true.
preview snippets can now be presented with the query terms in context, in other words, the query term appears some way into the text, and not right at the start of the snippet. aids comprehension. of course, how far in the term appears, is configurable in the prefs.
corzoogle now attempts to create the "recent hits" file if it's not there, which it did originally (dunno how that got switched off). There's still a message if this wasn't possible (likely).
fixed a wee bug where html tags were being passed to the "past-hits" and users could create interesting html structures at the foot of results pages.
added a few "googies" to the distribution; customised Apache manual index page with built-in corzoogle search, is one.
v0.7.3.6 13th July 2004
added<and> to the removed characters. You won't get unexpected html structures in the results now. Searching for "<select name", for instance, would create a nice select option. Amazingly, corzoogle still returned all the results just fine!v0.8rc1(release candidate one)
Improved the overall logic of the html structures, they were confusing even to me. the embedded output, as ever, is a self-contained table which will take up 90% (you can change this) of whatever width you give it. the powerbar's squishing is now greatly improved, and it will appear even if nothing is available.
some css improvements, removed background white in the jump bar (oops), underlining in the links, etc. for both in-built & external green.css
improved some error/user-error handling. attempting to embed from a distro machine running in secure mode produces an embedded user message, for instance.
the name of the subsection you are in is now displayed if you get a "nothing available" page. also works when embedded.
added various options for embedded custom text, menus and titles. you can even embed top-level menus; the machine will deliver the sub-sections in a pop-up window. you can set a few options from the embedding URL now, see the install page for more information.
added prefs for a few things, machine widths among them.
made it easy for you to syndicate your downloads to other sites, they can embed your machines on their pages!
some internal restructuring; with all the new features, things were starting to get a bit inneficient. the table generation is becoming modularised, which should hopefully make things simpler for me, and folks who want to hack the php, editing one place instead of three or four.
v0.7b10
fixed a bug where the downloading link on the source page gave an incorrect URL
greatly expanded the machine's list of mime-types. whatever you need to share is probably covered now.
added "multimedia" downloading switch. useful if you use the distro machine to distribute images/media files/etc, the user gets the file in their browser as opposed to their download manager, in theory.
squished a bug I introduced in the last beta - php error when no custom text file was present.
finally moved the source highlighting colours out of the .htaccess and into the script itself. Apache throws up errors of level warning at the .htaccess versions and advises that we use quotes around the values, even though we already effin did! it was starting to annoy me, not least all that pointless server-side error logging. clearly this makes them easier to change, too. I think I wanted folks to "discover" them, which is just plain silly.
cleaned up the counter code, removed some duplication, that sort of thing. improved the safety of the scores file, again. there was a (very very slim) possibility that one machine process could attempt to read the scores at the exact moment a parallel machine process had the file locked for reading. no more.
custom text can now be displayed in the "nothing available" page. not on "clean" embedded pages, though.
fixed bug where stats link was appearing on embedded pages (see, you should hide that baby!)
v0.7b9
Fixed a minor bug where "special links" for source files weren't being correctly parsed, instead the generic link was showing.
v0.7b8
Cleaned up the formatting of the embedded menu when nothing was available, it shouldn't mess with your page too much now.
Fixed a browser-dependant issue where editing scores directly wouldn't work, the javascript was inserting a literal "&" instead of the encoded & I just removed it. so much for standards.| delete | moves current file to trash (no warnings, cuz it"s in yer trash) |
| backspace | same as above, but for mac users. (on other platforms, backspace takes you LEFT) |
| home | takes you to the first file in the current folder |
| end | takes you to the last file in the current folder (any Mac keyboards have this?) |
| u | update the folder. useful if you have added items to a folder and want the±wire to index it again. If you were at file no. 3, you will remain at file no. 3, regardless of whether or not file no.3 is still the same file after the update. note: this happens automatically on new files dropped/received |
| L | toggles the "lock size" control, which prevents the window size from altering. |
| left arrow/keypad-4 | previous file |
| right arrow/keypad-6 | next file |
| down arrow/keypad-2 | takes you into a folder (or RIGHT, if it"s not a folder) |
| up arrow/keypad-8 | takes you up to the parent folder |
| PageUP | back 10 files |
| PageDOWN | forward 10 files |
| spacebar | wire it! |
| o | open/launch file |
| apple/ctrl - d | drag-n-send™ toggle the drag-n-send™ functionality, which automatically wires every file you drop. |
