[ABD] Ad Management 1.0.1

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
User avatar
tas2580
Registered User
Posts: 295
Joined: Wed May 30, 2007 1:56 am
Location: Stuttgart, Germany
Contact:

[ABD] Ad Management 1.0.1

Post by tas2580 » Mon Jun 04, 2007 1:09 am

MOD Title: Ad Management
MOD Description: Displays Ads between the posts, you can manage the Ads in ACP.
MOD Version: [RC] 1.0.1
phpBB Version: phpBB 3.0.x
Format: ModX

Features:
  • * Different Ads for every Forum
    * HTML ads or banner ads
    * Count adviews
    * Max adviews for each banner
    * Ads can be displayed in different positions
    * Ads can be displayed some groups only
    * Ads can be displayed some ranks only
    * Ads can be displayed from date X to date X
    * Count clicks on banner ads
Mod Download: Download
Mirror: http://code.google.com/p/phpbb3-ad-management/

Place upload your translations of this Mod here.
Last edited by tas2580 on Mon Jan 12, 2009 10:04 pm, edited 22 times in total.

quocanh83
Registered User
Posts: 17
Joined: Thu May 24, 2007 6:34 am

Re: [BETA] Ad Management

Post by quocanh83 » Mon Jun 04, 2007 2:46 am

I have just add your mod into board but in ACP i can't add module. Please check it for me ! thx


User avatar
tas2580
Registered User
Posts: 295
Joined: Wed May 30, 2007 1:56 am
Location: Stuttgart, Germany
Contact:

Re: [BETA] Ad Management

Post by tas2580 » Mon Jun 04, 2007 2:25 pm

Yes I need someone for translation, but in the next Version will be also english language.

User avatar
ac_roma
Registered User
Posts: 297
Joined: Thu Mar 08, 2007 2:48 pm
Location: egypt,alexandria
Contact:

Re: [BETA] Ad Management

Post by ac_roma » Mon Jun 04, 2007 2:49 pm

any way its good
thank you :)

quocanh83
Registered User
Posts: 17
Joined: Thu May 24, 2007 6:34 am

Re: [BETA] Ad Management

Post by quocanh83 » Mon Jun 04, 2007 5:40 pm

error
[phpBB Debug] PHP Notice: in file /includes/acp/acp_ads.php on line 13: Constant ADD_TABLE already defined
[phpBB Debug] PHP Notice: in file /includes/acp/acp_ads.php on line 15: Undefined property: u_action
[phpBB Debug] PHP Notice: in file /includes/acp/acp_ads.php on line 34: Undefined index: action
[phpBB Debug] PHP Notice: in file /includes/acp/acp_ads.php on line 186: Undefined variable: form_action
[phpBB Debug] PHP Notice: in file /adm/index.php on line 153: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3662)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 155: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3662)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 156: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3662)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 157: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3662)

User avatar
ylcncn
Registered User
Posts: 32
Joined: Tue May 29, 2007 7:59 am

Re: [BETA] Ad Management

Post by ylcncn » Mon Jun 04, 2007 7:59 pm

please dont spam :evil:
tell your problem in friendly way ;)

quocanh83
Registered User
Posts: 17
Joined: Thu May 24, 2007 6:34 am

Re: [BETA] Ad Management

Post by quocanh83 » Tue Jun 05, 2007 1:56 am

don't spam but this mod have some error
[phpBB Debug] PHP Notice: in file /includes/acp/acp_ads.php on line 13: Constant ADD_TABLE already defined
[phpBB Debug] PHP Notice: in file /includes/acp/acp_ads.php on line 15: Undefined property: u_action
[phpBB Debug] PHP Notice: in file /includes/acp/acp_ads.php on line 34: Undefined index: action
[phpBB Debug] PHP Notice: in file /includes/acp/acp_ads.php on line 186: Undefined variable: form_action
Please tell me that the way i can tell about this error ?

quocanh83
Registered User
Posts: 17
Joined: Thu May 24, 2007 6:34 am

Re: [BETA] Ad Management

Post by quocanh83 » Tue Jun 05, 2007 2:01 am

I found this error
[phpBB Debug] PHP Notice: in file /includes/acp/acp_ads.php on line 13: Constant ADD_TABLE already defined
May be fix this :
Del in includes/constants.php

Code: Select all

define('ADD_TABLE',				$table_prefix . 'add'); 

or in includes/acp/acp_ads.php

Code: Select all

$table_prefix = 'phpbb3_';
define('ADD_TABLE',				$table_prefix . 'add');
when del in includes/acp/acp_ads.php then you rename table phpbb3_add to phpbb_add
s

quocanh83
Registered User
Posts: 17
Joined: Thu May 24, 2007 6:34 am

Re: [BETA] Ad Management

Post by quocanh83 » Tue Jun 05, 2007 2:17 am

English Language File

Code: Select all

<?php
/**
*
* @author Tobi Schäfer http://www.tobischaefer.net/
*
* impressum [English-En]
*
* @package language
* @Translate by Bigduck(Le Quoc Anh) (c) 2007 
* @version $Id: ads.php 0.1.0 2007-06-04 02:09:19 tas2580 $
* @copyright (c) 2005 phpBB Group; 2006 phpBB.de
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

/**
* DO NOT CHANGE
*/
if (empty($lang) || !is_array($lang))
{
	$lang = array();
}

// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine

// Bot settings
$lang = array_merge($lang, array(
			'ADDMANAGEMENT'  => 'Add Management',
			'L_NEED_NAME'  => 'Enter a name and a code for the advertisement!',
			'L_ADDED'  => 'The banner was added to the system',
			'L_UPDATED'  => 'The advertisement was successfully changed',
			'L_DELETED'  => 'The advertisement was successfully deleted from the system!',
			'L_REALY_DELETE'  => 'Do you want to be really delete?',
			'L_ADD'  => 'Banner(Advertisement)',
			'L_ADD_DESC'  => 'Here the advertisement can be administered, you can several banners alternating to be then indicated.',
			'L_NEW_ADD' => 'Advertisement Add',
			'L_NAME' => 'Name',
			'L_NAME_DESC' => 'Enter a name for the banner.',
			'L_CODE' => 'Code',
			'L_CODE_DESC' => 'Code for the advertisement',
			'L_FORUMS' => 'Forum',
			'L_FORUMS_DESC' => 'Give the ID of the forums into that the advertisement to be indicated is, <br />	several forums must by a comma to be separated.',
			'L_ACTIV' => 'Fade in',
			'L_ACTIV_DESC' => 'The advertisement is to be indicated?',
			'L_YES' => 'Yes',
			'L_NO' => 'No',
			'L_GUEST' => 'Guest',
			'L_ADD_VIEWS' => 'Banner Views',
			'L_ADD_VIEWS_DESC' => 'The number of insertions for the advertisement',
			'L_POSITION' => 'Position',
			'L_POSITION_DESC' => 'At which position the advertisement is to be indicated',
			'L_POSITION1' => 'After each first contribution',
			'L_POSITION2' => 'After each contribution',
			'L_POSITION3' => 'Over the contributions',
			'L_POSITION4' => 'Under the contributions',
			'L_ADD_IN_SYSTEM' => 'Banner in System',
			'L_ADD_IN_SYSTEM_DESC' => 'The banners listed here are present in the system',
			'L_POSITION4' => 'Under the contributions',
	
));

?>

User avatar
tas2580
Registered User
Posts: 295
Joined: Wed May 30, 2007 1:56 am
Location: Stuttgart, Germany
Contact:

Re: [BETA] Ad Management

Post by tas2580 » Tue Jun 05, 2007 2:18 am

I found this error
[phpBB Debug] PHP Notice: in file /includes/acp/acp_ads.php on line 13: Constant ADD_TABLE already defined
May be fix this :
...
Oh I should delete my developing code bevor relase :oops:

I have Updated a new version with fixed all known bugs and added an english language file.

quocanh83
Registered User
Posts: 17
Joined: Thu May 24, 2007 6:34 am

Re: [BETA] Ad Management

Post by quocanh83 » Tue Jun 05, 2007 2:36 am

i have just updated new version 0.1.1 but its has some error

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/acp/acp_ads.php on line 19: Undefined property: u_action
[phpBB Debug] PHP Notice: in file /includes/acp/acp_ads.php on line 33: Undefined index: action
[phpBB Debug] PHP Notice: in file /includes/acp/acp_ads.php on line 165: Undefined variable: form_action

quocanh83
Registered User
Posts: 17
Joined: Thu May 24, 2007 6:34 am

Re: [BETA] Ad Management

Post by quocanh83 » Tue Jun 05, 2007 2:50 am

Find in /includes/acp/acp_ads.php

Code: Select all

trigger_error($user->lang['L_ADED'] . adm_back_link($this->u_action));
change

Code: Select all

trigger_error($user->lang['L_ADDED'] . adm_back_link($this->u_action));

User avatar
tas2580
Registered User
Posts: 295
Joined: Wed May 30, 2007 1:56 am
Location: Stuttgart, Germany
Contact:

Re: [BETA] Ad Management

Post by tas2580 » Tue Jun 05, 2007 5:10 pm

Updatetd to 0.1.2 all known Bugs are fixed and added max views for each Banner.

internet1
Registered User
Posts: 77
Joined: Sun Apr 09, 2006 9:11 am
Contact:

Re: [BETA] Ad Management

Post by internet1 » Tue Jun 05, 2007 10:49 pm

hi

i setup mod ver 5 but in control panel in edti ad and save >> double ad :cry:
Last edited by internet1 on Mon Oct 29, 2007 8:33 am, edited 2 times in total.

Locked

Return to “[3.0.x] Abandoned MODs”

Who is online

Users browsing this forum: Bing [Bot] and 17 guests