[2.0.12] Visual Confirmation for Guests

The cleanup is complete. This forum is now read only.
Post Reply

Rating:

Excellent!
39
65%
Very Good
9
15%
Good
3
5%
Fair
1
2%
Poor
8
13%
 
Total votes: 60

Extensions Robot
Extensions Robot
Extensions Robot
Posts: 29144
Joined: Sat Aug 16, 2003 7:36 am

[2.0.12] Visual Confirmation for Guests

Post by Extensions Robot »

MOD Name: Visual Confirmation for Guests
Author: Kanuck
MOD Description: Adds visual confirmation for guest posts, eliminating spam.


MOD Version: 1.0.1

Download File: guest_confirmation_1_0_1a.mod
mods overview page: View
File Size: 8245 Bytes

Security Score: 0
Last edited by Extensions Robot on Mon Apr 30, 2007 12:30 am, edited 1 time in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)
wGEric
Former Team Member
Posts: 8805
Joined: Sun Oct 13, 2002 3:01 am
Location: Friday
Name: Eric Faerber
Contact:

Post by wGEric »

MOD Validated/Released

Notes:
This MOD makes it so that when guests post at your forums they have to enter in a visual confirm to make sure they aren't a bot. It uses the same visual confirm as the one for the registration page.
Eric
egeurts
Registered User
Posts: 5
Joined: Sat Jul 19, 2003 9:54 am
Location: Groningen, Netherlands
Contact:

Post by egeurts »

I've implemented this one ony my sites, very pleased with it!
Caution: Opening message voids warranty
When I'm not surfing the web, I'm probably walking in the mountains.
See for yourself: www.corsica-hiking.com
Wizard_SEMFE
Registered User
Posts: 10
Joined: Tue Jun 29, 2004 11:15 pm

Post by Wizard_SEMFE »

PERFECT!!!
Just what I was looking for!
FU@#@NG Pepotamo1985!!!
Wizard_SEMFE
Registered User
Posts: 10
Joined: Tue Jun 29, 2004 11:15 pm

Post by Wizard_SEMFE »

I could use a little help here though!
I can't find (and neither can easymod)

Code: Select all

		case 'editpost':
		case 'newtopic':
		case 'reply':
in posting.php
Is this the code that I should alter?

Code: Select all

switch( $mode )
{
	case 'newtopic':
		$page_title = $lang['Post_a_new_topic'];
		$hidden_form_fields .= '<input type="hidden" name="' . POST_FORUM_URL . '" value="' . $forum_id . '" />';
		break;

	case 'reply':
		$page_title = $lang['Post_a_reply'];
		$hidden_form_fields .= '<input type="hidden" name="' . POST_TOPIC_URL . '" value="' . $topic_id . '" />';
		break;

	case 'editpost':
		$page_title = $lang['Edit_Post'];
		$hidden_form_fields .= '<input type="hidden" name="' . POST_POST_URL . '" value="' . $post_id . '" />';
		break;
}

// Generate smilies listing for page output
generate_smilies('inline', PAGE_POSTING);
Last edited by Wizard_SEMFE on Sun Feb 27, 2005 3:30 pm, edited 1 time in total.
poregorn
Registered User
Posts: 138
Joined: Thu Sep 23, 2004 9:23 pm

Post by poregorn »

does this only work on .12? i have .11 running and im not planning on updating to .12 anytime soon
Alex Walters
Registered User
Posts: 126
Joined: Sat Nov 30, 2002 12:20 am

Post by Alex Walters »

poregorn wrote: does this only work on .12? i have .11 running and im not planning on updating to .12 anytime soon


naughity naughity.
Kanuck
Former Team Member
Posts: 2791
Joined: Thu Jul 05, 2001 9:33 pm
Location: Toronto, Ontario

Post by Kanuck »

Wizard_SEMFE, that must be a conflict with another MOD. For me, those three lines of code are lines 537-539. Here's a few more lines of code before it so you can try tracking it down.

Code: Select all

else if ( $submit || $confirm )
{
	//
	// Submit post/vote (newtopic, edit, reply, etc.)
	//
	$return_message = '';
	$return_meta = '';

	switch ( $mode )
	{
		case 'editpost':
		case 'newtopic':
		case 'reply':
Kanuck
Former phpBB.com team member
Wizard_SEMFE
Registered User
Posts: 10
Joined: Tue Jun 29, 2004 11:15 pm

Post by Wizard_SEMFE »

Kanuck wrote: Wizard_SEMFE, that must be a conflict with another MOD. For me, those three lines of code are lines 537-539. Here's a few more lines of code before it so you can try tracking it down.


This was the case indeed!
The log actions mod did all the job!
Thank you very much Kanuck!
WaR TaCtiCs
Registered User
Posts: 9
Joined: Tue Mar 01, 2005 4:28 am

Post by WaR TaCtiCs »

Could someone answer this please

How come every file wich ends with a .mod cannot be downloaded?

Im new at this btw i apologize i bet theres a simple answer for this

Thanks
ycl6
Translator
Posts: 5696
Joined: Sat Feb 15, 2003 10:35 am
Location: Taiwan
Contact:

Post by ycl6 »

It should opened as a text file, so just save the content from your brower to your hard-disk, or copy everything into the notepad/wordpad/other text editors.

~Mac
RickDrummer
Registered User
Posts: 4
Joined: Tue Mar 01, 2005 11:46 pm
Contact:

Post by RickDrummer »

Does anybody know how to add this mod to quick reply form?

Thanx in advance!
Kanuck
Former Team Member
Posts: 2791
Joined: Thu Jul 05, 2001 9:33 pm
Location: Toronto, Ontario

Post by Kanuck »

Does everybody use the exact same quick reply modification? If so, point me in its direction, and I can probably figure out what code needs to be ported to make this work.
Kanuck
Former phpBB.com team member
WaR TaCtiCs
Registered User
Posts: 9
Joined: Tue Mar 01, 2005 4:28 am

Post by WaR TaCtiCs »

ycl6 wrote: It should opened as a text file, so just save the content from your brower to your hard-disk, or copy everything into the notepad/wordpad/other text editors.

~Mac


thanx bro
User avatar
darakhshan
Registered User
Posts: 1030
Joined: Fri Apr 30, 2004 7:18 pm

Post by darakhshan »

this did not work for my version 2.0.11 so I give up :cry:
Post Reply

Return to “[2.0.x] MOD Database Cleanup”