Jump to content

  • twitter
  • youtube
  • googleplus
  • facebook
  • rss
  • newsletter


(M31) Auto Welcome Members 2.0.1


  • Please log in to reply
348 replies to this topic

#41 RickB

RickB

    Newbie

  • Members
  • Pip
  • 1 posts
  • IP.Board Version:IPB 3.0.x
  • First Name:Rick Bissonette

Posted 22 July 2009 - 10:42 PM

I set it up for an autopost then registered and validate (and logged in) a new account but it didn't post a welcome topic.

#42 Michael

Michael

    Management

  • Management
  • 3,137 posts
  • Gender:Male
  • Location:Australia
  • IP.Board Version:IPB 3.1.x
  • First Name:Michael
Donator

Posted 22 July 2009 - 11:11 PM

You seem to have the same issue as the guy above, check through the second and fourth last posts to see if that helps. Could either of you provide me with a ftp/admin access to troubleshoot this further? I'm unable to produce this error on my test board.

Keep up to date with DevFuse mod development and releases.

Posted Image Posted Image Posted Image Posted Image Posted Image


#43 Michael

Michael

    Management

  • Management
  • 3,137 posts
  • Gender:Male
  • Location:Australia
  • IP.Board Version:IPB 3.1.x
  • First Name:Michael
Donator

Posted 23 July 2009 - 01:54 AM

I've updated this mod with a few fixes. That should hopefully fix the url issue and topic creation. Please remove the auto welcome application then re-install to get updated. (thanks to m4rtin and emoney for your help with this fix. )

Keep up to date with DevFuse mod development and releases.

Posted Image Posted Image Posted Image Posted Image Posted Image


#44 MSDA

MSDA

    Member

  • Members
  • PipPip
  • 14 posts
  • IP.Board Version:IPB 3.0.x

Posted 23 July 2009 - 02:41 PM

Many thanks Michael, m4rtin and emoney :)

I will reinstall it now  :P

#45 MSDA

MSDA

    Member

  • Members
  • PipPip
  • 14 posts
  • IP.Board Version:IPB 3.0.x

Posted 23 July 2009 - 04:59 PM

Reinstalled it with the new uploads but the topic feature still dun work - so sorry :(

The links in the pm are fine now  :P

Thanks again for your hard work!

Mike

#46 neal121

neal121

    Member

  • Members
  • PipPip
  • 16 posts
  • Gender:Male
  • IP.Board Version:IPB 3.0.x

Posted 24 July 2009 - 03:33 PM

I have done the edits, installed it and set it up but nothing works. I have registered a new user with a different e-mail and nothing works. I have it set for PM, Shoutbox, topic (dunno if it even works yet with 3.0.1), profile but nothing happens.

#47 Michael

Michael

    Management

  • Management
  • 3,137 posts
  • Gender:Male
  • Location:Australia
  • IP.Board Version:IPB 3.1.x
  • First Name:Michael
Donator

Posted 24 July 2009 - 10:13 PM

View PostMSDA, on 23 July 2009 - 04:59 PM, said:

Reinstalled it with the new uploads but the topic feature still dun work - so sorry :(

The links in the pm are fine now  :P

Thanks again for your hard work!

Mike

Try admin new member in the admin cp, let me know if topic creation works then.

View Postneal121, on 24 July 2009 - 03:33 PM, said:

I have done the edits, installed it and set it up but nothing works. I have registered a new user with a different e-mail and nothing works. I have it set for PM, Shoutbox, topic (dunno if it even works yet with 3.0.1), profile but nothing happens.

Just to confirm your using IPB 3.0.1? Have you tried add new member in the admin cp?

Keep up to date with DevFuse mod development and releases.

Posted Image Posted Image Posted Image Posted Image Posted Image


#48 MSDA

MSDA

    Member

  • Members
  • PipPip
  • 14 posts
  • IP.Board Version:IPB 3.0.x

Posted 25 July 2009 - 07:06 AM

It makes a topic if i manually add a new member in the acp. It also makes a topic if i validate a new account in the acp. It donīt make a topic if the new members validate their account by email.

#49 neal121

neal121

    Member

  • Members
  • PipPip
  • 16 posts
  • Gender:Male
  • IP.Board Version:IPB 3.0.x

Posted 25 July 2009 - 07:08 AM

View PostMichael, on 24 July 2009 - 10:13 PM, said:


Just to confirm your using IPB 3.0.1? Have you tried add new member in the admin cp?


I am using IPB 3.0.1.


But I found the problem I think!

When I make the user and submit it. I get an error. When I get the file, this is what it is telling me:

Quote

===================================================
Date: Sat, 25 Jul 2009 13:07:14 +0000
Error Number: 1054
Error: Unknown column 'id' in 'where clause'
IP Address: 65.27.75.224
Page: /admin/index.php?adsess=b9626b0d8e0c8f69a47ca14877004d42&app=members&&module=members&section=members&do=doadd
Debug: array (
  1 =>
  array (
    'file' => '/home/deviantg/public_html/ips_kernel/classDb.php',
    'line' => 1073,
    'function' => 'query',
    'class' => 'db_driver_mysql',
  ),
  3 =>
  array (
    'file' => '/home/deviantg/public_html/admin/applications_addon/other/autowelcome/sources/welcome_members.php',
    'line' => 75,
    'function' => 'update',
    'class' => 'db_main_mysql',
  ),
  4 =>
  array (
    'file' => '/home/deviantg/public_html/admin/applications_addon/other/autowelcome/extensions/memberSync.php',
    'line' => 31,
    'function' => 'send_welcome',
    'class' => 'welcomeMembers',
  ),
  5 =>
  array (
    'file' => NULL,
    'line' => NULL,
    'function' => 'onCreateAccount',
    'class' => 'autowelcomeMemberSync',
  ),
  6 =>
  array (
    'file' => '/home/deviantg/public_html/admin/sources/base/core.php',
    'line' => 1903,
    'function' => 'call_user_func_array',
    'class' => NULL,
  ),
  7 =>
  array (
    'file' => '/home/deviantg/public_html/admin/sources/base/core.php',
    'line' => 5188,
    'function' => 'runMemberSync',
    'class' => 'IPSLib',
  ),
  8 =>
  array (
    'file' => '/home/deviantg/public_html/admin/applications/members/modules_admin/members/members.php',
    'line' => 2110,
    'function' => 'create',
    'class' => 'IPSMember',
  ),
  9 =>
  array (
    'file' => '/home/deviantg/public_html/admin/applications/members/modules_admin/members/members.php',
    'line' => 112,
    'function' => '_memberDoAdd',
    'class' => 'admin_members_members_members',
  ),
  10 =>
  array (
    'file' => '/home/deviantg/public_html/admin/sources/base/ipsController.php',
    'line' => 291,
    'function' => 'doExecute',
    'class' => 'admin_members_members_members',
  ),
)
mySQL query error: UPDATE members SET points=points+200 WHERE id=21


#50 Michael

Michael

    Management

  • Management
  • 3,137 posts
  • Gender:Male
  • Location:Australia
  • IP.Board Version:IPB 3.1.x
  • First Name:Michael
Donator

Posted 25 July 2009 - 07:27 AM

Bingo, that could be the one. Try this edit and let me know if it works. (I'm exhausted now, if this is the bug will issue a fix in the morning. )
Open admin/application_addon/other/autowelcome/sources/welcome_members.php

Find:
"id=".$member['member_id'], false, true );

Replace With:
"member_id=".$member['member_id'], false, true );

Save admin/application_addon/other/autowelcome/sources/welcome_members.php

Keep up to date with DevFuse mod development and releases.

Posted Image Posted Image Posted Image Posted Image Posted Image


#51 neal121

neal121

    Member

  • Members
  • PipPip
  • 16 posts
  • Gender:Male
  • IP.Board Version:IPB 3.0.x

Posted 25 July 2009 - 07:34 AM

THANKS!

That was the fix. Keep up the good work Michael.


#52 Michael

Michael

    Management

  • Management
  • 3,137 posts
  • Gender:Male
  • Location:Australia
  • IP.Board Version:IPB 3.1.x
  • First Name:Michael
Donator

Posted 26 July 2009 - 01:57 AM

Thanks for your help neal. You still getting the topic issue Mike?

Keep up to date with DevFuse mod development and releases.

Posted Image Posted Image Posted Image Posted Image Posted Image


#53 MSDA

MSDA

    Member

  • Members
  • PipPip
  • 14 posts
  • IP.Board Version:IPB 3.0.x

Posted 26 July 2009 - 07:03 AM

No it didnīt fix the topic issue :(

Still no welcome post if a new member validates by email.

Mike

#54 Michael

Michael

    Management

  • Management
  • 3,137 posts
  • Gender:Male
  • Location:Australia
  • IP.Board Version:IPB 3.1.x
  • First Name:Michael
Donator

Posted 26 July 2009 - 08:02 AM

View PostMSDA, on 26 July 2009 - 07:03 AM, said:

No it didnīt fix the topic issue :(

Still no welcome post if a new member validates by email.

Mike

Try this and let me know if it works. open admin/application_addons/autowelcome/sources/welcome_members.php

Find:
$this->_postClass = new classPost( ipsRegistry::instance() );

Add Below:
require_once( IPSLib::getAppDir( 'forums' ) . '/sources/classes/forums/class_forums.php' );
$this->registry->setClass( 'class_forums', new class_forums($this->registry) );
$this->registry->getClass('class_forums')->forumsInit();

Save admin/application_addons/autowelcome/sources/welcome_members.php

Keep up to date with DevFuse mod development and releases.

Posted Image Posted Image Posted Image Posted Image Posted Image


#55 MSDA

MSDA

    Member

  • Members
  • PipPip
  • 14 posts
  • IP.Board Version:IPB 3.0.x

Posted 28 July 2009 - 09:41 AM

View PostMichael, on 26 July 2009 - 08:02 AM, said:

Try this and let me know if it works. open admin/application_addons/autowelcome/sources/welcome_members.php

Find:
$this->_postClass = new classPost( ipsRegistry::instance() );

Add Below:
require_once( IPSLib::getAppDir( 'forums' ) . '/sources/classes/forums/class_forums.php' );
$this->registry->setClass( 'class_forums', new class_forums($this->registry) );
$this->registry->getClass('class_forums')->forumsInit();

Save admin/application_addons/autowelcome/sources/welcome_members.php

YEAH this edit finally fixed it  :P

Many Thanks for the great work Michael!

Mike

#56 MSDA

MSDA

    Member

  • Members
  • PipPip
  • 14 posts
  • IP.Board Version:IPB 3.0.x

Posted 28 July 2009 - 12:30 PM

But now is there another problem. Profile post, shoutbox post and the welcome topic are posted twice.

Mike

Edited by MSDA, 28 July 2009 - 12:31 PM.


#57 neal121

neal121

    Member

  • Members
  • PipPip
  • 16 posts
  • Gender:Male
  • IP.Board Version:IPB 3.0.x

Posted 28 July 2009 - 08:13 PM

Michael, in your previous post for that edit, should it be:

open admin/application_addons/OTHER/autowelcome/sources/welcome_members.php

Adding the "other" to it.

#58 neal121

neal121

    Member

  • Members
  • PipPip
  • 16 posts
  • Gender:Male
  • IP.Board Version:IPB 3.0.x

Posted 31 July 2009 - 08:11 PM

Michael, having problems. If I add the user myself through ACP - it works but when they register through the site (and I approve their account) nothing will happen with the mod. Any ideas?

#59 Michael

Michael

    Management

  • Management
  • 3,137 posts
  • Gender:Male
  • Location:Australia
  • IP.Board Version:IPB 3.1.x
  • First Name:Michael
Donator

Posted 31 July 2009 - 11:07 PM

View Postneal121, on 31 July 2009 - 08:11 PM, said:

Michael, having problems. If I add the user myself through ACP - it works but when they register through the site (and I approve their account) nothing will happen with the mod. Any ideas?

These edits work for you
http://www.devfuse.c...ndpost__p__9729

Keep up to date with DevFuse mod development and releases.

Posted Image Posted Image Posted Image Posted Image Posted Image


#60 neal121

neal121

    Member

  • Members
  • PipPip
  • 16 posts
  • Gender:Male
  • IP.Board Version:IPB 3.0.x

Posted 01 August 2009 - 08:51 AM

I did the edits before hand and it didn't help.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users