vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Private Messages Enhancements - Popup Private Messaging (https://vborg.vbsupport.ru/showthread.php?t=196026)

phreebsd 02-03-2009 05:31 PM

I found one problem when this mod is installed. My forum is 3.8.1.
When this mod is enabled and you have welcome PM's turned on, after the user receives their email to click on to activate their account they receive this error.

Fatal error: Call to a member function clean_gpc() on a non-object in /home/********/public_html/includes/class_dm_user.php(2595) : eval()'d code on line 1

Their account still activates but the error above is all they see upon clickin the activation link.
They also never receive the PM.
Once you take the name out (username welcome PM's will come from) out of vbulletin options -> user registration options they can activate with no issues.

AWJunkies 02-08-2009 12:29 AM

I have same issue noted above been trying to find the culprit of the issue (mod) for quite some time finally found it.

To fix the issue you need to do a if statement around a plugin. Since the newpm does not have global $vbulletin value it errors the second the plugin tries to clean the value.

Change Popup PM Postbit Link postbit_display_start:
PHP Code:

if ($_POST['do'] == 'insertpm')
{
$vbulletin->input->clean_gpc('p''fbpm'TYPE_STR);

if (
$vbulletin->GPC['fbpm'] == 'yes')
{
    
$fbpmmessage '<strong>Message sent successfully!</strong> <a href="private.php?do=newpm&amp;fbpm=newpm">Send another?</a>';
    eval(
'print_output("' fetch_template('pm_fbpm') . '");');
}


Just added if statement around it to make sure this is a post insert request and NOT any internal pms being sent by any mod or any vb itself.

phreebsd 02-09-2009 05:11 PM

works perfectly.
thanks a lot.

AWJunkies 02-09-2009 07:34 PM

No problem :)

Reycer 02-10-2009 02:02 AM

this is a VERY WELCOMED addition to our forum! Thanks!

Leo Brazil 02-10-2009 10:03 AM

Quote:

Originally Posted by Leo Brazil (Post 1728018)
Hi Guys, I found another bug on this probably someone here have a solution.
I'm on 3.8.0 but I've been trying to track this issue since 3.7.4 so probably for those running on 3.7 will get the same issue as well.

I was not sure what mod was causing this but RSS Feeds were all dead with Internet Explorer 7 but Fire Fox were all correct.

It seems the template edit on headinclude. I'm placing here just a small piece of mine headinclude templete that is causing this issue:

Code:

</if>
<!-- / CSS Stylesheet -->
<link rel="stylesheet" href="clientscript/dhtmlwindow.css" type="text/css" />
<script type="text/javascript" src="clientscript/dhtmlwindow.js"></script>

Does someone here can confirm this issue ?

Any tips to clean this out ?

Anyone here running this mod with template edits got a way to get RSS Feeds working on IE ?

inciarco 02-14-2009 10:40 PM

Great Mod, Thank You For Sharing it. :up::up::up:

Could you please tell me the Plugin and Template Changes (and/or also the Additional Plugins I Should Create), to use the Mod with the vBulletin Blogs? :confused:

My Best Regards.

:)

Reycer 02-22-2009 02:08 PM

our members have found a small problem. When sending a message via this mod. The message does not show up in the sent folder. Not really a "big" deal, but some users have thought that their messages aren't being sent, because they don't show up in that folder.

Reycer 02-25-2009 01:11 AM

any updates?

We have also discovered that this does not work in the Blog.

Reycer 02-25-2009 02:54 PM

hmmmm.....am I to guess that this is no longer being supported?


All times are GMT. The time now is 09: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.01336 seconds
  • Memory Usage 1,742KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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