Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Read Your Members Private Messages (v1.2) Details »»
Read Your Members Private Messages (v1.2)
Version: 1.00, by Trigunflame Trigunflame is offline
Developer Last Online: Nov 2019 Show Printable Version Email this Page

Category: Private Messages Enhancements - Version: 3.0.1 Rating:
Released: 06-21-2004 Last Update: Never Installs: 195
 
No support by the author.

First of all, I take no credit for this hack as its original coding and design is product of Scott And Xiphoid as shown in:

https://vborg.vbsupport.ru/showthread.php?t=59617

This hack is merely a bug fix and feature fix, as when I originally used the script I noticed a lot of small visual problems as well as misc other things.

Lots of the linking was a bit messed up, when you read peoples PM's you couldnt tell who they were from, it only shown who they were to etc.. Just a lot of stuff, I added who they were sent from, and sent to and clicking on the names take your to Their inbox instead of their userinfo section in the Admin Panel etc..

So yes, they get all the credit, I just thought people would want the bug fixed version. If scott or xiphoids wants to take this thread down, and stick the script in their original thread - fine by me.

Enjoy, and thanks you for making it first, lol.

Show Your Support

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

Comments
  #92  
Old 12-16-2004, 05:15 AM
StevenTN StevenTN is offline
 
Join Date: Mar 2002
Location: Nashville, TN
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just finally added the hack... and so my admins don't have to mess around with typing in URLs, I added a crude search form to the Admin CP home...

I've also hacked my config.php and pm.php so there's now a $canviewpms variable and it will regard that instead of the $superadministrators variable.

Find this...
PHP Code:
   if (can_administer('canadminusers'))
   {
       
print_label_row($vbphrase['quick_user_finder'], '
           <form action="user.php" method="post" style="display:inline">
           <input type="hidden" name="s" value="' 
$session['sessionhash'] . '" />
           <input type="hidden" name="do" value="find" />
         <input type="text" class="bginput" name="user[username]" size="30" tabindex="1" />
         <input type="submit" value=" ' 
$vbphrase['find'] . ' " class="button" tabindex="1" />
         <input type="submit" class="button" value="' 
$vbphrase['exact_match'] . '" tabindex="1" name="user[exact]" />
           </form>
           '
'''top'NULLfalse
       
);
   } 
And before the closing curly brace, add this...
PHP Code:
       print_label_row('Lookup PM (by userid)''
         <form action="/boards/admincp/pm.php" method="get" style="display:inline">
         <input type="text" class="bginput" name="userid" size="30" tabindex="1" />
         <input type="submit" value=" ' 
$vbphrase['find'] . ' " class="button" tabindex="1" />
           </form>
           '
'''top'NULLfalse
       
); 
The reason why I added it is a) we're covered in our ToS when it comes to these, b) I had a rather crude PM system when we had vB2.3.x, and c) We get complaints at least once or twice a month about abusive PMs, which is covered in point a.

If you want me to make this more viable (like have the vbphrase variable), let me know.
Reply With Quote
  #93  
Old 12-18-2004, 11:08 PM
Mechanical Mind's Avatar
Mechanical Mind Mechanical Mind is offline
 
Join Date: Sep 2004
Location: USA
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

* clicks install *

Not working for me.

Am I confused, all I did was upload it to admincp folder and try to reach the link via my web browser.

I got this message: the requested document is not found on this server.

Help!!!
Reply With Quote
  #94  
Old 12-18-2004, 11:18 PM
StevenTN StevenTN is offline
 
Join Date: Mar 2002
Location: Nashville, TN
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What was the URL you tried? I'm willing to bet it might've been mistyped or put in the wrong area.
Reply With Quote
  #95  
Old 12-18-2004, 11:28 PM
Mechanical Mind's Avatar
Mechanical Mind Mechanical Mind is offline
 
Join Date: Sep 2004
Location: USA
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by StevenTN
What was the URL you tried? I'm willing to bet it might've been mistyped or put in the wrong area.
Well, I have renamed my adminCP folder. Could this have something to do with it? But I tried modifying the URL to include that. And I tried modifying the one instance of "admincp" to "my secret name".

I guess the real question is:
- What do I need to add/delete/modify since I have a renamed adminCP folder?
Reply With Quote
  #96  
Old 12-22-2004, 06:15 PM
Samira's Avatar
Samira Samira is offline
 
Join Date: Dec 2004
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is anyone else having problems reading messages with the Quote tags? I had a mod installed that altered the look of the quotes and I uninstalled that, but am having the same problem. Suggestions?
Reply With Quote
  #97  
Old 12-27-2004, 09:06 AM
JD210 JD210 is offline
 
Join Date: Dec 2004
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed it, but I get the following error at the top, plus it is showing that no PMs have been sent. I use 3.0.3.

Quote:
Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of array_keys(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home2/www/******/forum/admincp/pm.php on line 156
Reply With Quote
  #98  
Old 12-27-2004, 09:55 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JD210
Installed it, but I get the following error at the top, plus it is showing that no PMs have been sent. I use 3.0.3.
Are you using php5 ?
Reply With Quote
  #99  
Old 12-27-2004, 08:34 PM
JD210 JD210 is offline
 
Join Date: Dec 2004
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, PHP 4
Reply With Quote
  #100  
Old 12-31-2004, 09:44 PM
TMAC TMAC is offline
 
Join Date: Oct 2002
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So does this work with version 3.03?

Thanks You
Reply With Quote
  #101  
Old 01-01-2005, 08:55 PM
pco pco is offline
 
Join Date: Jul 2004
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Samira
Is anyone else having problems reading messages with the Quote tags? I had a mod installed that altered the look of the quotes and I uninstalled that, but am having the same problem. Suggestions?
in pm.php in function parse_pm_bbcode($bbcode) change at the end of the return line from this:

PHP Code:
,$vboptions['privallowbbcode'])); 
to this:

PHP Code:
,$vboptions['privallowbbcode'],1)); 
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 04:57 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.07445 seconds
  • Memory Usage 2,320KB
  • 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
  • (4)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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