|
|
Notice: Undefined index: show in /var/www-pwn/index.php on line 46
Notice: Undefined variable: site_info in /var/www-pwn/includes.php on line 358
Notice: Undefined variable: flag_quote in /var/www-pwn/includes.php on line 384
Notice: Undefined variable: flag_hide in /var/www-pwn/includes.php on line 389
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
| |
ANNOUNCE: PHPwnage 1.9.0! |
Mar 15, 2009 - klange #21 |
|
| |
I'd like to announce the release of the PHPwnage 1.9 development series! This release is part of a series of releases that will come in the next month, each bringing a new key feature from 2.0. Here we're introducing the WYSIWYG editor, powered by TinyMCE and the new directory layout for themes.

The new editor works with a number of bbCode tags to make your editing experience better - and if you don't like it, you can turn it off in your profile, or temporarily with the MCE button.

We've spent some time on the installer in 1.9 to make setting up a PHPwnage install easier. Along with some fixed bugs, you now have the option to enter a reCAPTCHA key at install time, keeping your forum secure from day one.

As with before, you can keep track of updates from the admin panel, so be sure to watch for 1.9.5, coming soon!

Packages for 1.9 are available from OGU in a number of formats.
Discuss this news post here. (No comments) |
|
|
|
|
|
Notice: Undefined variable: site_info in /var/www-pwn/includes.php on line 358
Notice: Undefined variable: flag_quote in /var/www-pwn/includes.php on line 384
Notice: Undefined variable: flag_hide in /var/www-pwn/includes.php on line 389
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
|
|
Notice: Undefined variable: site_info in /var/www-pwn/includes.php on line 358
Notice: Undefined variable: flag_quote in /var/www-pwn/includes.php on line 384
Notice: Undefined variable: flag_hide in /var/www-pwn/includes.php on line 389
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
| |
Template Work Coming Along |
Mar 12, 2009 - klange #19 |
|
| |
Things are going quite nicely with the new template system. So far, the index and ajoined bits have been converted to templates:
 The task now is to move the suport code into includes.php and the various other files (header.php, sidebar.php, etc.) so that it can just be loaded from the main script with a require_once.
More on the template specs: - Templates are included by a single file, ie, if I'm on the index, I'm only asking for index.tpl - so index.tpl has to display everything else that it needs. This means PHPwnage itself is only dealing with top-level templates, and it allows each different page to look completely different, if you wanted to do that. - Templates can include their own quick Smarty functions by creating a plugin for each and placing it in a 'functions' directory which will be included in the plugin path when Smarty is loaded. This allows you to define simple, repeated output functions by combining the function and more templates. One good use for it in the classic template would have been blocks and panels, but I'm just going to do it for buttons (because the panels may change considerably as I expand the classic theme to be less classic but still work with the original styles) - If you haven't looked at 0.9 yet, then you don't know that the old "themes" are now referred to as "Styles", though their CSS file must now be named "theme.php". This is because I feel a theme should be a complete package: icons, template, style. Styles are applied to templates and templates include icons. - If you ever need a quick bit of PHP, but don't want a full function, Smarty lets you do that, so you'll have no trouble with complex bits of code. - The translation database is available from the $translate variable: $translate.forum.blah_blah_blah. - Icons are in $icontheme.whatever.
Discuss this news post here. (No comments) |
|
|
|
|
|
Notice: Undefined variable: site_info in /var/www-pwn/includes.php on line 358
Notice: Undefined variable: flag_quote in /var/www-pwn/includes.php on line 384
Notice: Undefined variable: flag_hide in /var/www-pwn/includes.php on line 389
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
| |
Includes.php |
Mar 12, 2009 - klange #18 |
|
| |
Here's a list of functions in includes.php as of 1.9:
Code: function mse($source) function isReadable($userLevel, $board) function isWriteableTopic($userLevel, $board) function isWriteable($userLevel, $board) function getBoardName($bid) function getPostsInBoard($bid) function setTheme() function drawButton($dowhat, $title, $button = "") function printPager($url,$page,$total) function printPagerNonTabular($url,$page,$total) function drawPage($link,$text) function drawPageB($link,$text) function getRankName($level,$site_info,$posts) function bbJava($stuff) function bbCSharp($stuff) function genericCode($stuff) function makeURL($link, $title) function makeIMG($link) function pCount($topic) function quote($c) function BBDecode($content,$allowhtml = false) function sim_rep($search, $replace, $subject) function sim_rep2($search, $replace, $subject) function postCount($userID) function makeEditor($name,$path,$preview,$advanced,$target) function addCode$path(code,codeclose) function addSize$what(sizeToAdd) function printPoster($where) function printPosterMini($where, $topID) function printPosterEditor($where, $pid) function getDay($timecode) function themeList($selected) function iconsList($selected) function langList($selected) function colorList($selected) function drawBlock($functitle, $funcright, $funccont) function makeBlock($functitle, $funcright, $funccont) function makeBlockSA($functitle, $funcright, $funccont) function makeBlockTrue($functitle, $funccont) function drawMessage($title, $message, $headers = true) function messageRedirect($title, $message, $redirect, $headers = true) function messageBack($title, $message, $headers = true) function messageRedirectLight($message,$redirect) function messageBackLight($title, $message) function check_read($id,$userid) function findTopic($postnumber) function findPage($postnumber, $topic = -1) function check_read_forum($id,$userid) function set_read($id,$userid) function set_unread($id) function check_voted($id,$userid) function set_voted($id,$userid) function drawSubbar($left, $right) function standardHeaders($title, $draw_header, $additionalHead = "") A number of these are being deprecated. For example, is_writeable() is unnecessary as we already collect a $board every where we would normally need to do this - it's just redundant extra SQL calls. ($user['level'] >= $board['top_level']) achieves the same thing ($user.level >= $board.top_level in a theme). Some of these will be removed completely or at least moved elsewhere, and pretty much all will be renamed. postCount() is another good one: We'll be caching this value in the `user` table and updating it with the board fixing options and when adding topics. In terms of bbCode, I'm hoping to expand the highlighted code tags to Python and PHP. Posts will also keep track of a user name for guest posting in a separate varchar(50).
Hopefully I'll have some templates finished this afternoon (head, header, subbar, sidebar...).
Discuss this news post here. (No comments) |
|
|
|
|
|
Notice: Undefined variable: site_info in /var/www-pwn/includes.php on line 358
Notice: Undefined variable: flag_quote in /var/www-pwn/includes.php on line 384
Notice: Undefined variable: flag_hide in /var/www-pwn/includes.php on line 389
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
| |
Site Updated |
Mar 11, 2009 - klange #17 |
|
| |
PHPwnage.com is now running the new development series, 1.9. This means you can enjoy the WYSIWYG editor, powered by TinyMCE. We're also now keeping track of the join dates of new users - all users who joined before today will have today as their join date (including myself!). If you happen to know precisely when you joined, you can let me know and I can convert it to a timecode and change it in your account.
This release will be officially made available this weekend, though earlier than I had originally planned. All that's left for it is to create some release materials. For the risk-takers, packages are available from the usual source.
Discuss this news post here. (No comments) |
|
|
|
|
|
Notice: Undefined variable: site_info in /var/www-pwn/includes.php on line 358
Notice: Undefined variable: flag_quote in /var/www-pwn/includes.php on line 384
Notice: Undefined variable: flag_hide in /var/www-pwn/includes.php on line 389
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
| |
ANNOUNCE: PHPwnage 1.8.3 |
Mar 11, 2009 - klange #16 |
|
| |
As 1.8.3 is only a bug fix release, this will not be a formal release announcement. I'd just like to announce the release of 1.8.3, which is 1.8.2 but with some minor bug fixes. If you are currently using an older version from before 1.8.2, the same upgrade rules apply.
Bugs fixed: - Aeolus theme inconsistencies with admin/moderator post bits - Fixed missing $_PREFIX in image gallery that blocked uploads on sites using MySQL table prefixes - Small issues with Greeble theme have been fixed.
Archives for this release are available from OGU. Archives will be mirrored on Launchpad this weekend, with the release of the intermediate 1.9 development release.
Discuss this news post here. (No comments) |
|
|
|
|
|
Notice: Undefined variable: site_info in /var/www-pwn/includes.php on line 358
Notice: Undefined variable: flag_quote in /var/www-pwn/includes.php on line 384
Notice: Undefined variable: flag_hide in /var/www-pwn/includes.php on line 389
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
|
|
Notice: Undefined variable: site_info in /var/www-pwn/includes.php on line 358
Notice: Undefined variable: flag_quote in /var/www-pwn/includes.php on line 384
Notice: Undefined variable: flag_hide in /var/www-pwn/includes.php on line 389
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
| |
ANNOUNCE: Wiki.PHPwnage.com |
Mar 9, 2009 - klange #14 |
|
| |
I'm happy to announce to the opening of the new PHPwnage wiki! The wiki will be the main source of documentation from now on. It's far from complete, and I need your help to get it up to scratch. Hopefully, everything should be ready to go before the big 2-point-0 release. For now, I'd like to get some installation and configuration instructions up for 1.9 - which I'll be releasing shortly (along with 1.8.3, a minor bug fix and the last of the 1.8 series).
Please, register on the Wiki and start editing.
In other news, yes, 1.9 is coming soon! I've just finished some of the last fixes on the WYSIWYG editor, which will be the only real new feature in 1.9. You can check it out on O-G, as I've said before. After I get this ported from O-G's code base to the 1.9 code base and get the translation database updated, it should be ready for a beta. Then I'll need to strip out all of the unused parts from TinyMCE (themes, plugins, etc.) - then it should be ready to ship!
1.8.3 will also come (this weekend!) which has a few minor updates to 1.8 - bug fixes that just didn't make it into 1.8.2. Primarily, the bug fixes relate to minor theme issues.
The release schedule for PHPwnage - from 1.8.3 to 2.1 - will be posted later tonight.
Discuss this news post here. (No comments) |
|
|
|
|
|
Notice: Undefined variable: site_info in /var/www-pwn/includes.php on line 358
Notice: Undefined variable: flag_quote in /var/www-pwn/includes.php on line 384
Notice: Undefined variable: flag_hide in /var/www-pwn/includes.php on line 389
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
| |
Change Of Plans |
Mar 9, 2009 - klange #13 |
|
| |
Some new developments in PHPwnage 1.9: - 1.9 will not be released with templates or plugins - 1.9 will be released a lot earlier - 1.9 will be a bridge from 1.8 to 2.0 - 2.0 will have templates and plugins - 2.0 will ship with new icons, new themes and the rep plugin - 1.9 will ship with the WYSIWYG editor Also: - 1.8.3 (the final bug fix in the 1.8 series) will be out soon (also expect a release schedule up to 2.1 this afternoon, just need to type it up) - Wiki.PHPwnage.com will be coming soon - running MediaWiki. It will have development notes, plugins, templates, styles, icon sets, and be a resource for support.
And, in other news: TinyMCE is now working on O-G with quick reply and quick edit, as well as articles. Enjoy!
Discuss this news post here. (No comments) |
|
|
|
|
|
Notice: Undefined variable: site_info in /var/www-pwn/includes.php on line 358
Notice: Undefined variable: flag_quote in /var/www-pwn/includes.php on line 384
Notice: Undefined variable: flag_hide in /var/www-pwn/includes.php on line 389
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
Notice: Undefined index: name in /var/www-pwn/includes.php on line 400
| |
WYSIWYG Editor Coming to PHPwnage 1.9 |
Mar 8, 2009 - klange #12 |
|
| |
One of the biggest new features slated for 1.9 is integration with TinyMCE. The basics are already up and running over at Oasis-Games.com but more work is yet to be done.
So far, the editor has the following: - Fairly stable editing of basic bbCode (bold, underline, strikeout, etc.) - Acceptable handling of linefeeds (this is what really needs work, though) - Uses the standard editing toolbar (because otherwise I'd have to make major changes to get things to be properly themed)
I have some plans on what to get in there before release: - PosterMini (the thing used for quick reply, quick edit, and posting comments on news articles) support. - User configuration option (which I don't have simply because I don't have time to do the SQL edits right now). - Integration with theme CSS (so that your post looks how it should) - Integration with advanced but static bbCode (ie, 'hide', 'code', 'quote', but not 'java' or 'csharp', possibly 'youtube')
Discuss this news post here. (No comments) |
|
|
|
|
|
| |
|