The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#212
|
||||
|
||||
1. Open file product-pm_search.xml
2. Look for lines: Code:
// generate navbar $navbits[''] = "PM Search";//$vbphrase['confirm_deletion']; Code:
// generate navbar $navbits[''] = $vbphrase['search'];//$vbphrase['confirm_deletion']; P.S. You can change $vbphrase['search']; to any you like but I recommend not to change it. |
#213
|
|||
|
|||
hmmm i followed your instructions for the 2.0 in vB 3.7, but i won't work. Could someone maybe attach a working product.xml?
Would appreciate it Thanks in advance, Vayu |
#214
|
|||
|
|||
Same here, not working for me? Using 2.0 + vb3.7 also made manual template changes and when i try to access private.php?pmsearch=1 nothing happens?
edit: weird i tried to install it on my local computer with xampp and there it is working?? |
#215
|
||||
|
||||
Quote:
i try all things but no one solved this problem:erm: |
#216
|
|||
|
|||
For those of you wondering where that might be ... it's the part, you enter in the pm_messagelist template, as said in the install instructions of the mod.
Took me a few minutes to find it and I don't want to search again. EDIT: This is for 1.02 |
#217
|
|||
|
|||
Using
Quote:
Code:
<!-- PM Search --> <form action="private.php?folderid=$search_folderid" method="post"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr> <td class="tcat"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('pmsearch')"><img id="collapseimg_pmsearch" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_pmsearch].gif" alt="" border="0" /></a> $vbphrase[private_message_search] </td> </tr> </thead> <tbody id="collapseobj_pmsearch" style="$vbcollapse[collapseobj_pmsearch]"> <tr> <td class="panelsurround" align="center"> <div class="panel"> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%"> <tr> <td align="$stylevar[left]" valign="top" width="50%"> <fieldset class="fieldset" style="margin:0px"> <legend>$vbphrase[search_by_key_word]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> <tr> <td colspan="2"> <div>$vbphrase[key_words]:</div> <div><input type="text" class="bginput" name="query" size="35" value="$query" style="width:250px" /></div> <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> </td> </tr> <if condition="!$show['searchthread']"> <tr> <td> <select name="titleonly"> <option value="0" $titleonlyselected[0]>$vbphrase[search_entire_pms]</option> <option value="1" $titleonlyselected[1]>$vbphrase[search_titles_only]</option> </select><if condition="$show['nocache']"> <label for="cb_nocache"><input type="checkbox" name="nocache" value="1" id="cb_nocache" />$vbphrase[do_not_use_cached_results]</label></if> </td> </tr> </if> </table> </fieldset> </td> <td align="$stylevar[left]" valign="top" width="50%"> <fieldset class="fieldset" style="margin:0px"> <legend>$vbphrase[search_by_user_name]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> <tr> <td colspan="2"> <div>$vbphrase[username]:</div> <div id="userfield"> <input type="text" class="bginput" name="searchuser" id="userfield_txt" size="35" value="$searchuser" style="width:250px" autocomplete="off" /> <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> </div> <if condition="$show['searchthread']"> <div> <label for="cb_exactname"><input type="checkbox" name="exactname" value="1" id="cb_exactname" $exactnamechecked[1] />$vbphrase[exact_name]</label> </div> </if> <if condition="$show['popups']"> <div id="userfield_menu" class="vbmenu_popup" style="display:none"></div> <script type="text/javascript" src="clientscript/vbulletin_ajax_namesugg.js?v=$vboptions[simpleversion]"></script> <script type="text/javascript"> <!-- vbmenu_register('userfield', true); snc = new vB_AJAX_NameSuggest('snc', 'userfield_txt', 'userfield'); //--> </script> </if> </td> </tr> <if condition="!$show['searchthread']"> <tr> <td> <select name="toby"> <option value="0" $starteronlyselected[0]>$vbphrase[find_pms_by_user]</option> <option value="1" $starteronlyselected[1]>$vbphrase[find_pms_to_user]</option> </select> </td> <td><label for="cb_exactname"><input type="checkbox" name="exactname" value="1" id="cb_exactname" $exactnamechecked[1] />$vbphrase[exact_name]</label></td> </tr> </if> </table> </fieldset> </td> </tr> </table> </div> <div style="margin-top:$stylevar[cellpadding]px"> <input type="submit" class="button" name="dosearch" value="$vbphrase[search_now]" accesskey="s" /> <input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" /> </div> </td> </tr> </tbody> </table> </form> <if condition="$showsearch"> <br /> <form action="private.php?do=managepm&folderid=$folderid" method="post"> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="do" value="managepm" /> <input type="hidden" name="folderid" value="$folderid" /> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr> <td class="tcat" colspan="4" style="padding: $stylevar[cellpadding]px 0 $stylevar[cellpadding]px $stylevar[cellpadding]px"> <span class="smallfont" style="float:$stylevar[right]"> <label for="checkall_all"> $vbphrase[number_of_search_results]: <strong>$search_totalmessages</strong> <if condition="$search_totalmessages > 0"><input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="js_check_all(this.form)" /></if> </label> </span> $vbphrase[search_results_in_folder]<span class="normal">: $foldername</span> </td> </tr> </thead> <if condition="$search_totalmessages == 0"> <tbody> <tr> <td class="alt1"> $vbphrase[no_search_results] </td> </tr> </tbody> </if> <if condition="$errors"> <tbody> <tr> <td class="alt1"> $displayCommon </td> </tr> </tbody> </if> <if condition="$search_totalmessages > 0">$searchresults <tbody> <tr> <td class="tfoot" align="$stylevar[right]" colspan="4"> <div class="smallfont"> $vbphrase[selected_messages]: <select name="dowhat"> <if condition="$show['movetofolder']"><option value="move">$vbphrase[move_to_folder]...</option></if> <option value="delete">$vbphrase[delete]</option> <option value="read">$vbphrase[mark_as_read]</option> <option value="unread">$vbphrase[mark_as_unread]</option> <option value="xml">$vbphrase[download_as_xml]</option> <option value="csv">$vbphrase[download_as_csv]</option> <option value="txt">$vbphrase[download_as_text]</option> </select> <input type="submit" class="button" value="$vbphrase[go]" /> </div> </td> </tr> </tbody> </if> </table> </form> </if> <br /> <!-- PM Search end --> |
#218
|
|||
|
|||
Will there be any updates for this for 3.7? This is an awesome mod!
|
#219
|
|||
|
|||
yeah please someone update this sweet mod to vb 3.7
|
#220
|
|||
|
|||
Working fine for me in 3.7 - here's the XML I modified.
hope it helps someone... note: I had the Icons for User CP installed and the Search button would not show up. As soon as I disabled that, this hack worked fine. |
#221
|
|||
|
|||
After installing this Mod https://vborg.vbsupport.ru/showthread.php?t=179113 (thank you https://vborg.vbsupport.ru/member.php?u=171640 nice Mod) I slightly adapted it to make the User PM Search Mod work by the following
Style Manager -> Edit Templates -> pm_messagelist Find: HTML Code: HTML Code:
<if condition="$show['pagenav']"> <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px"> <tr valign="bottom"> <if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if> </tr> </table> </if> HTML Code: HTML Code:
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px"> <tr valign="bottom"> <td><a href="private.php?pmsearch=1"><img src="$stylevar[imgdir_button]/find.gif" alt="$vbphrase[send_new_message]" border="0" /></a></td> <if condition="$pagenav"> <td align="$stylevar[right]">$pagenav</td></if> </tr> </table> I must give the credit to Mazinger for this one as without their New PM Mod I wouldnt have had the idea. Tested on our own forum www.legalbeagles.info, and with the original PM Hack already added. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|