vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Private Messages Enhancements - Popup Private Messaging for vBulletin 4.x! (https://vborg.vbsupport.ru/showthread.php?t=233616)

robwoelich 01-19-2010 10:00 PM

Popup Private Messaging for vBulletin 4.x!
 
1 Attachment(s)
Updated 12-19-2010 to add all features that were previously a part of the full version product. Now there is no full version, just this one with everything for free.

Popup Private Messaging is a useful (and neat!) modification for your vBulletin 4 forum. Instead of redirecting a user to a separate "Compose Message" page when they try to send a private message, a "popup" private message form is displayed without taking them away from the page they're viewing. It intelligently replaces every single PM link on your forum, CMS or blog without any template edits or plugins that mess with your templates. It's loaded with features and has been tested with IE 8, FireFox 3.6, Opera 10.10, Chrome 3.0, and Safari 4.0.4!

Formerly a Mod of the Month winner for vBulletin 3.x! The current version for vBulletin 3.8 can be found here.

Highlights:
  • Uses a DHTML "popup" which won't be blocked by popup blockers, as it is not a "real" popup window.
  • New! Automatically centers the popup on the page, regardless of window size or how far down the page a user is.
  • Auto-fills the PM form with the username of the person you wish to send a private message.
  • Supports multiple recipients (based on user permissions).
  • Standard form, or full WYSIWYG with advanced PM options.
  • Preview message within the window, without being redirected elsewhere.
  • Window can be closed by the user via an "X" in the upper corner.
  • Lightbox effect to dim the rest of the page
  • New! Window automatically closes after the message is sent.
  • Admin CP options allow you to customize window size and which usergroups can use the popup PM modification.
  • New! Intelligent Javascript file replaces every private message link with the popup links on the browser side, saving your server's resources and your templates!
Screenshots:

Screenshots are attached to this post.

Live Demo:

A live demo can be found on my website - no registration required to see the basic popup functionality, but if you want to try the actual form you'll need to register as guests/unregistered users can't use private messaging.

Support for this Modification:

No active support anymore - that's why I made the full version free. Too much going on right now.

Please read the first post below as it has common issues and troubleshooting. :up:

robwoelich 01-20-2010 10:37 AM

1/21/10 - I've worked out the bug with PM links not triggering the popup, and confirmed compatibility with the five major browsers. If you've previously downloaded Popup PM, you'll want to redownload it, reupload the uploaded files, uninstall the old product and install the new one. :) Hope you enjoy!

Settings Quick Tutorial

All options for the Popup PM are found in Admin CP > vBulletin Options > Popup Private Messaging (located under Private Messaging Options).

To change the popup window size, change the options for window width and height. Enter a number in pixels (number only).

To specify which usergroups the popup is enabled for, change the option for usergroup permissions. Enter the usergroup IDs of the groups to enable the popup for. Enter the numbers separated by commas, i.e. 2,5,6,7 - you can also leave the field blank to enable for all usergroups, and set to a non-real usergroup ID (like 1000) to disable the popups for everyone. Note that even if you give unregistered users or users without private messaging permissions access to the popup PM system, it won't grant them private messaging permissions. They will see a "no permission" error within the popup window.

Quick Troubleshooting

Literally, the only thing you can really mess up during installation is not properly uploading the file(s) in the UPLOAD folder. In other words, make sure rw_popuppm_free.js gets into your www.mywebsite.com/myforumdirectory/clientscript/ folder. Then install the product XML file in your Product Manager. Done.

If you're having issues with the popups not showing up, check for script errors in your browser. They can tell you what's not working and why. Chances are that something else installed on your forum is interfering with the popup PM script. Also check to make sure you didn't set the popup window height/width to 0 or something for some silly reason.

If you use a custom style or have customized your templates, this seems to be the other thing that breaks the mod. Look at your footer template and find:

HTML Code:

        <script type="text/javascript">
        <!--
                // Main vBulletin Javascript Initialization
                vBulletin_init();
        //-->

        </script>

Below it, you should have:

HTML Code:

        <script type="text/javascript">
        <!--
                // Main vBulletin Javascript Initialization
                vBulletin_init();
        //-->

        </script>
        {vb:raw template_hook.footer_javascript}

The footer_javascript template hook was added in vBulletin 4.0, and it seems some users with custom styles are either accidentally removing it or copying/pasting a lot of code from their old styles which didn't have the template hook. Add that and you should be good to go.

KURTZ 01-20-2010 10:39 AM

waiting screen shots :P

Sador 01-20-2010 10:46 AM

Tagged.

GeorgeB85 01-20-2010 11:35 AM

I uploaded all the files where they needed to go, but it isn't working. Just takes me to the default PM window that comes with the software.

robwoelich 01-20-2010 11:36 AM

Quote:

Originally Posted by GeorgeB85 (Post 1961100)
I uploaded all the files where they needed to go, but it isn't working. Just takes me to the default PM window that comes with the software.

Send me a link and I can take a look. :)

angeljs 01-20-2010 12:16 PM

Not working for me either :(

robwoelich 01-20-2010 12:21 PM

I need a little more info aside from "not working". :p I'll PM you.

Anybody it is working for?

angeljs 01-20-2010 12:24 PM

Quote:

Originally Posted by robwoelich (Post 1961136)
I need a little more info aside from "not working". :p I'll PM you.

Sorry...I hate that! lol

I don't get the popup when I click on the pm link when viewing a post, but I do when viewing the member's profile.

GeorgeB85 01-20-2010 12:29 PM

Quote:

Originally Posted by robwoelich (Post 1961102)
Send me a link and I can take a look. :)


www.tmcgnetwork.com

DjEddie 01-20-2010 12:30 PM

Hi,

Got same problem as George, only had 1 file to upload in the clientscripts folder .. imported the product... checked the permissions were correct ... then refreshed home page.. went to send pm as a test and takes to the default pm page..

any ideas?

robwoelich 01-20-2010 12:41 PM

Quote:

Originally Posted by DjEddie (Post 1961143)
Hi,

Got same problem as George, only had 1 file to upload in the clientscripts folder .. imported the product... checked the permissions were correct ... then refreshed home page.. went to send pm as a test and takes to the default pm page..

any ideas?

Yes, currently working on it with another user - I'll let you know what I figure out. In the meantime, try downloading --removed, didn't work :p --, and let me know if that works any better.

DjEddie 01-20-2010 12:45 PM

nope sorry rob ... still doesn't work and takes to pm default page .. i tried in all areas where u are able to send a pm

robwoelich 01-20-2010 12:50 PM

Hmm, that's very interesting.

Alrighty, I suppose I should remove the file until I can work out what's causing the problem. If anybody would like to help test a potential fix, please PM me or leave a post stating so, and I'll send you a message when I think I've got it worked out. Thanks!

Snug 01-20-2010 12:55 PM

is the full version working?

DjEddie 01-20-2010 12:56 PM

okie Rob .. ill have a go at testing for you .. :)

robwoelich 01-20-2010 01:24 PM

I believe I've found the issue, and should have a fix within 24 hours. :)

Trek 01-20-2010 05:47 PM

Thanks for bringing this over to vB4! One question, Something I had a problem with in the 3.8 version was that once you sent a PM, if you tried it again within the same browser session, it didn't work. I know that this was posted as a problem in the old versions thread, but don't know if it was ever resolved?

So, my question is, was it resolved? =)

Tagged until I upgrade.

Hornstar 01-20-2010 06:24 PM

Tagged for when it comes back. This always looked useful.

robwoelich 01-20-2010 06:45 PM

Quote:

Originally Posted by Trek (Post 1961420)
Thanks for bringing this over to vB4! One question, Something I had a problem with in the 3.8 version was that once you sent a PM, if you tried it again within the same browser session, it didn't work. I know that this was posted as a problem in the old versions thread, but don't know if it was ever resolved?

So, my question is, was it resolved? =)

Tagged until I upgrade.

As far as I can tell, it's not an issue in this version. Of course, I wish I could verify that with some people that have installed it, so until I get this odd little bug fixed, we'll have to wait and make sure it works for everyone. :)

Bouncer222 01-20-2010 07:59 PM

Could you please implement in the pop up EVERYTHING found in the actual yourdomain.com/private.php ? Such as text editors, and smilies etc...?

Then i will install.

VonDoom 01-20-2010 08:14 PM

Tagged

robwoelich 01-21-2010 04:11 AM

Quote:

Originally Posted by Bouncer222 (Post 1961585)
Could you please implement in the pop up EVERYTHING found in the actual yourdomain.com/private.php ? Such as text editors, and smilies etc...?

Then i will install.

All of those features are implemented in the full version, and then some! :cool:

I've got the bug worked out and am verifying by having a few other users test for me on their forums. Once everything is a go, I will repost the modification, likely tonight sometime. :)

Dr.osamA 01-21-2010 04:34 AM

taged tel upgrade

thanxxx
________
Marijuana vaporizer

Magz 01-21-2010 10:16 AM

Looking interesting and Tagged

Leo Brazil 01-21-2010 02:19 PM

I've been using this one since a long time and will keep using on 4.0.

Tagged, just waiting for release.

WxP 01-21-2010 03:13 PM

No Files Uploaded.

How can i get this script!?

robwoelich 01-21-2010 05:50 PM

I've worked out the bug with PM links not triggering the popup, and confirmed compatibility with the five major browsers. If you've previously downloaded Popup PM, you'll want to redownload it, reupload the uploaded files, uninstall the old product and install the new one. :)

Hope you enjoy!

Magz 01-21-2010 06:13 PM

The instructions say to upload ALL the files in the upload folder.

I only see One file. rw_popuppm_free, is that correct?

robwoelich 01-21-2010 06:19 PM

Quote:

Originally Posted by Magz (Post 1962602)
The instructions say to upload ALL the files in the upload folder.

I only see One file. rw_popuppm_free, is that correct?

Correct. Generic instructions FTW. :)

angeljs 01-21-2010 06:54 PM

Working great for me now, thanks for the fast support :)

GeorgeB85 01-21-2010 07:10 PM

Quote:

Originally Posted by robwoelich (Post 1962573)
I've worked out the bug with PM links not triggering the popup, and confirmed compatibility with the five major browsers. If you've previously downloaded Popup PM, you'll want to redownload it, reupload the uploaded files, uninstall the old product and install the new one. :)

Hope you enjoy!

still not working..just takes me to the default pm page..

DjEddie 01-21-2010 08:09 PM

Quote:

Originally Posted by GeorgeB85 (Post 1962660)
still not working..just takes me to the default pm page..

Same as george again ... updated to new version .. tried all the places to send pm and still sends to default pm page..

mandingo 01-21-2010 10:22 PM

Quote:

Originally Posted by DjEddie (Post 1962733)
Same as george again ... updated to new version .. tried all the places to send pm and still sends to default pm page..

Ditto.

robwoelich 01-22-2010 04:31 AM

Happy to help you guys get it working if you install the product and send me a link to your forum. :)

mandingo 01-22-2010 12:00 PM

Quote:

Originally Posted by robwoelich (Post 1963099)
Happy to help you guys get it working if you install the product and send me a link to your forum. :)

See sig.

Megatr0n 01-22-2010 03:44 PM

Rob, will this be compatible for 3.8 once more?

robwoelich 01-22-2010 05:42 PM

I've taken a look at DjEddie's forum and found that his custom style's template didn't include the template hook which is new in vBulletin 4.0 that the modification uses. As such, I've added an entry into the FAQ in the first post of this thread explaining how to check the template affected to see if the template hook is present or not.

Quote:

Originally Posted by Megatr0n (Post 1963525)
Rob, will this be compatible for 3.8 once more?

Yes, I'm working on it and should have it released within the next few days. It currently works on my test forums, short of a Javascript bug I'm working out.

mandingo 01-22-2010 06:01 PM

Quote:

Originally Posted by robwoelich (Post 1963636)
I've taken a look at DjEddie's forum and found that his custom style's template didn't include the template hook which is new in vBulletin 4.0 that the modification uses. As such, I've added an entry into the FAQ in the first post of this thread explaining how to check the template affected to see if the template hook is present or not.

Yes, I'm working on it and should have it released within the next few days. It currently works on my test forums, short of a Javascript bug I'm working out.

Added that code to my footer template,it works now. Just wondering,should the window close when I submit the message? It's not closing for me.
edit,sorry i'm an idiot,didnt see the close X from glare on my screen lol.

DjEddie 01-23-2010 02:42 PM

Quote:

Originally Posted by robwoelich (Post 1963636)
I've taken a look at DjEddie's forum and found that his custom style's template didn't include the template hook which is new in vBulletin 4.0 that the modification uses. As such, I've added an entry into the FAQ in the first post of this thread explaining how to check the template affected to see if the template hook is present or not.

Yes, I'm working on it and should have it released within the next few days. It currently works on my test forums, short of a Javascript bug I'm working out.

Thanks alot Rob for the Quick support u gave me on this modification .. like u said all works with no problems .. which lead me to purchase the full version .. which i urge others to do .. sets it off alot nicer and more professional looking

Thanks :)


All times are GMT. The time now is 06:37 AM.

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.01389 seconds
  • Memory Usage 1,841KB
  • 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_html_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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