-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixed for ver 4.2 * Fixed according last comments
- Loading branch information
1 parent
f229522
commit 655b1c3
Showing
14 changed files
with
407 additions
and
400 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,99 +1,99 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<plugin name="wall"> | ||
<title>Wall</title> | ||
<summary>This plugin allows visitors to leave their messages/announcements at the Front End</summary> | ||
<author>Intelliants LLC</author> | ||
<contributor>Intelliants LLC</contributor> | ||
<version>4.1.0</version> | ||
<date>2018-01-17</date> | ||
<compatibility>4.1</compatibility> | ||
<module type="plugin" name="wall"> | ||
<title>Wall</title> | ||
<summary>This plugin allows visitors to leave their messages/announcements at the Front End</summary> | ||
<author>Intelliants LLC</author> | ||
<contributor>Intelliants LLC</contributor> | ||
<version>4.2.0</version> | ||
<date>2018-03-13</date> | ||
<compatibility>4.2</compatibility> | ||
|
||
<items> | ||
<item payable="0" table_name="wall_posts">wall_posts</item> | ||
</items> | ||
<items> | ||
<item payable="0" table_name="wall_posts">wall_posts</item> | ||
</items> | ||
|
||
<actions> | ||
<action name="posts_view" url="wall-posts/" icon="list" order="1" pages="wall_posts">View</action> | ||
</actions> | ||
<actions> | ||
<action name="posts_view" url="wall-posts/" icon="list" order="1" pages="wall_posts">View</action> | ||
</actions> | ||
|
||
<adminpages> | ||
<page name="wall_posts" url="wall-posts/" menus="menu" order="40">Wall Posts</page> | ||
</adminpages> | ||
<adminpages> | ||
<page name="wall_posts" url="wall-posts/" menus="menu" order="40">Wall Posts</page> | ||
</adminpages> | ||
|
||
<pages> | ||
<page name="wall" url="wall/" service="1">Wall Posts</page> | ||
</pages> | ||
<pages> | ||
<page name="wall" url="wall/" service="1">Wall Posts</page> | ||
</pages> | ||
|
||
<configgroup name="wall">Wall</configgroup> | ||
<configgroup name="wall">Wall</configgroup> | ||
|
||
<config group="wall" name="wall" type="divider" description="Wall Configuration">Wall Configuration</config> | ||
<config group="wall" name="wall_allow_guests" type="radio" description="Allow guests to post" values="1,0">0</config> | ||
<config group="wall" name="wall_allow_wysiwyg" type="radio" description="Allow WYSIWYG" values="1,0" value="1" private="0">0</config> | ||
<config group="wall" name="wall_auto_approval" type="radio" description="Posts auto-approval" values="1,0">1</config> | ||
<config group="wall" name="post_max_chars" type="text" description="Symbols limit">400</config> | ||
<config group="wall" name="posts_per_load" type="text" description="Number of posts per load" private="0">5</config> | ||
<config group="wall" name="wall" type="divider" description="Wall Configuration">Wall Configuration</config> | ||
<config group="wall" name="wall_allow_guests" type="radio" description="Allow guests to post" values="1,0">0</config> | ||
<config group="wall" name="wall_allow_wysiwyg" type="radio" description="Allow WYSIWYG" values="1,0" value="1" private="0">0</config> | ||
<config group="wall" name="wall_auto_approval" type="radio" description="Posts auto-approval" values="1,0">1</config> | ||
<config group="wall" name="post_max_chars" type="text" description="Symbols limit">400</config> | ||
<config group="wall" name="posts_per_load" type="text" description="Number of posts per load" private="0">5</config> | ||
|
||
<config group="email_templates" type="divider" name="wall_divider" description="Wall"><![CDATA[]]></config> | ||
<config group="email_templates" type="radio" values="1,0" name="wall_admin_notification" description="New wall post alerts">1</config> | ||
<config group="email_templates" type="text" name="wall_admin_notification_subject" description="Email Subject">New wall post added</config> | ||
<config group="email_templates" type="textarea" name="wall_admin_notification_body" description="Email Body"> | ||
<![CDATA[ | ||
<config group="email_templates" type="divider" name="wall_divider" description="Wall"><![CDATA[]]></config> | ||
<config group="email_templates" type="radio" values="1,0" name="wall_admin_notification" description="New wall post alerts">1</config> | ||
<config group="email_templates" type="text" name="wall_admin_notification_subject" description="Email Subject">New wall post added</config> | ||
<config group="email_templates" type="textarea" name="wall_admin_notification_body" description="Email Body"> | ||
<![CDATA[ | ||
<p>Hi,</p> | ||
<p>New wall post has been published on your website "{%TITLE%}":</p> | ||
<p>{%TEXT%}</p> | ||
<p>For more details check the url: <a href="{%URL%}">{%URL%}</a></p> | ||
]]> | ||
</config> | ||
]]> | ||
</config> | ||
|
||
<phrases> | ||
<phrase category="admin" key="add_post">Add Post</phrase> | ||
<phrases> | ||
<phrase category="admin" key="add_post">Add Post</phrase> | ||
|
||
<phrase category="common" key="wall">Wall</phrase> | ||
<phrase category="common" key="wall_posts">Wall Posts</phrase> | ||
<phrase category="common" key="are_you_sure_to_delete_this_post">Are you sure you want to delete this post?</phrase> | ||
<phrase category="common" key="are_you_sure_to_delete_selected_posts">Are you sure you want to delete selected comments?</phrase> | ||
<phrase category="common" key="edit_post">Edit Post</phrase> | ||
<phrase category="common" key="post_added">Post added.</phrase> | ||
<phrase category="common" key="wall">Wall</phrase> | ||
<phrase category="common" key="wall_posts">Wall Posts</phrase> | ||
<phrase category="common" key="are_you_sure_to_delete_this_post">Are you sure you want to delete this post?</phrase> | ||
<phrase category="common" key="are_you_sure_to_delete_selected_posts">Are you sure you want to delete selected comments?</phrase> | ||
<phrase category="common" key="edit_post">Edit Post</phrase> | ||
<phrase category="common" key="post_added">Post added.</phrase> | ||
|
||
<phrase category="frontend" key="post_waits_for_approval">Your post will be displayed once approved by Administrator.</phrase> | ||
<phrase category="frontend" key="guests_warning">Please login or register to post.</phrase> | ||
<phrase category="frontend" key="error_max_chars">Your post's length should have less than :length symbols.</phrase> | ||
<phrase category="frontend" key="error_empty_post">Your post is empty</phrase> | ||
<phrase category="frontend" key="sumbit_post">Submit</phrase> | ||
<phrase category="frontend" key="no_posts">No posts submitted yet.</phrase> | ||
</phrases> | ||
<phrase category="frontend" key="post_waits_for_approval">Your post will be displayed once approved by Administrator.</phrase> | ||
<phrase category="frontend" key="guests_warning">Please login or register to post.</phrase> | ||
<phrase category="frontend" key="error_max_chars">Your post's length should have less than :length symbols.</phrase> | ||
<phrase category="frontend" key="error_empty_post">Your post is empty</phrase> | ||
<phrase category="frontend" key="sumbit_post">Submit</phrase> | ||
<phrase category="frontend" key="no_posts">No posts submitted yet.</phrase> | ||
</phrases> | ||
|
||
<blocks> | ||
<block name="wall" title="Wall" position="bottom" type="smarty" sticky="0" pages="index" filename="block.wall" classname="box-clear"><![CDATA[]]></block> | ||
</blocks> | ||
<blocks> | ||
<block name="wall" title="Wall" position="bottom" type="smarty" sticky="0" pages="index" filename="block.wall.tpl" classname="box-clear"><![CDATA[]]></block> | ||
</blocks> | ||
|
||
<hooks> | ||
<hook name="phpCoreBeforePageDisplay" type="php" page_type="front" filename="hook.blocks-load"><![CDATA[]]></hook> | ||
<hook name="smartyItemViewBeforeTabs" type="smarty" filename="tab.member"><![CDATA[]]></hook> | ||
<hook name="adminDashboardStatistics" page_type="admin"><![CDATA[$items['wall:wallposts'] = 'plugin';]]></hook> | ||
</hooks> | ||
<hooks> | ||
<hook name="phpCoreBeforePageDisplay" type="php" page_type="front" filename="hook.blocks-load.php"><![CDATA[]]></hook> | ||
<hook name="smartyItemViewBeforeTabs" type="smarty" filename="tab.member.tpl"><![CDATA[]]></hook> | ||
<hook name="adminDashboardStatistics" page_type="admin"><![CDATA[$items['wall:wallposts'] = 'plugin';]]></hook> | ||
</hooks> | ||
|
||
<install> | ||
<sql> | ||
<![CDATA[ | ||
<install> | ||
<sql> | ||
<![CDATA[ | ||
CREATE TABLE `{prefix}wall_posts` ( | ||
`id` int(8) NOT NULL auto_increment, | ||
`member_id` int(8) NOT NULL, | ||
`body` text NOT NULL, | ||
`ip` bigint(12) unsigned NOT NULL, | ||
`date` datetime NOT NULL, | ||
`status` enum('inactive', 'active') NOT NULL default 'inactive', | ||
PRIMARY KEY (`id`) | ||
`id` int(8) NOT NULL auto_increment, | ||
`member_id` int(8) NOT NULL, | ||
`body` text NOT NULL, | ||
`ip` bigint(12) unsigned NOT NULL, | ||
`date` datetime NOT NULL, | ||
`status` enum('inactive', 'active') NOT NULL default 'inactive', | ||
PRIMARY KEY (`id`) | ||
) {mysql_version}; | ||
]]> | ||
</sql> | ||
</install> | ||
]]> | ||
</sql> | ||
</install> | ||
|
||
<uninstall> | ||
<sql> | ||
<![CDATA[ | ||
<uninstall> | ||
<sql> | ||
<![CDATA[ | ||
DROP TABLE IF EXISTS `{prefix}wall_posts`; | ||
]]> | ||
</sql> | ||
</uninstall> | ||
</plugin> | ||
]]> | ||
</sql> | ||
</uninstall> | ||
</module> |
Oops, something went wrong.