You Have New Messages

Started by !!kaos!!, April 02, 2009, 01:46:52 AM

Previous topic - Next topic

fotografo74

Thanks for this Mod, it's nice...but I unistalled....conflict whith eFloating Bar For Guests and Members Mod !!!
Antonio

Kimmie

Is version 2.0 of the mod just an update (meaning its compatible with both 1.8/2.0)? or do I need to install New_pm.zip on 1.1.8?

Sudhakar Arjunan

This is an good mod.

I have installed it.

I have a query now.

In 2.0 RC 1, in default it popup when there is an pm.

so after installing the mod, i have first popup shown by smf default.

when i click ok or cancel it goes blank and when i refresh it, it shows me the current mod action.

Help me out in stopping the current default smf popup when we have an pm.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Özgür

@A.SK go to your admin panel
Configuration > Themes And Settings > Member Options  >
Try Remove all members' options and use the defaults.
So Long

βluΣ ЯosΣ

#24
 very good  mod kaos ...

Sudhakar Arjunan

Thank you Özgür´

I have changed Show a popup when you receive new messages? under Member Option on Themes and Layout.

It worked good for me.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

!!kaos!!


My Mod | My Site | SMF Kurulumu Resimli Anlatım | My Facebook
----------------------------------------------------------------------
SimpleDestek.Com Satışa Çıkmıştır Almak İsteyenler Benimle İletişime Geçsin..

kailew

Hi,

I've a error-message in the error console of FF: document.getElementById("topbar") is null
I think that has something to do with my implemantation of the code into index.template.php.

Maybe someone could take a look and give me a hint ...?

Kai

!!kaos!!


My Mod | My Site | SMF Kurulumu Resimli Anlatım | My Facebook
----------------------------------------------------------------------
SimpleDestek.Com Satışa Çıkmıştır Almak İsteyenler Benimle İletişime Geçsin..

kailew

Hi !!kaos!!,

it's the same error:

Fehler: document.getElementById("topbar") is null
Quelldatei: http://www.portugal-links.de/forum/index.php
Zeile: 41


And: for some reason it kicks the

</body></html>

which is the reason that I put it after the ajax-code. Now I have a page without closing body - which is not valid ... take a look: www.portugal-links.de/forum [nofollow]

Kai

!!kaos!!

now look file attachments.                      

My Mod | My Site | SMF Kurulumu Resimli Anlatım | My Facebook
----------------------------------------------------------------------
SimpleDestek.Com Satışa Çıkmıştır Almak İsteyenler Benimle İletişime Geçsin..

kailew

no, it's the same, and some other errors

The JS you put in is still in the file some lines above. But if you like to have it valid XHTML you need to put the

&&

into a CDATA-Container ...


So, I think there is a problem with

if ($context['user']['is_logged'] && $context['allow_pm'])

      if($context['user']['unread_messages'] >= 1)
     echo '


Normally you have to close it like this:

// The following will be used to let the user know that some AJAX process is running
echo '
<div id="ajax_in_progress" style="display: none;', $context['browser']['is_ie'] && !$context['browser']['is_ie7'] ? 'position: absolute;' : '', '">', $txt['ajax_in_progress'], '</div>
</body></html>';


but as I understand it, the closing tags are kicked ... maybe you need to put them into with a "else"-line ... but I'm everthing else than a php-expert ...

Kai

!!kaos!!

#32
Do as you do not have a wolf pack or manually

Which Mode Edition

My Mod | My Site | SMF Kurulumu Resimli Anlatım | My Facebook
----------------------------------------------------------------------
SimpleDestek.Com Satışa Çıkmıştır Almak İsteyenler Benimle İletişime Geçsin..

kailew

Hi  !!kaos!!

Quote from: !!kaos!! on April 15, 2009, 06:41:55 PM
Do as you do not have a wolf pack or manually

Which Mode Edition

sorry, I didn't understand you ...

If I put


else
  echo '</body></html>';


then it works, but only for logged users ...

Kai

kailew


JohnKaL-

#35
Hi,

i have a problem only with Internet explorer. All the time i take this error



If i take a pm it stops, but when i read it, the errors starts again!


ps this mod is really perfect! thanks!!




Özgür

So Long

kailew

maybe IEsucks, but the error message have other reasons. The're two problems with the mod.

1. You must put all JS into an CDATA-Container, because it's not allowed to use "&" in XHTML. Maybe a browser with certain setting produce a mistake.

2. There is a wrong "if" in the plugin, which causes that the Body-tag is not closed. I've asked for that but didn't get any answer so far. I think I will uninstall it because the author didn't react on my requests.

I think that mistake will be always there if you install the plugin. It's a not a good idea not to close the body-tag so at the moment it's not recommended to use it.

Kai

Sudhakar Arjunan

What kind of update happened now.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

!!kaos!!


My Mod | My Site | SMF Kurulumu Resimli Anlatım | My Facebook
----------------------------------------------------------------------
SimpleDestek.Com Satışa Çıkmıştır Almak İsteyenler Benimle İletişime Geçsin..

Advertisement: