[ABD] Shop Mod v.1.0 Beta 5

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.
Adrian1
Registered User
Posts: 630
Joined: Tue Jul 15, 2008 11:21 am
Contact:

Re: [Beta] Shop Mod v.1.0 Beta 1

Post by Adrian1 »

Deathly Hallow wrote:No id didn't Have I install that one as well? :o
Yes... i am sorry... it is only work with it.
In the next veersion i will add compatibility with Simply Points System by Ganon Master.
RPG MOD for phpbb3
Deathly Hallow
Registered User
Posts: 277
Joined: Mon Apr 21, 2008 11:58 am
Location: Netherlands

Re: [Beta] Shop Mod v.1.0 Beta 1

Post by Deathly Hallow »

Okay.

I don't have the simple point mod as well...

I'm gonna install the advanced one then. Does it both (point & shop) work wit phpbb3.0.4?
Adrian1
Registered User
Posts: 630
Joined: Tue Jul 15, 2008 11:21 am
Contact:

Re: [Beta] Shop Mod v.1.0 Beta 1

Post by Adrian1 »

Deathly Hallow wrote:Okay.

I don't have the simple point mod as well...

I'm gonna install the advanced one then. Does it both (point & shop) work wit phpbb3.0.4?
Yes the both mod works with phpbb 3.0.4
RPG MOD for phpbb3
Adrian1
Registered User
Posts: 630
Joined: Tue Jul 15, 2008 11:21 am
Contact:

Re: [Beta] Shop Mod v.1.0 Beta 1

Post by Adrian1 »

In the next version i will add utf-8 support
RPG MOD for phpbb3
Deathly Hallow
Registered User
Posts: 277
Joined: Mon Apr 21, 2008 11:58 am
Location: Netherlands

Re: [Beta] Shop Mod v.1.0 Beta 1

Post by Deathly Hallow »

Oké.

I dont't see anything of my point things, only in aCP (permission s are set) And I can't set point setting... it says the fsock functions are disabled.. or something.
Adrian1
Registered User
Posts: 630
Joined: Tue Jul 15, 2008 11:21 am
Contact:

Re: [Beta] Shop Mod v.1.0 Beta 1

Post by Adrian1 »

Deathly Hallow wrote:Oké.

I dont't see anything of my point things, only in aCP (permission s are set) And I can't set point setting... it says the fsock functions are disabled.. or something.
1.Have you edit edit your templates file? (from templates prosilver.xml or subdilver2.xml)
2.Have you clear your cache?
3.About the fsock function.. your server has disabled this.
You will need to remove it from ACP( search on my forum for the solution )
RPG MOD for phpbb3
Deathly Hallow
Registered User
Posts: 277
Joined: Mon Apr 21, 2008 11:58 am
Location: Netherlands

Re: [Beta] Shop Mod v.1.0 Beta 1

Post by Deathly Hallow »

I get this now:

Code: Select all

Checking if files exist...

The following files were not found:
phpbb_root_path/styles/prosilver/template/topupconfirm_body.html
phpbb_root_path/styles/prosilver/template/donors_body.html
phpbb_root_path/styles/prosilver/template/points_logs.html
phpbb_root_path/styles/prosilver/template/points_lottery.html
phpbb_root_path/styles/prosilver/template/points_main.html
phpbb_root_path/styles/prosilver/template/points_transfer.html
phpbb_root_path/styles/prosilver/template/points_bank.html
phpbb_root_path/styles/prosilver/template/points_edit.html
phpbb_root_path/styles/subsilver2/template/topupconfirm_body.html
phpbb_root_path/styles/subsilver2/template/donors_body.html
phpbb_root_path/styles/subsilver2/template/points_logs.html
phpbb_root_path/styles/subsilver2/template/points_lottery.html
phpbb_root_path/styles/subsilver2/template/points_main.html
phpbb_root_path/styles/subsilver2/template/points_transfer.html
phpbb_root_path/styles/subsilver2/template/points_bank.html
phpbb_root_path/styles/subsilver2/template/points_edit.html
The files are uploaded to my prosilver based style. I've checked this more then one time.

Code: Select all

Checking file edits...

The following files do not seem to be edited:
phpbb_root_path/includes/constants.php - define('ACCT_HIST_TABLE', $table_prefix . 'account_hist');
It is editted...

file: constants:

Code: Select all

<?php
/**
*
* @package phpBB3
* @version $Id: constants.php 9187 2008-12-12 14:47:03Z acydburn $
* @copyright (c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
	exit;
}

/**
* valid external constants:
* PHPBB_MSG_HANDLER
* PHPBB_DB_NEW_LINK
* PHPBB_ROOT_PATH
* PHPBB_ADMIN_PATH
*/

// phpBB Version
define('PHPBB_VERSION', '3.0.4');

// QA-related
// define('PHPBB_QA', 1);

// User related
define('ANONYMOUS', 1);

define('USER_ACTIVATION_NONE', 0);
define('USER_ACTIVATION_SELF', 1);
define('USER_ACTIVATION_ADMIN', 2);
define('USER_ACTIVATION_DISABLE', 3);

define('AVATAR_UPLOAD', 1);
define('AVATAR_REMOTE', 2);
define('AVATAR_GALLERY', 3);

define('USER_NORMAL', 0);
define('USER_INACTIVE', 1);
define('USER_IGNORE', 2);
define('USER_FOUNDER', 3);

define('INACTIVE_REGISTER', 1);
define('INACTIVE_PROFILE', 2);
define('INACTIVE_MANUAL', 3);
define('INACTIVE_REMIND', 4);

// ACL
define('ACL_NEVER', 0);
define('ACL_YES', 1);
define('ACL_NO', -1);

// Login error codes
define('LOGIN_CONTINUE', 1);
define('LOGIN_BREAK', 2);
define('LOGIN_SUCCESS', 3);
define('LOGIN_SUCCESS_CREATE_PROFILE', 20);
define('LOGIN_ERROR_USERNAME', 10);
define('LOGIN_ERROR_PASSWORD', 11);
define('LOGIN_ERROR_ACTIVE', 12);
define('LOGIN_ERROR_ATTEMPTS', 13);
define('LOGIN_ERROR_EXTERNAL_AUTH', 14);
define('LOGIN_ERROR_PASSWORD_CONVERT', 15);

// Group settings
define('GROUP_OPEN', 0);
define('GROUP_CLOSED', 1);
define('GROUP_HIDDEN', 2);
define('GROUP_SPECIAL', 3);
define('GROUP_FREE', 4);

// Forum/Topic states
define('FORUM_CAT', 0);
define('FORUM_POST', 1);
define('FORUM_LINK', 2);
define('ITEM_UNLOCKED', 0);
define('ITEM_LOCKED', 1);
define('ITEM_MOVED', 2);

// Forum Flags
define('FORUM_FLAG_LINK_TRACK', 1);
define('FORUM_FLAG_PRUNE_POLL', 2);
define('FORUM_FLAG_PRUNE_ANNOUNCE', 4);
define('FORUM_FLAG_PRUNE_STICKY', 8);
define('FORUM_FLAG_ACTIVE_TOPICS', 16);
define('FORUM_FLAG_POST_REVIEW', 32);

// Optional text flags
define('OPTION_FLAG_BBCODE', 1);
define('OPTION_FLAG_SMILIES', 2);
define('OPTION_FLAG_LINKS', 4);

// Topic types
define('POST_NORMAL', 0);
define('POST_STICKY', 1);
define('POST_ANNOUNCE', 2);
define('POST_GLOBAL', 3);

// Lastread types
define('TRACK_NORMAL', 0);
define('TRACK_POSTED', 1);

// Notify methods
define('NOTIFY_EMAIL', 0);
define('NOTIFY_IM', 1);
define('NOTIFY_BOTH', 2);

// Email Priority Settings
define('MAIL_LOW_PRIORITY', 4);
define('MAIL_NORMAL_PRIORITY', 3);
define('MAIL_HIGH_PRIORITY', 2);

// Log types
define('LOG_ADMIN', 0);
define('LOG_MOD', 1);
define('LOG_CRITICAL', 2);
define('LOG_USERS', 3);

// Private messaging - Do NOT change these values
define('PRIVMSGS_HOLD_BOX', -4);
define('PRIVMSGS_NO_BOX', -3);
define('PRIVMSGS_OUTBOX', -2);
define('PRIVMSGS_SENTBOX', -1);
define('PRIVMSGS_INBOX', 0);

// Full Folder Actions
define('FULL_FOLDER_NONE', -3);
define('FULL_FOLDER_DELETE', -2);
define('FULL_FOLDER_HOLD', -1);

// Download Modes - Attachments
define('INLINE_LINK', 1);
// This mode is only used internally to allow modders extending the attachment functionality
define('PHYSICAL_LINK', 2);

// Confirm types
define('CONFIRM_REG', 1);
define('CONFIRM_LOGIN', 2);
define('CONFIRM_POST', 3);

// Categories - Attachments
define('ATTACHMENT_CATEGORY_NONE', 0);
define('ATTACHMENT_CATEGORY_IMAGE', 1); // Inline Images
define('ATTACHMENT_CATEGORY_WM', 2); // Windows Media Files - Streaming
define('ATTACHMENT_CATEGORY_RM', 3); // Real Media Files - Streaming
define('ATTACHMENT_CATEGORY_THUMB', 4); // Not used within the database, only while displaying posts
define('ATTACHMENT_CATEGORY_FLASH', 5); // Flash/SWF files
define('ATTACHMENT_CATEGORY_QUICKTIME', 6); // Quicktime/Mov files

// BBCode UID length
define('BBCODE_UID_LEN', 8);

// Number of core BBCodes
define('NUM_CORE_BBCODES', 12);

// Magic url types
define('MAGIC_URL_EMAIL', 1);
define('MAGIC_URL_FULL', 2);
define('MAGIC_URL_LOCAL', 3);
define('MAGIC_URL_WWW', 4);

// Profile Field Types
define('FIELD_INT', 1);
define('FIELD_STRING', 2);
define('FIELD_TEXT', 3);
define('FIELD_BOOL', 4);
define('FIELD_DROPDOWN', 5);
define('FIELD_DATE', 6);

// referer validation
define('REFERER_VALIDATE_NONE', 0);
define('REFERER_VALIDATE_HOST', 1);
define('REFERER_VALIDATE_PATH', 2);

// phpbb_chmod() permissions
@define('CHMOD_ALL', 7);
@define('CHMOD_READ', 4);
@define('CHMOD_WRITE', 2);
@define('CHMOD_EXECUTE', 1);

// Additional constants
//--[Points Modification]--
define('PAYMENT_MANUAL', 0);
define('PAYMENT_RECURRING_W', 1);
define('PAYMENT_RECURRING_M', 2);
define('PAYMENT_RECURRING_Q', 3);
define('PAYMENT_RECURRING_H', 4);
define('PAYMENT_RECURRING_Y', 5);
//--[Points Modification]--

define('VOTE_CONVERTED', 127);

// Table names
define('ACL_GROUPS_TABLE',			$table_prefix . 'acl_groups');
define('ACL_OPTIONS_TABLE',			$table_prefix . 'acl_options');
define('ACL_ROLES_DATA_TABLE',		$table_prefix . 'acl_roles_data');
define('ACL_ROLES_TABLE',			$table_prefix . 'acl_roles');
define('ACL_USERS_TABLE',			$table_prefix . 'acl_users');
define('ATTACHMENTS_TABLE',			$table_prefix . 'attachments');
define('BANLIST_TABLE',				$table_prefix . 'banlist');
define('BBCODES_TABLE',				$table_prefix . 'bbcodes');
define('BOOKMARKS_TABLE',			$table_prefix . 'bookmarks');
define('BOTS_TABLE',				$table_prefix . 'bots');
define('CONFIG_TABLE',				$table_prefix . 'config');
define('CONFIRM_TABLE',				$table_prefix . 'confirm');
define('DISALLOW_TABLE',			$table_prefix . 'disallow');
define('DRAFTS_TABLE',				$table_prefix . 'drafts');
define('EXTENSIONS_TABLE',			$table_prefix . 'extensions');
define('EXTENSION_GROUPS_TABLE',	$table_prefix . 'extension_groups');
define('FORUMS_TABLE',				$table_prefix . 'forums');
define('FORUMS_ACCESS_TABLE',		$table_prefix . 'forums_access');
define('FORUMS_TRACK_TABLE',		$table_prefix . 'forums_track');
define('FORUMS_WATCH_TABLE',		$table_prefix . 'forums_watch');
define('GROUPS_TABLE',				$table_prefix . 'groups');
define('ICONS_TABLE',				$table_prefix . 'icons');
define('LANG_TABLE',				$table_prefix . 'lang');
define('LOG_TABLE',					$table_prefix . 'log');
define('MODERATOR_CACHE_TABLE',		$table_prefix . 'moderator_cache');
define('MODULES_TABLE',				$table_prefix . 'modules');
define('POLL_OPTIONS_TABLE',		$table_prefix . 'poll_options');
define('POLL_VOTES_TABLE',			$table_prefix . 'poll_votes');
define('POSTS_TABLE',				$table_prefix . 'posts');
define('PRIVMSGS_TABLE',			$table_prefix . 'privmsgs');
define('PRIVMSGS_FOLDER_TABLE',		$table_prefix . 'privmsgs_folder');
define('PRIVMSGS_RULES_TABLE',		$table_prefix . 'privmsgs_rules');
define('PRIVMSGS_TO_TABLE',			$table_prefix . 'privmsgs_to');
define('PROFILE_FIELDS_TABLE',		$table_prefix . 'profile_fields');
define('PROFILE_FIELDS_DATA_TABLE',	$table_prefix . 'profile_fields_data');
define('PROFILE_FIELDS_LANG_TABLE',	$table_prefix . 'profile_fields_lang');
define('PROFILE_LANG_TABLE',		$table_prefix . 'profile_lang');
define('RANKS_TABLE',				$table_prefix . 'ranks');
define('REPORTS_TABLE',				$table_prefix . 'reports');
define('REPORTS_REASONS_TABLE',		$table_prefix . 'reports_reasons');
define('SEARCH_RESULTS_TABLE',		$table_prefix . 'search_results');
define('SEARCH_WORDLIST_TABLE',		$table_prefix . 'search_wordlist');
define('SEARCH_WORDMATCH_TABLE',	$table_prefix . 'search_wordmatch');
define('SESSIONS_TABLE',			$table_prefix . 'sessions');
define('SESSIONS_KEYS_TABLE',		$table_prefix . 'sessions_keys');
define('SITELIST_TABLE',			$table_prefix . 'sitelist');
define('SMILIES_TABLE',				$table_prefix . 'smilies');
define('STYLES_TABLE',				$table_prefix . 'styles');
define('STYLES_TEMPLATE_TABLE',		$table_prefix . 'styles_template');
define('STYLES_TEMPLATE_DATA_TABLE',$table_prefix . 'styles_template_data');
define('STYLES_THEME_TABLE',		$table_prefix . 'styles_theme');
define('STYLES_IMAGESET_TABLE',		$table_prefix . 'styles_imageset');
define('STYLES_IMAGESET_DATA_TABLE',$table_prefix . 'styles_imageset_data');
define('TOPICS_TABLE',				$table_prefix . 'topics');
define('TOPICS_POSTED_TABLE',		$table_prefix . 'topics_posted');
define('TOPICS_TRACK_TABLE',		$table_prefix . 'topics_track');
define('TOPICS_WATCH_TABLE',		$table_prefix . 'topics_watch');
define('USER_GROUP_TABLE',			$table_prefix . 'user_group');
define('USERS_TABLE',				$table_prefix . 'users');
define('WARNINGS_TABLE',			$table_prefix . 'warnings');
define('WORDS_TABLE',				$table_prefix . 'words');
define('ZEBRA_TABLE',				$table_prefix . 'zebra');

// Additional tables

//--[Points Modification]--
define('USER_POINTS', 'points');
define('USER_DONATIONS', 'user_donation');

define('POINTS_CONFIG_TABLE', $table_prefix . 'points');
define('POINTS_LOG_TABLE', $table_prefix . 'points_log');
define('ACCT_HIST_TABLE', $table_prefix.'account_hist');
define('LOTTERY_HISTORY',			$table_prefix . 'lottery_history');
define('LOTTERY_TICKETS',			$table_prefix . 'lottery_tickets');
define('BANK_TABLE',			$table_prefix . 'bank');

//--[Points Modification]--


define('USER_ITEMS_TABLE', $table_prefix.'user_items');
define('SHOP_TABLE', $table_prefix.'shops');
define('SHOP_ITEMS_TABLE', $table_prefix.'shopitems');
define('TRANS_TABLE', $table_prefix.'transactions');

define('WPM_TABLE',					$table_prefix . 'wpm');

?>
And this one: when I want to go in a topic

Code: Select all

QL ERROR [ mysqli ]

Table 'azkaban.phpbb_user_items' doesn't exist [1146]

SQL

SELECT * FROM phpbb_user_items WHERE user_id='2' AND ( worn = 0 or worn = 1 ) GROuP BY `item_name` ORDER BY `id`

BACKTRACE

FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()

FILE: viewtopic.php
LINE: 1480
CALL: dbal_mysqli->sql_query()
Adrian1
Registered User
Posts: 630
Joined: Tue Jul 15, 2008 11:21 am
Contact:

Re: [Beta] Shop Mod v.1.0 Beta 1

Post by Adrian1 »

Deathly Hallow wrote:I get this now:

Code: Select all

Checking if files exist...

The following files were not found:
phpbb_root_path/styles/prosilver/template/topupconfirm_body.html
phpbb_root_path/styles/prosilver/template/donors_body.html
phpbb_root_path/styles/prosilver/template/points_logs.html
phpbb_root_path/styles/prosilver/template/points_lottery.html
phpbb_root_path/styles/prosilver/template/points_main.html
phpbb_root_path/styles/prosilver/template/points_transfer.html
phpbb_root_path/styles/prosilver/template/points_bank.html
phpbb_root_path/styles/prosilver/template/points_edit.html
phpbb_root_path/styles/subsilver2/template/topupconfirm_body.html
phpbb_root_path/styles/subsilver2/template/donors_body.html
phpbb_root_path/styles/subsilver2/template/points_logs.html
phpbb_root_path/styles/subsilver2/template/points_lottery.html
phpbb_root_path/styles/subsilver2/template/points_main.html
phpbb_root_path/styles/subsilver2/template/points_transfer.html
phpbb_root_path/styles/subsilver2/template/points_bank.html
phpbb_root_path/styles/subsilver2/template/points_edit.html
The files are uploaded to my prosilver based style. I've checked this more then one time.

Code: Select all

Checking file edits...

The following files do not seem to be edited:
phpbb_root_path/includes/constants.php - define('ACCT_HIST_TABLE', $table_prefix . 'account_hist');
It is editted...

file: constants:

Code: Select all

<?php
/**
*
* @package phpBB3
* @version $Id: constants.php 9187 2008-12-12 14:47:03Z acydburn $
* @copyright (c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
	exit;
}

/**
* valid external constants:
* PHPBB_MSG_HANDLER
* PHPBB_DB_NEW_LINK
* PHPBB_ROOT_PATH
* PHPBB_ADMIN_PATH
*/

// phpBB Version
define('PHPBB_VERSION', '3.0.4');

// QA-related
// define('PHPBB_QA', 1);

// User related
define('ANONYMOUS', 1);

define('USER_ACTIVATION_NONE', 0);
define('USER_ACTIVATION_SELF', 1);
define('USER_ACTIVATION_ADMIN', 2);
define('USER_ACTIVATION_DISABLE', 3);

define('AVATAR_UPLOAD', 1);
define('AVATAR_REMOTE', 2);
define('AVATAR_GALLERY', 3);

define('USER_NORMAL', 0);
define('USER_INACTIVE', 1);
define('USER_IGNORE', 2);
define('USER_FOUNDER', 3);

define('INACTIVE_REGISTER', 1);
define('INACTIVE_PROFILE', 2);
define('INACTIVE_MANUAL', 3);
define('INACTIVE_REMIND', 4);

// ACL
define('ACL_NEVER', 0);
define('ACL_YES', 1);
define('ACL_NO', -1);

// Login error codes
define('LOGIN_CONTINUE', 1);
define('LOGIN_BREAK', 2);
define('LOGIN_SUCCESS', 3);
define('LOGIN_SUCCESS_CREATE_PROFILE', 20);
define('LOGIN_ERROR_USERNAME', 10);
define('LOGIN_ERROR_PASSWORD', 11);
define('LOGIN_ERROR_ACTIVE', 12);
define('LOGIN_ERROR_ATTEMPTS', 13);
define('LOGIN_ERROR_EXTERNAL_AUTH', 14);
define('LOGIN_ERROR_PASSWORD_CONVERT', 15);

// Group settings
define('GROUP_OPEN', 0);
define('GROUP_CLOSED', 1);
define('GROUP_HIDDEN', 2);
define('GROUP_SPECIAL', 3);
define('GROUP_FREE', 4);

// Forum/Topic states
define('FORUM_CAT', 0);
define('FORUM_POST', 1);
define('FORUM_LINK', 2);
define('ITEM_UNLOCKED', 0);
define('ITEM_LOCKED', 1);
define('ITEM_MOVED', 2);

// Forum Flags
define('FORUM_FLAG_LINK_TRACK', 1);
define('FORUM_FLAG_PRUNE_POLL', 2);
define('FORUM_FLAG_PRUNE_ANNOUNCE', 4);
define('FORUM_FLAG_PRUNE_STICKY', 8);
define('FORUM_FLAG_ACTIVE_TOPICS', 16);
define('FORUM_FLAG_POST_REVIEW', 32);

// Optional text flags
define('OPTION_FLAG_BBCODE', 1);
define('OPTION_FLAG_SMILIES', 2);
define('OPTION_FLAG_LINKS', 4);

// Topic types
define('POST_NORMAL', 0);
define('POST_STICKY', 1);
define('POST_ANNOUNCE', 2);
define('POST_GLOBAL', 3);

// Lastread types
define('TRACK_NORMAL', 0);
define('TRACK_POSTED', 1);

// Notify methods
define('NOTIFY_EMAIL', 0);
define('NOTIFY_IM', 1);
define('NOTIFY_BOTH', 2);

// Email Priority Settings
define('MAIL_LOW_PRIORITY', 4);
define('MAIL_NORMAL_PRIORITY', 3);
define('MAIL_HIGH_PRIORITY', 2);

// Log types
define('LOG_ADMIN', 0);
define('LOG_MOD', 1);
define('LOG_CRITICAL', 2);
define('LOG_USERS', 3);

// Private messaging - Do NOT change these values
define('PRIVMSGS_HOLD_BOX', -4);
define('PRIVMSGS_NO_BOX', -3);
define('PRIVMSGS_OUTBOX', -2);
define('PRIVMSGS_SENTBOX', -1);
define('PRIVMSGS_INBOX', 0);

// Full Folder Actions
define('FULL_FOLDER_NONE', -3);
define('FULL_FOLDER_DELETE', -2);
define('FULL_FOLDER_HOLD', -1);

// Download Modes - Attachments
define('INLINE_LINK', 1);
// This mode is only used internally to allow modders extending the attachment functionality
define('PHYSICAL_LINK', 2);

// Confirm types
define('CONFIRM_REG', 1);
define('CONFIRM_LOGIN', 2);
define('CONFIRM_POST', 3);

// Categories - Attachments
define('ATTACHMENT_CATEGORY_NONE', 0);
define('ATTACHMENT_CATEGORY_IMAGE', 1); // Inline Images
define('ATTACHMENT_CATEGORY_WM', 2); // Windows Media Files - Streaming
define('ATTACHMENT_CATEGORY_RM', 3); // Real Media Files - Streaming
define('ATTACHMENT_CATEGORY_THUMB', 4); // Not used within the database, only while displaying posts
define('ATTACHMENT_CATEGORY_FLASH', 5); // Flash/SWF files
define('ATTACHMENT_CATEGORY_QUICKTIME', 6); // Quicktime/Mov files

// BBCode UID length
define('BBCODE_UID_LEN', 8);

// Number of core BBCodes
define('NUM_CORE_BBCODES', 12);

// Magic url types
define('MAGIC_URL_EMAIL', 1);
define('MAGIC_URL_FULL', 2);
define('MAGIC_URL_LOCAL', 3);
define('MAGIC_URL_WWW', 4);

// Profile Field Types
define('FIELD_INT', 1);
define('FIELD_STRING', 2);
define('FIELD_TEXT', 3);
define('FIELD_BOOL', 4);
define('FIELD_DROPDOWN', 5);
define('FIELD_DATE', 6);

// referer validation
define('REFERER_VALIDATE_NONE', 0);
define('REFERER_VALIDATE_HOST', 1);
define('REFERER_VALIDATE_PATH', 2);

// phpbb_chmod() permissions
@define('CHMOD_ALL', 7);
@define('CHMOD_READ', 4);
@define('CHMOD_WRITE', 2);
@define('CHMOD_EXECUTE', 1);

// Additional constants
//--[Points Modification]--
define('PAYMENT_MANUAL', 0);
define('PAYMENT_RECURRING_W', 1);
define('PAYMENT_RECURRING_M', 2);
define('PAYMENT_RECURRING_Q', 3);
define('PAYMENT_RECURRING_H', 4);
define('PAYMENT_RECURRING_Y', 5);
//--[Points Modification]--

define('VOTE_CONVERTED', 127);

// Table names
define('ACL_GROUPS_TABLE',			$table_prefix . 'acl_groups');
define('ACL_OPTIONS_TABLE',			$table_prefix . 'acl_options');
define('ACL_ROLES_DATA_TABLE',		$table_prefix . 'acl_roles_data');
define('ACL_ROLES_TABLE',			$table_prefix . 'acl_roles');
define('ACL_USERS_TABLE',			$table_prefix . 'acl_users');
define('ATTACHMENTS_TABLE',			$table_prefix . 'attachments');
define('BANLIST_TABLE',				$table_prefix . 'banlist');
define('BBCODES_TABLE',				$table_prefix . 'bbcodes');
define('BOOKMARKS_TABLE',			$table_prefix . 'bookmarks');
define('BOTS_TABLE',				$table_prefix . 'bots');
define('CONFIG_TABLE',				$table_prefix . 'config');
define('CONFIRM_TABLE',				$table_prefix . 'confirm');
define('DISALLOW_TABLE',			$table_prefix . 'disallow');
define('DRAFTS_TABLE',				$table_prefix . 'drafts');
define('EXTENSIONS_TABLE',			$table_prefix . 'extensions');
define('EXTENSION_GROUPS_TABLE',	$table_prefix . 'extension_groups');
define('FORUMS_TABLE',				$table_prefix . 'forums');
define('FORUMS_ACCESS_TABLE',		$table_prefix . 'forums_access');
define('FORUMS_TRACK_TABLE',		$table_prefix . 'forums_track');
define('FORUMS_WATCH_TABLE',		$table_prefix . 'forums_watch');
define('GROUPS_TABLE',				$table_prefix . 'groups');
define('ICONS_TABLE',				$table_prefix . 'icons');
define('LANG_TABLE',				$table_prefix . 'lang');
define('LOG_TABLE',					$table_prefix . 'log');
define('MODERATOR_CACHE_TABLE',		$table_prefix . 'moderator_cache');
define('MODULES_TABLE',				$table_prefix . 'modules');
define('POLL_OPTIONS_TABLE',		$table_prefix . 'poll_options');
define('POLL_VOTES_TABLE',			$table_prefix . 'poll_votes');
define('POSTS_TABLE',				$table_prefix . 'posts');
define('PRIVMSGS_TABLE',			$table_prefix . 'privmsgs');
define('PRIVMSGS_FOLDER_TABLE',		$table_prefix . 'privmsgs_folder');
define('PRIVMSGS_RULES_TABLE',		$table_prefix . 'privmsgs_rules');
define('PRIVMSGS_TO_TABLE',			$table_prefix . 'privmsgs_to');
define('PROFILE_FIELDS_TABLE',		$table_prefix . 'profile_fields');
define('PROFILE_FIELDS_DATA_TABLE',	$table_prefix . 'profile_fields_data');
define('PROFILE_FIELDS_LANG_TABLE',	$table_prefix . 'profile_fields_lang');
define('PROFILE_LANG_TABLE',		$table_prefix . 'profile_lang');
define('RANKS_TABLE',				$table_prefix . 'ranks');
define('REPORTS_TABLE',				$table_prefix . 'reports');
define('REPORTS_REASONS_TABLE',		$table_prefix . 'reports_reasons');
define('SEARCH_RESULTS_TABLE',		$table_prefix . 'search_results');
define('SEARCH_WORDLIST_TABLE',		$table_prefix . 'search_wordlist');
define('SEARCH_WORDMATCH_TABLE',	$table_prefix . 'search_wordmatch');
define('SESSIONS_TABLE',			$table_prefix . 'sessions');
define('SESSIONS_KEYS_TABLE',		$table_prefix . 'sessions_keys');
define('SITELIST_TABLE',			$table_prefix . 'sitelist');
define('SMILIES_TABLE',				$table_prefix . 'smilies');
define('STYLES_TABLE',				$table_prefix . 'styles');
define('STYLES_TEMPLATE_TABLE',		$table_prefix . 'styles_template');
define('STYLES_TEMPLATE_DATA_TABLE',$table_prefix . 'styles_template_data');
define('STYLES_THEME_TABLE',		$table_prefix . 'styles_theme');
define('STYLES_IMAGESET_TABLE',		$table_prefix . 'styles_imageset');
define('STYLES_IMAGESET_DATA_TABLE',$table_prefix . 'styles_imageset_data');
define('TOPICS_TABLE',				$table_prefix . 'topics');
define('TOPICS_POSTED_TABLE',		$table_prefix . 'topics_posted');
define('TOPICS_TRACK_TABLE',		$table_prefix . 'topics_track');
define('TOPICS_WATCH_TABLE',		$table_prefix . 'topics_watch');
define('USER_GROUP_TABLE',			$table_prefix . 'user_group');
define('USERS_TABLE',				$table_prefix . 'users');
define('WARNINGS_TABLE',			$table_prefix . 'warnings');
define('WORDS_TABLE',				$table_prefix . 'words');
define('ZEBRA_TABLE',				$table_prefix . 'zebra');

// Additional tables

//--[Points Modification]--
define('USER_POINTS', 'points');
define('USER_DONATIONS', 'user_donation');

define('POINTS_CONFIG_TABLE', $table_prefix . 'points');
define('POINTS_LOG_TABLE', $table_prefix . 'points_log');
define('ACCT_HIST_TABLE', $table_prefix.'account_hist');
define('LOTTERY_HISTORY',			$table_prefix . 'lottery_history');
define('LOTTERY_TICKETS',			$table_prefix . 'lottery_tickets');
define('BANK_TABLE',			$table_prefix . 'bank');

//--[Points Modification]--


define('USER_ITEMS_TABLE', $table_prefix.'user_items');
define('SHOP_TABLE', $table_prefix.'shops');
define('SHOP_ITEMS_TABLE', $table_prefix.'shopitems');
define('TRANS_TABLE', $table_prefix.'transactions');

define('WPM_TABLE',					$table_prefix . 'wpm');

?>
And this one: when I want to go in a topic

Code: Select all

QL ERROR [ mysqli ]

Table 'azkaban.phpbb_user_items' doesn't exist [1146]

SQL

SELECT * FROM phpbb_user_items WHERE user_id='2' AND ( worn = 0 or worn = 1 ) GROuP BY `item_name` ORDER BY `id`

BACKTRACE

FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()

FILE: viewtopic.php
LINE: 1480
CALL: dbal_mysqli->sql_query()
1.It is normal error, because it check file from prosilver, no from other style ;)
2. I now this i type error, it will be fixed(the install_check has this small error)
3.You have not run the shop installer
RPG MOD for phpbb3
Adrian1
Registered User
Posts: 630
Joined: Tue Jul 15, 2008 11:21 am
Contact:

Re: [Beta] Shop Mod v.1.0 Beta 1

Post by Adrian1 »

For all user of shopm for fix a display error in user items check edit this fix:
http://www.phpbbgods.org/viewtopic.php?f=2&t=97#p519
RPG MOD for phpbb3
Deathly Hallow
Registered User
Posts: 277
Joined: Mon Apr 21, 2008 11:58 am
Location: Netherlands

Re: [Beta] Shop Mod v.1.0 Beta 1

Post by Deathly Hallow »

I think it all works right know!

Can you also tell me, how to manage point per post and topic. Now you get 10 per post, and 15 per topic, can I change this?

(wrong topic.. i know)

for the shop..

What does this really mean:

Restock time
REstock ammount
item stock
maxim stock
Item location (for an image or..?
Enter the code name of permission. Note, please pay attention to give permission
Adrian1
Registered User
Posts: 630
Joined: Tue Jul 15, 2008 11:21 am
Contact:

Re: [Beta] Shop Mod v.1.0 Beta 1

Post by Adrian1 »

Deathly Hallow wrote:I think it all works right know!

Can you also tell me, how to manage point per post and topic. Now you get 10 per post, and 15 per topic, can I change this?

(wrong topic.. i know)

for the shop..

What does this really mean:

Restock time
REstock ammount
item stock
maxim stock
Item location (for an image or..?
Enter the code name of permission. Note, please pay attention to give permission
Youn ca set it per forum in forum setting.

1.After x second the number of available item will be restock
2.The amount of restocked item
3.Thit is the limit of item stock
3.Yes this is the image location
7.For this read the first topic.
RPG MOD for phpbb3
Deathly Hallow
Registered User
Posts: 277
Joined: Mon Apr 21, 2008 11:58 am
Location: Netherlands

Re: [Beta] Shop Mod v.1.0 Beta 1

Post by Deathly Hallow »

Last question, i think.

I think I'm doing something wrong but I do not know what...

My inventory page is very strange: http://azkaban.bplaced.net/afbeeldingen/nameless.jpg

what can I do with it, to make it right?

----
what the exaclty function of restock time, I still don't nderstand, is it disable? And the function for restock ammount I still don't understand as well. :oops:
WascallyWabbit
Registered User
Posts: 170
Joined: Sun Mar 16, 2008 1:17 pm
Contact:

Re: [Beta] Shop Mod v.1.0 Beta 1

Post by WascallyWabbit »

Deathly Hallow wrote:Last question, i think.

I think I'm doing something wrong but I do not know what...

My inventory page is very strange: http://azkaban.bplaced.net/afbeeldingen/nameless.jpg

what can I do with it, to make it right?

----
what the exaclty function of restock time, I still don't nderstand, is it disable? And the function for restock ammount I still don't understand as well. :oops:
This fix is thanks to sotis over at Phpbbgods.org

In shop.php uncomment the following

Code: Select all

      $title = $user->data['username']."'s ".$user->lang['INVENTORY'];
        page_header($title);
       $shoplocation = ' -> <a href="'.append_sid('shop.'.$phpEx.'?action=inventory&searchid=' . $searchid, true).'" class="nav">' . str_replace("s's", "s'", $user->data['username']."'s") . ' ' . $user->lang['INVENTORY'] . '</a>';

       $template->assign_vars(array(
          'L_SHOP_TITLE' => $title,
          'L_POINTS_NAME' => $config['points_name'],

          'U_INVENTORY' => append_sid("shop.$phpEx?action=inventory&searchid=" . $user->data['user_id']),

          'USER_POINTS' => $user->data['points'],
          'SHOPLOCATION' => $shoplocation
       ));
       $template->assign_block_vars('', array());
}
That got the inventory working for me, so hopefully it will do the trick for you.
Deathly Hallow
Registered User
Posts: 277
Joined: Mon Apr 21, 2008 11:58 am
Location: Netherlands

Re: [Beta] Shop Mod v.1.0 Beta 1

Post by Deathly Hallow »

Just delete that part?

And, the file is the parent directory?
WascallyWabbit
Registered User
Posts: 170
Joined: Sun Mar 16, 2008 1:17 pm
Contact:

Re: [Beta] Shop Mod v.1.0 Beta 1

Post by WascallyWabbit »

Deathly Hallow wrote:Just delete that part?

And, the file is the parent directory?
don't delete it....open it up in your favorite text editor and remove the */ at the end of the section I posted and move it in front of the section. This will remove the commenting from that section and still leave the stuff above it commented.
Locked

Return to “[3.0.x] Abandoned MODs”