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)

Thaliada 06-25-2007 03:12 PM

Thx again, normaly this line should not be necessary, but some people seemed to have problems without it. Included it again.

@klaush
there is a 3.5 version on this board.

Nathan2006 06-28-2007 12:46 AM

Thanks for the update :)

4x4 Mecca 06-28-2007 05:39 AM

Did you ever change the name query? Or is that not planned? It was interfering with my other hack quick search in the navbar. :)

SirFlash 06-29-2007 02:03 AM

I installed this on vb3.6.4, made the template change included in the file, and it didn't work. The script appears in place, but when i enter a keyword on the pm search form, it returns an SQL error page with this message:

Quote:

Database error in vBulletin 3.6.4:

Invalid SQL:

SELECT pm.*, pmtext.*
, icon.title AS icontitle, icon.iconpath
FROM pm AS pm
LEFT JOIN pmtext AS pmtext ON(pmtext.pmtextid = pm.pmtextid)
LEFT JOIN icon AS icon ON(icon.iconid = pmtext.iconid)
WHERE pm.userid=1
AND pm.folderid= AND MATCH(pmtext.title) AGAINST ('+testkeyword' IN BOOLEAN MODE)
ORDER BY pmtext.dateline DESC;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND MATCH(pmtext.title) AGAINST ('+testkeyword' IN BOOLEAN MODE)
ORDER BY pmtext.d' at line 7
Error Number : 1064
Date : Thursday, June 28th 2007 @ 10:48:04 PM
Script : http://mywebsite.com/private.php?folderid=0
Referrer : http://mywebsite.com/private.php
IP Address : 192.168.1.1
Username : SirFlash
Classname : vB_Database_MySQLi
I thought maybe changing a line of code as Thaliada suggested may work, but i still get an error. The code below didn't fix the problem for me.

Code:

change <div><input type="text" class="bginput" name="query" size="35" value="$query" style="width:250px" />
to
Code:

<div><input type="text" class="bginput" name="query" size="35" value="" style="width:250px" />
I don't know if this has something to do with a conflict in value="$query" or what.

So for now i can't use this mod because it won't work, although the PM search is an excellent tool and i concur with others that this should absolutely be vb default in future versions. If anyone has any ideas on what i can do to get this to work, that would be much appreciated.

Talking Poker 06-29-2007 06:14 PM

Nice looking mod, but doesn't work for me either. I get the following:


Database error in vBulletin 3.6.7:

Invalid SQL:

SELECT pm.*, pmtext.*
, icon.title AS icontitle, icon.iconpath
FROM vb3_pm AS pm
LEFT JOIN vb3_pmtext AS pmtext ON(pmtext.pmtextid = pm.pmtextid)
LEFT JOIN vb3_icon AS icon ON(icon.iconid = pmtext.iconid)
WHERE pm.userid=1
AND pm.folderid= AND MATCH(pmtext.title, pmtext.message) AGAINST ('+test' IN BOOLEAN MODE)
ORDER BY pmtext.dateline DESC;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND MATCH(pmtext.title, pmtext.message) AGAINST ('+test' IN BOOLEAN MODE)
O' at line 7
Error Number : 1064
Date : Friday, June 29th 2007 @ 12:06:26 PM
Script : http://www.talkingpoker.com/forum/pr...php?folderid=0
Referrer : http://www.talkingpoker.com/forum/private.php
IP Address : 68.202.190.31
Username : Talking Poker
Classname : vB_Database_MySQLi

Dark_Sirius 06-29-2007 07:23 PM

Working just fine in 3.6.4 Thanks!

Thaliada 06-30-2007 06:37 PM

#Sit Flash & Talking Poker

does the first line of the php code of the plugin starts with
Code:

if(!isset($_GET['folderid']) || trim($_GET['folderid']) == '') $_GET['folderid'] = 0;
if not, replace it with this one.
if so, do you have any other pm plugins installed and does the problem still exists if you turn them off?

rainyleaves 07-03-2007 02:54 PM

Working great !! in 3.6.7LP1 Thanks!

Just one question.
Can I use wild cards?
How do I?

Thanks :)

Thaliada 07-03-2007 02:59 PM

Use * as wildcard.

rainyleaves 07-03-2007 03:51 PM

Thahks! Thaliada :)


All times are GMT. The time now is 03:06 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.01181 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
  • (3)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)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