News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

RemovePM

Started by MonoTiz, January 20, 2008, 11:06:54 PM

Previous topic - Next topic

perplexed

Remember to run "Recount all forum totals and statistics." after running this mod otherwise your number PMs showing at the top of the forum will be wrong :)


vertese

ive installed the mod using the site rather than ftp , im running 1.1.9 smf and all i get is a small box showing the number 30 and a box on the right that can click and a message from webpage box pops up thats all i can do
Any help appreciated
thanks

villasg

Ok i install in my 119 and all work OK .
Thanks

Greek utf-8
<file name="$themedir/languages/Modifications.greek-utf8.php" error="skip">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[//removepm
$txt['remove_pm_days1'] = "Σβησε ολα τα PM που εχουν σταλει πριν απο";
$txt['remove_pm_days2'] = "Ημερες.";
$txt['remove_old_pm'] = "Σβησε τα παλια μηνυματα";
$txt['maintain_pm_old_remove'] = "Διαγραφη τωρα";
$txt['maintain_pm_old_confirm'] = "Εισαι απολυτα σιγουρος για την διαγραφη των μυνηματων ?";

]]></add>
</operation>
</file>

vertese

Thank you villasg
I think this is in Greek so could I have some instructions in English and where to put it.
Thanks.

Sabre™

Look in your languages folder in your default theme,  and add this code to the bottom of your Modifications.english.php  before this  ?>

//removepm
$txt['remove_pm_days1'] = "Remove all private messages sent by";
$txt['remove_pm_days2'] = "days.";
$txt['remove_old_pm'] = "Remove Old Private Message";
$txt['maintain_pm_old_remove'] = "Remove PM now";
$txt['maintain_pm_old_confirm'] = "Are you really sure you want to delete old private message now?";


If you are using UTF8 then add it to your  Modifications.english-utf8.php
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


vertese

Thanks Sabre but we have done that and it remains the same.

villasg

@vertese :
What is the language of your foroum ?
And the theme plz

vertese

Dilber MC Theme by HarzeM
Thanks for your quick reply.

villasg

Quote from: vertese on June 18, 2009, 01:17:23 PM
Dilber MC Theme by HarzeM
Thanks for your quick reply.

You need manual edit in
YOUR THEME/Admin.template.php
YOUR THEME/languages/Modifications.english.php

vertese

Could you please tell me what I have to edit in YOUR THEME/Admin.template.php
I presume I edit YOUR THEME/languages/Modifications.english.php 
as above ?
thanks


venex

I have 1.1.9.

Dilber as theme...

Spanish the language...

and... I'm getting this error when I try to remove all the PMs..:

Not unique table/alias: 't1'
Archivo: /homepages/18/d247482419/htdocs/foro/Sources/PersonalMessage.php
Línea: 1892

Nota: Parece que tu base de datos puede necesitar una actualización. La versión de los archivos de tu foro están en la versión SMF 1.1.9, mientras que tu base de datos está en la versión de SMF 1.1.5. Te recomendamos que ejecutes la última versión de upgrade.php.

Translation of the last part:
Note: You database may need an upgrade. Your forum files are in 1.1.9, and the database files are in 1.1.5. We recommend you to run the last version of upgrade.php

BUT... Im afraid that when I run this file it will change some settings from others MODs.

vertese

#33
Hi its me again
Ive manually installed the mod and done a normal install and still i only get the picture as attached
I do have the arcade mode installed which i think is messing with it
Any help really appreciated
Thanks

venex

Quote from: vertese on June 20, 2009, 01:23:51 PM
Hi its me again
Ive manually installed the mod and done a normal install and still i only get the picture as attached
I do have the arcade mode installed which i think is messing with it
Any help really appreciated
Thanks

Check the language file and check that there is every line that the MOD needs. I think that's the problem...

PS: I still have my problem (2 replies away ^^).

vertese

Checked everything but it still remains the same.
Any ideas please.

vertese

Could someone please help, we would really like to have this facility.

vertese

Does this mod not work on our theme??
Please let me know.
Thanks

Sabre™

#38
Does your theme have its own Language folder, or is it calling from the default themes folder?

Could you attach all the templates this mod edits, and I will have a look for you.

EDIT
Ive just tested it on the Dilber MultiColor theme, and it works perfect.
If you have a language file named Modifications.english-utf8.php or similar, attach that also please :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


vertese

Im pretty sure its getting it from the default theme as the themes modification folder only has info on the arcade mod thats installed and nothing else

Advertisement: