View Single PM

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

Previous topic - Next topic

SleePy

not sure if I fully understand you..

but if you want to fix the minor typo jay made just do this

Open: ModSettings.php
Find:

'',
// Reporting of personal messages?
array('check', 'enableReportPM'),

'',
// Show flags
array('select', 'country_flag_ask', array($txt['country_flag_disabled'], $txt['country_flag_profile'], $txt['country_flag_registration'], $txt['country_flag_both'])),
array('check', 'country_flag_required'),
array('check', 'country_flag_show'),
array('int', 'max_pm_recipients'),
array('check', 'enableSinglePM'),


Replace:

'',
// Show flags
array('select', 'country_flag_ask', array($txt['country_flag_disabled'], $txt['country_flag_profile'], $txt['country_flag_registration'], $txt['country_flag_both'])),
array('check', 'country_flag_required'),
array('check', 'country_flag_show'),
'',
// Reporting of personal messages?
array('check', 'enableReportPM'),
array('int', 'max_pm_recipients'),
array('check', 'enableSinglePM'),


That should fix any sorting problems on the Features and Settings page..

But I let jay know about what his mod did and He told me he will update it when he gets time. Hes busy. But he knows about it so it will be fixed when he gets the time to.
;)
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Greengoat

Cool, thanks again.  I'll edit that file just for GPs'.

Tam

Do you have any plans on extending this mod? Like displaying the list of PMs above (or under) while viewing a single PM, like I described in a previous post. Being able to add   "Next" and "Previous"-links to the pm-view would be great as well.

SleePy

Not at the moment. Doing that would require me to have to rewrite a big section of the mod. Since my mod really focuses on editing the mysql command I would have to change so much to do that. So at the moment I do not plan for it.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

MultiformeIngegno

I've a very big problem. If I upload the package from the admin panel I can't access to the package area! I have to remove tha package with an FTP client and it works! Every time I upload the package I can't access to the package area of the admin panel and I have to remove the package from /Packages

Anyone had this problem?
RockCiclopedia (wiki - forum), Tutta la storia del rock, scritta da voi ...
Rimanere aggiornati sul mondo della musica grazie al nuovo feed "RockCiclopedia Music News"!

SleePy

Sounds like the package is corrupted. Try to download it again using another browser...
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

MultiformeIngegno

Quote from: SleePy on December 06, 2006, 05:57:29 PM
Sounds like the package is corrupted. Try to download it again using another browser...
OK. I tried to redownload and now it works.
THX! ;D
RockCiclopedia (wiki - forum), Tutta la storia del rock, scritta da voi ...
Rimanere aggiornati sul mondo della musica grazie al nuovo feed "RockCiclopedia Music News"!

swtxgrl

hi, i uploaded the package and enabled the single pm in the admin panel. but when i click on a PM, it just refreshes the page and doesnt show the message...

i went and manually modified the files according to the xml file...but it still doesnt work :( please help!

SleePy

When it Refreshes does it still show the Personal Messages below or are they hidden? Same with the Message list..
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

swtxgrl

nope, just the message List shows.

SleePy

Do you have any errors in the error log?

I am unable to reproduce the error though

1.1 Final Fresh install
-> Sent a few Test PMs to self
-> Installed SinglePM 1.1b
-> Enabled Option in Features and Options
-> Went to PM and Viewed just fine.

Did I miss something you did that I didn't?
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

swtxgrl

hmm ill try uninstalling it and installing it again. thanks for your help :)

Claine


buhaychat.com

Great mod, works fine on 1.1.1... thanks!

bumperskittles

Not working fine for me on 1.1.1 this is the message on top of my forum now:

//View Single PM $txt['singlepm_prange'] = 'Parameter p out of range. Please Go back and try again'; $txt['singlepm_vmsg'] = 'Viewing Message #'; $txt['enableSinglePM'] = 'Enable Single Personal Message View.';

Help!

bumperskittles

Disregard my post above, I just uninstalled the mod and uploaded the backup of my modifications.english.php

SleePy

Where you able to get it working again?

The problem was that there was blank lines at the end of your modifications.english.php so when SMF modifed the file and followed the commands to add it to the end It couldnt find the ?> so it just added it.
You just need to move those lines above the ?> and remove any blank lines after ?> and it will fix it and any other mods you install.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Coldfx

I've longed for a mod like this :) Oddly enough, I've never seen it..The title threw me off imagining it would be similar to "View single post" (Enter to a specific post, and it only shows that post..).

Thanks again :)

SleePy

Quote from: Coldfx on January 30, 2007, 11:41:50 PM
I've longed for a mod like this :) Oddly enough, I've never seen it..The title threw me off imagining it would be similar to "View single post" (Enter to a specific post, and it only shows that post..).

Thanks again :)

well it does the same function. Viewing a single personal message or viewing a single post. Its the same thing. Just like Viewing a single category.  
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Skyler

Quote//View Single PM $txt['singlepm_prange'] = 'Parameter p out of range. Please Go back and try again'; $txt['singlepm_vmsg'] = 'Viewing Message #'; $txt['enableSinglePM'] = 'Enable Single Personal Message View.';

I have this, I have uninstalled and deleted the mod and it doesn't go away.

Advertisement: