Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

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
  #162  
Old 02-01-2008, 05:29 PM
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Location: MSK-RU
Posts: 392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is a small bug here...

You use code to insert in template "USERCP_SHELL"

Code:
<!-- PM Search -->
<if condition="$show['pm_search']">
  <tr class="alt2">
    <td class="$navclass[pm_search]" nowrap="nowrap"><a class="smallfont" href="private.php?$session[sessionurl]pmsearch=1">$vbphrase[search]</a></td>
  </tr>
</if>
<!-- /PM Search -->

Then, if you go to to USERCP and look into HTML source code you will see that:
class="" is empry there.
Code:
	<!-- PM Search -->
		<tr class="alt2">
			<td class="" nowrap="nowrap"><a class="smallfont" href="private.php?pmsearch=1">Поиск</a></td>
		</tr>
	<!-- /PM Search -->
Now I understand why you use <tr class="alt2">, but it not the right sollution here...

But <tr class="alt2"> and <td class="alt2"> are the different things!
The cell "Search" will look differently if you use some custom style.

The quickest way to fix this one is to replace the code with this one:
Code:
	<!-- PM Search -->
	<if condition="$show['pm_search']">
		<tr>
			<td <if condition="$navclass['pm_search']">class="$navclass[pm_search]"<else />class="alt2"</if> nowrap="nowrap"><a class="smallfont" href="private.php?$session[sessionurl]pmsearch=1">$vbphrase[search]</a></td>
		</tr>
	</if>
	<!-- /PM Search -->
As you see I added a condition:
Code:
<if condition="$navclass['pm_search']">class="$navclass[pm_search]"<else />class="alt2"</if>
And we don't need any hooks to call here
Reply With Quote
  #163  
Old 02-04-2008, 03:00 AM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this on 3.6.8 and it does not work. I checked the templates and it looks exactly like the text in the read me. It's just not working. *Unistalled
Reply With Quote
  #164  
Old 02-04-2008, 03:39 AM
EvErDrEaMs EvErDrEaMs is offline
 
Join Date: Feb 2008
Location: DD North
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks..
Reply With Quote
  #165  
Old 02-05-2008, 12:24 AM
adnedarn adnedarn is offline
 
Join Date: Jan 2007
Location: Tucson, Arizona
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this and it didn't work. I modified the code as per recommended by Makc666 and it seems to be working now. although, the search doesn't show above the PM list. You have to click the "pm search" on the left and the search comes up on a new page.

Thanks!
Andrew

Edit: this is for the 2.0 version on 3.6.4
Reply With Quote
  #166  
Old 02-05-2008, 01:32 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where do you set the permissions? It is not showing up in 3.7.0 beta 4.
Reply With Quote
  #167  
Old 02-05-2008, 03:18 AM
adnedarn adnedarn is offline
 
Join Date: Jan 2007
Location: Tucson, Arizona
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Should be in Usergroup Manager in the admin panel. Select the usergroup, and it is right there near the top.
Reply With Quote
  #168  
Old 02-05-2008, 03:32 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I didn't see it. Is this turned on by default because I never saw any link for it.
Reply With Quote
  #169  
Old 02-05-2008, 03:57 AM
adnedarn adnedarn is offline
 
Join Date: Jan 2007
Location: Tucson, Arizona
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

for admin it is on by default. for other groups it is off... as I said in my first post, I had to do that edit recommended by the other coder in order to see the search stuff. Have you tried that?
Reply With Quote
  #170  
Old 02-05-2008, 03:59 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I added that code and never saw a link anywhere.
Reply With Quote
  #171  
Old 02-05-2008, 04:22 AM
adnedarn adnedarn is offline
 
Join Date: Jan 2007
Location: Tucson, Arizona
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

maybe not compatible with 3.7 then :shrug: I don't think there are any other of these mods either. :-\
Reply With Quote
Reply

Thread Tools

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 04:00 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.04878 seconds
  • Memory Usage 2,304KB
  • 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
  • (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