Group Rank Hack Install problem!

Wondering why that MOD you have won't install correctly? Let's take a look
Forum rules
DO NOT give out any FTP passwords to anyone! There is no reason to do so! If you need help badly enough, create a temporary FTP account that is restricted to only the files that you need help with and give the information for that. Giving out FTP information can be very dangerous!
Locked
User avatar
RyosukeZ
Registered User
Posts: 302
Joined: Sun Oct 01, 2006 12:40 am
Location: Woodlands, Singapore
Contact:

Re: Group Rank Hack Install problem!

Post by RyosukeZ »

sure.. i think i make another blank line for the multiple ranks ;p
http://devastation.xionize.com/admin_users.txt
Bored? Come and have fun at my forum!!
Lets rock the hse!!

Nightrider
Registered User
Posts: 7219
Joined: Tue Nov 16, 2004 8:54 pm
Location: Florida, US
Contact:

Re: Group Rank Hack Install problem!

Post by Nightrider »

Ok, try this. Be careful to modify what I am suggesting here. The AFTER, ADD needs to become a BEFORE, ADD command too...

OPEN
Olympus Group Colours_104c.txt

FIND

Code: Select all

#
#-----[ FIND ]------------------------------------------
#
$rank_select_box .=
}

#
#-----[ AFTER, ADD ]------------------------------------------
#
REPLACE WITH

Code: Select all

#
#-----[ FIND ]------------------------------------------
#
$template->set_filenames(array(
"body" => "admin/user_edit_body.tpl")

#
#-----[ BEFORE, ADD ]------------------------------------------
#
Save, upload, and try again using EM...

Image

User avatar
RyosukeZ
Registered User
Posts: 302
Joined: Sun Oct 01, 2006 12:40 am
Location: Woodlands, Singapore
Contact:

Re: Group Rank Hack Install problem!

Post by RyosukeZ »

haha, luckily u told me, if not i wouldn't notice :P
hmm new one

Code: Select all

Error Detail
 
Critical Error

FIND FAILED: In file [admin/admin_users.php] could not find:

'RANK_SELECT_BOX' => $rank_select_box,

MOD script line #448 :: FAQ :: Report
eh, don't have 'RANK_SELECT_BOX' string also.
Bored? Come and have fun at my forum!!
Lets rock the hse!!

Nightrider
Registered User
Posts: 7219
Joined: Tue Nov 16, 2004 8:54 pm
Location: Florida, US
Contact:

Re: Group Rank Hack Install problem!

Post by Nightrider »

Ok, try this:

OPEN
Olympus Group Colours_104c.txt

FIND

Code: Select all

#
#-----[ FIND ]------------------------------------------
#
'RANK_SELECT_BOX' => $rank_select_box,
REPLACE WITH

Code: Select all

#
#-----[ FIND ]------------------------------------------
#
'USER_ACTIVE_NO' =>
You might as well fix this too while you are there:

FIND

Code: Select all

#
#-----[ FIND ]------------------------------------------
#
'L_SELECT_RANK' => $lang['Rank_title'],
REPLACE WITH

Code: Select all

#
#-----[ FIND ]------------------------------------------
#
'L_DELETE_USER_EXPLAIN' =>
Save, upload, and try again using EM...

Image

User avatar
RyosukeZ
Registered User
Posts: 302
Joined: Sun Oct 01, 2006 12:40 am
Location: Woodlands, Singapore
Contact:

Re: Group Rank Hack Install problem!

Post by RyosukeZ »

Code: Select all

Error Detail
 
Critical Error

FIND FAILED: In file [templates/subSilver/admin/user_edit_body.tpl] could not find:

<td class="row2"><select name="user_rank">{RANK_SELECT_BOX}</select></td>
</tr>

MOD script line #631 :: FAQ :: Report
Bored? Come and have fun at my forum!!
Lets rock the hse!!

Nightrider
Registered User
Posts: 7219
Joined: Tue Nov 16, 2004 8:54 pm
Location: Florida, US
Contact:

Re: Group Rank Hack Install problem!

Post by Nightrider »

Ok, try this:

OPEN
Olympus Group Colours_104c.txt

FIND

Code: Select all

#
#-----[ FIND ]------------------------------------------
#
<td class="row2"><select name="user_rank">{RANK_SELECT_BOX}</select></td>
</tr>
REPLACE WITH

Code: Select all

#
#-----[ FIND ]------------------------------------------
#
{RANK5_SELECT_BOX}
</tr>
Save, upload, and try again using EM...

Image

User avatar
RyosukeZ
Registered User
Posts: 302
Joined: Sun Oct 01, 2006 12:40 am
Location: Woodlands, Singapore
Contact:

Re: Group Rank Hack Install problem!

Post by RyosukeZ »

at last it works.
do you have attachment mod EM friendly?
how to remove the Administrator and Moderator from the Legend ?
because i want to make new one from the group list.

Would it affect the user level for Administrator and Moderator if i delete them?
need it, thanks again ^^
Bored? Come and have fun at my forum!!
Lets rock the hse!!

Nightrider
Registered User
Posts: 7219
Joined: Tue Nov 16, 2004 8:54 pm
Location: Florida, US
Contact:

Re: Group Rank Hack Install problem!

Post by Nightrider »

Yes, I have an EM Friendly version of the Attachment MOD...

Code: Select all

################################################################# 
## MOD Title: File Attachment Mod v2 - EM Friendly
## MOD Author: Acyd Burn < N/A > (Meik Sievertsen) http://www.opentools.de/
## MOD Description: 
##	This Mod adds the ability to attach files in phpBB2. 
##	This Version has been tested and works with phpBB 2.0.21.
##	This Version will NOT work with phpBB2 Modules designed for *Nuke Portals or phpBB2 Ports.
## MOD Version: 2.4.5
## 
## Installation Level: Easy when using Easymod 
## Installation Time:  1 Minute
## Files To Edit:   30
## 		 			common.php, 
##					faq.php, 
##					modcp.php, 
##					posting.php, 
##					privmsg.php, 
##         			viewforum.php, 
##					viewtopic.php, 
##					admin/admin_forumauth.php, 
##					admin/admin_ug_auth.php, 
##					admin/admin_forums.php, 
##         			admin/admin_groups.php, 
##					admin/admin_users.php, 
##					includes/auth.php, 
##					includes/functions.php, 
##					includes/functions_admin.php, 
##         			includes/prune.php, 
##					includes/topic_review.php, 
##					includes/usercp_viewprofile.php, 
##					modcp_body.tpl, 
##					posting_body.tpl, 
##         			posting_preview.tpl, 
##					posting_topic_review.tpl, 
##					privmsgs_body.tpl, 
##					privmsgs_preview.tpl, 
##					privmsgs_read_body.tpl, 
##         			profile_view_body.tpl, 
##					viewforum_body.tpl, 
##					viewtopic_body.tpl, 
##					admin/group_edit_body.tpl, 
##					admin/user_edit_body.tpl 
## Included Files:   many many files 
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
############################################################## 
## Author Notes: 
## 
## Complete feature list: docs/features.txt
## The user guide: docs/user_guide.html
##
## Some notes:
## - I suggest reading the user guide first if you haven't installed any Mods before.
## - Please note that this Mod is NOT written to be EasyMod compatible (i haven't tested it).
## - Please follow the installation instructions as strict as you can.
##
## UPDATING/UPGRADING:
##
## Please skip to the NEW INSTALLATION part if you want to install the 
## attachment mod for the first time or want to setup a new installation.
##
## Please read the docs/update.txt document for update/upgrade instructions.
## 
##
## NEW INSTALLATION:
##
## You are able to choose between two installation types, depending on your setup:
## 
## -> Using the pre-modified files:
##	
##	This method is recommended for those having a vanilla (plain, not modded) phpBB Installation.
##	With this method you do not need to adjust your phpBB files at all, only running the installer
##	and uploading all files - including the pre-modified files - is required.
##
##	If you think this is the correct method for you, please follow the following steps listet in:
##		docs/install_using_premod_files.txt
##	to install the attachment mod.
##	
##	BTW, it is save to close this file now if you use this method. ;)
##
## -> Using the mod instructions:
##
##	This method is recommended for those already having applied mods to their phpBB Installation.
##
##	If you think this is the correct method for you, please read further.
## 
## Credits: 
##	Thanks to all people translating this Mod into their language and offering their work.
##	Also a big thank you to those supporting this Mod and offering help to those having problems.
## 
## The following sites also contain the latest version of this MOD: 
## 
## http://www.opentools.de/
## http://sourceforge.net/projects/acydmods
## http://www.phpbb.com/mods
## 
## Full support for this MOD can be obtained at: 
## http://www.opentools.de/
## Please Note that i am not able to contribute to the Attachment Mod topic at phpbb.com (http://www.phpbb.com/phpBB/viewtopic.php?t=74505)
## 
############################################################## 
## MOD History: 
##
##	2006-10-14 - Version 2.4.5
##		- Created EM Friendly Version by Nightrider
##
##	2006-09-06 - Version 2.4.5
##		- fixed another XSS vulnerability only occurring for users using the internet explorer - Kellanved
##		- added COPY statement for easymod
##		- some very tiny template fixes
##		- thanks to alcaeus for verifying that the XSS issues got fixed by the implemented code
##
##	2006-09-04 - Version 2.4.4
##		- fixed typo in functions_filetypes.php
##		- adjusted install.txt to follow the phpBB MOD guidelines
##		- adjusted attachment viewtopic template for calling the loop param correctly
##		- fixed XSS only occurring for users using Internet Explorer - Vovochka
##		- used constant for user id in functions_includes
##
##	2006-04-23 - Version 2.4.3
##		- fixed wrong id in posting_attachments.php
##		- fixed some wrong db calls in functions_admin.php (not changing functionality)
##
##	2006-04-18 - Version 2.4.2
##		- fixed XSS on uploading while displaying an error - Ptirhiik
##		- take user_pending status into account while checking the quota limits - Ptirhiik
##		- check the edited attachment ids if they belong to the post/pm - Ptirhiik
##		- check filename/id information for new attachments on new post/pm - Ptirhiik
##		- moved check for empty files before database check in shadow attachments - John Bigg
##		- show all forbidden extensions
##
##	2005-12-30 - Version 2.4.1
##		- fixed doubled sql_freeresult in functions_selects.php
##		- fix extension admin panel (unable to update extensions)
##		- changed tmp dir for ftp download in safe mod from temp directory in upload directory to upload directory
##
##	2005-11-24 - Version 2.4.0a
##		- fixed a call to sql_build_array (wrong function used) in attach_mod/includes/functions_admin.php
##			this is producing a php error message within the user administration panel (editing user details)
##		- this version is a repackage, therefore the "a" at the end (nothing else changed, update path and everything else is the same)
##
##	2005-11-21 - Version 2.4.0
##		- using olympus' system of retrieving and storing values
##		- using function for sql escaping
##		- installer now checks for upload directory
##		- fixing multiple call to database in installer
##		- fixing sort_multi_array to correctly decide if sorting is based on numeric or string
##		- taking open basedir restriction into account if checking for image size
##		- making creation of temporary thumbnail file more unique if ftp upload is used (thanks to Douglas Hoffman)
##		- fixing viewing of no longer viewable/denied attachments for admins (alcaeus)
##		- display correct filename on download
##		- added optional language variables (Sync_topics, Sync_posts and Sync_thumbnails)
##
##	Please read the docs/changelog.txt document for a complete changelog.
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
############################################################## 
#
#-----[ DIY INSTRUCTIONS ]------------------------------------------------
#
 If you want/have another language, please visit http://www.opentools.de/ and download your
 Language if it is available. If you have a multi-lingual board you may want to upload all language files.
 Please make sure you download the Language Pack for at least Version 2.3.9 of the Attachment Mod.
 
 STEP NUMBER I: Installing the Attachment Mod (Database)

 You can disregard Step I if EM successfully applied the SQL queries to your database 

 You should have uploaded the install folder (above), which is only needed for running the database installer.
 Make sure you uploaded the schema Files (those files ending in .sql) in ASCII Mode (This is the Layout and Data for your Database):

 Now we want to create the tables, therefore we run the install.php file (http://www.yoursite.com/phpBB2/install/install.php)
 Please be sure to enter the correct URL (replacing www.yoursite.com with your sites URL), 
 the install.php file has to be placed within the install folder. If it is not within the install folder, you WILL get errors.

 After the install.php file hass been executed successfully, you should remove the complete install folder.

 STEP NUMBER II: Additional Instructions

 The standard path for your files is 'files' and the standard upload image is images/icon_clip.gif.
 If you want to change it, go to your Administration Panel and change it under Attachments->Management.

 If the installer told you to make the upload path writeable, you have to chmod it to 777 
 (or change the owner to you httpd-servers owner) to upload files if you do not use the ftp upload feature.
 if you only have plain ftp-access change the 'Attribute' of your files-directory to rwxrwxrwx.

 If you are using the ftp-upload feature, enter the relevant information in Attachments->Management. 
 The password is stored in plaintext within the database. You don't have to chmod the directory (ftp-path).

 it would be wise if you put the provided index.php to this directory to prevent directory indexing if this 
 has been enabled at your server.

 Before you make anything, i suggest you go to your Administration Panel->Attachments->Management and prove
 that uploading is working with the Test Upload button. ;)

 CONFIG CACHING
 
 If you want the Attachment Mod config table to be cached (reduce of one query on all phpBB2 Pages), you
 have to create a directory 'cache' within your phpBB2 root folder.
 This directory have to be chmodded to 777 (see above instructions on how to do this).

#
#-----[ COPY ]------------------------------------------
#
copy download.php to download.php 
copy uacp.php to uacp.php
copy attach_rules.php to attach_rules.php
copy admin/admin_attach_cp.php to admin/admin_attach_cp.php
copy admin/admin_attachments.php to admin/admin_attachments.php
copy admin/admin_extensions.php to admin/admin_extensions.php
copy attach_mod/attachment_mod.php to attach_mod/attachment_mod.php
copy attach_mod/displaying.php to attach_mod/displaying.php
copy attach_mod/index.htm to attach_mod/index.htm
copy attach_mod/pm_attachments.php to attach_mod/pm_attachments.php
copy attach_mod/posting_attachments.php to attach_mod/posting_attachments.php
copy attach_mod/includes/constants.php to attach_mod/includes/constants.php
copy attach_mod/includes/functions_admin.php to attach_mod/includes/functions_admin.php
copy attach_mod/includes/functions_attach.php to attach_mod/includes/functions_attach.php
copy attach_mod/includes/functions_delete.php to attach_mod/includes/functions_delete.php
copy attach_mod/includes/functions_filetypes.php to attach_mod/includes/functions_filetypes.php
copy attach_mod/includes/functions_includes.php to attach_mod/includes/functions_includes.php
copy attach_mod/includes/functions_selects.php to attach_mod/includes/functions_selects.php
copy attach_mod/includes/functions_thumbs.php to attach_mod/includes/functions_thumbs.php
copy attach_mod/includes/index.htm to attach_mod/includes/index.htm
copy files/index.php to files/index.php
copy images/icon_clip.gif to images/icon_clip.gif
copy images/icon_disk.gif to images/icon_disk.gif
copy images/icon_disk_gray.gif to images/icon_disk_gray.gif
copy templates/subSilver/add_attachment_body.tpl to templates/subSilver/add_attachment_body.tpl
copy templates/subSilver/posted_attachments_body.tpl to templates/subSilver/posted_attachments_body.tpl
copy templates/subSilver/posting_attach_body.tpl to templates/subSilver/posting_attach_body.tpl
copy templates/subSilver/posting_attach_rules.tpl to templates/subSilver/posting_attach_rules.tpl
copy templates/subSilver/uacp_body.tpl to templates/subSilver/uacp_body.tpl
copy templates/subSilver/viewtopic_attach_body.tpl to templates/subSilver/viewtopic_attach_body.tpl
copy templates/subSilver/admin/attach_cat_body.tpl to templates/subSilver/admin/attach_cat_body.tpl
copy templates/subSilver/admin/attach_cp_attachments.tpl to templates/subSilver/admin/attach_cp_attachments.tpl
copy templates/subSilver/admin/attach_cp_body.tpl to templates/subSilver/admin/attach_cp_body.tpl
copy templates/subSilver/admin/attach_cp_search.tpl to templates/subSilver/admin/attach_cp_search.tpl
copy templates/subSilver/admin/attach_cp_user.tpl to templates/subSilver/admin/attach_cp_user.tpl
copy templates/subSilver/admin/attach_extension_groups.tpl to templates/subSilver/admin/attach_extension_groups.tpl
copy templates/subSilver/admin/attach_extensions.tpl to templates/subSilver/admin/attach_extensions.tpl
copy templates/subSilver/admin/attach_forbidden_extensions.tpl to templates/subSilver/admin/attach_forbidden_extensions.tpl
copy templates/subSilver/admin/attach_manage_body.tpl to templates/subSilver/admin/attach_manage_body.tpl
copy templates/subSilver/admin/attach_quota_body.tpl to templates/subSilver/admin/attach_quota_body.tpl
copy templates/subSilver/admin/attach_shadow.tpl to templates/subSilver/admin/attach_shadow.tpl
copy templates/subSilver/admin/extension_groups_permissions.tpl to templates/subSilver/admin/extension_groups_permissions.tpl
copy language/lang_english/lang_admin_attach.php to language/lang_english/lang_admin_attach.php
copy language/lang_english/lang_faq_attach.php to language/lang_english/lang_faq_attach.php
copy language/lang_english/lang_main_attach.php to language/lang_english/lang_main_attach.php
copy install/install.php to install/install.php
copy install/schemas/attach_mysql_basic.sql to install/schemas/attach_mysql_basic.sql
copy install/schemas/attach_mysql_schema.sql to install/schemas/attach_mysql_schema.sql
copy install/schemas/attach_mssql_basic.sql to install/schemas/attach_mssql_basic.sql
copy install/schemas/attach_mssql_schema.sql to install/schemas/attach_mssql_schema.sql
copy install/schemas/attach_postgres_basic.sql to install/schemas/attach_postgres_basic.sql
copy install/schemas/attach_postgres_schema.sql to install/schemas/attach_postgres_schema.sql

#
#-----[ SQL ]------------------------------------------------
#
CREATE TABLE phpbb_attachments_config (
  config_name varchar(255) NOT NULL,
  config_value varchar(255) NOT NULL,
  PRIMARY KEY (config_name)
);

CREATE TABLE phpbb_forbidden_extensions (
  ext_id mediumint(8) UNSIGNED NOT NULL auto_increment, 
  extension varchar(100) NOT NULL, 
  PRIMARY KEY (ext_id)
);

CREATE TABLE phpbb_extension_groups (
  group_id mediumint(8) NOT NULL auto_increment,
  group_name char(20) NOT NULL,
  cat_id tinyint(2) DEFAULT '0' NOT NULL, 
  allow_group tinyint(1) DEFAULT '0' NOT NULL,
  download_mode tinyint(1) UNSIGNED DEFAULT '1' NOT NULL,
  upload_icon varchar(100) DEFAULT '',
  max_filesize int(20) DEFAULT '0' NOT NULL,
  forum_permissions varchar(255) default '' NOT NULL,
  PRIMARY KEY (group_id)
);

CREATE TABLE phpbb_extensions (
  ext_id mediumint(8) UNSIGNED NOT NULL auto_increment,
  group_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
  extension varchar(100) NOT NULL,
  comment varchar(100),
  PRIMARY KEY (ext_id)
);

CREATE TABLE phpbb_attachments_desc (
  attach_id mediumint(8) UNSIGNED NOT NULL auto_increment,
  physical_filename varchar(255) NOT NULL,
  real_filename varchar(255) NOT NULL,
  download_count mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
  comment varchar(255),
  extension varchar(100),
  mimetype varchar(100),
  filesize int(20) NOT NULL,
  filetime int(11) DEFAULT '0' NOT NULL,
  thumbnail tinyint(1) DEFAULT '0' NOT NULL,
  PRIMARY KEY (attach_id),
  KEY filetime (filetime),
  KEY physical_filename (physical_filename(10)),
  KEY filesize (filesize)
);

CREATE TABLE phpbb_attachments (
  attach_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, 
  post_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, 
  privmsgs_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
  user_id_1 mediumint(8) NOT NULL,
  user_id_2 mediumint(8) NOT NULL,
  KEY attach_id_post_id (attach_id, post_id),
  KEY attach_id_privmsgs_id (attach_id, privmsgs_id),
  KEY post_id (post_id),
  KEY privmsgs_id (privmsgs_id)
); 

CREATE TABLE phpbb_quota_limits (
  quota_limit_id mediumint(8) unsigned NOT NULL auto_increment,
  quota_desc varchar(20) NOT NULL default '',
  quota_limit bigint(20) unsigned NOT NULL default '0',
  PRIMARY KEY (quota_limit_id)
);

CREATE TABLE phpbb_attach_quota (
  user_id mediumint(8) unsigned NOT NULL default '0',
  group_id mediumint(8) unsigned NOT NULL default '0',
  quota_type smallint(2) NOT NULL default '0',
  quota_limit_id mediumint(8) unsigned NOT NULL default '0',
  KEY quota_type (quota_type)
);

ALTER TABLE phpbb_forums ADD auth_download TINYINT(2) DEFAULT '0' NOT NULL;  
ALTER TABLE phpbb_auth_access ADD auth_download TINYINT(1) DEFAULT '0' NOT NULL;  
ALTER TABLE phpbb_posts ADD post_attachment TINYINT(1) DEFAULT '0' NOT NULL;
ALTER TABLE phpbb_topics ADD topic_attachment TINYINT(1) DEFAULT '0' NOT NULL;
ALTER TABLE phpbb_privmsgs ADD privmsgs_attachment TINYINT(1) DEFAULT '0' NOT NULL;

INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('upload_dir','files');
INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('upload_img','images/icon_clip.gif');
INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('topic_icon','images/icon_clip.gif');
INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('display_order','0');
INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('max_filesize','262144');
INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('attachment_quota','52428800');
INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('max_filesize_pm','262144');
INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('max_attachments','3');
INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('max_attachments_pm','1');
INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('disable_mod','0');
INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('allow_pm_attach','1');
INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('attachment_topic_review','0');
INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('allow_ftp_upload','0');
INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('show_apcp','0');
INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('attach_version','2.4.5');
INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('default_upload_quota', '0');
INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('default_pm_quota', '0');
INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('ftp_server','');
INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('ftp_path','');
INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('download_path','');
INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('ftp_user','');
INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('ftp_pass','');
INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('ftp_pasv_mode','1');
INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('img_display_inlined','1');
INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('img_max_width','0');
INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('img_max_height','0');
INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('img_link_width','0');
INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('img_link_height','0');
INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('img_create_thumbnail','0');
INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('img_min_thumb_filesize','12000');
INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('img_imagick', '');
INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('use_gd2','0');
INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('wma_autoplay','0');
INSERT INTO phpbb_attachments_config (config_name, config_value) VALUES ('flash_autoplay','0');
INSERT INTO phpbb_forbidden_extensions (ext_id, extension) VALUES (1,'php');
INSERT INTO phpbb_forbidden_extensions (ext_id, extension) VALUES (2,'php3');
INSERT INTO phpbb_forbidden_extensions (ext_id, extension) VALUES (3,'php4');
INSERT INTO phpbb_forbidden_extensions (ext_id, extension) VALUES (4,'phtml');
INSERT INTO phpbb_forbidden_extensions (ext_id, extension) VALUES (5,'pl');
INSERT INTO phpbb_forbidden_extensions (ext_id, extension) VALUES (6,'asp');
INSERT INTO phpbb_forbidden_extensions (ext_id, extension) VALUES (7,'cgi');
INSERT INTO phpbb_forbidden_extensions (ext_id, extension) VALUES (8,'php5');
INSERT INTO phpbb_forbidden_extensions (ext_id, extension) VALUES (9,'php6');
INSERT INTO phpbb_extension_groups (group_id, group_name, cat_id, allow_group, download_mode, upload_icon, max_filesize, forum_permissions) VALUES (1,'Images',1,1,1,'',0,'');
INSERT INTO phpbb_extension_groups (group_id, group_name, cat_id, allow_group, download_mode, upload_icon, max_filesize, forum_permissions) VALUES (2,'Archives',0,1,1,'',0,'');
INSERT INTO phpbb_extension_groups (group_id, group_name, cat_id, allow_group, download_mode, upload_icon, max_filesize, forum_permissions) VALUES (3,'Plain Text',0,0,1,'',0,'');
INSERT INTO phpbb_extension_groups (group_id, group_name, cat_id, allow_group, download_mode, upload_icon, max_filesize, forum_permissions) VALUES (4,'Documents',0,0,1,'',0,'');
INSERT INTO phpbb_extension_groups (group_id, group_name, cat_id, allow_group, download_mode, upload_icon, max_filesize, forum_permissions) VALUES (5,'Real Media',0,0,2,'',0,'');
INSERT INTO phpbb_extension_groups (group_id, group_name, cat_id, allow_group, download_mode, upload_icon, max_filesize, forum_permissions) VALUES (6,'Streams',2,0,1,'',0,'');
INSERT INTO phpbb_extension_groups (group_id, group_name, cat_id, allow_group, download_mode, upload_icon, max_filesize, forum_permissions) VALUES (7,'Flash Files',3,0,1,'',0,'');
INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (1, 1,'gif', '');
INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (2, 1,'png', '');
INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (3, 1,'jpeg', '');
INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (4, 1,'jpg', '');
INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (5, 1,'tif', '');
INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (6, 1,'tga', '');
INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (7, 2,'gtar', '');
INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (8, 2,'gz', '');
INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (9, 2,'tar', '');
INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (10, 2,'zip', '');
INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (11, 2,'rar', '');
INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (12, 2,'ace', '');
INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (13, 3,'txt', '');
INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (14, 3,'c', '');
INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (15, 3,'h', '');
INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (16, 3,'cpp', '');
INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (17, 3,'hpp', '');
INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (18, 3,'diz', '');
INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (19, 4,'xls', '');
INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (20, 4,'doc', '');
INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (21, 4,'dot', '');
INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (22, 4,'pdf', '');
INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (23, 4,'ai', '');
INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (24, 4,'ps', '');
INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (25, 4,'ppt', '');
INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (26, 5,'rm', '');
INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (27, 6,'wma', '');
INSERT INTO phpbb_extensions (ext_id, group_id, extension, comment) VALUES (28, 7,'swf', '');
INSERT INTO phpbb_quota_limits (quota_limit_id, quota_desc, quota_limit) VALUES (1, 'Low', 262144);
INSERT INTO phpbb_quota_limits (quota_limit_id, quota_desc, quota_limit) VALUES (2, 'Medium', 2097152);
INSERT INTO phpbb_quota_limits (quota_limit_id, quota_desc, quota_limit) VALUES (3, 'High', 5242880);

# 
#-----[ OPEN ]--------------------------------------------- 
# 
common.php

#
#-----[ FIND ]---------------------------------------------
# around line 219
$board_config[$row['config_name']] =
}
# 
#-----[ AFTER, ADD ]-------------------------------------- 
# After the closing brace
include($phpbb_root_path . 'attach_mod/attachment_mod.'.$phpEx);
# 
#-----[ OPEN ]---------------------------------------------
# 
faq.php

# 
#-----[ FIND ]---------------------------------------------
# around line 62
include($phpbb_root_path . 'language/lang_'
# 
#-----[ AFTER, ADD ]--------------------------------------- 
# 
attach_faq_include($lang_file);
# 
#-----[ OPEN ]---------------------------------------------
# 
modcp.php

# 
#-----[ FIND ]---------------------------------------------
# around line 358
remove_search_post(

# 
#-----[ AFTER, ADD ]---------------------------------------
# 
				delete_attachment(explode(', ', $post_id_sql));

# 
#-----[ FIND ]---------------------------------------------
# around line 1237
'TOPIC_ID' =>

# 
#-----[ AFTER, ADD ]---------------------------------------
# 
				'TOPIC_ATTACHMENT_IMG' => topic_attachment_image($row['topic_attachment']),

# 
#-----[ OPEN ]---------------------------------------------
# 
posting.php

# 
#-----[ FIND ]---------------------------------------------
# around line 422
$attach_sig = ( $submit
# 
#-----[ AFTER, ADD ]--------------------------------------- 
# 
execute_posting_attachment_handling();
# 
#-----[ FIND ]---------------------------------------------
# around line 580
update_post_stats(
}
# 
#-----[ AFTER, ADD ]--------------------------------------- 
# the Line have to be added AFTER the closing brace
		$attachment_mod['posting']->insert_attachment($post_id);
# 
#-----[ FIND ]---------------------------------------------
# around line 715
'preview' =>
);

# 
#-----[ AFTER, ADD ]--------------------------------------- 
# the Line have to be added AFTER the ');'
		$attachment_mod['posting']->preview_attachments();

# 
#-----[ OPEN ]---------------------------------------------
# 
privmsg.php

# 
#-----[ FIND ]---------------------------------------------
# around line 131
//
// Start main

# 
#-----[ BEFORE, ADD ]-------------------------------------- 
# 
execute_privmsgs_attachment_handling($mode);

# 
#-----[ FIND ]---------------------------------------------
# around line 350
//
// Pick a folder

# 
#-----[ BEFORE, ADD ]-------------------------------------- 
# 
	$attachment_mod['pm']->duplicate_attachment_pm($privmsg['privmsgs_attachment'], $privmsg['privmsgs_id'], $privmsg_sent_id);

#
#-----[ FIND ]---------------------------------------------
# around line 490
$user_id_to =

# 
#-----[ AFTER, ADD ]--------------------------------------- 
# 
	init_display_pm_attachments($privmsg['privmsgs_attachment']);

#
#-----[ FIND ]---------------------------------------------
# around line 750
$mark_list[] =
}

unset(

# 
#-----[ AFTER, ADD ]--------------------------------------- 
# 
		$attachment_mod['pm']->delete_all_pm_attachments($mark_list);

#
#-----[ FIND ]---------------------------------------------
# around line 1319
if
{
//
// Add to the users new pm counter
//
# 
#-----[ BEFORE, ADD ]--------------------------------------- 
# The Line has to be added BEFORE 'if ( $mode != 'edit' )'
		$attachment_mod['pm']->insert_attachment_pm($privmsg_id);
#
#-----[ FIND ]---------------------------------------------
# around line 1629
"preview" =>
);
# 
#-----[ AFTER, ADD ]--------------------------------------- 
# The Line have to be added AFTER the ');'
		$attachment_mod['pm']->preview_attachments();
#
#-----[ FIND ]---------------------------------------------
# around line 2171
'DATE' =>
# 
#-----[ AFTER, ADD ]--------------------------------------- 
# 
			'PRIVMSG_ATTACHMENTS_IMG' => privmsgs_attachment_image($privmsg_id),
# 
#-----[ OPEN ]---------------------------------------------
# 
viewforum.php

# 
#-----[ FIND ]---------------------------------------------
# around line 370
$is_auth['auth_vote']
# 
#-----[ AFTER, ADD ]---------------------------------------
# 
attach_build_auth_levels($is_auth, $s_auth_can);

# 
#-----[ FIND ]---------------------------------------------
# around line 648
'NEWEST_POST_IMG' => 
# 
#-----[ AFTER, ADD ]---------------------------------------
# 
			'TOPIC_ATTACHMENT_IMG' => topic_attachment_image($topic_rowset[$i]['topic_attachment']),
# 
#-----[ OPEN ]---------------------------------------------
# 
viewtopic.php

# 
#-----[ FIND ]---------------------------------------------
# around line 152
AND f.forum_id = t.forum_id
$order_sql
# 
#-----[ AFTER, ADD ]---------------------------------------
# 
attach_setup_viewtopic_auth($order_sql, $sql);
# 
#-----[ FIND ]---------------------------------------------
# around line 587
$s_auth_can .= ( ( $is_auth['auth_vote']
# 
#-----[ AFTER, ADD ]---------------------------------------
# 
attach_build_auth_levels($is_auth, $s_auth_can);
# 
#-----[ FIND ]---------------------------------------------
# around line 817
//
// Update the topic view counter
# 
#-----[ BEFORE, ADD ]---------------------------------------
# 
init_display_post_attachments($forum_topic_data['topic_attachment']);
# 
#-----[ FIND ]---------------------------------------------
# around line 1209
'U_POST_ID' =>
);
# 
#-----[ AFTER, ADD ]---------------------------------------
# The Line have to be added AFTER the ');' and BEFORE the '}' (without single quotes)
	display_post_attachments($postrow[$i]['post_id'], $postrow[$i]['post_attachment']);

# 
#-----[ OPEN ]---------------------------------------------
# 
admin/admin_forumauth.php

# 
#-----[ FIND ]---------------------------------------------
# around line 72
$forum_auth_const =
# 
#-----[ AFTER, ADD ]---------------------------------------
# 
attach_setup_forum_auth($simple_auth_ary, $forum_auth_fields, $field_names);
# 
#-----[ OPEN ]---------------------------------------------
# 
admin/admin_forums.php
# 
#-----[ FIND ]---------------------------------------------
# around line 52
//
// Mode setting
# 
#-----[ BEFORE, ADD ]---------------------------------------
# 
$forum_auth_ary['auth_attachments'] = AUTH_REG;
$forum_auth_ary['auth_download'] = AUTH_REG;

# 
#-----[ OPEN ]---------------------------------------------
# 
admin/admin_groups.php
# 
#-----[ FIND ]---------------------------------------------
# around line 59
$HTTP_POST_VARS['edit']
# 
#-----[ BEFORE, ADD ]---------------------------------------
# 
attachment_quota_settings('group', $HTTP_POST_VARS['group_update'], $mode);
# 
#-----[ OPEN ]---------------------------------------------
# 
admin/admin_ug_auth.php
# 
#-----[ FIND ]---------------------------------------------
# around line 91
//
// Start Functions
# 
#-----[ BEFORE, ADD ]---------------------------------------
# 
attach_setup_usergroup_auth($forum_auth_fields, $auth_field_match, $field_names);
# 
#-----[ OPEN ]---------------------------------------------
# 
admin/admin_users.php
# 
#-----[ FIND ]---------------------------------------------
# around line 62
//
the profile has been modified and submitted

# 
#-----[ BEFORE, ADD ]---------------------------------------
# 
	attachment_quota_settings('user', $HTTP_POST_VARS['submit'], $mode);

# 
#-----[ OPEN ]---------------------------------------------
# 
includes/auth.php

# 
#-----[ FIND ]---------------------------------------------
# around line 113
//
// If f_access has been passed
# 
#-----[ BEFORE, ADD ]---------------------------------------
#
	attach_setup_basic_auth($type, $auth_fields, $a_sql);

# 
#-----[ OPEN ]---------------------------------------------
# 
includes/functions.php

# 
#-----[ FIND ]---------------------------------------------
# around line 350
//
// Set up style
# 
#-----[ BEFORE, ADD ]---------------------------------------
# 
	include_attach_lang();
# 
#-----[ OPEN ]---------------------------------------------
# 
includes/functions_admin.php
# 
#-----[ FIND ]---------------------------------------------
# around line 184
}
break;
}
	
return true;
# 
#-----[ BEFORE, ADD ]---------------------------------------
#
				attachment_sync_topic($id);
# 
#-----[ OPEN ]---------------------------------------------
# 
includes/prune.php
# 
#-----[ FIND ]---------------------------------------------
# around line 127
remove_search_post(

# 
#-----[ AFTER, ADD ]---------------------------------------
# 
			prune_attachments($sql_post);

# 
#-----[ OPEN ]---------------------------------------------
# 
includes/topic_review.php

# 
#-----[ FIND ]---------------------------------------------
# around line 43
WHERE t.topic_id = $topic_id
AND

# 
#-----[ AFTER, ADD ]---------------------------------------
# 
		$tmp = '';
		attach_setup_viewtopic_auth($tmp, $sql);

# 
#-----[ FIND ]---------------------------------------------
# around line 120
//
let's do the loop
# 
#-----[ BEFORE, ADD ]---------------------------------------
# 
	init_display_review_attachments($is_auth);
# 
#-----[ FIND ]---------------------------------------------
# around line 203
'L_MINI_POST_ALT' =>
);
# 
#-----[ AFTER, ADD ]---------------------------------------
# the Line have to be added AFTER the ');'
			display_review_attachments($row['post_id'], $row['post_attachment'], $is_auth);
# 
#-----[ OPEN ]---------------------------------------------
# 
includes/usercp_viewprofile.php
# 
#-----[ FIND ]---------------------------------------------
# around line 175
include($phpbb_root_path . 'includes/page_header
# 
#-----[ AFTER, ADD ]---------------------------------------
# 
display_upload_attach_box_limits($profiledata['user_id']);
# 
#-----[ OPEN ]---------------------------------------------
# 
templates/subSilver/modcp_body.tpl
#
#-----[ FIND ]---------------------------------------------
# around line 27 
{topicrow.TOPIC_TYPE}
# 
#-----[ IN-LINE FIND ]---------------------------------------------
# around line 27 (directly in that line)
{topicrow.TOPIC_TYPE}
# 
#-----[ IN-LINE BEFORE, ADD ]---------------------------------------
# 
{topicrow.TOPIC_ATTACHMENT_IMG}
# 
#-----[ OPEN ]---------------------------------------------
# 
templates/subSilver/posting_body.tpl
# 
#-----[ FIND ]---------------------------------------------
# around line 258
<form action="{S_POST_ACTION}
# 
#-----[ REPLACE WITH ]---------------------------------------
# 
<form action="{S_POST_ACTION}" method="post" name="post" onsubmit="return checkForm(this)" {S_FORM_ENCTYPE}>
# 
#-----[ FIND ]---------------------------------------------
# around line 462
{POLLBOX} 
# 
#-----[ BEFORE, ADD ]---------------------------------------
# 
	{ATTACHBOX}
# 
#-----[ OPEN ]---------------------------------------------
# 
templates/subSilver/posting_preview.tpl
# 
#-----[ FIND ]---------------------------------------------
# around line 13
{MESSAGE}
# 
#-----[ AFTER, ADD ]---------------------------------------
# Do NOT make one line out of this, a <!-- --> template statement has to be on one seperate line
					<!-- BEGIN postrow -->
					{ATTACHMENTS}
					<!-- END postrow -->
# 
#-----[ OPEN ]---------------------------------------------
# 
templates/subSilver/posting_topic_review.tpl
# 
#-----[ FIND ]---------------------------------------------
# around line 26
{postrow.MESSAGE}</span>
# 
#-----[ IN-LINE FIND ]---------------------------------------------
# around line 26 (directly in that line)
{postrow.MESSAGE}</span>
# 
#-----[ IN-LINE AFTER, ADD ]---------------------------------------
# 
{postrow.ATTACHMENTS}
# 
#-----[ OPEN ]---------------------------------------------
# 
templates/subSilver/privmsgs_body.tpl
# 
#-----[ FIND ]---------------------------------------------
# around line 15
<table
<tr> 

# 
#-----[ AFTER, ADD ]---------------------------------------
# 
	<td align="right"> 
	<!-- BEGIN switch_box_size_notice -->
	<table width="175" cellspacing="1" cellpadding="2" border="0" class="bodyline">
	<tr> 
		<td colspan="3" width="175" class="row1" nowrap="nowrap"><span class="gensmall">{ATTACH_BOX_SIZE_STATUS}</span></td>
	</tr>
	<tr> 
		<td colspan="3" width="175" class="row2">
			<table cellspacing="0" cellpadding="1" border="0">
			<tr> 
				<td bgcolor="{T_TD_COLOR2}"><img src="templates/subSilver/images/spacer.gif" width="{ATTACHBOX_LIMIT_IMG_WIDTH}" height="8" alt="{ATTACH_LIMIT_PERCENT}" /></td>
			</tr>
			</table>
		</td>
	</tr>
	<tr> 
		<td width="33%" class="row1"><span class="gensmall">0%</span></td>
		<td width="34%" align="center" class="row1"><span class="gensmall">50%</span></td>
		<td width="33%" align="right" class="row1"><span class="gensmall">100%</span></td>
	</tr>
	</table>
	<!-- END switch_box_size_notice -->
	</td>
# 
#-----[ FIND ]---------------------------------------------
# around line 106
<span class="topictitle">
# 
#-----[ IN-LINE FIND ]---------------------------------------------
# around line 106 (directly in that line)
<span class="topictitle">
# 
#-----[ IN-LINE BEFORE, ADD ]---------------------------------------
# 
{listrow.PRIVMSG_ATTACHMENTS_IMG}
# 
#-----[ OPEN ]---------------------------------------------
# 
templates/subSilver/privmsgs_preview.tpl
# 
#-----[ FIND ]---------------------------------------------
# around line 23
{MESSAGE}
# 
#-----[ REPLACE WITH ]---------------------------------------
# Do NOT make one line out of this, a <!-- --> template statement has to be on one seperate line
	<td valign="top" colspan="2" class="row1"><span class="postbody">{MESSAGE}</span>
	<!-- BEGIN postrow -->
	{ATTACHMENTS}
	<!-- END postrow -->
	</td>
# 
#-----[ OPEN ]---------------------------------------------
# 
templates/subSilver/privmsgs_read_body.tpl
# 
#-----[ FIND ]---------------------------------------------
# around line 47
{MESSAGE}
# 
#-----[ REPLACE WITH ]---------------------------------------
# Do NOT make one line out of this, a <!-- --> template statement has to be on one seperate line
	  <td valign="top" colspan="3" class="row1"><span class="postbody">{MESSAGE}</span>
<!-- BEGIN postrow -->
	{ATTACHMENTS}
<!-- END postrow -->
	  </td>
# 
#-----[ FIND ]---------------------------------------------
# around line 74
{L_DELETE_MSG}
# 
#-----[ AFTER, ADD ]---------------------------------------
# Do NOT make one line out of this, a <!-- --> template statement has to be on one seperate line
<!-- BEGIN switch_attachments -->
		&nbsp; 
		<input type="submit" name="pm_delete_attach" value="{L_DELETE_ATTACHMENTS}" class="liteoption" />
<!-- END switch_attachments -->
# 
#-----[ OPEN ]---------------------------------------------
# 
templates/subSilver/profile_view_body.tpl
# 
#-----[ FIND ]---------------------------------------------
# around line 41
{INTERESTS}
</tr>
# 
#-----[ AFTER, ADD ]---------------------------------------
# 
<!-- BEGIN switch_upload_limits -->
		<tr> 
			<td valign="top" align="right" nowrap="nowrap"><span class="gen">{L_UPLOAD_QUOTA}:</span></td>
			<td> 
				<table width="175" cellspacing="1" cellpadding="2" border="0" class="bodyline">
				<tr> 
					<td colspan="3" width="100%" class="row2">
						<table cellspacing="0" cellpadding="1" border="0">
						<tr> 
							<td bgcolor="{T_TD_COLOR2}"><img src="templates/subSilver/images/spacer.gif" width="{UPLOAD_LIMIT_IMG_WIDTH}" height="8" alt="{UPLOAD_LIMIT_PERCENT}" /></td>
						</tr>
						</table>
					</td>
				</tr>
				<tr> 
					<td width="33%" class="row1"><span class="gensmall">0%</span></td>
					<td width="34%" align="center" class="row1"><span class="gensmall">50%</span></td>
					<td width="33%" align="right" class="row1"><span class="gensmall">100%</span></td>
				</tr>
				</table>
				<b><span class="genmed">[{UPLOADED} / {QUOTA} / {PERCENT_FULL}]</span> </b><br />
				<span class="genmed"><a href="{U_UACP}" class="genmed">{L_UACP}</a></span></td>
			</td>
		</tr>
<!-- END switch_upload_limits -->
# 
#-----[ OPEN ]---------------------------------------------
# 
templates/subSilver/viewforum_body.tpl
# 
#-----[ FIND ]---------------------------------------------
# around line 26
{topicrow.NEWEST_POST_IMG}
# 
#-----[ IN-LINE FIND ]---------------------------------------------
# around line 26 (directly in that line)
{topicrow.NEWEST_POST_IMG}
# 
#-----[ IN-LINE AFTER, ADD ]---------------------------------------
# 
{topicrow.TOPIC_ATTACHMENT_IMG}
# 
#-----[ OPEN ]---------------------------------------------
# 
templates/subSilver/viewtopic_body.tpl
# 
#-----[ FIND ]---------------------------------------------
# around line 39
{postrow.SIGNATURE}
# 
#-----[ IN-LINE FIND ]---------------------------------------------
# around line 39 (directly in that line)
{postrow.SIGNATURE}
# 
#-----[ IN-LINE BEFORE, ADD ]---------------------------------------
# 
</span>{postrow.ATTACHMENTS}<span class="postbody">
# 
#-----[ OPEN ]---------------------------------------------
# 
templates/subSilver/admin/group_edit_body.tpl
# 
#-----[ FIND ]---------------------------------------------
# around line 48
<!-- END group_edit -->
# 
#-----[ BEFORE, ADD ]---------------------------------------
# 
	<tr> 
	  <td class="row1"><span class="gen">{L_UPLOAD_QUOTA}</span></td>
	  <td class="row2">{S_SELECT_UPLOAD_QUOTA}</td>
	</tr>
	<tr> 
	  <td class="row1"><span class="gen">{L_PM_QUOTA}</span></td>
	  <td class="row2">{S_SELECT_PM_QUOTA}</td>
	</tr>
# 
#-----[ OPEN ]---------------------------------------------
# 
templates/subSilver/admin/user_edit_body.tpl
# 
#-----[ FIND ]---------------------------------------------
# around line 267
{L_SPECIAL_EXPLAIN}
</tr>
# 
#-----[ AFTER, ADD ]---------------------------------------
# 
	<tr> 
	  <td class="row1"><span class="gen">{L_UPLOAD_QUOTA}</span></td>
	  <td class="row2">{S_SELECT_UPLOAD_QUOTA}</td>
	</tr>
	<tr> 
	  <td class="row1"><span class="gen">{L_PM_QUOTA}</span></td>
	  <td class="row2">{S_SELECT_PM_QUOTA}</td>
	</tr>
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
# 
# EoM
Image

User avatar
RyosukeZ
Registered User
Posts: 302
Joined: Sun Oct 01, 2006 12:40 am
Location: Woodlands, Singapore
Contact:

Re: Group Rank Hack Install problem!

Post by RyosukeZ »

but how to remove the Administrator and Moderator from the legend?
would it affect the levels? i mean user levels for the admin and moderator.
Bored? Come and have fun at my forum!!
Lets rock the hse!!

User avatar
RyosukeZ
Registered User
Posts: 302
Joined: Sun Oct 01, 2006 12:40 am
Location: Woodlands, Singapore
Contact:

Re: Group Rank Hack Install problem!

Post by RyosukeZ »

argh,

Code: Select all

6 Warning(s) reported by the SQL Parser

   1. Inconsistent display width specified "INTEGER(20)" in column "max_filesize", statement: 3, table: "phpbb_extension_groups"
   2. Identifier "comment" is a reserved keyword (reference: MySQL), statement: 4, table: "phpbb_extensions"
   3. Identifier "comment" is a reserved keyword (reference: MySQL), statement: 5, table: "phpbb_attachments_desc"
   4. Inconsistent display width specified "INTEGER(20)" in column "filesize", statement: 5, table: "phpbb_attachments_desc"
   5. Column "comment" has been found using 2 different data types in 2 tables: VARCHAR(100) in phpbb_extensions; VARCHAR(255) in phpbb_attachments_desc.
   6. Column "auth_download" has been found using 2 different data types in 2 tables: TINYINT(2) in phpbb_forums; TINYINT(1) in phpbb_auth_access.


6 Warning(s) reported by the SQL Parser

   1. Inconsistent display width specified "INTEGER(20)" in column "max_filesize", statement: 3, table: "phpbb_extension_groups"
   2. Identifier "comment" is a reserved keyword (reference: MySQL), statement: 4, table: "phpbb_extensions"
   3. Identifier "comment" is a reserved keyword (reference: MySQL), statement: 5, table: "phpbb_attachments_desc"
   4. Inconsistent display width specified "INTEGER(20)" in column "filesize", statement: 5, table: "phpbb_attachments_desc"
   5. Column "comment" has been found using 2 different data types in 2 tables: VARCHAR(100) in phpbb_extensions; VARCHAR(255) in phpbb_attachments_desc.
   6. Column "auth_download" has been found using 2 different data types in 2 tables: TINYINT(2) in phpbb_forums; TINYINT(1) in phpbb_auth_access.


6 Warning(s) reported by the SQL Parser

   1. Inconsistent display width specified "INTEGER(20)" in column "max_filesize", statement: 3, table: "phpbb_extension_groups"
   2. Identifier "comment" is a reserved keyword (reference: MySQL), statement: 4, table: "phpbb_extensions"
   3. Identifier "comment" is a reserved keyword (reference: MySQL), statement: 5, table: "phpbb_attachments_desc"
   4. Inconsistent display width specified "INTEGER(20)" in column "filesize", statement: 5, table: "phpbb_attachments_desc"
   5. Column "comment" has been found using 2 different data types in 2 tables: VARCHAR(100) in phpbb_extensions; VARCHAR(255) in phpbb_attachments_desc.
   6. Column "auth_download" has been found using 2 different data types in 2 tables: TINYINT(2) in phpbb_forums; TINYINT(1) in phpbb_auth_access.


6 Warning(s) reported by the SQL Parser

   1. Inconsistent display width specified "INTEGER(20)" in column "max_filesize", statement: 3, table: "phpbb_extension_groups"
   2. Identifier "comment" is a reserved keyword (reference: MySQL), statement: 4, table: "phpbb_extensions"
   3. Identifier "comment" is a reserved keyword (reference: MySQL), statement: 5, table: "phpbb_attachments_desc"
   4. Inconsistent display width specified "INTEGER(20)" in column "filesize", statement: 5, table: "phpbb_attachments_desc"
   5. Column "comment" has been found using 2 different data types in 2 tables: VARCHAR(100) in phpbb_extensions; VARCHAR(255) in phpbb_attachments_desc.
   6. Column "auth_download" has been found using 2 different data types in 2 tables: TINYINT(2) in phpbb_forums; TINYINT(1) in phpbb_auth_access.


6 Warning(s) reported by the SQL Parser

   1. Inconsistent display width specified "INTEGER(20)" in column "max_filesize", statement: 3, table: "phpbb_extension_groups"
   2. Identifier "comment" is a reserved keyword (reference: MySQL), statement: 4, table: "phpbb_extensions"
   3. Identifier "comment" is a reserved keyword (reference: MySQL), statement: 5, table: "phpbb_attachments_desc"
   4. Inconsistent display width specified "INTEGER(20)" in column "filesize", statement: 5, table: "phpbb_attachments_desc"
   5. Column "comment" has been found using 2 different data types in 2 tables: VARCHAR(100) in phpbb_extensions; VARCHAR(255) in phpbb_attachments_desc.
   6. Column "auth_download" has been found using 2 different data types in 2 tables: TINYINT(2) in phpbb_forums; TINYINT(1) in phpbb_auth_access.


6 Warning(s) reported by the SQL Parser

   1. Inconsistent display width specified "INTEGER(20)" in column "max_filesize", statement: 3, table: "phpbb_extension_groups"
   2. Identifier "comment" is a reserved keyword (reference: MySQL), statement: 4, table: "phpbb_extensions"
   3. Identifier "comment" is a reserved keyword (reference: MySQL), statement: 5, table: "phpbb_attachments_desc"
   4. Inconsistent display width specified "INTEGER(20)" in column "filesize", statement: 5, table: "phpbb_attachments_desc"
   5. Column "comment" has been found using 2 different data types in 2 tables: VARCHAR(100) in phpbb_extensions; VARCHAR(255) in phpbb_attachments_desc.
   6. Column "auth_download" has been found using 2 different data types in 2 tables: TINYINT(2) in phpbb_forums; TINYINT(1) in phpbb_auth_access.
should i ignore?
Bored? Come and have fun at my forum!!
Lets rock the hse!!

Locked