Jump to content


- - - - -

(SOS30) Auto-Topic Upon New Registration v1.0.0


  • Please log in to reply
16 replies to this topic

#1 Adriano Faria

Adriano Faria

    ...a curious guy...

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,268 posts
  • Location:Brazil
  • Real Name:Adriano
  • IPB Version:v3.3.x
Contributor

Posted 07 November 2009 - 12:23 AM

File Name: (SOS30) Auto-Topic Upon New Registration v1.0.0
File Submitter: SOSInvision
File Submitted: 6 Nov 2009
File Updated: 3 Apr 2010
File Category: IP.Board v3.0.x Mods
Resource Type: Hook
Version: 1.0.0

This mod will create a topic for every new member registered on your board.

Copyright Note:

This mod is an upgrade of mod D23-Auto-Topic Upon New Registration v1.0 for IP.Board 2.3.X, by Dean & Logan, from D-Scripting. This upgrade was authorized by Logan Logan.

Click here to download this file

#2 Muhammad

Muhammad

    Coder

  • Members
  • PipPipPipPipPip
  • 181 posts
  • Real Name:Muhammad
  • IPB Version:v3.2.x

Posted 07 November 2009 - 12:36 AM

Thanks Adriano ;)

i got this error when importing XML hook file

Warning: DOMDocument::loadXML() [domdocument.loadxml]: Input is not proper UTF-8, indicate encoding ! Bytes: 0xFA 0x64 0x6F 0x20 in Entity, line: 129 in /.../.../public_html/board/ips_kernel/classXML.php on line 353

and nothing inserted
    *  New hook record inserted
        * 0 files inserted
        * 0 setting groups inserted
        * 0 settings inserted
        * 0 settings updated
        * 0 language bits inserted
        * 0 language bits updated
        * 0 modules inserted
        * 0 modules updated
        * 0 help files inserted
        * 0 help files updated
        * 0 templates inserted
        * 0 templates updated
        * 0 tasks inserted
        * 0 tasks updated
        * 0 database tables created
        * 0 database tables altered
        * 0 update queries run
        * 0 insert queries run


#3 Adriano Faria

Adriano Faria

    ...a curious guy...

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,268 posts
  • Location:Brazil
  • Real Name:Adriano
  • IPB Version:v3.3.x
Contributor

Posted 07 November 2009 - 08:42 AM

Do you use UTF-8 or other character set ?

ps: remove that blank look that was created on this install.

#4 DawPi

DawPi

    in search of lost time..

  • Modders
  • PipPipPipPipPipPipPipPipPip
  • 2,214 posts
  • Location:Cracow, Poland
  • Real Name:David
  • IPB Version:v3.2.x
Contributor

Posted 07 November 2009 - 01:17 PM

Nice work Adriano! ;)
Dawid Pieron
intermedia - owner, developer and ip.board modder
Need custom mod, conversion service, any ip.board related job or support for any of my paid mods or services?
www | mail | facebook | twitter | buy licence

#5 ItsMikey

ItsMikey

    Novice

  • Members
  • PipPip
  • 5 posts
  • Location:Chicago, Illinois USA
  • Real Name:Michael
  • IPB Version:v3.1.x

Posted 20 November 2009 - 01:14 PM

View PostSOSInvision, on Nov 7 2009, 02:42 AM, said:

Do you use UTF-8 or other character set ?

ps: remove that blank look that was created on this install.


I'm getting the same error and I don't understand what your ps: means.

#6 Adriano Faria

Adriano Faria

    ...a curious guy...

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,268 posts
  • Location:Brazil
  • Real Name:Adriano
  • IPB Version:v3.3.x
Contributor

Posted 20 November 2009 - 01:32 PM

On Manage Hooks, you'll see a blank line as first installed hook. Uninstall it.

#7 ItsMikey

ItsMikey

    Novice

  • Members
  • PipPip
  • 5 posts
  • Location:Chicago, Illinois USA
  • Real Name:Michael
  • IPB Version:v3.1.x

Posted 20 November 2009 - 03:08 PM

View PostSOSInvision, on Nov 20 2009, 07:32 AM, said:

On Manage Hooks, you'll see a blank line as first installed hook. Uninstall it.

I'm sorry to be such a pain, but there isn't a blank line.

#8 Adriano Faria

Adriano Faria

    ...a curious guy...

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,268 posts
  • Location:Brazil
  • Real Name:Adriano
  • IPB Version:v3.3.x
Contributor

Posted 20 November 2009 - 04:02 PM

So there's nothing to do. ;)

When you try to install a hook and some error occours, it adds a blank line there... if there's no blank line, no problem.

#9 ItsMikey

ItsMikey

    Novice

  • Members
  • PipPip
  • 5 posts
  • Location:Chicago, Illinois USA
  • Real Name:Michael
  • IPB Version:v3.1.x

Posted 20 November 2009 - 09:48 PM

View PostSOSInvision, on Nov 20 2009, 10:02 AM, said:

So there's nothing to do. :)

When you try to install a hook and some error occours, it adds a blank line there... if there's no blank line, no problem.

So I should expect to see the error?  I'm so confused. ;)

#10 jackfrost

jackfrost

    n00b

  • Members
  • Pip
  • 1 posts
  • IPB Version:v2.3.x

Posted 07 January 2010 - 04:58 AM

Cool Mod.

I do have a question though. I would like to add all the user's custom data to the post. For instance, I have 3 variables that have to be created when you apply on the boards. I would like to put this information in the post, but I can't remember the commands for fetching the custom profile data.

A note to the people with the XML Load error. I opened the XML file in notepad and deleted part of line 129 and it worked great.

Find:
<conf_description><![CDATA[Conteúdo do tópico.<br /> {usuario} = Member's Name<br />{datahora} Date/Time Of Registration<br />{forum} it's your board name.<br />{plink} profile link]]></conf_description>

Replace with:
<conf_description></conf_description>

I remember having this problem with an old 2.0.x board. For some reason, the parser was getting over loaded.

Anyway, thanks for the mod.

Edited by jackfrost, 07 January 2010 - 06:18 AM.


#11 BrianABE

BrianABE

    n00b

  • Members
  • Pip
  • 2 posts
  • Real Name:Brian
  • IPB Version:v3.0.x

Posted 27 January 2010 - 04:13 PM

SOSInvision,

I've installed the file per your directions and it left a blank hook name, which I deleted per your post above ( http://www.invisionm...s...st&p=182674 )

I've also edited all the code, but when I login to the ACP your directions say to go to "System tab -> System Settings -> Hooks. You'll see (SOS30) Auto-Topic Upon New Registration v1.0.0. Configure the hook as you wish."

I do not see a 'hooks' tab or subcat to edit anything. I registered a dummy name to see if the mod worked but it did not; because I assume I would need to edit the hook first but in this case I do not see 'hooks' in the System tab -> System Settings.

Any advice?

#12 Mr Legacy

Mr Legacy

    Member

  • Members
  • PipPipPip
  • 32 posts
  • Real Name:Triston
  • IPB Version:v3.0.x

Posted 14 March 2010 - 12:36 AM

View Postjackfrost, on Jan 6 2010, 11:58 PM, said:

Cool Mod.

I do have a question though. I would like to add all the user's custom data to the post. For instance, I have 3 variables that have to be created when you apply on the boards. I would like to put this information in the post, but I can't remember the commands for fetching the custom profile data.

A note to the people with the XML Load error. I opened the XML file in notepad and deleted part of line 129 and it worked great.

Find:
<conf_description><![CDATA[Conteúdo do tópico.<br /> {usuario} = Member's Name<br />{datahora} Date/Time Of Registration<br />{forum} it's your board name.<br />{plink} profile link]]></conf_description>

Replace with:
<conf_description></conf_description>

I remember having this problem with an old 2.0.x board. For some reason, the parser was getting over loaded.

Anyway, thanks for the mod.

Works great thanks for the info ill be sure to spread the word on this edit ;), awesome mod as always sos love your work =)

Edited by Mr Legacy, 14 March 2010 - 12:37 AM.


#13 ttfansite

ttfansite

    n00b

  • Banned
  • Pip
  • 4 posts
  • IPB Version:v3.0.x

Posted 03 April 2010 - 07:42 PM

sorry for the stupid question, but is this works on  ipb 3.x?

#14 Adriano Faria

Adriano Faria

    ...a curious guy...

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,268 posts
  • Location:Brazil
  • Real Name:Adriano
  • IPB Version:v3.3.x
Contributor

Posted 03 April 2010 - 07:49 PM

View Postttfansite, on Apr 3 2010, 04:42 PM, said:

sorry for the stupid question, but is this works on  ipb 3.x?
Yeap:

View PostSOSInvision, on Nov 6 2009, 09:23 PM, said:

File  Category: IP.Board v3.0.x Mods


#15 ttfansite

ttfansite

    n00b

  • Banned
  • Pip
  • 4 posts
  • IPB Version:v3.0.x

Posted 03 April 2010 - 07:57 PM

Fast reply, Thanks

Well i just imported the xml file, i got this :

Warning: DOMDocument::loadXML() [domdocument.loadxml]: Input is not proper UTF-8, indicate encoding ! Bytes: 0xFA 0x64 0x6F 0x20 in Entity, line: 129 in /home/.right/verser233/xxxxxxxxxxxxx.com/ips_kernel/classXML.php on line 353

I deleted the empty line from manage hooks...........what can i do?

#16 Adriano Faria

Adriano Faria

    ...a curious guy...

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,268 posts
  • Location:Brazil
  • Real Name:Adriano
  • IPB Version:v3.3.x
Contributor

Posted 03 April 2010 - 10:33 PM

Sorry... file reuploaded with this fixed.

#17 jaycee

jaycee

    n00b

  • Members
  • Pip
  • 3 posts
  • IPB Version:v3.0.x

Posted 04 April 2010 - 05:54 AM

I've got the same error, but thx for the update, it works now like a charm




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users