boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

b2++ 0.4 is out

 
Post new topic   Reply to topic    boardom Forum Index -> Hacks
View previous topic :: View next topic  
Author Message
donncha



Joined: 18 Feb 2003
Posts: 43
Location: Cork, Ireland

PostPosted: Sat Apr 26, 2003 3:16 pm    Post subject: b2++ 0.4 is out Reply with quote

Download: http://cork.linux.ie/filemgmt/viewcat.php?cid=4
Demo: http://blogs.linux.ie/

Lots of changes:
Many major changes in this release. The archive has now been split up into 2. One for code, the other for templates, images and skeleton files. Unless stated otherwise you shouldn't have to update the data archive at all when new releases are made.

New features:
Plugin support.
Major overhaul of the install process.
Added new Bluedash theme.

Please be aware that the bundled Smarty library has been updated to 2.5.0 which requires you to clear out your old cached and compiled templates. This is done automatically for you. Since this degrades performance somewhat, you the administrator will be mailed to remind you to remove the "clearing" code.

New in 0.4
==========
1. Major modifications to the install process.
* The installer will now check for incomplete installations, it'll stop
if you haven't copied the data directory in properly.
* It will check the database configuration.
* It won't reconfigure b2++ unless you delete the previous configuration files.
* I removed the b2InstallUser, this may be replaced by a hash value for security in the future.
* Database/table creation will silently fail instead of printing errors.
* A user with the same name as the weblog ID will be created.
* If you have register_globals off the installer will stop.
2. Comment posting has been fixed.
3. Problem with other users only seeing the root archives fixed.
4. Added bluedash theme.
5. Fixed some url errors in the templates.
6. Added Smarty templates to b2rdf.php
7. Fixed options bug. (Found by Andreas Banze.)
8. Moved data directory into a seperate archive.
9. Added Smarty plugin support, including 2 plugins.
10. Updated Smarty to the current 2.5.0 release. When Smarty is upgraded old cached files have to be cleared out. To make this as painless as possible I put those "clear" commands into smarty-config.inc.php
You'll be mailed a reminder to remove those lines once everything is working. The next release will not have these lines.
Back to top
View user's profile Send private message Visit poster's website
Candle



Joined: 23 Dec 2002
Posts: 547

PostPosted: Sat Apr 26, 2003 8:30 pm    Post subject: still needs work . Reply with quote

After fixing b2login.php so it has the right lines in it.
require_once($b2inc.'b2-include\b2template.functions.php');
require_once($b2inc.'b2-include\b2functions.php');
require_once($b2inc.'b2-include\b2vars.php');
Had this .
require_once($b2inc.'\b2template.functions.php');
require_once($b2inc.'\b2functions.php');
require_once($b2inc.'\b2vars.php');

Then when I got to b2login.php page I got this ?

Your SQL query:
SELECT * FROM WHERE user_login = ''

MySQL said:
You have an error in your SQL syntax near 'WHERE user_login = ''' at line 1
_________________
My Game Forum
Back to top
View user's profile Send private message
donncha



Joined: 18 Feb 2003
Posts: 43
Location: Cork, Ireland

PostPosted: Sun Apr 27, 2003 5:27 pm    Post subject: new 2003-04-27 snapshot Reply with quote

The new snapshot I just uploaded to http://cork.linux.ie/filemgmt/viewcat.php?cid=4 should catch more install errors. I also fixed a few more bugs, and added another plugin.

Candle - I don't think you have mod_rewrite enabled as I got similar errors until I enabled that. Take a look at the INSTALL file for the instructions to enable it. The same instructions now appear in your browser. Thanks for testing b2++ so much!

Get the src and data packages:
Src file: http://cork.linux.ie/filemgmt/visit.php?lid=10
Data file: http://cork.linux.ie/filemgmt/visit.php?lid=9

From the README:
New in 0.5
==========
1. Many changes to make things work with register_globals off.
2. Hide "root" from the url.
3. If b2 isn't configured then redirect to install page.
4. Removed timer() stuff.
5. Changed registration process - user is mailed the validation url now.
6. Hopefully the installer can catch when mod_rewrite is not installed now.
7. Fixed lots of links in the templates: categories, b2rss, login, new blog..
8. Added highlightsearch plugin: http://blogs.linux.ie/xeer/archives/p/89490286/c/1
9. This version has been tested and works in Windows. YMMV.
10. A random template is chosen when a new user registers.
Back to top
View user's profile Send private message Visit poster's website
Candle



Joined: 23 Dec 2002
Posts: 547

PostPosted: Sun Apr 27, 2003 8:20 pm    Post subject: config file Reply with quote

Code:
# To be able to use the functionality of a module which was built as a DSO you
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are used.
# Statically compiled modules (those listed by `httpd -l') do not need
# to be loaded here.
#
#
# Example:
# LoadModule foo_module modules/mod_foo.so
#
LoadModule access_module modules/mod_access.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_module modules/mod_auth.so
#LoadModule perl_module modules/mod_perl.so
#LoadModule auth_anon_module modules/mod_auth_anon.so
#LoadModule auth_dbm_module modules/mod_auth_dbm.so
#LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule autoindex_module modules/mod_autoindex.so
#LoadModule cern_meta_module modules/mod_cern_meta.so
LoadModule cgi_module modules/mod_cgi.so
#LoadModule dav_module modules/mod_dav.so
#LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule dir_module modules/mod_dir.so
LoadModule env_module modules/mod_env.so
#LoadModule expires_module modules/mod_expires.so
#LoadModule file_cache_module modules/mod_file_cache.so
LoadModule headers_module modules/mod_headers.so
LoadModule imap_module modules/mod_imap.so
LoadModule include_module modules/mod_include.so
#LoadModule info_module modules/mod_info.so
LoadModule isapi_module modules/mod_isapi.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule mime_module modules/mod_mime.so
#LoadModule mime_magic_module modules/mod_mime_magic.so
#LoadModule proxy_module modules/mod_proxy.so
#LoadModule proxy_connect_module modules/mod_proxy_connect.so
#LoadModule proxy_http_module modules/mod_proxy_http.so
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
#LoadModule speling_module modules/mod_speling.so
#LoadModule status_module modules/mod_status.so
#LoadModule unique_id_module modules/mod_unique_id.so
LoadModule userdir_module modules/mod_userdir.so
#LoadModule usertrack_module modules/mod_usertrack.so
#LoadModule vhost_alias_module modules/mod_vhost_alias.so
#LoadModule ssl_module modules/mod_ssl.so
#LoadModule gzip_module modules/mod_gzip.so
#
# ExtendedStatus controls whether Apache will generate "full" status
# information (ExtendedStatus On) or just basic information (ExtendedStatus
# Off) when the "server-status" handler is called. The default is Off.
#

_________________
My Game Forum
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> Hacks All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group