vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Private Messages Enhancements - User PM Search (https://vborg.vbsupport.ru/showthread.php?t=149609)

TheMilkCarton 07-28-2007 05:02 PM

I'm sorry.. I had other code elsewhere in the plugin. :o

Code:

if($vbulletin->options['pm_preview'] AND $vbulletin->userinfo['pmpreview'])
{
    $prvmessage = htmlspecialchars_uni($pm['message']);
    if($vbulletin->options['pm_preview_strip_quotes'])
    {
        $prvmessage = strip_quotes($prvmessage);
    }
    $prvmessage = strip_bbcode($prvmessage);
   
    if(strlen($prvmessage) > $vbulletin->options['pm_preview'] AND $vbulletin->options['pm_preview'] != -1)
    {
        $prvmessage = fetch_trimmed_title($prvmessage, $vbulletin->options['pm_preview']);
    }
    $prvmessage = fetch_censored_text($prvmessage);
   
    eval('$pmpreview = "' . fetch_template('pm_preview') . '";');
}

Copy that above the same location I said in my first post.

I updated my original post to prevent any further confusion.

I apologize.. I was in the middle of simplifying the code, as I don't want my users having the option to turn the preview on/off. So I had disabled all the PM Preview plugins but two (cache_templates and private_messagelist_messagebit) and was using different code. :)

Dannyloski 07-28-2007 05:40 PM

Ahhh I see, thank you :) :up: Now it works with the new code ...

COBRAws 08-10-2007 06:25 PM

Quote:

Originally Posted by SirFlash (Post 1289405)
Thaliada, yes, the first line of the php code plugin does indeed start with that code.

The other pm plugins i have installed are:
Calculate Percentage of PM Quota Used

I don't think this will be useful, but i also had installed at one point Private Message Attachments v1.53 but then i uninstalled it completely because it wasn't compatible. I tried uninstalling and re-installing PM search after this but i still get the same SQL error.

I also installed vbAnonymyzer, version 2.5, which basically works to change URL's, but i disabled this plugin and tried getting PM Search to work, and same prob again. I didn't update to vbanon 2.7 yet but i don't think that would fix the problem.

Any ideas what the conflict may be?


I have the same problem as you have, but non of the other installd hacks you say.

I'll wait until someone can fix this. Maybe its just an execution order to be edited in a plugin.

MrZeropage 08-12-2007 08:56 PM

really good thing, but I think it should get an extra-page in the userCP and a new option "search PMs" in the leftside menu to make the inbox less confusing :)

Alfa1 08-13-2007 10:06 AM

Is there a template modification system XML for this add on? This would reduce the install time to 30 seconds and prevent errors in the template modifications.

COBRAws 08-23-2007 04:26 PM

Still no fixes? :(

formunda 08-25-2007 03:12 PM

Thanks this is great :D

Ekka 08-26-2007 04:45 AM

I skimmed through this and didn't find the answer to a question I have.

I have 3.6.8 and in the default VB board inbox PM's can be put into folders but you cannot do that with SENT PM's. Bit weird I know, have posted such over at Vb.

http://www.vbulletin.com/forum/showthread.php?t=239961

Does this hack allow me to set up folders or put PM's in a folder if they are SENT PM's?

Thanks

Carlos2 09-03-2007 06:36 AM

Great product!!

Thaliada 09-03-2007 09:48 AM

Quote:

Originally Posted by COBRAws (Post 1324096)
Still no fixes? :(

I'm sry, but i can't reproduce this bug on my board :/


All times are GMT. The time now is 04:36 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.01484 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)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