vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Lilis Pizza Pizza Messenger (PopUp Messenger) (https://vborg.vbsupport.ru/showthread.php?t=109361)

PcFreak 03-04-2006 06:14 PM

Quote:

Originally Posted by yinyang
where was this error so i can fix it manually. or do we need to reupload a file?

You can fix them manually.

Seach in the pp_messenger_wol template for this term:

alt="$userinfo[musername]

replace this term with

alt="$userinfo[username]

PcFreak

mariannet 03-05-2006 11:08 AM

Last time I installed a messenger the serverload went crazy, whats the load on this?

Hellraider 03-05-2006 12:08 PM

No huge serverload with this pager ;)

PcFreak 03-05-2006 01:42 PM

Quote:

Originally Posted by mariannet
Last time I installed a messenger the serverload went crazy, whats the load on this?

The messenger need one query and 0.1 kb max for a message.

Well, the soundfile pizapiza.mp3 need 7 extra kb. ;) (But, just for the first incomming message PopUP)

bada_bing 03-06-2006 02:10 AM

I have a dumb question but what exacly does this hack do??? and why is this different then normal PM?

Hellraider 03-06-2006 10:43 AM

Normal PMs are stored in database. Pager messages are "on the fly". When receipant has read the message it is deleted directly out of database. There's no possibilty to store sent/read messages into database.
--> No In- and Outboxes available.

YOimYO 03-06-2006 11:30 AM

This is very nice. Im gonna check it out today :)

thanks alot :D

PcFreak 03-06-2006 11:44 AM

Quote:

Originally Posted by YOimYO
This is very nice. Im gonna check it out today :)

thanks alot :D

Thank you.
The germans love this hack. (i don?t know really why :smoke: ).

Nitewalker 03-06-2006 08:35 PM

this is really a nice hack.. i installed and itz working fine..

just have a sugestion.

can we give permission for group setting.

means only the members of a particular grop can use the messenger function

is it possible?

yinyang 03-06-2006 10:51 PM

Quote:

Originally Posted by yinyang
what's important to me is making the pager show up in the What's Going On box on the Forumhome. I copied the coding in the lpp_messenger_wol template and put it in the forumhome template in the appropriate place and nothing shows up.

any suggestions? i'd appreciate it. thanks!

does anyone know how to accomplish the above. any help or lead in a direction is super appreciated!

ronoxQ 03-06-2006 11:17 PM

So, what's the difference between this and the Pager?

subnet_rx 03-07-2006 01:43 PM

I'm a little unclear about what this does. Does it send text messages to cell phones?

Hellraider 03-07-2006 02:21 PM

Quote:

Originally Posted by ronoxQ
So, what's the difference between this and the Pager?

https://vborg.vbsupport.ru/showpost....5&postcount=36


Quote:

Originally Posted by subnet_rx
I'm a little unclear about what this does. Does it send text messages to cell phones?

https://vborg.vbsupport.ru/showpost....8&postcount=46

dsotmoon 03-08-2006 01:41 AM

2 questions

#1 as someone else asked, can this made to be usergroup based, ie: allow it for specified groups but not all

#2 can it be made where its off for the user by default and they would have to enable it via their profile options? I ask this because I would not want to upset members who would prefer NOT to receive this type of IM

thanks

bada_bing 03-08-2006 02:35 AM

Would concider is usergroup based... Also what does this do to the server load as I remember someone else doing a silular hack and poeple were complaining that the server load went crazy after installing the hack

Hellraider 03-08-2006 09:00 AM

Quote:

Originally Posted by dsotmoon
2 questions

#1 as someone else asked, can this made to be usergroup based, ie: allow it for specified groups but not all

Actually no.

Quote:

Originally Posted by dsotmoon
#2 can it be made where its off for the user by default and they would have to enable it via their profile options? I ask this because I would not want to upset members who would prefer NOT to receive this type of IM

thanks

This has not been tested by me. I think PcFreak will give you a statement on this. So long try this at your own risk:

Uninstall product.
In product XML search for:
Code:

$db->query_write("ALTER TABLE " . TABLE_PREFIX . "user ADD lppstatus SMALLINT(6) NOT NULL default '1'");
REPLACE with:
Code:

$db->query_write("ALTER TABLE " . TABLE_PREFIX . "user ADD lppstatus SMALLINT(6) NOT NULL default '0'");
Reimport the XML.


Quote:

Originally Posted by dsotmoon
Also what does this do to the server load as I remember someone else doing a silular hack and poeple were complaining that the server load went crazy after installing the hack

Please read posts #42 to #44.

yinyang 03-10-2006 05:03 AM

Quote:

Originally Posted by yinyang
what's important to me is making the pager show up in the What's Going On box on the Forumhome. I copied the coding in the lpp_messenger_wol template and put it in the forumhome template in the appropriate place and nothing shows up.

any suggestions? i'd appreciate it. thanks!

*bump*

PcFreak 03-10-2006 02:46 PM

Quote:

Originally Posted by yinyang
*bump*

You must change the relative path to the lpp_messenger.php in an absolute path.

You can do this in the lpp_messenger_wol template.

search for this:
Quote:

<script type="text/javascript">
<!--
window.open('lpp_messenger.php?do=read_message','_blank','toolbar=no,resizable=y es, scrollbars=yes,location=no,menubar=no,width=430,he ight=310,top=150,left=100,status=no');
-->
</script>
and change ist to for e.g.:
Quote:

<script type="text/javascript">
<!--
window.open('http://www.mydomain.com/forum/lpp_messenger.php?do=read_message','_blank','toolbar=no,resizable=y es, scrollbars=yes,location=no,menubar=no,width=430,he ight=310,top=150,left=100,status=no');
-->
</script>

yinyang 03-10-2006 05:51 PM

Quote:

Originally Posted by PcFreak
You must change the relative path to the lpp_messenger.php in an absolute path.

You can do this in the lpp_messenger_wol template.

search for this:


and change ist to for e.g.:

thank you, i will try this. however, my lpp_messenger_wol template is quite different than the one you list. mine looks like:

Code:

<!--LPP Messanger Start-->
  <if condition="$vboptions['lppaktiv']"> 
  <if condition="$userinfo['lppstatus']=='1'">
  <a onClick="window.open('lpp_messenger.php?do=lppmessenger&amp;userid=$userinfo[userid]','_blank','toolbar=no,resizable=yes, location=no,menubar=no,width=430,height=310,top=150,left=100,status=no');return false"
  target="_blank" href="lpp_messenger.php?do=lppmessenger&amp;userid=$userinfo[userid]">
  <img src="$stylevar[imgdir_misc]/vbim.gif" alt="$userinfo[username] $vbphrase[lppmess_send_a_mess]" border="0" /></a>
  </if>
  </if> 
<!--LPP Messanger Stop-->

where in the above would i put it?

PcFreak 03-10-2006 06:33 PM

Ups.
Sorry i have qouted the wrong code
This one is correctly.

Quote:

<!--LPP Messanger Start-->
<if condition="$vboptions['lppaktiv']">
<if condition="$userinfo['lppstatus']=='1'">
<a onClick="window.open('lpp_messenger.php?do=lppmessenger&amp;userid=$userinfo[userid]','_blank','toolbar=no,resizable=yes, location=no,menubar=no,width=430,height=310,top=15 0,left=100,status=no');return false"
target="_blank" href="lpp_messenger.php?do=lppmessenger&amp;userid =$userinfo[userid]">
<img src="$stylevar[imgdir_misc]/vbim.gif" alt="$userinfo[username] $vbphrase[lppmess_send_a_mess]" border="0" /></a></span>
</if>
</if>
<!--LPP Messanger Stop-->
The bold part must be change to an absolute path.
e.g. to

http://www.mydomain.com/forum/lpp_messenger.php?

yinyang 03-11-2006 02:41 AM

thank you so much for your help. i think i finally figured it out and perhaps my request wasn't very clear. but it works now. what i did was in your "lpp_messenger_loggedinuser" template, i changed the necessary area to:

Code:


<if condition="$vboptions['lppaktiv']">
<if condition="$bbuserinfo['lppstatus']=='1'">
<a onClick="window.open('lpp_messenger.php?do=lppmessenger&amp;userid=$loggedin[userid]','_blank','toolbar=no,resizable=yes, location=no,menubar=no,width=430,height=310,top=150,left=100,status=no');return false"
target="_blank" title="$loggedin[username] $vbphrase[lppmess_send_a_mess]" href="lpp_messenger.php?do=lppmessenger&amp;userid=$loggedin[userid]">
<img src="$stylevar[imgdir_misc]/vbim.gif" alt="$loggedin[musername] $vbphrase[lppmess_send_a_mess]" border="0" />
</a>$stylevar[dirmark]<a href="member.php?$session[sessionurl]u=$loggedin[userid]" rel="nofollow">$loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark]
<else />

it works beautifully and comes up in the forumhome page with the pager graphic. now people who want to page can click on the pager before the user name or click on the user name if they want to view its profile. personally, i think giving the user the choice to either page or click on profile is a little better.

anyhow, you're definitely a rockstar for putting up with my request. one more thing though and i know this is asking way too much, but how would i accomplish the same thing in the "Online Users" module of vbAdvanced?

PcFreak 03-11-2006 01:33 PM

Quote:

Originally Posted by yinyang
but how would i accomplish the same thing in the "Online Users" module of vbAdvanced?

I am not sure. (i don?t use Advanced)
But there must be a vbAdvanced template which one show the online users.
This Advanced loggedinuser template must be changed.

Maybe you can use my lpp_messenger_loggedinuse template for the other one.

But now, you must change the relative path to the lpp_messenger.php in an absolute path. Therefore, because vbAdvanced used an other directory structure.

PcFreak

bashy 03-11-2006 07:16 PM

Double post...not sure what happened there lol
see below

bashy 03-11-2006 07:16 PM

Sorted now....

bashy 03-12-2006 12:57 PM

Ok heres another small 1 for you...

I have managed to sort 1 of my issues out but still have a small issue
that needs resolving please?

The popup window foe a message is fine, as soon as i click on the reply
button the new message window is too small, i have tried to amend this by adjusting the size but still the same, There are no scroll bars either... gis 5
mins and will have some images

1st image is Normal message popup
2nd image is after clicking the reply button (want to reply)

PcFreak 03-12-2006 02:34 PM

In the lpp_messenger_read template found this.

Code:

                <div class="fieldset">               
                        <a title="$sendername $vbphrase[lppmess_send_a_mess]"
                        onclick="window.open('lpp_messenger.php?do=lppmessenger&amp;userid=$id_sender','_blank','toolbar=no,resizable=yes, location=no,menubar=no,width=430,height=310,top=150,left=100,status=no');"
                        href="javascript:self.close();">
                        <img border="0" src="$stylevar[imgdir_button]/reply.gif" width="110" height="26"></a>               
                </div>

Change the width=430,height=310 values to e.g width=600,height=400.

Edit:
HMM.. That is a Portal side, isn't it.
Mabye that is an other Problem.

bashy 03-12-2006 02:39 PM

Hi m8

Just tried that....no change :(

headrat 03-17-2006 03:30 PM

I really like this hack because a lot of members would like to be able to get in touch with others they see online at that moment to get them to the Chat Room or get their immediate attention. However, are you sure you can't make the Permission or Usergroup based? I don't want some usergroups being able to have this much access to other usergroups.

Let me know if you can or if this will be an added feature so that I can activate it.

Rickie3 03-19-2006 02:20 AM

first off would like to say thanx for this great hack,its installed and working perfectly,the only problem i have is the little pizza.gif is not showing in sending message,ive checked over and over and the location is in the right directory,i even right clicked the image and it shows the location on my site,just wont show the pizza pic up,all other pics are showing perfectly,please see my screen shot below showing what i mean

rmd708 03-19-2006 08:41 AM

Is it possible to message unregistered users with this? I would like to have the admin beable to message the unregistered people.

PcFreak 03-19-2006 09:58 AM

@headrat
I only work on my statistics project at the moment. Therefore I do not plan any update for this hack.

@Rickie3
Have you really uploaded the picture under this path?

@rmd708
No! The messenger works with userid´s!
Unregistered users do not have any ID.

PcFreak

Rickie3 03-19-2006 10:19 AM

Quote:

Originally Posted by PcFreak

@Rickie3
Have you really uploaded the picture under this path?



PcFreak

yes i have,its got me beat as all the other .gifs work fine and when i point to the url path the pizza.gif shows
http://www.sats-general.com/forum/images/misc/pizza.gif
just doesnt show in the message thing in my screen shot

PcFreak 03-20-2006 04:54 AM

Quote:

Originally Posted by Rickie3
yes i have,its got me beat as all the other .gifs work fine and when i point to the url path the pizza.gif shows
http://www.sats-general.com/forum/images/misc/pizza.gif
just doesnt show in the message thing in my screen shot

But the path in your screen shot is:
http://www.sats-general.com/images/misc/pizza.gif
without the /forum/

There is no pizza picture under sats-general.com/images/misc/

Rickie3 03-20-2006 05:41 AM

i created a new directory all is good now thanx for helping out the pizza is now showing
http://www.sats-general.com/images/misc/pizza.gif

Rickie3 03-21-2006 08:03 AM

on my board only admin and mods can use the who's online function,what i was wondering would it be possiable to show in WOL who a member is sending a message to??

Rickie3 03-27-2006 06:53 AM

is it possiable to add a quote button to when you reply to a message,so the message text that has been sent from another member, can been seen when you are replying,sometimes i forget what the original message was,that i'm replying to

bashy 04-09-2006 12:47 PM

hi

is there anyway i can make the new create message popup any bigger please?

MarcusTangh 04-10-2006 04:40 PM

Never mind, I fixed it.

Nachtfalke 04-16-2006 05:55 PM

Hi, I gladly installed this wonderfull thingy. I mangaged to get it working with the vbadvanced buddy-block as well and so it is used very often.
Just my two cents: It would be a perfect addon, when Admins could send out a lpp message to all online users at once (something like: Join us on our chat). Any chance to get this working?
Greetings from germany and fat repsect 4 your work!

bashy 04-23-2006 06:36 PM

Hi

I do not see the count down to close the popup....

Please advise :)


All times are GMT. The time now is 01:37 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01529 seconds
  • Memory Usage 1,840KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete