SimplePortal

Customization => Custom Coding => Topic started by: Chen Zhen on July 15, 2011, 07:43:18 PM

Title: Simple Portal - Delete shouts from specific shoutbox
Post by: Chen Zhen on July 15, 2011, 07:43:18 PM
SP-Erase Shouts v1.2
Simple Portal Plugin for version 2.3.3

This modification will add an additional option to the Simple Portal Shoutbox administration page for deleting all shouts from a specific shoutbox.

This SP Plugin c/o Underdog @ http://askusaquestion.net

Version History:
----------------

Version 1.0

+ Adds a clear shoutbox option to the Simple Portal Shoutbox Administration Page
+ Clears the appropriate sql column(s) from the sp_shouts table

 
Version 1.1

! Fixed placement of the delete all option in the SP Shoutbox Admin page
! Sets the approprate sql column(s) for the sp_shoutboxes table

Version 1.2

! Changed file replacement to editing (Due to other possible plugins/mods file edits)
+ Added english utf-8 language file



Note:
With the default SP setup for deleting shouts from any shoutbox you have enabled you can delete and then recreate the specific shoutbox and the history will be cleared.
This installation just adds a small option to make things a little easier for this purpose. 
The -Delete All- will only work from the Shoutbox Admin if there is more than one shoutbox listed (don't need it for one option anyhow!).




Title: Re: Simple Portal - Delete shouts from specific shoutbox
Post by: S@ffz on July 16, 2011, 12:11:08 AM
downloaded and will try this.  I not sure what this is supose to do
Title: Re: Simple Portal - Delete shouts from specific shoutbox
Post by: Chen Zhen on July 16, 2011, 05:37:32 AM
downloaded and will try this.  I not sure what this is supose to do


Admin -> Simple Portal -> Shoutbox

... it adds a checkbox to clear shouts in any specific shoutbox from that menu.
Title: Re: Simple Portal - Delete shouts from specific shoutbox
Post by: Devil jimmy on July 16, 2011, 07:17:27 AM
works perfectly on 1.1.14
and is safer than my way http://simpleportal.net/index.php?topic=8131.0
nice to hear you underdog
You're like a helping hand wherever I see  >:-D
Title: Re: Simple Portal - Delete shouts from specific shoutbox
Post by: Chen Zhen on July 26, 2011, 05:19:00 PM
Updated this with 2 small fixes (shown during install).



Title: Re: Simple Portal - Delete shouts from specific shoutbox
Post by: S@ffz on July 26, 2011, 05:30:21 PM
I have just noticed that you guys are using an earlier version of smf im using 2.0 along with SP2.3.3
will this mod work with this version?

Do I install this through the smf package manager?
Just checking I get this right first time.

BTW Underdog i have been busy and have been unable to install this mod or be online
Life seem to call on me alot these days.
Title: Re: Simple Portal - Delete shouts from specific shoutbox
Post by: Chen Zhen on July 26, 2011, 06:07:27 PM
I have just noticed that you guys are using an earlier version of smf im using 2.0 along with SP2.3.3
will this mod work with this version?

Do I install this through the smf package manager?
Just checking I get this right first time.

BTW Underdog i have been busy and have been unable to install this mod or be online
Life seem to call on me alot these days.

Yes it will. It should work with any installation of SP 2.3.3
Title: Re: Simple Portal - Delete shouts from specific shoutbox
Post by: Old Fossil on July 26, 2011, 10:42:31 PM
I can confirm the mod works.

Underdog this is yet another one of your miracles.

 :nervous-happy:
Title: Re: Simple Portal - Delete shouts from specific shoutbox
Post by: S@ffz on July 26, 2011, 10:58:33 PM
Thank You underdog for this long awaited mod works like a charm  :D
Title: Re: Simple Portal - Delete shouts from specific shoutbox
Post by: Chen Zhen on August 15, 2011, 09:19:48 AM
v1.2 now available.

For anyone using v1.1 and NOT using the SP-Shout Scores plugin simply uninstall and delete the old version prior to installing v1.2



For anyone using v1.1 and YOU ARE also using the SP-Shout Scores plugin, please uninstall the SP-Shout Scores plugin first and then commence with upgrading this plugin.

For this version (SP-Erase Shouts v1.2) and onward it will not matter which order any plugins are installed/uninstalled.
(reason for update!)
 
 
Title: Re: Simple Portal - Delete shouts from specific shoutbox
Post by: Nick on September 09, 2011, 04:07:32 PM
Excellent mod, nice to see someone adding stuff like this to the shoutbox :D
SimplePortal 2.3.8 © 2008-2024, SimplePortal