This repository was archived by the owner on Jan 27, 2024. It is now read-only.
Repository navigation
Expand file tree
/
Copy pathinstall.xml
More file actions
109 lines (107 loc) · 5.04 KB
/
Copy pathinstall.xml
File metadata and controls
109 lines (107 loc) · 5.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?>
<!--NOTICE: Please open this file in your web browser. If presented with a security warning, you may safely tell it to allow the blocked content.-->
<!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD.\nAlthough MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD.\nNo support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/-->
<mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.2.5.xsd">
<header>
<meta name="generator" content="MODX file generated with PP MODX Creator 1.0.1 by tumba25 (phpBB version) at phpbbmodders.net"/>
<license><![CDATA[http://opensource.org/licenses/gpl-license.php GNU General Public License v2]]></license>
<title lang="en"><![CDATA[One Click Ban]]></title>
<description lang="en"><![CDATA[Adds a script to one click ban a user. Along with banning you can have it automatically move the user to a certain group, delete their posts, delete their avatar, signature, and profile information.]]></description>
<author-notes lang="en"><![CDATA[You can configure the script by editing the ocban.php file in your forum root.
Administrators and moderators with ban permissions will be able to OC Ban users.
We would prefer if you request support for this MOD and report errors in our tracker at http://phpbbmodders.net]]></author-notes>
<author-group>
<author>
<realname><![CDATA[Nathan Guse]]></realname>
<username><![CDATA[EXreaction]]></username>
<homepage><![CDATA[http://www.lithiumstudios.org/]]></homepage>
<email><![CDATA[exreaction@lithiumstidos.org]]></email>
<contributions-group>
<contributions status="past" from="2009-03-01" to="2011-03-01" position="Developer"/>
</contributions-group>
</author>
<author>
<realname><![CDATA[Jari Kanerva]]></realname>
<username><![CDATA[tumba25]]></username>
<homepage><![CDATA[http://phpbbmodders.net]]></homepage>
<contributions-group>
<contributions status="current" from="2011-03-01" position="Developer"/>
</contributions-group>
</author>
</author-group>
<mod-version>1.0.4</mod-version>
<installation>
<level>easy</level>
<time>60</time>
<target-version>3.0.8</target-version>
</installation>
<history>
<entry>
<date>2008-08-01</date>
<rev-version>1.0.0</rev-version>
<changelog lang="en">
<change><![CDATA[Initial Release]]></change>
</changelog>
</entry>
<entry>
<date>2008-09-05</date>
<rev-version>1.0.1</rev-version>
<changelog lang="en">
<change><![CDATA[Fixing a critical bug which cleared out all of the profile info from all users instead of just from the single user.]]></change>
<change><![CDATA[To update just upload the new files.]]></change>
</changelog>
</entry>
<entry>
<date>2009-01-13</date>
<rev-version>1.0.2</rev-version>
<changelog lang="en">
<change><![CDATA[Fixing a bug where the avatar might not get deleted.]]></change>
<change><![CDATA[phpBB 3.0.4 support]]></change>
<change><![CDATA[To update just upload the new files.]]></change>
</changelog>
</entry>
<entry>
<date>2011-03-24</date>
<rev-version>1.0.3</rev-version>
<changelog lang="en">
<change><![CDATA[Added reporting to StopForumSpam]]></change>
<change><![CDATA[Fixed some bugs]]></change>
</changelog>
</entry>
<entry>
<date>2011-06-30</date>
<rev-version>1.0.4</rev-version>
<changelog lang="en">
<change><![CDATA[Fixed some errors.]]></change>
</changelog>
</entry>
</history>
<link-group>
<link type="template" href="subsilver2.xml" lang="en">subsilver2</link>
</link-group>
</header>
<action-group>
<copy>
<file from="root/ocban.php" to="ocban.php"/>
<file from="root/language/en/mods/ocban.php" to="language/en/mods/ocban.php"/>
</copy>
<open src="memberlist.php">
<edit>
<find><![CDATA[case 'viewprofile':]]></find>
<action type="after-add"><![CDATA[ $user->add_lang('mods/ocban');]]></action>
</edit>
<edit>
<find><![CDATA['U_USER_BAN']]></find>
<action type="before-add"><![CDATA[ 'U_USER_OCBAN' => (($auth->acl_get('a_ban') || $auth->acl_get('m_ban')) && $member['user_type'] != USER_FOUNDER) ? append_sid("{$phpbb_root_path}ocban.$phpEx", 'u=' . $user_id, true, $user->session_id) : '',]]></action>
</edit>
</open>
<open src="styles/prosilver/template/memberlist_view.html">
<edit>
<find><![CDATA[<!-- IF U_USER_ADMIN --> [ <a href="{U_USER_ADMIN}">{L_USER_ADMIN}</a> ]<!-- ENDIF -->]]></find>
<action type="after-add"><![CDATA[ <!-- IF U_USER_OCBAN --> [ <a href="{U_USER_OCBAN}">{L_USER_OCBAN}</a> ]<!-- ENDIF -->]]></action>
</edit>
</open>
<diy-instructions lang="en"><![CDATA[Edit ocban.php in your forum root to configure the settings.]]></diy-instructions>
</action-group>
</mod>