Jump to content


- - - - -

(IM) Messenger Captcha v1.2


  • Please log in to reply
4 replies to this topic

#1 Martin

Martin

    But but, it's not only only!

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 7,081 posts
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.2.x
Contributor

Posted 09 May 2009 - 04:54 PM

Posted Image

File Name: (IM) Messenger Captcha v1.2
File Submitter: m4rtin
File Submitted: 9 May 2009
File Updated: 15 May 2009
File Category: IP.Board v2.3.x Mods

File Information
Resource Type: Modification
Version: 1.2 (10020)
Compatibility: IP.Board 2.3.6


Description
Messenger Captcha is a modification that shows the captcha while composing a new personal message, for members with X amount of posts, or less. As long as this modification is enabled, it will show the captcha regardless of the global antispam setting.


Release notes:
  • 1.2
    • Fixed an issue where the settings were hidden
  • 1.1
    • Fixed an issue where the members post count weren't honored.

  • Follow the instructions in Upgrade.html to upgrade

Click here to download this file

#2 NuclearGeneral

NuclearGeneral

    Advanced Member

  • Modders
  • PipPipPipPip
  • 77 posts
  • Real Name:Donald
  • IPB Version:v3.0.x
Contributor

Posted 15 May 2009 - 04:40 AM

Hey Martin, would it be possible to have this mod work this tutorial "Quick PM On Profile View"? Link

Edit: Oh and... about your skin edit, you need it to say

Find:
 <tr>
	 <td class="formbuttonrow" align="center" colspan="2">

Add Above: (Not 'Add Below')
your code

Adding below looks like this:

Posted Image

Edited by NuclearGeneral, 15 May 2009 - 04:51 AM.


#3 NuclearGeneral

NuclearGeneral

    Advanced Member

  • Modders
  • PipPipPipPip
  • 77 posts
  • Real Name:Donald
  • IPB Version:v3.0.x
Contributor

Posted 16 May 2009 - 06:30 AM

BUMP!

#4 Martin

Martin

    But but, it's not only only!

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 7,081 posts
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.2.x
Contributor

Posted 16 May 2009 - 11:11 AM

View PostNuclearGeneral, on May 15 2009, 06:40 AM, said:

Hey Martin, would it be possible to have this mod work this tutorial "Quick PM On Profile View"? Link
ACP -> Look & Feel -> [Select Skin] -> Edit Template HTML -> Profile View -> personal_portal_main
Find:
<tr>
					  <td class='row1' width="10%"><b>Message:</b></td>
					  <td class='row1' width="90%"><textarea name="Post" class="rte-iframe" id="ed-0_textarea" rows="5" cols="5" style="width:90%; height:50px" tabindex="3"></textarea></td>
				 </tr>
Add below:
<if="$this->ipsclass->member['posts'] <= $this->ipsclass->vars['im_msgCaptcha-minPosts'] 
						AND $this->ipsclass->vars['im_msgCaptcha-enabled'] 
						AND ! strstr( ",{$this->ipsclass->member['mgroup']},", ",{$this->ipsclass->vars['im_msgCaptcha-protectedGroups']}," )">
						<if="require_once( KERNEL_PATH .'class_captcha.php' )">
							<if="$captchaClass = new class_captcha( $this->ipsclass, $this->ipsclass->vars['bot_antispam_type'] )">
								<if="$captchaHTML = $captchaClass->getTemplate()">
									<tr>
										<td class="row1" align="right" valign='top' colspan='2' width='20%'>
											{$captchaHTML}
										</td>
									</tr>
								</if>
							</if>
						</if>
					</if>


#5 NuclearGeneral

NuclearGeneral

    Advanced Member

  • Modders
  • PipPipPipPip
  • 77 posts
  • Real Name:Donald
  • IPB Version:v3.0.x
Contributor

Posted 16 May 2009 - 05:51 PM

Alright, thanks Martin. Works great! Appreciate it mate.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users