Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
View X Last Private Messages In AdminCP 1.1 Details »»
View X Last Private Messages In AdminCP 1.1
Version: 1.1, by FatalBreeze FatalBreeze is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 03-24-2005 Last Update: 07-22-2005 Installs: 19
Code Changes Additional Files  
No support by the author.

Hack Built By: FatalBreeze
Version: 1.1
Date: 10/7/2005
Name Of Hack: View X Last Private Messages In AdminCP.

THE ENTIRE HACK IS BUILT IN ENGLISH!!!!

*Note: All the tips posted here were taken.

What This Hack Does: This hack allows the admins who has access to the column "Users" in the admincp,
to view the last X (you define it in the admincp) private messages which were sent by the users.

The Reason I Built This Hack: i built this hack because i just wanted to see if someone is spamming the forums, or advertising
his forum. because i have a lot of users i cannot view each and every ones outgoing messages, so i built this hack to see the last pm's which were sent.

Screen Shots Are Attached Below, Please Execuse Me I Have Built This Hack In A Forum Which Uses Hebrew... So Dont Be Afraid... : )

If you like it please click INSTALL!!

Supporters / CoAuthors

Show Your Support

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

Comments
  #2  
Old 03-25-2005, 12:14 PM
FatalBreeze FatalBreeze is offline
 
Join Date: Apr 2004
Location: Haifa - Israel
Posts: 163
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now That's starnge... i got stock without being able to post the HACK itself...
if a moderator can contact me please...
Reply With Quote
  #3  
Old 03-25-2005, 12:30 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just edit your post and upload the hack as an attachment.
Reply With Quote
  #4  
Old 03-25-2005, 12:38 PM
FatalBreeze FatalBreeze is offline
 
Join Date: Apr 2004
Location: Haifa - Israel
Posts: 163
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh ok i havent seen where the edit button is....
k now everyting is great.
Reply With Quote
  #5  
Old 03-25-2005, 01:08 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for sharing this FatalBreeze.

Just a few remarks:
  • Could you rename the install.php to install.txt, so people know it is just a text file.
  • I would add support for a list of id's in '$useridofsuper', or just use the config.php variable '$superadministrators'.
  • Are you Dr. PHP?
  • Prefix all the tablenames in queries with ' " . TABLE_PREFIX . " '
PHP Code:
                $id $DB_site->query_first("SELECT userid FROM user WHERE username = '$user'"); 
To avoid SQL-Injections change to:
PHP Code:
                $id $DB_site->query_first("SELECT userid FROM user WHERE username = '" addslashes($user) . "'"); 
Same goes for the second query on username.
Reply With Quote
  #6  
Old 03-25-2005, 01:13 PM
FatalBreeze FatalBreeze is offline
 
Join Date: Apr 2004
Location: Haifa - Israel
Posts: 163
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh thanks i installed it in another forum and i use different nick there.
and this is my first hack but thanks ill fix everything
Reply With Quote
  #7  
Old 03-25-2005, 01:21 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No problem that is why we are here to help eachother.
Reply With Quote
  #8  
Old 03-25-2005, 02:11 PM
Viks Viks is offline
 
Join Date: Sep 2004
Location: Toronto
Posts: 295
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice Mod!

pls let us know if you've updated the instructions... i will install.
Reply With Quote
  #9  
Old 03-25-2005, 02:46 PM
FatalBreeze FatalBreeze is offline
 
Join Date: Apr 2004
Location: Haifa - Israel
Posts: 163
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have updated the instructions earlier.
Reply With Quote
  #10  
Old 03-25-2005, 03:27 PM
Viks Viks is offline
 
Join Date: Sep 2004
Location: Toronto
Posts: 295
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed it.. and I have 2 issues.

1. there is already a PM.php file that I am using so i named yours ppm.php and amended the instructions for admincp/index.php accordingly.

2. When I click on the link in admicp i get the following message:

No valid userid specified

Add ?userid=x to the end of the URL
(where x is an Existing user)

----------

I am not sure why I am getting this message becoz i think it is supposed to pick up last 20 pms and not pms by userid.
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:27 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04660 seconds
  • Memory Usage 2,289KB
  • Queries Executed 24 (?)
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
  • (2)bbcode_php
  • (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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)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