News:

Wondering if this will always be free?  See why free is better.

Main Menu

PM Informer

Started by Diego Andrés, May 31, 2008, 08:12:19 PM

Previous topic - Next topic

LightDiet

i'm gettin this error everytime someone receives a pm. it fills up my error log to like 100 pages every day lol. I tested on a side account and sent 1 pm and the error log showed the same error like 5 times

Quote
8: Undefined index: pm_informer
File: /home/public_html/Themes/default/BoardIndex.template.php (main_above sub template - eval?)
Line: 413
it's for this line

Quote
echo $context['show_buddies'] ? ', ' : '', $context['num_users_hidden'] . ' ' . $txt['hidden'];

Marcus Forsberg

LightDiet, I will look at that.

Joe N

Doesn't work with smf 2.0 rc1
Microsoft: "We Need to Imagine Life Without Walls."
I Say: "If There are No Walls Who needs Windows."



My Mods (6) All My Mods Updated To SMF 2.0 RC2 and SMF 1.1.10!


Marcus Forsberg

This should work on SMF 2.0 RC1.2. If you are using SMF 2.0 RC1, you should upgrade ASAP.

LightDiet

Quote from: Nas on September 13, 2009, 03:16:23 AM
LightDiet, I will look at that.

thanks, here are all the errors that come, just from 1 error session log or whatever. Whenever someone gets the pm notice on the page they come up. Let me know if you want the exact lines the error is coming up on

Themes/default/BoardIndex.template.php (main_above sub template - eval?)
Line: 416

Themes/default/BoardIndex.template.php (main_above sub template - eval?)
Line: 415

Themes/default/BoardIndex.template.php (main_above sub template - eval?)
Line: 413

Themes/default/Display.template.php (main_above sub template - eval?)
Line: 416

Themes/default/Display.template.php (main_above sub template - eval?)
Line: 415

Themes/default/Display.template.php (main_above sub template - eval?)
Line: 414

Themes/default/Display.template.php (main_above sub template - eval?)
Line: 413

Marcus Forsberg

LightDiet, I was unable to replicate that error.
Did the mod install without errors?

Marcus Forsberg

Note to Charter Members:
The new package at the mod site will work on SMF 2.0 RC2.


MultiformeIngegno

Quote from: Nas on October 04, 2009, 03:14:18 AM
Note to Charter Members:
The new package at the mod site will work on SMF 2.0 RC2.
Also for the public release (I think yes...)? :)
RockCiclopedia (wiki - forum), Tutta la storia del rock, scritta da voi ...
Rimanere aggiornati sul mondo della musica grazie al nuovo feed "RockCiclopedia Music News"!

Marcus Forsberg

Should do.
Please note though, I think there's a possible bug (Breaks the theme) in that version, but I'm not sure. If anyone could test it on SMF 2.0 RC2 Public I'd be thankful. :)

C4G-TK

I should have a RC2 test site up later today and will test it out for ya.

-img removed-

C4G-TK

I just installed this on a fresh install of RC2.0 and had no errors on installation.

I went into admin panel and set up the mod as described.

I created a 2nd user, so I could send a message and everything worked.

No errors. ;)

I just uninstalled it as well and had no errors in that part of the process, too.

-img removed-

pointalk

Please add PM Informer by Ring.

Marcus Forsberg

Quote from: C4G-TK on November 09, 2009, 11:54:14 AM
I just installed this on a fresh install of RC2.0 and had no errors on installation.

I went into admin panel and set up the mod as described.

I created a 2nd user, so I could send a message and everything worked.

No errors. ;)

I just uninstalled it as well and had no errors in that part of the process, too.

So there were no ugly spaces in the theme? Great!
Thanks. :)

Quote from: pointalk on November 11, 2009, 09:21:11 PM
Please add PM Informer by Ring.

Sorry?

Nick Whetstone

Sorry to burst the above poster's bubble, but I am getting one of the "ugly spaces" I think you were talking about. The blue right above the news box is between the link tree and the news, but wasn't there before. If I need to post a bigger screenshot, just let me know
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

ebinum

i tried to install this mod but i keep getting this error message

ERROR
The requested URL could not be retrieved

The following error was encountered while trying to retrieve the URL: hxxp:ebinum.byethost4.com/index.php [nonactive]?

    Zero Sized Reply

Squid did not receive any data for this request.

Your cache administrator is webmaster.

i dont know what todo

Stef001

SMF version:  SMF 2.0 RC2
Template: smf:classicYABBse

The install of this mod has not any problem.
When i receive any new pm, i see the message.

Only i can not collapse and do not see the View All.

Someone any idea?

Thanks Stef.
SMF 2.0.2 | SimplePortal 2.3.5

sattninja

i installed this on the core theme but the box is empty for the display code what do i put in there

Running Rc4

Bugo

Quote from: Normally on December 03, 2009, 01:29:52 PM
SMF version:  SMF 2.0 RC2
Only i can not collapse and do not see the View All.
I have this very same problem :(

Carlos Faria

#179
I can not make the following change:

Quote
Code (Find) Select
// The main content should go here.

Code (Add Before) Select
//The PM Informer is closed by default.
$options['collapse_header_pmi'] = 1;

//Do we have some new pms? Show the newest.
if(!empty($context['user']['unread_messages']) && !empty($context['pm_informer'])) {
echo '
<table align="center" width="500px">
<tr>
<td>
<div style="padding: 6px; vertical-align: middle; text-align: center; ',!empty($modSettings['pmi_style']) ? $modSettings['pmi_style'] : $txt['pmi_style_standard'],'">
<a href="#" onclick="shrinkHeaderPMI(!current_header_pmi); return false;"><img id="upshrink_pmi" src="', $settings['images_url'], '/', empty($options['collapse_header_pmi']) ? 'collapse.gif' : 'expand.gif', '" alt="*" title="', $txt['upshrink_description'], '" style="margin-right: 2ex;" align="right" /></a>';
printf($txt['pmi_title'], $context['user']['unread_messages']);
echo '
</div>
<div id="upshrinkHeaderPMI"', empty($options['collapse_header_pmi']) ? '' : ' style="display: none;"', '>
<table border="0" width="100%" cellspacing="1" cellpadding="4" class="bordercolor">
<tr class="windowbg">
<td>
<b>', $txt[318], ':</b> <a href="' . $scripturl . '?action=profile;u=', $context['pm_informer']['from'], '">', $context['pm_informer']['sender'], '</a><br />
<b>', $txt[319], ':</b> ', $context['pm_informer']['subject'], '<br />
<b>', $txt[317], ':</b> ', $context['pm_informer']['msgtime'], '<br />
<b>', $txt[72], ':</b> ', $context['pm_informer']['body'], '<br /><br />
<div align="right"><a href="' . $scripturl . '?action=pm"><span class="smalltext">', $txt['pmi_view_all'], '</span></a></div>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>';
}


Someone could see my index.template.php (DSv4 Design by DzinerStudio).

SMF 1.1.11

Advertisement: