Jump to content


- - - - -

(DB23) Clear PM


  • Please log in to reply
8 replies to this topic

#1 Spanner

Spanner

    Novice

  • Members
  • PipPip
  • 18 posts
  • Location:Cracov (Poland)
  • Real Name:David
  • IPB Version:v3.2.x
Contributor

Posted 28 December 2008 - 12:32 PM

Posted Image

File Name: (DB23) Clear PM
File Submitter: Spanner
File Submitted: 28 Dec 2008
File Updated: 8 Apr 2009
File Category: IP.Board v2.3.x Mods

Author: Spanner (IPSBeyond.pl)

Modyfikacja umożliwia cykliczne czyszczenie Prywatnych Wiadomości, zdefiniowanych przez nas grup użytkowników.

With this mod we can clean users PM at a certain time.

New Version / Nowa Wersja:

Modyfikacja umożliwia cykliczne czyszczenie Prywatnych Wiadomości. W ustawieniach komponentu definiujemy co ile dni danej grupie mają być czyszczone wiadomości oraz czy mają być usuwane także nieprzeczytane wiadomości.

With this mod we can clean users PM at a certain time. In component settings we define that every x days mods will clear PM of certain groups and unread messages if we want it.

Click here to download this file

#2 Musalman

Musalman

    Analyzer

  • Members
  • PipPipPipPipPipPipPip
  • 526 posts
  • Location:Pakistan
  • Real Name:Intasar
  • IPB Version:v2.3.x
Contributor

Posted 04 January 2009 - 06:32 PM

Working Great.. I M Tryed It. And  Manualy Runing Task It's Deleted The Pm.. Could It Possible To Task Work Just Manualy ? Not Auto ? And Can It Possible To Apply This Mod On Just Selected groups ?

Thanks

#3 Spanner

Spanner

    Novice

  • Members
  • PipPip
  • 18 posts
  • Location:Cracov (Poland)
  • Real Name:David
  • IPB Version:v3.2.x
Contributor

Posted 20 January 2009 - 06:15 PM

in next version i will extend options to this mod and you will be surprised

#4 matma4u

matma4u

    Novice

  • Members
  • PipPip
  • 8 posts
  • Location:Poland
  • Real Name:Tomasz
  • IPB Version:v2.3.x

Posted 05 March 2009 - 11:56 AM

Hmm, I found small bug in DB23_Clear_PM.php.
Everywhere I see something like this:
SELECT mt_id FROM ibf_message_topics

If you have prefix ibf - no problem, but what if there is another?!

#5 DawPi

DawPi

    in search of lost time..

  • Modders
  • PipPipPipPipPipPipPipPipPip
  • 2,214 posts
  • Location:Cracow, Poland
  • Real Name:David
  • IPB Version:v3.2.x
Contributor

Posted 05 March 2009 - 12:02 PM

Author of this mod made huge mistake.

Change all ibf_ with this code:
".SQL_PREFIX."
Save and upload.
Dawid Pieron
intermedia - owner, developer and ip.board modder
Need custom mod, conversion service, any ip.board related job or support for any of my paid mods or services?
www | mail | facebook | twitter | buy licence

#6 Spanner

Spanner

    Novice

  • Members
  • PipPip
  • 18 posts
  • Location:Cracov (Poland)
  • Real Name:David
  • IPB Version:v3.2.x
Contributor

Posted 08 April 2009 - 06:56 PM

I shared new version

#7 Amfidiusz

Amfidiusz

    Advanced Member

  • Members
  • PipPipPipPip
  • 72 posts
  • Location:Amsterdam
  • Real Name:Adrian
  • IPB Version:v3.0.x
Contributor

Posted 31 May 2009 - 05:52 AM

I've installed the mod and tried to run the task manually - unfortunately it generated the following error:

Quote

Parse error: syntax error, unexpected '.' in /users/amfidiusz/forum/sources/tasks/DB23_ClearPM.php on line 156
I didn't want to risk and wait for it to run automatically. Is there any chance to get it working?

#8 mastercharly

mastercharly

    Member

  • Members
  • PipPipPip
  • 20 posts
  • Location:Germany
  • Real Name:Nico
  • IPB Version:v2.3.x

Posted 03 February 2011 - 12:11 PM

View PostAmfidiusz, on 31 May 2009 - 05:52 AM, said:

I've installed the mod and tried to run the task manually - unfortunately it generated the following error:

Quote

Parse error: syntax error, unexpected '.' in /users/amfidiusz/forum/sources/tasks/DB23_ClearPM.php on line 156
I didn't want to risk and wait for it to run automatically. Is there any chance to get it working?

I have the same problem

#9 mastercharly

mastercharly

    Member

  • Members
  • PipPipPip
  • 20 posts
  • Location:Germany
  • Real Name:Nico
  • IPB Version:v2.3.x

Posted 04 February 2011 - 10:45 AM

View Postmastercharly, on 03 February 2011 - 12:11 PM, said:

View PostAmfidiusz, on 31 May 2009 - 05:52 AM, said:

I've installed the mod and tried to run the task manually - unfortunately it generated the following error:

Quote

Parse error: syntax error, unexpected '.' in /users/amfidiusz/forum/sources/tasks/DB23_ClearPM.php on line 156
I didn't want to risk and wait for it to run automatically. Is there any chance to get it working?

I have the same problem

i have find the problem.

search

Quote

$value = 'in:Inbox;' ..(isset($result['in']) ? $result['in']: 0).'|sent:Sent Items;'.(isset($result['sent']) ? $result['sent']: 0);

replace

Quote

$value = 'in:Inbox;'.(isset($result['in']) ? $result['in']: 0).'|sent:Sent Items;'.(isset($result['sent']) ? $result['sent']: 0);





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users