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
  #112  
Old 03-26-2005, 02:00 PM
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Posts: 742
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by clearchannel
I am also giving this hack serious consideration. I would however, like to change the name from "private messages" to "Network Messages" the only draw back so far is there are many many templates to change.

Anyone have advice to offer as to a quick and easy method to change the private message reference to network message?
You have a place in your control panel to modify Phrases for a reason
Reply With Quote
  #113  
Old 04-03-2005, 01:53 AM
Antivirus's Avatar
Antivirus Antivirus is offline
 
Join Date: Sep 2004
Location: Black Lagoon
Posts: 1,090
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bison
On Line 156:

Find:
Code:
$pm['receiver_key'] = array_keys(&$pm['receiver_raw']);
Change to this:
Code:
$pm['receiver_key'] = //array_keys(&$pm['receiver_raw']);
That does get rid of all "line 156 errors", but actually creates a new problem... now when viewing member's "sent items" mailbox for instance, the "sent to" column no longer shows the member name the PM was sent to. This is also the case when viewing the members "inbox" although in that case, it's rather obvious who's name the PM was sent to, as you're viewing all their PMs.

Reply With Quote
  #114  
Old 05-16-2005, 09:27 PM
GSX-Racing GSX-Racing is offline
 
Join Date: May 2005
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Testing it.

Can you choose to view all rather than per/user.
Reply With Quote
  #115  
Old 05-18-2005, 12:43 AM
topten topten is offline
 
Join Date: May 2004
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bloody great hack! Love it!
Reply With Quote
  #116  
Old 06-19-2005, 12:22 AM
beansbaxter's Avatar
beansbaxter beansbaxter is offline
 
Join Date: May 2005
Location: Seattle
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

doesnt work on 3.0.7

due for an update it looks like
Reply With Quote
  #117  
Old 06-23-2005, 09:34 AM
ayhanaydogdu ayhanaydogdu is offline
 
Join Date: May 2005
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does not it work on vb 3,07?
Reply With Quote
  #118  
Old 06-23-2005, 09:46 AM
COBRAws's Avatar
COBRAws COBRAws is offline
 
Join Date: Oct 2002
Location: Buenos Aires
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Trigunflame
I may completely rewrite this, and turn it into a full fledged hack, I believe there are quite a few more features that could be added.
3.5 final =D
Reply With Quote
  #119  
Old 06-24-2005, 12:28 AM
TruckMuddr TruckMuddr is offline
 
Join Date: Sep 2004
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works fine on my 3.0.7
Reply With Quote
  #120  
Old 06-24-2005, 07:59 PM
xtreme-mobile xtreme-mobile is offline
 
Join Date: Jul 2004
Posts: 366
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i get not authorized message edit the config etc

i put my user id in the supermoderator bit but it still says not authorized?

any ideas?

im using vb 3.0.7
Reply With Quote
  #121  
Old 06-24-2005, 10:47 PM
TruckMuddr TruckMuddr is offline
 
Join Date: Sep 2004
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If your not worried about other admins reading PM's just Find and remove this code.
Lines 41 -47
Code:
// User Is Not SuperAdmin
if (!in_array($bbuserinfo['userid'], preg_split('#\s*,\s*#s', $superadministrators, -1, PREG_SPLIT_NO_EMPTY)))
{
// Output Header/Message
print_cp_header('Your Not Authorized');
print_cp_message('You have to be a super administrator to read private messages, this can be set within config.php');
}

I'M ONLY SUGGESTING THE FOLLOWING CAUSE THERE IS SOMETHING WRONG WITH THE WAY YOURS INSTALLED, THIS IS PRETTY MUCH THE SAME THING AS BEFORE JUST NOT READING FROM CONFIG.PHP AND FOR ONLY ONE USER.


step 1:
Find code above and replace it with:
Code:
if ($bbuserinfo['userid'] == XX)
{
< REPLACE XX WITH YOUR USERID --- If you want more then one user then it should look like this if (($bbuserinfo['userid'] == XX) OR ($bbuserinfo['userid'] == XX)) >




step 2:
Find this:
Code:
/*======================================================================*\
|| This file is distributed through http://www.vBulletin.nl/
\*======================================================================*/
Above ADD:
Code:
}
else
{
// Output Header/Message
print_cp_header('Your Not Authorized');
print_cp_message('ENTER YOUR ERROR MESSAGE HERE');
}
Again as this may work, I would suggest finding what is wrong. Maybe Your Config.php is wrong someone. I've done it before.

Config.php should look something like this
Code:
// ****** SUPER ADMINISTRATORS ******
// The users specified below will have permission to access the administrator permissions
// page, which controls the permissions of other administrators
$superadministrators = 'X, X, X';
IF THIS VIOLATES SOMETHING THEN PLEASE DELETE THIS POST. JUST TRYIN TO HELP OUT.
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 10:20 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.19462 seconds
  • Memory Usage 2,313KB
  • 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
  • (7)bbcode_code
  • (3)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
  • (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