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)
-   -   Private Messages Enhancements - NosPM! - Anti-Spam Questions for PM System (https://vborg.vbsupport.ru/showthread.php?t=221965)

Madlike 08-27-2009 10:00 PM

NosPM! - Anti-Spam Questions for PM System
 
1 Attachment(s)
NosPM!

NosPM!, allows you to specify a set of questions which members are required to answer correctly at new private message, eliminating the ability of spam bots to send private messages at your forum members. And NosPM! is working with original vBulletin human verification feature.

Options:

*Verify at Private Messages (On/Off)
*Usergroups Excluded from NosPM!

Settings at: vBulletin Options -> Human Verification Options

Modification:

Templates: 0
Plugins: 3
Settings: 2
Phreases: 3

Installation:

1-) Import "product-nospm.xml" through the AdminCP -> Product Manager.

2-) Find in pm_showpm template:

Code:

<div class="submit_button">
Add above:

Code:

<br />$nospm_quickreply
Please Note: If you wanna change verification system to Image Verification,Question & Answer Verification or reCAPTCHA? you can set the "Human Verification Options" on "admincp/verify.php"

Known Bugs:

- None ! :)

Version History:

v3.8.001 - 28.08.2009
- First Release

Faizan 08-29-2009 11:09 AM

Nice one......

Madlike 08-29-2009 11:32 AM

Quote:

Originally Posted by Faizan (Post 1876294)
Nice one......

Thank you :) , Support me please cLick install ^^

apiasto 08-29-2009 11:14 PM

nice work.is there a way to make something like this for contact us.i get alot of spam e mails via contact us :(

yahoooh 08-30-2009 01:11 AM

great
installed

Madlike 08-30-2009 09:09 AM

No problem, thanks for install :)

tlwwolfseye 08-30-2009 12:02 PM

For me that verification thing only shows when I reply on a PM someone send me. It doesn't show up when I start a new PM without replying first.
Why is that ?

Madlike 08-30-2009 12:41 PM

Showing on
/private.php?do=newpm
/private.php?do=newpm&pmid=XX
/private.php?do=showpm&pmid=XX (QR)
/private.php?do=newpm&forward=X&pmid=XX

So, Working fine for me ?

<hookname>private_newpm_start</hookname>

Seems, nothing problem for it. Did you set your Human verification Options ?

tlwwolfseye 08-30-2009 12:47 PM

I have reCaptcha as the verification method in my Forum. And like i said, I see the reCaptcha verification when I reply to a PM send to me, however I dont see the reCaptcha verification when I create a new PM to whoever.

I am using a Custom Skin, not vB standard. Is that an issue ? And i set the pm_showpm stuff from the first posting as described.

Quote:

<div class="smallfont messagetext" style="text-align:$stylevar[left]">$vbphrase[message]: </div>
<div id="$editorid" class="vBulletin_editor">$messagearea</div>
<if condition="$allowed_bbcode"><div class="allowed_bbcode">$allowed_bbcode</div></if>
<br />$nospm_quickreply
<div class="submit_button">
<input type="hidden" name="fromquickreply" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="insertpm" />
<input type="hidden" name="pmid" value="$pm[pmid]" />
<input type="hidden" name="loggedinuser" value="$bbuserinfo[userid]" />
<input type="hidden" name="parseurl" value="1" />
<input type="hidden" name="signature" value="1" />
<input type="hidden" name="title" value="$pm[title]" />
<input type="hidden" name="recipients" value="$pm[recipients]" />
<input type="hidden" name="forward" value="0" />
<input type="hidden" name="savecopy" value="$pm[savecopy]" />
</div>
Still, it only shows in a reply of a PM, not when I create a new one without replying.

However, you mention in your last posting that you also see it in pm_newpm but the changes you say one has to do is only in the pm_showpm template. Would it not be necessary to also be in the pm_newpm template as well ?

Madlike 08-30-2009 01:03 PM

Modification have Automatic template changes. This code adding the $nospm_newpm above to $posticons on "pm_newpm" template automaticly:

Code:

$nostemp =& $vbulletin->templatecache['pm_newpm'];
if ($nostemp)
{
$nostemp = str_replace('$posticons', '$nospm_newpm\n\n$posticons', $nostemp);
}

Try add this code to your pm_newpm template: $nospm_newpm

Note: <br />$nospm_quickreply for verification at PM QuickReply


All times are GMT. The time now is 02:29 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.01255 seconds
  • Memory Usage 1,737KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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