Jump to content


* * * * * 2 votes

(M31) Auto Welcome Members 2.0.1


  • Please log in to reply
124 replies to this topic

#41 trancehed

trancehed

    Novice

  • Members
  • PipPip
  • 7 posts
  • Real Name:Tony
  • IPB Version:v2.3.x

Posted 06 August 2009 - 04:52 AM

I just installed this and everything seems to be working properly EXCEPT the link to the topic in the welcome email does not work.  It looks like this: Visit your welcome topic: View Welcome Topic UGMusic.US  - No link.

Edited by trancehed, 06 August 2009 - 04:53 AM.


#42 trancehed

trancehed

    Novice

  • Members
  • PipPip
  • 7 posts
  • Real Name:Tony
  • IPB Version:v2.3.x

Posted 06 August 2009 - 04:56 AM

Also, it puts everything on one line instead of how I have it.

EX:
words words words
words
words words

Looks on the email like: words words words words words words

#43 MichaelJohn

MichaelJohn

    Programmer

  • Modders
  • PipPipPipPipPipPip
  • 478 posts
  • Location:Australia
  • Real Name:Michael
  • IPB Version:v3.1.x
Contributor

Posted 06 August 2009 - 07:29 AM

Make sure you've downloaded the latest version, this should include a fix for this.

Keep up to date with DevFuse mod development and releases.

Posted Image Posted Image Posted Image Posted Image Posted Image


#44 trancehed

trancehed

    Novice

  • Members
  • PipPip
  • 7 posts
  • Real Name:Tony
  • IPB Version:v2.3.x

Posted 06 August 2009 - 04:12 PM

I downloaded it last night from here http://resources.inv...p;showfile=2372

#45 trancehed

trancehed

    Novice

  • Members
  • PipPip
  • 7 posts
  • Real Name:Tony
  • IPB Version:v2.3.x

Posted 06 August 2009 - 04:49 PM

I noticed someone mentioned this bug in PMs and I think that was fixed.  But this is happening in the emails.  Perhaps that was overlooked?

#46 ReV

ReV

    Member

  • Members
  • PipPipPip
  • 48 posts
  • Real Name:Tyler Jones
  • IPB Version:v3.0.x

Posted 06 August 2009 - 08:17 PM

After I had installed this, when members tried registering they would get a ips driver error but they would be registered and the verify email would not be sent. After removing the app the driver error stopped happening.

#47 trancehed

trancehed

    Novice

  • Members
  • PipPip
  • 7 posts
  • Real Name:Tony
  • IPB Version:v2.3.x

Posted 06 August 2009 - 11:20 PM

Also, after clicking the validation link in the email.. the page hangs and either never forwards.. or does after some time.  Regardless the validation works.  I don't think it was doing this before adding the mod.

#48 MichaelJohn

MichaelJohn

    Programmer

  • Modders
  • PipPipPipPipPipPip
  • 478 posts
  • Location:Australia
  • Real Name:Michael
  • IPB Version:v3.1.x
Contributor

Posted 09 August 2009 - 10:23 AM

View Posttrancehed, on Aug 6 2009, 02:56 PM, said:

Also, it puts everything on one line instead of how I have it.

EX:
words words words
words
words words

Looks on the email like: words words words words words words

Open the admin/application_addon/other/autowelcome/sources/welcome_members.php

Find:
IPSText::getTextClass('email')->message = stripslashes( IPSText::getTextClass('email')->cleanMessage( preg_replace( $search, $replace, $this->settings['aw_email_message'] ) ) );

Add Above:
$this->settings['aw_email_message'] = str_replace("\n", "<br />", $this->settings['aw_email_message'] );

Save admin/application_addon/other/autowelcome/sources/welcome_members.php. Let me know if that fixes that problem. The links are not linking because that's the way IPB3 email class cleanMessage handles links.

View PostReV, on Aug 7 2009, 06:17 AM, said:

After I had installed this, when members tried registering they would get a ips driver error but they would be registered and the verify email would not be sent. After removing the app the driver error stopped happening.

Check your cache folder for a file with a similar name for the date of the error sql_error_log_08_06_09.cgi and post the contents.

Keep up to date with DevFuse mod development and releases.

Posted Image Posted Image Posted Image Posted Image Posted Image


#49 Bonnie007

Bonnie007

    Member

  • Members
  • PipPipPip
  • 27 posts
  • Real Name:pauline
  • IPB Version:N/A

Posted 09 August 2009 - 06:47 PM

I cant get this to work at all.  Is it compatable with 3.0.2?
I had this installed on my old board with no problems, but I cant get email, PM or topic to work.  All of them are enabled in admin

Here is the coding I have for register:

//-----------------------------------------
// Remove "dead" validation
//-----------------------------------------

# Auto Welcome Members by DevFuse
require_once( IPSLib::getAppDir(
'autowelcome' ) . '/sources/welcome_members.php' );
                                $this->DB->delete( 'validating', "vid='" . $validate['vid'] . "'" );
$this->registry->output->silentRedirect( $this->settings['base_url'] . '&app=core&module=global&section=login&do=autologin&fromreg=1' );
}

//-----------------------------------------
// ADMIN-VERIFICATION...
//-----------------------------------------


And this is what I have for tools:

//-----------------------------------------
// Using 'name' on purpose
// @see http://forums.invisi...?...ost&p=45269
//-----------------------------------------

IPSText::getTextClass('email')->subject = "Account: {$row['name']}, validated at " . $this->settings['board_name'];
IPSText::getTextClass('email')->to = $row['email'];
IPSText::getTextClass('email')->sendMail();

IPSLib::runMemberSync( 'onGroupChange', $row['member_id'], $row['real_group'] );
                                # Auto Welcome Members by DevFuse
require_once( IPSLib::getAppDir(
'autowelcome' ) . '/sources/welcome_members.php' );
                                
}

$this->DB->delete( 'validating', "member_id IN(" . implode( ",", $ids ) . ")" );

ipsRegistry::getClass('adminFunctions')->saveAdminLog( count($ids) . $this->lang->words['t_memregapp2'] . implode( ", ", $approved ) );

//-----------------------------------------
// Stats to Update?
//-----------------------------------------

$this->cache->rebuildCache( 'stats', 'global' );

$this->registry->output->global_message = count($ids) . $this->lang->words['t_memregapp'];

if( $this->request['_return'] )
{
$this->registry->output->silentRedirectWithMessage( $this->settings['base_url'] . 'app=members&module=members&section=members&do=viewmember&member_id=' . $this->request['_return'] );


Is all that as it should be?

Bonnie

#50 MichaelJohn

MichaelJohn

    Programmer

  • Modders
  • PipPipPipPipPipPip
  • 478 posts
  • Location:Australia
  • Real Name:Michael
  • IPB Version:v3.1.x
Contributor

Posted 10 August 2009 - 01:58 AM

You've messed up the edit. Your requiring the mod in 2 places but not even calling the send welcome function. Re-apply the full edit to a fresh register.php file. Remember to select the complete contents in the textarea box.

Keep up to date with DevFuse mod development and releases.

Posted Image Posted Image Posted Image Posted Image Posted Image


#51 asan

asan

    Member

  • Members
  • PipPipPip
  • 37 posts
  • IPB Version:v3.0.x

Posted 30 August 2009 - 03:25 AM

getting errors with people trying to register, also no topics or pm's being sent =/

here is the sql log

Date: Sun, 30 Aug 2009 02:48:30 +0000
 Error Number: 1054
 Error: Unknown column 'id' in 'where clause'
 IP Address: 71.xxxxxxxx
 Page: /index.php?app=core&module=global&section=register&do=auto_validate&uid=270&aid=7b439578f1ccbb51018bd76e8299869d
 Debug: array (
  1 => 
  array (
	'file' => '/home/content/w/t/t/wttrader/html/ips_kernel/classDb.php',
	'line' => 1073,
	'function' => 'query',
	'class' => 'db_driver_mysql',
  ),
  3 => 
  array (
	'file' => '/home/content/w/t/t/wttrader/html/admin/applications_addon/other/autowelcome/sources/welcome_members.php',
	'line' => 75,
	'function' => 'update',
	'class' => 'db_main_mysql',
  ),
  4 => 
  array (
	'file' => '/home/content/w/t/t/wttrader/html/admin/applications/core/modules_public/global/register.php',
	'line' => 842,
	'function' => 'send_welcome',
	'class' => 'welcomeMembers',
  ),
  5 => 
  array (
	'file' => '/home/content/w/t/t/wttrader/html/admin/applications/core/modules_public/global/register.php',
	'line' => 47,
	'function' => '_autoValidate',
	'class' => 'public_core_global_register',
  ),
  6 => 
  array (
	'file' => '/home/content/w/t/t/wttrader/html/admin/sources/base/ipsController.php',
	'line' => 291,
	'function' => 'doExecute',
	'class' => 'public_core_global_register',
  ),
)
 mySQL query error: UPDATE ibf_members SET points=points+100 WHERE id=270


#52 MichaelJohn

MichaelJohn

    Programmer

  • Modders
  • PipPipPipPipPipPip
  • 478 posts
  • Location:Australia
  • Real Name:Michael
  • IPB Version:v3.1.x
Contributor

Posted 30 August 2009 - 04:20 AM

You'll need to download and install the latest version. That bug was fixed not long ago.

Keep up to date with DevFuse mod development and releases.

Posted Image Posted Image Posted Image Posted Image Posted Image


#53 asan

asan

    Member

  • Members
  • PipPipPip
  • 37 posts
  • IPB Version:v3.0.x

Posted 30 August 2009 - 04:39 AM

nevermind  uninstalled then reinstalled, working now =/

#54 asan

asan

    Member

  • Members
  • PipPipPip
  • 37 posts
  • IPB Version:v3.0.x

Posted 30 August 2009 - 04:45 AM

View PostMichaelJohn, on Aug 30 2009, 12:20 AM, said:

You'll need to download and install the latest version. That bug was fixed not long ago.


yeap thats what i did, i just upgraded from 3.0.1 to 3.02

thanks

tested and working fine

#55 Aeolus

Aeolus

    Programmer

  • IM Supporters
  • PipPipPipPipPipPip
  • 416 posts
  • Location:Taiwan
  • IPB Version:v3.1.x
Contributor

Posted 10 September 2009 - 11:36 PM

This mod is very useful for me.

After installing over 3 times in my IPB 3.0.3 forum, it did nothing, No message, No email, No topic.

But if i will add a new member in ACP , then the message works.

How to check?

Thanks.  ;)

#56 MichaelJohn

MichaelJohn

    Programmer

  • Modders
  • PipPipPipPipPipPip
  • 478 posts
  • Location:Australia
  • Real Name:Michael
  • IPB Version:v3.1.x
Contributor

Posted 11 September 2009 - 01:00 AM

That usually means the file edits were not completed. Try applying the file edits.

Keep up to date with DevFuse mod development and releases.

Posted Image Posted Image Posted Image Posted Image Posted Image


#57 Aeolus

Aeolus

    Programmer

  • IM Supporters
  • PipPipPipPipPipPip
  • 416 posts
  • Location:Taiwan
  • IPB Version:v3.1.x
Contributor

Posted 11 September 2009 - 06:00 AM

Ya, after edited the two php files, it works now,

But the quick tag , %joined_date% , didn't show up,

I key-in ACP  >> You joined on the %joined_date%.

and it show >> You joined on the --.

Thanks.

#58 MichaelJohn

MichaelJohn

    Programmer

  • Modders
  • PipPipPipPipPipPip
  • 478 posts
  • Location:Australia
  • Real Name:Michael
  • IPB Version:v3.1.x
Contributor

Posted 11 September 2009 - 08:41 AM

View PostAeolus, on Sep 11 2009, 04:00 PM, said:

Ya, after edited the two php files, it works now,

But the quick tag , %joined_date% , didn't show up,

I key-in ACP  >> You joined on the %joined_date%.

and it show >> You joined on the --.

Thanks.

It could be that the admin cp doesn't provide a joined date, does this also happen with normal registration?

Keep up to date with DevFuse mod development and releases.

Posted Image Posted Image Posted Image Posted Image Posted Image


#59 Renee

Renee

    Did I mention I'm a n00b?

  • IM Supporters
  • PipPipPipPipPip
  • 164 posts
  • Location:Sunny Mexico
  • Real Name:Renee
  • IPB Version:v3.1.x

Posted 12 September 2009 - 05:55 AM

I know I'm asking an awful lot, but perhaps it might be a consideration...

Would it be possible if the welcome topic receives a second but unapproved/invisible post with any other accounts registered from the same IP?  I get a lot of multiple accounts and it's not always easy to check each new member, it wouldn't help against dynamic IPs but at least it would be something.

#60 MichaelJohn

MichaelJohn

    Programmer

  • Modders
  • PipPipPipPipPipPip
  • 478 posts
  • Location:Australia
  • Real Name:Michael
  • IPB Version:v3.1.x
Contributor

Posted 12 September 2009 - 09:08 AM

View PostRenee, on Sep 12 2009, 03:55 PM, said:

I know I'm asking an awful lot, but perhaps it might be a consideration...

Would it be possible if the welcome topic receives a second but unapproved/invisible post with any other accounts registered from the same IP?  I get a lot of multiple accounts and it's not always easy to check each new member, it wouldn't help against dynamic IPs but at least it would be something.

Maybe this would be something more suitable for another mod. Yes would be possible but would make the mod more bulky, you'd have to record every topic posted for each member so the mod knows to add to that topic.

Keep up to date with DevFuse mod development and releases.

Posted Image Posted Image Posted Image Posted Image Posted Image





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users