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)

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.


All times are GMT. The time now is 01:09 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.01296 seconds
  • Memory Usage 1,741KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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