News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

View Single PM

Started by SleePy, November 11, 2006, 11:56:55 AM

Previous topic - Next topic

SleePy

Ahh, it doesn't seem that search has the correct pm url..

Will fix sometime this weekend.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Jessikard

8: Undefined index: singlepm_vmsg
******: /home/*****/******/html/for/Sources/PersonalMessage.php
Line: 378


and this line says: 'name' => $txt['singlepm_vmsg'] . $context['sl-singlepm']

i have the same problem  - and a little group of our users can't receive personalmessages

SleePy

Are you missing the language string entries?

This mod doesn't touch how users send or receive pms.
It simply changes the format to only show a single message at a time.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Jessikard

Quote from: SleePy on April 21, 2008, 10:43:08 PM
Are you missing the language string entries?

This mod doesn't touch how users send or receive pms.
It simply changes the format to only show a single message at a time.
ok, how can i fix it for german language

the receiving problem should i find  at another thread

thx Jessi

SleePy

There is no language strings for german

If you open the Modifications.english.php in your /Themes/default/languages folder you will see a small group (3) of language strings with a comment above them saying:
// View Single PM

Copy those to your Modifications.german.php (Modifications.german_utf8 if you are using utf8).
You can then change those into their german equivalents
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

e30Birdy

What do i have to add to this cause i am getting a error, my board is ran in german and i would kill for this mod!

1.     Modifikation ausführen     ./Sources/PersonalMessage.php                                          Erfolgreich
2.    Modifikation ausführen    ./Sources/ModSettings.php                                                     Erfolgreich
3.    Modifikation ausführen    ./Themes/default/PersonalMessage.template.php                      Fehler            <---- here is my error
4.    Modifikation ausführen    ./Themes/default/languages/Modifications.english.php              Erfolgreich
5.    Modifikation ausführen    ./Themes/default/languages/Modifications.english-utf8.php    Erfolgreich
6.    Modifikation ausführen    ./Themes/default/languages/Modifications.dutch.php               Überspringe Datei
7.    Modifikation ausführen    ./Themes/default/languages/Modifications.russian-utf8.php    Überspringe Datei

e30Birdy

Template Parse Error!
Ein Problem trat beim Laden des /Themes/default/PersonalMessage.template.php Templates oder der Sprachdatei auf. Bitte überprüfen Sie die Syntax und versuchen Sie es erneut. Bitte beachten Sie, dass einzelne Anführungszeichen (') oft mit einem Slash (\) auskommentiert werden müssen. Um nähere Informationen von PHP zu diesem Fehler zu erhalten, versuchen Sie die Seite direkt aufzurufen.

Sie können auch versuchen, die Seite zu aktualisieren oder das Standard-Theme zu benutzen.

Parse error: syntax error, unexpected $end in .../Themes/default/PersonalMessage.template.php on line 1384

1375:          </tr>
1376:          <tr class="windowbg">
1377:             <td align="center">
1378:                <br /><a href="', $scripturl, '?action=pm;l=', $context['current_label_id'], '">', $txt['pm_report_return'], '</a>
1379:             </td>
1380:          </tr>
1381:       </table>';
1382: }
1383:

1384: ?>

1385:
1386:

this is where i am getting my error, i guess cause i cant even open PNs

fals

Quote from: SleePy on April 10, 2008, 10:04:02 PM
Ahh, it doesn't seem that search has the correct pm url..

Will fix sometime this weekend.
Any fix yet ? ;-)






500fan.dk - SMF 2.0 ~ custom theme
ls-forum.dk - SMF 2.0.2 ~ custom theme and custom iPhone theme

SleePy

fals,
No.. I got busy through the weekends :|
I don't know if I will have much time to get working on this, I haven't been paying much attention to adding features to my mods the past the few weeks.

e30Birdy,
You shouldn't of performed the install as the test failed.

Can you attach your PersonalMessage.template.php
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

InternetMafia

I for one would like to see a fix to this mod.

I find it one of the best mods out there.
Its better to be dead and cool than alive and uncool.

e30Birdy


SleePy

Is that the modified one? I get no errors with that file
Quote
The-SleePy-Laptop:~ jeremy$ php -l ~/Downloads/PersonalMessage.template.php
No syntax errors detected in ~/Downloads/PersonalMessage.template.php
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

e30Birdy

Is it because i am using a different theme and german language?

SleePy

Are you still getting it then?
This mod only installs for the default theme file so you need the one out of the /Themes/default folder.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

e30Birdy

here is the one out of the default theme?  Will it be possible to use it for my theme i am using?

SleePy

Those files are not modified?

Did you uninstall the mod?
I needed the modified ones to see why that error occurs.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

e30Birdy

okay i reinstalled it

SleePy

this one should work
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

e30Birdy

Thanks for all the help sleepy but i still get all the messages at once. i just made a test account to check it out!

SleePy

Did you enable the option in your Features and configuration to hide the pms?
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Advertisement: