Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
User PM Search Details »»
User PM Search
Version: 2.00, by Thaliada Thaliada is offline
Developer Last Online: Dec 2008 Show Printable Version Email this Page

Category: Private Messages Enhancements - Version: 3.6.8 Rating:
Released: 06-12-2007 Last Update: 10-31-2007 Installs: 293
DB Changes Uses Plugins Auto-Templates
 
No support by the author.

Description:
This modification allows your users to search thru their pms

Installation:
All the installation information is in the package.

Changes/Adds:
7 Plugins
19 Phrases
1 Template
1 Template change

Changelog
2.0
Rewrote some parts and included (hopefully) all feature requests
- Search is now on a single page
- Usergroup permission added
- (Little to) no template changes necessary
- Should hopefully work with other pm addons like pm preview etc without additional template changes (not tested)

1.0.2
Fixed a template bug, thx Makc666

Change
Code:
$vbphrase[search_results_in_folder]<span class="normal">: <span id="nav_pmfolders.messagelist">$foldername<script type="text/javascript"> vbmenu_register("nav_pmfolders.messagelist"); </script></span></span>
to
Code:
$vbphrase[search_results_in_folder]<span class="normal">: $foldername</span>
1.0.1
Fixed some minor problems

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #72  
Old 07-27-2007, 09:53 PM
TheMilkCarton TheMilkCarton is offline
 
Join Date: Jan 2007
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you want your search results to utilize the Avatar in PM List & PM Preview hacks:

In the PM Search plugin,

FIND:
Code:
eval('$messagelistbits .= "' . fetch_template('pm_messagelistbit') . '";');
ADD ABOVE:
Code:
$sk_avurl = fetch_avatar_url($userid);
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') . '";');
}
In case you REALLY don't understand and need a screenshot.. Click --> Attachment 67593
Reply With Quote
  #73  
Old 07-28-2007, 03:11 AM
Dannyloski Dannyloski is offline
 
Join Date: Jun 2006
Location: FL
Posts: 401
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

TheMilkCarton, would you be able to provide the Code to add if we wanted to make this Hack work with the GTPreview Messages Enhanced Listing Hack (link here) instead of the other one you posted?
Reply With Quote
  #74  
Old 07-28-2007, 12:57 PM
TheMilkCarton TheMilkCarton is offline
 
Join Date: Jan 2007
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dannyloski View Post
TheMilkCarton, would you be able to provide the Code to add if we wanted to make this Hack work with the GTPreview Messages Enhanced Listing Hack (link here) instead of the other one you posted?
That mod is overly complicated. It basically forces you into keeping a "default-ish" pm_messagelistbit template just so that it can carry out the replace.

Why not instead use the PM Preview hack that lets you place the $pmpreview wherever you want in the pm_messagelistbit template? It also gives you separate ACP options instead of forcing you into using the same ACP setting for two different things.

You may want to ask Princeton how to integrate his PM Preview with this, sorry.
Reply With Quote
  #75  
Old 07-28-2007, 03:04 PM
Dannyloski Dannyloski is offline
 
Join Date: Jun 2006
Location: FL
Posts: 401
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^ Thanks ... I might uninstall the one I have now and change over to the one you listed as I really want to have this ability for the PM Search ...
Reply With Quote
  #76  
Old 07-28-2007, 03:42 PM
Dannyloski Dannyloski is offline
 
Join Date: Jun 2006
Location: FL
Posts: 401
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

TheMilkCarton, I went ahead and Uninstalled the previous PM Preview Hack I had and installed the one you suggested. Then I followed the steps you listed in Post #71, but its not working for me. I see the PM Search Results as normal PMs and not with the PM Preview added ... Do I have to have the Avatar in PM List Hack installed? I dont want to add that Hack.

What I did was locate the below in PM Search Plugin:
Code:
eval('$messagelistbits .= "' . fetch_template('pm_messagelistbit') . '";');
And above I added:
Code:
eval('$pmpreview = "' . fetch_template('pm_preview') . '";');
Reply With Quote
  #77  
Old 07-28-2007, 03:51 PM
TheMilkCarton TheMilkCarton is offline
 
Join Date: Jan 2007
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You still have to follow the template edits for the hacks. And if you want the avatar in the message list AND the search results you have to install that hack too.

Why don't you want to install the Avatar hack? It's a plugin that consists of ONE line and then adding the avatar code to the messagelistbit template.
Quote:
Originally Posted by TheMilkCarton View Post
If you want your search results to utilize the Avatar in PM List & PM Preview hacks
And note I said to "utilize"... Meaning that my plugin edit requires you already have the hacks installed.
Reply With Quote
  #78  
Old 07-28-2007, 04:08 PM
Dannyloski Dannyloski is offline
 
Join Date: Jun 2006
Location: FL
Posts: 401
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have the Hacks (User PM Search & PM Preview) installed, both of them and did all the Template Edits ...

I dont want to install the Avatar Hack, cause I just dont want it for my Forum ...
Reply With Quote
  #79  
Old 07-28-2007, 04:12 PM
TheMilkCarton TheMilkCarton is offline
 
Join Date: Jan 2007
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dannyloski View Post
Do I have to have the Avatar in PM List Hack installed? I dont want to add that Hack.
Quote:
Originally Posted by Dannyloski View Post
I dont want to install the Avatar Hack, cause I just dont want it for my Forum ...
Sorry, I thought you meant you wanted avatars for search results but not in the normal PM list.. and it confused me. I'm tired.
Reply With Quote
  #80  
Old 07-28-2007, 04:24 PM
stwilson stwilson is offline
 
Join Date: Dec 2006
Location: USA
Posts: 209
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it just me or is the Read Me on this MOD all jumbled up?
Reply With Quote
  #81  
Old 07-28-2007, 04:44 PM
Dannyloski Dannyloski is offline
 
Join Date: Jun 2006
Location: FL
Posts: 401
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

TheMilkCarton, Oh I see why you got confused ... Its okay ...

Anyways, can you still help me to see why the Code is not working for me? I've done all the Template Edits per Hack and I added the code you said to add to the PM Search plugin, but the Search Results from the PM Search Hack still display like regular ones and not with the PM Preview option ...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:18 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.05648 seconds
  • Memory Usage 2,316KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete