Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-28-2008, 07:50 AM
logicuk logicuk is offline
 
Join Date: Jan 2008
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Show un-replied pms

I run a very large forum and somedays i get 50 pm's

i read some but always forget to reply to some

I need an addon that will list all pm's that haven't been replied to

Thanks Logic
Reply With Quote
  #2  
Old 12-28-2008, 08:17 AM
R1lover's Avatar
R1lover R1lover is offline
 
Join Date: Apr 2006
Location: Northern Ca
Posts: 428
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Once you reply to a pm, you can see the icon on the left of the message will show that you have replied, if you don't see this then you have not replied.
Reply With Quote
  #3  
Old 12-28-2008, 09:54 AM
logicuk logicuk is offline
 
Join Date: Jan 2008
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by R1lover View Post
Once you reply to a pm, you can see the icon on the left of the message will show that you have replied, if you don't see this then you have not replied.

Do you think i dont know this??? im not a vbulletin newbie......i run a very large forum

I get over 50 pm's a day mate hence i asked for this addon to be made
Reply With Quote
  #4  
Old 12-28-2008, 03:26 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This would be a very nice feature. Thank you for coming up with this. I have a mass of unanswered Pm's. But no time to seek them out.
Reply With Quote
  #5  
Old 12-28-2008, 03:45 PM
logicuk logicuk is offline
 
Join Date: Jan 2008
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah i get mad pm's every day, this feature would be a life saver

because i am sure i miss replying to some people because i have so many pm's
Reply With Quote
  #6  
Old 12-28-2008, 10:30 PM
R1lover's Avatar
R1lover R1lover is offline
 
Join Date: Apr 2006
Location: Northern Ca
Posts: 428
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by logicuk View Post
Do you think i dont know this??? im not a vbulletin newbie......i run a very large forum

I get over 50 pm's a day mate hence i asked for this addon to be made
There are all types of people on here, without knowing you specifically there is no way for me to know your experience level, please don't take offense to it as you stating you run a large forum really means nothing to be honest.
Reply With Quote
  #7  
Old 12-29-2008, 08:24 AM
logicuk logicuk is offline
 
Join Date: Jan 2008
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

R1lover go away and take your bad attitude else where.
Reply With Quote
  #8  
Old 12-29-2008, 09:37 AM
WhaLberg's Avatar
WhaLberg WhaLberg is offline
 
Join Date: Nov 2006
Location: Dersaadet
Posts: 569
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well, no need to fight. i do not agree this is something so needed, however i'd like to help.

as vb doesn't provide a hook for the additional query entry, you'll need to make a file edit.

find the following codes in private.php. use a php editor so you can see the line numbers as there are 18 $pms variable defined in the private.php
starting: line 1629
ending: line 1639
PHP Code:
// query private messages
        
$pms $db->query_read_slave("
            SELECT pm.*, pmtext.*
                " 
iif($vbulletin->options['privallowicons'], ", icon.title AS icontitle, icon.iconpath") . "
            FROM " 
TABLE_PREFIX "pm AS pm
            LEFT JOIN " 
TABLE_PREFIX "pmtext AS pmtext ON(pmtext.pmtextid = pm.pmtextid)
            " 
iif($vbulletin->options['privallowicons'], "LEFT JOIN " TABLE_PREFIX "icon AS icon ON(icon.iconid = pmtext.iconid)") . "
            WHERE pm.userid=" 
$vbulletin->userinfo['userid'] . " AND pm.folderid=" $vbulletin->GPC['folderid'] . 
            ORDER BY pmtext.dateline DESC
            LIMIT 
$startat, " $vbulletin->GPC['perpage'] . "
        "
); 
replace it with:
PHP Code:
// query private messages
        
$pms $db->query_read_slave("
            SELECT pm.*, pmtext.*
                " 
iif($vbulletin->options['privallowicons'], ", icon.title AS icontitle, icon.iconpath") . "
            FROM " 
TABLE_PREFIX "pm AS pm
            LEFT JOIN " 
TABLE_PREFIX "pmtext AS pmtext ON(pmtext.pmtextid = pm.pmtextid)
            " 
iif($vbulletin->options['privallowicons'], "LEFT JOIN " TABLE_PREFIX "icon AS icon ON(icon.iconid = pmtext.iconid)") . "
            WHERE pm.userid=" 
$vbulletin->userinfo['userid'] . " AND pm.folderid=" $vbulletin->GPC['folderid'] . " " . ($_GET['unreadonly'] ? "AND messageread = 0" "") . 
            ORDER BY pmtext.dateline DESC
            LIMIT 
$startat, " $vbulletin->GPC['perpage'] . "
        "
); 
Now visit your private messages as: http://forumurl/private.php?unreadonly=1. You can put that link to anywhere you wish.
Reply With Quote
  #9  
Old 12-30-2008, 09:10 PM
logicuk logicuk is offline
 
Join Date: Jan 2008
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So an .xml mod is not possible?
Reply With Quote
  #10  
Old 12-31-2008, 06:26 AM
Ziki's Avatar
Ziki Ziki is offline
 
Join Date: Nov 2005
Posts: 2,704
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is,I might do that soon.
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 09:42 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.03944 seconds
  • Memory Usage 2,284KB
  • Queries Executed 12 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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