The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#102
|
|||
|
|||
It's work but when I install it the error happen in main search for threads and post
Quote:
|
#103
|
||||
|
||||
Installed the mod and love it, but some of our users recently started reporting that both Search functions are inoperable. If they try to use them, they get the following errors:
Search by Username: Quote:
Normal search: Quote:
Any ideas why this is happening? From what I can tell, there seems to be a problem with the pm.folderid= bit in the query |
#104
|
|||
|
|||
That is indeed the problem, actually
Code:
if(!isset($_GET['folderid']) || trim($_GET['folderid']) == '') $_GET['folderid'] = 0; Code:
AND pm.folderid=" . mysql_real_escape_string($_GET['folderid']) . " "; Sry just change Code:
AND pm.folderid=" . mysql_real_escape_string($_GET['folderid']) . " "; Code:
AND pm.folderid=" . mysql_real_escape_string($search_folderid) . " "; |
#105
|
||||
|
||||
I assume these changes need to be done in the XML before importing it, right?
|
#106
|
|||
|
|||
This should be in VB as default VERY GOOD MOD!
|
#107
|
|||
|
|||
This is a great mod. I wonder how much resources this uses on the server. Also, can you add usergroup permissions for this?
/me installs and nominates. |
#108
|
||||
|
||||
Well, I applied this fix to the xml, re-imported it with Overwrite on, but the error still persists
|
#109
|
||||
|
||||
Nice Hack!
I have one problem, I am using the show avatars in PM list mod and the search results breaks the rows as show in the screenie. Here is my pmbitlsit template. Any ideas? Thanks! -Jason Code:
<tr> <td class="alt1"><img src="$stylevar[imgdir_statusicon]/pm_$pm[statusicon].gif" alt="" border="0" /></td> <td class="alt2"><img src="$vboptions[bburl]/image.php?u=$userid" width="50" height="50"></td> <td class="alt1Active" id="m$pm[pmid]" width="100%"> <div> <span style="float:$stylevar[right]" class="smallfont">$pm[senddate]</span> <if condition="$pm['attach']"><img class="inlineimg" src="$stylevar[imgdir_misc]/paperclip.gif" alt="<phrase 1="$pm[attach]">$vbphrase[x_attachments]</phrase>" /></if> <a href="private.php?$session[sessionurl]do=showpm&pmid=$pm[pmid]"><if condition="$show['unread']"><strong>$pm[title]</strong><else />$pm[title]</if></a> </div> <div class="smallfont"> <span style="float:$stylevar[right]" class="time">$pm[sendtime]</span> <if condition="$show['unread']"><strong>$userbit</strong><else />$userbit</if> </div> </td> <if condition="$show['pmcheckbox']"><td class="alt2" align="center" style="padding:0px"><input type="checkbox" name="pm[$pmid]" value="$groupid" /></td></if> </tr> |
#110
|
|||
|
|||
Get's an error what installed
Code:
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=94 AND pm.folderid=0 AND MATCH(pmtext.title, pmtext.message) AGAINST ('+scuba' IN BOOLEAN MODE) ORDER BY pmtext.dateline DESC; MySQL Error : The used table type doesn't support FULLTEXT indexes Error Number : 1214 Date : Saturday, October 20th 2007 @ 06:02:52 PM Script : http://forum.xxxxx.com/private.php?folderid=0 Referrer : http://forum.xxxxx.com/private.php IP Address : 68.xx.xx.xx Username : nxx Classname : vB_Database |
#111
|
||||
|
||||
It took me a while, but I figured out how to get this to work with MySQLi. It will also still work with MySQL, so it probably should be substituted into the plug-in for all users.
Find: PHP Code:
PHP Code:
PHP Code:
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|