News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

RemovePM

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

Previous topic - Next topic

vertese

any ideas please.

also what number pm's do you allow a user to have.  Our forum has been going for four years so members will have lots of pm's.

I really would like to clear some out.
thanks

Sabre™

Sorry mate, I haven't looked in this thread for a while.
Your language file is ok.
If you don't mind, may I have temp access to your c/panel, and a temp admin account to your site.
It may only take 5 mins to resolve your problem with a hands on attempt.
Then you could experience this mod without further problem.

PM me with the details if this is appropriate for you :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


vertese

Hi Sabre,
Have pm'd you.

Sabre™

Sorry for the wait, I've received no email alerts from this forum since the 5th, so didnt know until I logged in tonight.
See ya at your site :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


vertese

Sabre,
You have done a great job for us.  Thank you very much.
Works perfect.

Sabre™

You are more than welcome :)

Enjoy
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Jeep29

Hello,

Great Mod

But is it possible to assigne this mod for not all members (ex not for admin and modo)


PS: sorry for my bad english

nassatellite

SMF 2.0.RC2 için ne zaman günelleyeceksiniz acaba?

ACAMS

I have SMF 2.0 RC2 and it didn't convert from Vbulletin very well, I have members complaining they can't delete PM's so I thought I would run this every so often.
I found everything except the first thing....in Admin.template.php the parcer said find..

Find:
</tr>
  </table>';
// Pop up a box to say function completed if the user has been redirected back here from a function they ran.



Replace With:
</tr>';
     
      // Remove PM
      echo '
                  <tr class="titlebg">
                        <td>', $txt['maintain_title'], ' - ', $txt['remove_old_pm'], '</td>
                  </tr>
                  <tr>
                        <td class="windowbg2">
                  <form action="', $scripturl, '?action=removepm" method="post" accept-charset="', $context['character_set'], '" name="rempm" id="rempm">
                                    ', $txt['remove_pm_days1'], ' <input type="text" name="maxpmdays" value="30" size="3" />', $txt['remove_pm_days2'], '<br />
                                    </div>
                  <div align="right" style="margin: 1ex;"><input type="submit" value="', $txt['maintain_pm_old_remove'], '" onclick="return confirm(\'', $txt['maintain_pm_old_confirm'], '\');" /></div>
                                    <input type="hidden" name="sc" value="', $context['session_id'], '" />
                              </form>
                        </td>
                  </tr>
            </table>';

      // Pop up a box to say function completed if the user has been redirected back here from a function they ran.


I have tried putting it in a couple different places with no luck.

Any help would be much appreciated

ACAMS

Is this mod not for SMF 2.0 RC2 even tho the parcer has instructions for 2.0 RC2?

Liam.

:/ ¬_¬
The parser parses it for all versions of SMF AFAIK

ACAMS

I tried some mods that said it was not for my version......so this should say that too if it was not for 2.0 RC2

Advertisement: