vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Private Message Workbench: Read, Search, Delete, Report and more (https://vborg.vbsupport.ru/showthread.php?t=95698)

Marco van Herwaarden 11-26-2005 09:40 PM

No i didn't spend much time on this lately. And i doubt that i will have the needed hooks even in 3.5.1. So it will become either a code edit project, or a seperate file.

.Tim 11-26-2005 10:18 PM

Quote:

Originally Posted by MarcoH64
No i didn't spend much time on this lately. And i doubt that i will have the needed hooks even in 3.5.1. So it will become either a code edit project, or a seperate file.

Well, if you ever decide to work on it, it would be much appreciated. If not, it's cool, I'm sure eventually one will come along. :D

Lyricsmama 12-02-2005 12:41 PM

Quote:

Originally Posted by MarcoH64
Ok i see what is your problem. The problem is that i am doing template edits 'on the fly' your Styles ar so heavy modificated, that the string i am trying to replace (to change the standard report post link into a link to my report pm function) can not be found anymore.

I'm having the same issue.
My first thought is the hack that's interfering is this one (reported post goes to a new post ) .
Is there a way around this?

Marco van Herwaarden 12-02-2005 02:06 PM

I don't know if it is interfering, but i have a solution for modified styles. Give me a PM next week, since i am about to leave country for a few days.

What Style are you using?

Lyricsmama 12-02-2005 06:07 PM

Quote:

Originally Posted by MarcoH64
I don't know if it is interfering, but i have a solution for modified styles. Give me a PM next week, since i am about to leave country for a few days.

What Style are you using?

Thanks a million, I'll PM you.
We're using the original style, yet we did modify CSS with our own images/colours.
Oh and we use the postbit legacy not postbit.

Marco van Herwaarden 12-02-2005 07:39 PM

Hmm seem to remember that i forgot to include postbit_legacy support in this version.

Try edit the 'Replace Report Button in Postbit for PM' plugin.
Find:
PHP Code:

    mh_pmwb_modify_template(&$this->registry->templatecache'mh_pmwbrp''postbit''report_button'
        
'href=\"report.php?" . $GLOBALS[\'vbulletin\']->session->vars[\'sessionurl\'] . "p=$post[postid]\"'
        
,    'href=\"mh_pmwbrp_report.php?" . $GLOBALS[\'vbulletin\']->session->vars[\'sessionurl\'] . "do=reportpm&pmid=$post[pmid]\"'); 

and replace by:
PHP Code:

    mh_pmwb_modify_template(&$this->registry->templatecache'mh_pmwbrp''postbit_legacy''report_button'
        
'href=\"report.php?" . $GLOBALS[\'vbulletin\']->session->vars[\'sessionurl\'] . "p=$post[postid]\"'
        
,    'href=\"mh_pmwbrp_report.php?" . $GLOBALS[\'vbulletin\']->session->vars[\'sessionurl\'] . "do=reportpm&pmid=$post[pmid]\"'); 


Lyricsmama 12-03-2005 12:18 AM

Quote:

Originally Posted by MarcoH64
mh_pmwb_modify_template(&$this->registry->templatecache, 'mh_pmwbrp', 'postbit_legacy', 'report_button'
, 'href=\"report.php?" . $GLOBALS[\'vbulletin\']->session->vars[\'sessionurl\'] . "p=$post[postid]\"'
, 'href=\"mh_pmwbrp_report.php?" . $GLOBALS[\'vbulletin\']->session->vars[\'sessionurl\'] . "do=reportpm&pmid=$post[pmid]\"');


Thanks! It's working :)

Marco van Herwaarden 12-03-2005 06:02 AM

Great. :D

This reminds me that i should update this soon.

Alfa1 12-10-2005 04:05 PM

Does this work for 3.5.1 and 3.5.2?
What please define the text that you need in the rules of a forum to cover the privacy notice.
When do you expect to have the new version ready?

Here is a suggestion that IMHO would be very nice to have in this extension:
A function that would alert the admin in case a new PM contains predefined(by the admin) keywords. This function could be used to stop spammers that keep coming back or illegal activity, in real time.
The ability to response in real time gives a good advantage. With my former script I sometimes find illegal activity of months ago and by then it's to late to stop it. And another advantage is that a spamming member can normally just jump to a new account to start the same menace all over again. With a short reaction time, you can fix the problem when it arises.

Smiry Kin's 12-20-2005 05:08 AM

Works ok with 3.5.2 yet to see a problem, don't see how users report bad PM's tho..

hmm


All times are GMT. The time now is 02:51 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.01238 seconds
  • Memory Usage 1,750KB
  • 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
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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