vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Administrative and Maintenance Tools - Read PMs (PM Management Suite Lite) (https://vborg.vbsupport.ru/showthread.php?t=209344)

pedroenf 03-26-2009 12:09 PM

Quote:

Originally Posted by Mosh (Post 1777281)
I can not replicate this issue at all.

Does anyone else have this issue???

Well, i've tried in a smaller database (smaller PM table) and it worked. My forum PM table has 26.6Mb. Maybe thats the problem. Not very large table friendly.

pedroenf 03-26-2009 02:02 PM

Well i don't what else to do. I have even tried to change that part of code to Dream's one but i'm definitely not a coder :D. So i wont bodder you anymore. Thanks for your effort.

Mosh 03-27-2009 01:40 AM

Update: v3.8.004 - Friday 27th March 2009
-- Changed: Layout of PM lists, individual PMs, sent/received PMs, Search Results
-- Fixed: High server load when clicking List Users with PMs, especially if there are 1000s of users that have PMs (now split into categories acording to how many PMs a user has)
-- Removed: From info for individual users sent PMs
-- Added: Constant to limit minimum length a key search word can be, to limit higher server loads when trying to search for a keyword with a length of 1 (ie. "a"). This minimum is currently set at 4, but can be altered by editing read_pms.php)
-- Added: Various links (depending what function you are using) to view all a users PMs, go to the users pmstats page, edit the user and send the user a PM

R1lover 03-27-2009 01:53 AM

Can you please make this only show under users to superadmins as well.

thx ;)

BoYagoob 03-27-2009 04:13 AM

installed ..

thanks a lot :)

pedroenf 03-27-2009 10:22 AM

Excellent update! However the high server load when trying to "Read PMs" for a single user remains that's a pity :( But as i said before one won't die because of that. My forum has 103118 users and all of them have at least one PM, maybe that's the reason why load gets so high - searching in thousands of PMs, although Dreams code works very well when listing a single user PMs. I'm not complaining, just reporting in case you wich to do something :)

My PM tables:

VBPM 26,6MB
Format fixed
Collation latin1_swedish_ci
Rows 520,364
Row length ? 21
Row size ? 54 Bytes
Next Autoindex 806,562


VBPMReceipt 21,7KB
Format dynamic
Collation latin1_swedish_ci
Rows 189
Row length ? 58
Row size ? 118 Bytes


VBPMText 63,3MB
Format dynamic
Collation latin1_swedish_ci
Rows 142,364
Row length ? 441
Row size ? 466 Bytes
Next Autoindex 233,864

mark370 03-27-2009 06:16 PM

Quote:

Originally Posted by Sweeks (Post 1776202)
Are they editable within this and deletable etc?

Quote:

Originally Posted by Sweeks (Post 1776208)
How about add that to it if possible so they are directly editable/deleteable? It would be great to combat PM spam etc

If you want to do this why dont you go into the mysql database and select the "pmtext" table ? there you can edit , read , delete :)

Mosh 03-28-2009 06:06 AM

Update: v3.8.005 - Saturday 28th March 2009
-- Added: Read Single PM - read a single PM by typing in pmtextid
-- Added: Ability to disable the limit minimum length a key search word can be

IMPORTANT: This hack is now feature complete and there will be NO more updates, apart from fixing proven bugs.

veenuisthebest 03-28-2009 06:26 AM

Quote:

Originally Posted by Mosh
IMPORTANT: This hack is now feature complete and there will be NO more updates, apart from fixing proven bugs.

lol thanks a tonne for locking it up. I was tired of its updates.

shervin_dvb 03-28-2009 09:47 AM

Hi thanks
Please be edited and clean these messages are added.

BBR-APBT 03-28-2009 11:47 AM

Code:

Fatal error: Cannot redeclare handle_bbcode_video() (previously declared in forums/includes/class_bbcode.php(2459) : eval()'d code:24) in forums/includes/class_bbcode.php(2459) : eval()'d code on line 53
I get this error since the update

Mosh 03-29-2009 05:43 AM

Quote:

Originally Posted by BBR-APBT (Post 1778892)
Code:

Fatal error: Cannot redeclare handle_bbcode_video() (previously declared in forums/includes/class_bbcode.php(2459) : eval()'d code:24) in forums/includes/class_bbcode.php(2459) : eval()'d code on line 53
I get this error since the update

You have another hack installed that is using the bbcode_fetch_tags file hook, this is called as part of function fetch_tag_list that is probably causing the problem.

This hack does not use any file hooks at all, and has not changed the calls to the function fetch_tag_list between v3.8.002 and v3.8.005, and again, it does not call the bbcode_fetch_tags file hook.

You can try editing read_pms.php, find the 2 instances of:
PHP Code:

fetch_tag_list(''true

Change them to:

PHP Code:

fetch_tag_list() 

And re-upload the file.

If that does not fix it, then what I advise you to do is to check any hacks that use the bbcode_fetch_tags file hook and disable it, and see the problem re-occurs, if it does not then post in that hacks' support thread.

Nadeemjp 03-29-2009 09:16 AM

i dont know how to find the user manager and the read pms link. someone help?

veenuisthebest 03-29-2009 09:26 AM

Quote:

Originally Posted by Nadeemjp (Post 1779585)
i dont know how to find the user manager and the read pms link. someone help?

lol just look in admincp -> Users dropdown -> Read PM

shervin_dvb 03-29-2009 09:35 AM

i know
i want edit & delete from admincp no database
If can Add this Einrichtungen ist so easy work

Quote:

Originally Posted by mark370 (Post 1778454)
If you want to do this why dont you go into the mysql database and select the "pmtext" table ? there you can edit , read , delete :)


Mosh 03-29-2009 10:16 AM

Quote:

Originally Posted by shervin_dvb (Post 1779593)
i know
i want edit & delete from admincp no database
If can Add this Einrichtungen ist so easy work

Quote:

Originally Posted by 1st Post
IMPORTANT: This hack is now feature complete and there will be NO further updates, apart from fixing proven bugs.

Please read the above.

And even if this hack was not feature complete, I would still not be adding functions to edit/delete PM directly into this hack, this hack is called Read PMs, as that is all it does. It does have links to other parts of the AdminCP where you can delete all PMs for a user.

This is the second time I have posted that I will not be adding edit/delete functionality to this hack, I will not be replying to any more requests for this functionality, but I will also not be changing my mind at all.

pedroenf 03-29-2009 12:08 PM

Excellent update, as always. That's a pity that the high server load issue couldn't be solved and because of it i'll use both scripts Dream's and yours. Thank you again.

BBR-APBT 03-29-2009 03:39 PM

Quote:

Originally Posted by Mosh (Post 1779540)
You have another hack installed that is using the bbcode_fetch_tags file hook, this is called as part of function fetch_tag_list that is probably causing the problem.

This hack does not use any file hooks at all, and has not changed the calls to the function fetch_tag_list between v3.8.002 and v3.8.005, and again, it does not call the bbcode_fetch_tags file hook.

You can try editing read_pms.php, find the 2 instances of:
PHP Code:

fetch_tag_list(''true

Change them to:

PHP Code:

fetch_tag_list() 

And re-upload the file.

If that does not fix it, then what I advise you to do is to check any hacks that use the bbcode_fetch_tags file hook and disable it, and see the problem re-occurs, if it does not then post in that hacks' support thread.

That fixed it. I know what the other mod is that it was interfering with, it was the video directory remixed. Changing above what you said fixed it thanks a lot.

The Big Three 03-29-2009 05:49 PM

Can a regular admin upload this?

Mosh 03-29-2009 09:11 PM

Quote:

Originally Posted by The Big Three (Post 1779857)
Can a regular admin upload this?

If they have ftp access, then yes. But only Super Administrators can use this hack.

relaxiha 03-30-2009 07:35 PM

Database error in vBulletin 3.8.1:

Invalid SQL:

SELECT pm.*, pmtext.*
FROM `pm` AS pm
LEFT JOIN `pmtext` AS pmtext ON(pmtext.pmtextid = pm.pmtextid)
HAVING pm.userid=2820
ORDER BY pmtext.dateline DESC;

Mosh 03-30-2009 08:19 PM

Quote:

Originally Posted by relaxiha (Post 1780575)
Database error in vBulletin 3.8.1:

Invalid SQL:

SELECT pm.*, pmtext.*
FROM `pm` AS pm
LEFT JOIN `pmtext` AS pmtext ON(pmtext.pmtextid = pm.pmtextid)
HAVING pm.userid=2820
ORDER BY pmtext.dateline DESC;

Please post the exact error message, as what you posted above does not tell me anything apart from the affected query.

creative-friend 03-30-2009 09:56 PM

Why Is It Saying Invalid File....

Mosh 03-30-2009 11:04 PM

Quote:

Originally Posted by creative-friend (Post 1780662)
Why Is It Saying Invalid File....

Read the Installation Instructions, as you have not followed them. There are no files to import into the AdminCP.

Mosh 03-30-2009 11:10 PM

Update: v3.8.006 - Tuesday 31st March 2009
-- Fixed: High server load when finding PMs for single user id or username
-- Fixed: Problems with hacks that have custom BBCode being called by the bbcode_fetch_tags file hook

orok 03-31-2009 02:05 AM

Good Job
thank you

pedroenf 03-31-2009 07:31 AM

Quote:

Originally Posted by Mosh (Post 1780702)
Update: v3.8.006 - Tuesday 31st March 2009
-- Fixed: High server load when finding PMs for single user id or username
-- Fixed: Problems with hacks that have custom BBCode being called by the bbcode_fetch_tags file hook


I knew you do it! You're the man! Load problem solved, definitely! :up:
Many many thanks to you.

Mosh 03-31-2009 02:14 PM

Quote:

Originally Posted by pedroenf (Post 1780875)
I knew you do it! You're the man! Load problem solved, definitely! :up:
Many many thanks to you.

You are most welcome :)

creative-friend 03-31-2009 06:21 PM

Quote:

Originally Posted by Mosh (Post 1780698)
Read the Installation Instructions, as you have not followed them. There are no files to import into the AdminCP.

Sorry Bro My Bad
Thanks Anyways
Its Working Fine.....
Great.

Mosh 03-31-2009 07:50 PM

Quote:

Originally Posted by creative-friend (Post 1781223)
Sorry Bro My Bad
Thanks Anyways
Its Working Fine.....
Great.

Then please click Mark as Installed to show that you are using it on your site.

darknusens 03-31-2009 07:59 PM

Very nice working perfectly. Installed!

creative-friend 04-01-2009 04:49 PM

Quote:

Originally Posted by Mosh (Post 1781282)
Then please click Mark as Installed to show that you are using it on your site.

hmm yeah done
thanks

mrtroybaker 04-11-2009 08:17 AM

Where would one go to change what the "button" says? Instead of "Read PM's" I would like to change it to say someting else like "master delete". Thus any admin clicking it would get the super admin message and would never know what it was. I have no desire to use this hack unless warranted thus being the reason noone else needs to know its there.
Thanks

pedroenf 04-11-2009 08:28 AM

Easy. Change read_pms.php name to (for ex.) super_admin.php, open read_pms.php (or super_admin.php if already changed) and where its says: define('THIS_SCRIPT', 'read_pms'); change it to: define('THIS_SCRIPT', 'super_admin'); open cpnav_rpm.xml and change this lines to what ever modified above:

Code:

<navoption displayorder="130">
            <text>Read PMs</text>
            <link>read_pms.php</link>
        </navoption>


mrtroybaker 04-11-2009 10:36 PM

Thank you very much

pedroenf 04-12-2009 12:47 AM

You're welcome ;)

jgruberman 04-13-2009 03:29 AM

Installed. Now I can hunt for terrorists on my forum!

Dream 04-24-2009 05:46 AM

Good job Mosh! Good luck maintaining it :)

I'm wondering if they will still work with 4.0, there's a chance as the PM system will not be changed.

Hasann 04-24-2009 05:50 AM

Quote:

Originally Posted by Dream (Post 1797942)
Good job Mosh! Good luck maintaining it :)

I'm wondering if they will still work with 4.0, there's a chance as the PM system will not be changed.

lol man if they will still work with 4.0 than Jelsoft sucks :D

Mosh 04-24-2009 07:37 AM

Quote:

Originally Posted by Dream (Post 1797942)
Good job Mosh! Good luck maintaining it :)

I'm wondering if they will still work with 4.0, there's a chance as the PM system will not be changed.

Thanks for allowing me to build on your original version :)

As for v4.0, we will not know until the release the betas, RCs and then Gold, if any of our hacks will still work or not. I suppose we will find out in due course.


All times are GMT. The time now is 11:27 AM.

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.02457 seconds
  • Memory Usage 1,839KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (4)bbcode_php_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete