[2.0.18] Cash Mod

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.

Rating:

Excellent!
1036
66%
Very Good
239
15%
Good
121
8%
Fair
36
2%
Poor
126
8%
 
Total votes: 1558

short_up
Registered User
Posts: 4
Joined: Thu May 25, 2006 3:38 am
Contact:

Post by short_up »

haha yeah I thought I had done that, but I guess I did it wrong.

No worries, I'm going to redo everything later.

Thanks for your time!

groundfighter
Registered User
Posts: 1909
Joined: Sat Nov 08, 2003 2:15 am
Location: Las Vegas, NV
Contact:

Post by groundfighter »

Good luck, fun mod once you get it installed. 8)

[PT]BlueDragon
Registered User
Posts: 60
Joined: Wed Mar 02, 2005 3:25 pm

Post by [PT]BlueDragon »

hi...

i installed this mod in a 2.0.19 phpbb version, wuth the AQUA template... i have some problems installing with easymod and i made it on hand...

but now the cash amount not apears in members, profile and navigation menu... why???

groundfighter
Registered User
Posts: 1909
Joined: Sat Nov 08, 2003 2:15 am
Location: Las Vegas, NV
Contact:

Post by groundfighter »

Because you didn't apply the install instructions to your .tpl files in your custom template :wink:

[PT]BlueDragon
Registered User
Posts: 60
Joined: Wed Mar 02, 2005 3:25 pm

Post by [PT]BlueDragon »

yes i did it.....

Amaltea
Registered User
Posts: 6
Joined: Wed May 24, 2006 4:26 pm

Post by Amaltea »

I installed this mod and worked great. Then I installed the simple sub-forums and the sub-templates which uses extreme styles. Now the cash and donate are gone from the profile. Can someone please help me getting them to show again?

Thank you.

groundfighter
Registered User
Posts: 1909
Joined: Sat Nov 08, 2003 2:15 am
Location: Las Vegas, NV
Contact:

Post by groundfighter »

Amaltea wrote: I installed this mod and worked great. Then I installed the simple sub-forums and the sub-templates which uses extreme styles. Now the cash and donate are gone from the profile. Can someone please help me getting them to show again?

Thank you.


In the XS mod there is a file called contrib and inside there is a file cash classes or something like that copy to the proper location that cash mod file is overwriting it.

Greywing
Registered User
Posts: 37
Joined: Wed May 17, 2006 9:01 pm

Post by Greywing »

Hi there,

I apologise if this has been posted many times, but I got to page 4 and realised I wouldn't get through another 550+ :P

I'm using the Cash Mod for a 'Harry Potter' themed forum.. so instead of HP currency, we're actually using it to create the housepoints.

Is there an 'addon' which adds a row to the usergroups (usergroups are used for the houses) to add up all the points/'cash' of the users in that usergroup? (thus, creating total housepoints?)

Or, even better, is there a possibility that the user doesn't actually have any points - the user's usergroup? So, all the points are given to the actual usergroup instead of the user. (But can still be logged as "Given for winning in x competition")

(They're only allowed to be in one, so multi-groups shouldn't be a problem)

I don't quite understand the Cashmod groups, as we're not giving any points out for posts/threads/pms et cetera.

And, how can I get rid of the currency display name in the memberlist.php? (Right now, it looks like 'x Housepoints' where just 'x' is wanted)

Thanks very much in advance!

(and if you need me to explain the ins and outs of the housepoint system, just ask. :P)

meddal
Registered User
Posts: 11
Joined: Wed May 17, 2006 5:50 pm

Post by meddal »

hi
I just installed cashmod with easy mod and i got this error message
SQL Error : 1146 Table 'phpbb.phpbb_cash' doesn't exist

So i went to myphp admin and tried to run the sql_install.php
and it gives me this error
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'define('IN_PHPBB', true)' at line 1


Somebody please help!!!
thanks


I SOLVED THE PROBLEM RUNNING THE SQL IN MY BROWSER
Last edited by meddal on Fri May 26, 2006 1:46 pm, edited 1 time in total.

BackOfTheNet
Registered User
Posts: 24
Joined: Thu May 25, 2006 8:43 am

Post by BackOfTheNet »

Hey great mod!

I was wondering if its possible to show the ammount of cash a user as all over the forum becasue at the moment it only displays in forums that earn you cash.

Eg;

I dont not have my general section as a cash earning forum yet the cash image is displayed in the profile on the left and no ammount is displayed to go with it. I woul liek it so that the ammoiunt and the image is displayed in non earning forums is this possible?

Amaltea
Registered User
Posts: 6
Joined: Wed May 24, 2006 4:26 pm

Post by Amaltea »

groundfighter wrote:
Amaltea wrote:I installed this mod and worked great. Then I installed the simple sub-forums and the sub-templates which uses extreme styles. Now the cash and donate are gone from the profile. Can someone please help me getting them to show again?

Thank you.


In the XS mod there is a file called contrib and inside there is a file cash classes or something like that copy to the proper location that cash mod file is overwriting it.


Oh gee, that was so easy. Thank you so much for your help. :)

PeterPapas
Registered User
Posts: 98
Joined: Tue May 09, 2006 8:59 pm
Location: CALIFORNIA
Contact:

Post by PeterPapas »

Just installed cash mod did all the settings , but nothing seems to happen. What did I do wrong?

BackOfTheNet
Registered User
Posts: 24
Joined: Thu May 25, 2006 8:43 am

Post by BackOfTheNet »

anyone able to help me out? please
Image

field33
Registered User
Posts: 8
Joined: Fri May 26, 2006 7:35 am

Cannot run SQL installer

Post by field33 »

Sorry, i cannot run the SQL installer, and the normal Admin Panel can't I use. I need the table, or i can say Bye to my Forum.

field33
Registered User
Posts: 8
Joined: Fri May 26, 2006 7:35 am

Post by field33 »

Xore wrote:
deadferret wrote:
Rancisis wrote:thx a lot, I made some adjustments and I'm not sure if it will work.
But I think it will, would test it but don't have any mssql...


I will test it later tonight. I have been updating my site with all of the old mods since I trasnferred from mysql to mssql.


Hi, i appreciate the inroads you guys are making on the mssql issue.

Rancisis, i've decided that unless it proves continually bork, i'm going to try with a 1-file sql install solution.
[note, if this doesn't work out, then, with your permission, i'll bundle your installer with the next release]

deadferret, i was wondering if you could try this out. It contains some (not all) of the db updates that will be existant with Cash Mod 2.1.0, however it should still be 2.0.x back compatible. I'm almost certain there will be execution errors with this, however, if you could let me know what i'm doing wrong, i'd really appreciate it. thanks :-)


sql_install.php

Code: Select all

<?php 
/*************************************************************************** 
 *                              sql_install.php 
 *                            -------------------
 *   begin                : Thursday, Apr 17, 2003
 *   copyright            : (C) 2003 Xore
 *   email                : xore@azuriah.com
 *
 *   $Id: sql_install.php,v 1.1.0.0 2003/08/04 14:12:03 Xore $
 *
 *
 ***************************************************************************/

/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 ***************************************************************************/

define('IN_PHPBB', true); 
$phpbb_root_path = './'; 
include($phpbb_root_path . 'extension.inc'); 
include($phpbb_root_path . 'common.'.$phpEx); 

// 
// Start session management 
// 
$userdata = session_pagestart($user_ip, PAGE_INDEX); 
init_userprefs($userdata); 
// 
// End session management 
// 

if( !$userdata['session_logged_in'] ) 
{ 
	redirect(append_sid("login.$phpEx?redirect=mysql_install.$phpEx", true));
} 

if( $userdata['user_level'] != ADMIN ) 
{ 
   message_die(GENERAL_MESSAGE, 'You are not authorised to access this page'); 
} 

$page_title = 'Installing Cash Mod v 2.0.0 Tables, Updating Configuration settings'; 
include($phpbb_root_path . 'includes/page_header.'.$phpEx); 

print<<<DELIM
<table width="100%" cellspacing="1" cellpadding="2" border="0" class="forumline">
  <tr>
    <th class="thHead">Updating the database</th>
  </tr>
  <tr>
    <td>
      <span class="genmed">
        <ul type="circle">

DELIM;

$current_time = time();

switch ( SQL_LAYER )
{
	case 'msaccess':
	break;
	case 'postgresql':
	break;
	case 'mssql':
	case 'mssql-odbc':
		$sql = array(
		   "INSERT INTO {$table_prefix}config (config_name, config_value) VALUES ('cash_disable',0);",
		   "INSERT INTO {$table_prefix}config (config_name, config_value) VALUES ('cash_display_after_posts',1);",
		   "INSERT INTO {$table_prefix}config (config_name, config_value) VALUES ('cash_post_message','You earned %s for that post');",
		   "INSERT INTO {$table_prefix}config (config_name, config_value) VALUES ('cash_disable_spam_num',10);",
		   "INSERT INTO {$table_prefix}config (config_name, config_value) VALUES ('cash_disable_spam_time',24);",
		   "INSERT INTO {$table_prefix}config (config_name, config_value) VALUES ('cash_disable_spam_message','You have exceeded the alloted amount of posts and will not earn anything for your post');",
		   "INSERT INTO {$table_prefix}config (config_name, config_value) VALUES ('cash_installed','yes');",
		   "INSERT INTO {$table_prefix}config (config_name, config_value) VALUES ('cash_version','2.0.2');",
		   "INSERT INTO {$table_prefix}config (config_name, config_value) VALUES ('points_name','Points');",

		   "CREATE TABLE [userid].[{$table_prefix}cash] ( 
			[cash_id] [int] IDENTITY (1, 1) NOT NULL ,
			[cash_order] [int] NOT NULL ,
			[cash_enabled] [int] NOT NULL ,
			[cash_dbfield] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,
			[cash_name] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,
			[cash_image] [int] NOT NULL ,
			[cash_imageurl] [varchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,
			[cash_exchange] [int] NOT NULL ,
			[cash_before] [int] NOT NULL ,
			[cash_perpost] [int] NOT NULL ,
			[cash_postbonus] [int] NOT NULL ,
			[cash_perreply] [int] NOT NULL ,
			[cash_maxearn] [int] NOT NULL ,
			[cash_perchar] [float] NOT NULL ,
			[cash_includequotes] [int] NOT NULL ,
			[cash_profiledisplay] [int] NOT NULL ,
			[cash_donate] [int] NOT NULL ,
			[cash_modedit] [int] NOT NULL ,
			[cash_allowneg] [int] NOT NULL ,
			[cash_postdisplay] [int] NOT NULL ,
			[cash_forumlisttype] [int] NOT NULL ,
			[cash_forumlist] [varchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,
			[cash_log] [int] NOT NULL
			) ON [PRIMARY]",

		   "ALTER TABLE [userid].[{$table_prefix}cash] WITH NOCHECK ADD 
			CONSTRAINT [PK_{$table_prefix}cash] PRIMARY KEY CLUSTERED 
			( 
			[cash_id] 
			) ON [PRIMARY]",

		   "ALTER TABLE [userid].[{$table_prefix}cash] WITH NOCHECK ADD 
			CONSTRAINT [DF_{$table_prefix}cash_order]          DEFAULT (0) FOR [cash_order], 
			CONSTRAINT [DF_{$table_prefix}cash_enabled]        DEFAULT (1) FOR [cash_enabled], 
			CONSTRAINT [DF_{$table_prefix}cash_name]           DEFAULT ('GP') FOR [cash_name], 
			CONSTRAINT [DF_{$table_prefix}cash_image]          DEFAULT (0) FOR [cash_image], 
			CONSTRAINT [DF_{$table_prefix}cash_imageurl]       DEFAULT ('noimage.jpg') FOR [cash_imageurl], 
			CONSTRAINT [DF_{$table_prefix}cash_exchange]       DEFAULT (1) FOR [cash_exchange], 
			CONSTRAINT [DF_{$table_prefix}cash_before]         DEFAULT (1) FOR [cash_before], 
			CONSTRAINT [DF_{$table_prefix}cash_perpost]        DEFAULT (25) FOR [cash_perpost], 
			CONSTRAINT [DF_{$table_prefix}cash_postbonus]      DEFAULT (2) FOR [cash_postbonus], 
			CONSTRAINT [DF_{$table_prefix}cash_perreply]       DEFAULT (25) FOR [cash_perreply], 
			CONSTRAINT [DF_{$table_prefix}cash_maxearn]        DEFAULT (75) FOR [cash_maxearn], 
			CONSTRAINT [DF_{$table_prefix}cash_perchar]        DEFAULT (0.02) FOR [cash_perchar], 
			CONSTRAINT [DF_{$table_prefix}cash_includequotes]  DEFAULT (0) FOR [cash_includequotes], 
			CONSTRAINT [DF_{$table_prefix}cash_profiledisplay] DEFAULT (1) FOR [cash_profiledisplay], 
			CONSTRAINT [DF_{$table_prefix}cash_donate]         DEFAULT (1) FOR [cash_donate], 
			CONSTRAINT [DF_{$table_prefix}cash_modedit]        DEFAULT (0) FOR [cash_modedit], 
			CONSTRAINT [DF_{$table_prefix}cash_allowneg]       DEFAULT (0) FOR [cash_allowneg], 
			CONSTRAINT [DF_{$table_prefix}cash_postdisplay]    DEFAULT (1) FOR [cash_postdisplay], 
			CONSTRAINT [DF_{$table_prefix}cash_forumlisttype]  DEFAULT (1) FOR [cash_forumlisttype], 
			CONSTRAINT [DF_{$table_prefix}cash_forumlist]      DEFAULT ('') FOR [cash_forumlist], 
			CONSTRAINT [DF_{$table_prefix}cash_log]            DEFAULT (1) FOR [cash_log]",

		   "CREATE TABLE [userid].[{$table_prefix}cash_exchange] ( 
			[ex_cash_id1] [int] NOT NULL , 
			[ex_cash_id2] [int] NOT NULL , 
			[ex_cash_enabled] [int] NOT NULL 
			) ON [PRIMARY]",

		   "ALTER TABLE [userid].[{$table_prefix}cash_exchange] WITH NOCHECK ADD 
			CONSTRAINT [PK_{$table_prefix}cash_exchange] PRIMARY KEY CLUSTERED 
			( 
			[ex_cash_id1], 
			[ex_cash_id2] 
			) ON [PRIMARY]",

		   "ALTER TABLE [userid].[{$table_prefix}cash_exchange] WITH NOCHECK ADD 
			CONSTRAINT [DF_{$table_prefix}cash_enabled] DEFAULT (1) FOR [ex_cash_enabled]",

		   "CREATE TABLE [userid].[{$table_prefix}cash_log] ( 
			[log_id] [int] IDENTITY (1, 1) NOT NULL , 
			[log_time] [int] NOT NULL , 
			[log_type] [int] NOT NULL , 
			[log_text] [varchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL 
			) ON [PRIMARY]",


		   "ALTER TABLE [userid].[{$table_prefix}cash_log] WITH NOCHECK ADD 
			CONSTRAINT [PK_{$table_prefix}cash_log] PRIMARY KEY CLUSTERED 
			( 
			[log_id] 
			) ON [PRIMARY]",

		   "ALTER TABLE [userid].[{$table_prefix}cash_log] WITH NOCHECK ADD 
			CONSTRAINT [DF_{$table_prefix}log_time] DEFAULT (0) FOR [log_time], 
			CONSTRAINT [DF_{$table_prefix}log_type] DEFAULT (0) FOR [log_type]",

		   "CREATE INDEX [log_time] ON [userid].[{$table_prefix}cash_log]([log_time], [log_type]) ON [PRIMARY]",

		   "CREATE TABLE [userid].[{$table_prefix}cash_groups] ( 
			[group_id] [int] IDENTITY (3, 1) NOT NULL ,
			[group_type] [int] IDENTITY (3, 1) NOT NULL ,
			[group_cashid] [int] IDENTITY (3, 1) NOT NULL ,
			[group_order] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,
			[cash_status] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,
			[cash_perpost] [int] NOT NULL ,
			[cash_postbonus] [int] NOT NULL ,
			[cash_perreply] [int] NOT NULL ,
			[cash_perchar] [float] NOT NULL ,
			[cash_maxearn] [int] NOT NULL ,
			) ON [PRIMARY]",

		   "ALTER TABLE [userid].[{$table_prefix}cash_groups] WITH NOCHECK ADD 
			CONSTRAINT [PK_{$table_prefix}cash_groups] PRIMARY KEY CLUSTERED 
			( 
			[group_id],[group_type],[group_cashid]
			) ON [PRIMARY]",

		   "ALTER TABLE [userid].[{$table_prefix}cash_groups] WITH NOCHECK ADD 
			CONSTRAINT [DF_{$table_prefix}cash_group_order]      DEFAULT (0) FOR [group_order], 
			CONSTRAINT [DF_{$table_prefix}cash_cash_status]      DEFAULT (0) FOR [cash_status], 
			CONSTRAINT [DF_{$table_prefix}cash_groups_perpost]   DEFAULT (25) FOR [cash_perpost], 
			CONSTRAINT [DF_{$table_prefix}cash_groups_postbonus] DEFAULT (2) FOR [cash_postbonus], 
			CONSTRAINT [DF_{$table_prefix}cash_groups_perreply]  DEFAULT (25) FOR [cash_perreply], 
			CONSTRAINT [DF_{$table_prefix}cash_groups_maxearn]   DEFAULT (75) FOR [cash_maxearn], 
			CONSTRAINT [DF_{$table_prefix}cash_groups_perchar]   DEFAULT (0.02) FOR [cash_perchar]",
		);
	break;
	case 'mysql':
	case 'mysql4':
	default:
		$sql = array(
		   "INSERT INTO {$table_prefix}config (config_name, config_value) VALUES
			('cash_disable',0),
			('cash_display_after_posts',1),
			('cash_post_message','You earned %s for that post'),
			('cash_disable_spam_num',10),
			('cash_disable_spam_time',24),
			('cash_disable_spam_message','You have exceeded the alloted amount of posts and will not earn anything for your post'),
			('cash_installed','yes'),
			('cash_version','2.0.0'),
			('points_name','Points')",

		   "CREATE TABLE {$table_prefix}cash (
			cash_id SMALLINT(6) NOT NULL AUTO_INCREMENT ,
			cash_order SMALLINT(6) NOT NULL ,
			cash_enabled TINYINT(1) DEFAULT '1' NOT NULL ,
			cash_dbfield VARCHAR(64) NOT NULL ,
			cash_name VARCHAR(64) DEFAULT 'GP' NOT NULL ,
			cash_image TINYINT(1) DEFAULT '0' NOT NULL ,
			cash_imageurl VARCHAR(255) NOT NULL ,
			cash_exchange INT(11) DEFAULT '1' NOT NULL ,
			cash_before TINYINT(1) DEFAULT '1' NOT NULL ,
			cash_perpost INT(11) DEFAULT '25' NOT NULL ,
			cash_postbonus INT(11) DEFAULT '2' NOT NULL ,
			cash_perreply INT(11) DEFAULT '25' NOT NULL ,
			cash_maxearn INT(11) DEFAULT '75' NOT NULL ,
			cash_perchar DECIMAL(10,3) DEFAULT '.02' NOT NULL ,
			cash_jiggle INT(11) DEFAULT '0' NOT NULL ,
			cash_allowance TINYINT(1) DEFAULT '1' NOT NULL ,
			cash_allowancetime TINYINT(2) DEFAULT '2' NOT NULL ,
			cash_includequotes TINYINT(1) DEFAULT '0' NOT NULL ,
			cash_profiledisplay TINYINT(1) DEFAULT '1' NOT NULL ,
			cash_donate TINYINT(1) DEFAULT '1' NOT NULL ,
			cash_modedit TINYINT(1) DEFAULT '0' NOT NULL ,
			cash_allowneg TINYINT(1) DEFAULT '0' NOT NULL ,
			cash_postdisplay TINYINT(1) DEFAULT '1' NOT NULL ,
			cash_forumlisttype TINYINT(1) DEFAULT '1' NOT NULL ,
			cash_forumlist VARCHAR(255) NOT NULL ,
			cash_log TINYINT(1) DEFAULT '1' NOT NULL ,
			PRIMARY KEY (cash_id)
			);",

		   "CREATE TABLE {$table_prefix}cash_groups (
			group_id MEDIUMINT(6) NOT NULL ,
			group_type TINYINT(2) NOT NULL ,
			group_cashid SMALLINT(6) NOT NULL ,
			group_order SMALLINT(6) DEFAULT '0' NOT NULL ,
			cash_status TINYINT(2) DEFAULT '1' NOT NULL ,
			cash_perpost INT(11) DEFAULT '25' NOT NULL ,
			cash_postbonus INT(11) DEFAULT '2' NOT NULL ,
			cash_perreply INT(11) DEFAULT '25' NOT NULL ,
			cash_perchar DECIMAL(10,3) DEFAULT '.02' NOT NULL ,
			cash_maxearn INT(11) DEFAULT '75' NOT NULL ,
			cash_jiggle INT(11) DEFAULT '0' NOT NULL ,
			cash_allowance TINYINT(1) DEFAULT '1' NOT NULL ,
			cash_allowancetime TINYINT(2) DEFAULT '2' NOT NULL ,
			PRIMARY KEY (group_id, group_type, group_cashid)
			);",

		   "CREATE TABLE {$table_prefix}cash_log (
			log_id INT(11) NOT NULL auto_increment,
			log_time INT(11) NOT NULL,
			log_type SMALLINT(6) NOT NULL,
			log_text VARCHAR(255) NOT NULL,
			PRIMARY KEY (log_id) ,
			INDEX (log_time, log_type) 
			);",

		   "CREATE TABLE {$table_prefix}cash_exchange (
			ex_cash_id1 INT(11) NOT NULL ,
			ex_cash_id2 INT(11) NOT NULL ,
			ex_cash_enabled INT(1) NOT NULL DEFAULT '0',
			PRIMARY KEY (ex_cash_id1,ex_cash_id2) 
			);"

		);
	break;
}

foreach ( $sql AS $query ) 
{ 
   if ( !($result = $db->sql_query($query)) )
   { 
      $error = $db->sql_error();
      print('<li>' . nl2br($query) . '<br /> +++ <font color="#FF0000"><b>Error:</b></font> ' . $error['message'] . '</li><br />');
   } 
   else 
   { 
      print('<li>' . nl2br($query) . '<br /> +++ <font color="#00AA00"><b>Successfull</b></font></li><br />');
   } 
}

$forum_url = append_sid("index.$phpEx");
$phpbb_url = "http://www.phpbb.com/phpBB/viewtopic.php?t=94055";

print<<<DELIM
        </ul>
      </span>
    </td>
  </tr>
  <tr>
    <td class="catBottom" height="28">&</td>
  </tr>
  <tr>
    <td class="catBottom" colspan="2" align="center">Finished</td>
  </tr>
</table>

<br />
<br />

<table width="100%" cellspacing="1" cellpadding="2" border="0" class="forumline">
  <tr>
    <th class="thHead">SQL Installation complete</th>
  </tr>
  <tr>
    <td>
      <span class="genmed">Please delete this file (mysql_install.php).<br />
      If you have any problems, please visit <a href="{$phpbb_url}" target="_new">phpbb.com (CashMod v 2.0.0 Support Thread)</a> and ask for help.</span>
    </td>
  </tr>
  <tr>
    <td class="catBottom" height="28" align="center">
      <span class="genmed"><a href="{$forum_url}">Click Here to return to your forum.</a>
      </span>
    </td>
  </tr>
</table>

DELIM;

include($phpbb_root_path . 'includes/page_tail.'.$phpEx); 

?>


I think that it not works with PhpMyAdmin.

Post Reply

Return to “[2.0.x] MOD Database Releases”