Jump to content


- - - - -

(iNV23) Signature Limitation v1.1.0


  • Please log in to reply
159 replies to this topic

#41 Pete T

Pete T

    IP.Board Owner

  • Modders
  • PipPipPipPipPipPipPipPip
  • 1,031 posts
  • Location:Bristol, UK
  • Real Name:Pete Treanor
  • IPB Version:v3.3.x
Contributor

Posted 18 August 2008 - 06:41 PM

DrMac i have sent you PM as looked the mod and no bbcode been touched so need test with your bbcode see if find the problem.



**PLEASE NOTE THIS MOD WORKS SOON AS YOU HAVE INSTALLED MOD IF HAVE MEMBERS WITH SIGNATURE IN YOU HAVE TO REDO THEM**

Posted Image

Coming Soon


Motorhome Today


#42 Pete T

Pete T

    IP.Board Owner

  • Modders
  • PipPipPipPipPipPipPipPip
  • 1,031 posts
  • Location:Bristol, UK
  • Real Name:Pete Treanor
  • IPB Version:v3.3.x
Contributor

Posted 19 August 2008 - 10:03 AM

The BBCode issue has now been fixed and 1.0.6 will be uploaded today this will fix that problem.

Posted Image

Coming Soon


Motorhome Today


#43 ShinAkuma

ShinAkuma

    Novice

  • Members
  • PipPip
  • 13 posts
  • Location:Russia, Moscow
  • Real Name:Shin Akuma
  • IPB Version:v2.3.x

Posted 19 August 2008 - 04:55 PM

Thanks for mod! but i have error ;)
Fatal error: Call to undefined function: check_sig() in /home/11111/public_html/sources/lib/func_usercp.php on line 1875

in this line

$this->ipsclass->input['Post']		  = $this->class->parser->bad_words( $this->class->parser->pre_db_parse( $this->ipsclass->input['Post'] ) );

Edited by ShinAkuma, 19 August 2008 - 04:55 PM.


#44 Pete T

Pete T

    IP.Board Owner

  • Modders
  • PipPipPipPipPipPipPipPip
  • 1,031 posts
  • Location:Bristol, UK
  • Real Name:Pete Treanor
  • IPB Version:v3.3.x
Contributor

Posted 19 August 2008 - 08:12 PM

The error have given looks like not done all func_usercp.php mod edit because you have

$this->ipsclass->input['Post']		  = $this->class->parser->bad_words( $this->class->parser->pre_db_parse( $this->ipsclass->input['Post'] ) );

that when should be

$this->ipsclass->input['Post']		  = $this->class->parser->bad_words( $this->class->parser->pre_display_parse( $this->class->parser->pre_db_parse( $this->ipsclass->input['Post'] ) ) );
that.

Posted Image

Coming Soon


Motorhome Today


#45 tutiname

tutiname

    Member

  • Members
  • PipPipPip
  • 23 posts
  • IPB Version:v2.3.x

Posted 19 August 2008 - 08:47 PM

I did editlemeleri but signature qualities are not working

Attached File  1.JPG   41.5K   0 downloads


Attached File  2.JPG   52.44K   0 downloads

E-Adalet Forum


Adalet Bakanlığının İlk ve Tek Forum Sitesi


Posted Image


#46 DrMac

DrMac

    Advanced Member

  • Banned
  • PipPipPipPip
  • 72 posts
  • Location:Massachusetts, USA
  • Real Name:Dr Macinyasha
  • IPB Version:v2.3.x

Posted 20 August 2008 - 03:46 AM

Just noticed something in the Upgrade readme... It says to have this in the fun_usercp.php:
		$this->ipsclass->input['Post']		  = $this->class->parser->bad_words( $this->class->parser- >pre_display_parse( $this->class->parser->pre_db_parse( $this->ipsclass->input['Post'] ) ) );

When it needs to be
		$this->ipsclass->input['Post']		  = $this->class->parser->bad_words( $this->class->parser->pre_display_parse( $this->class->parser->pre_db_parse( $this->ipsclass->input['Post'] ) ) );

The difference? A space between - and > in $this->class->parser- >pre_display_parse(

Oh, and custom BBCodes work now. Huzzah!

Edited by DrMac, 20 August 2008 - 03:46 AM.

Posted Image
Posted Image
If I have helped you at all, please download this file as a free user:
http://rapidshare.co...ou.11.21.08.rar

#47 Pete T

Pete T

    IP.Board Owner

  • Modders
  • PipPipPipPipPipPipPipPip
  • 1,031 posts
  • Location:Bristol, UK
  • Real Name:Pete Treanor
  • IPB Version:v3.3.x
Contributor

Posted 20 August 2008 - 09:52 AM

tutiname :: make sure you run the xml file in umi and also the mods edits done all right as i tested mod and works prefect.

DrMac :: the upgrade readme really is same format because lost 1.0.5 bit so yes it 100% same but when change it the bbcode code works as said ;)

Posted Image

Coming Soon


Motorhome Today


#48 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 20 August 2008 - 11:00 AM

PeteT: What DrMac is saying, is that you have a space between '-' and '>' in the Upgrade_Install.html.

#49 ShinAkuma

ShinAkuma

    Novice

  • Members
  • PipPip
  • 13 posts
  • Location:Russia, Moscow
  • Real Name:Shin Akuma
  • IPB Version:v2.3.x

Posted 20 August 2008 - 12:03 PM

View PostPeteT, on Aug 20 2008, 12:12 AM, said:

The error have given looks like not done all func_usercp.php mod edit because you have

$this->ipsclass->input['Post']		  = $this->class->parser->bad_words( $this->class->parser->pre_db_parse( $this->ipsclass->input['Post'] ) );

that when should be

$this->ipsclass->input['Post']		  = $this->class->parser->bad_words( $this->class->parser->pre_display_parse( $this->class->parser->pre_db_parse( $this->ipsclass->input['Post'] ) ) );
that.

tnx!  ;)

#50 Evostance

Evostance

    Novice

  • Banned
  • PipPip
  • 17 posts
  • Real Name:Daave
  • IPB Version:v2.3.x

Posted 20 August 2008 - 08:10 PM

When clicking on User Control Panel via the member bar I get the error


Quote

Parse error: syntax error, unexpected '>' in /home/content/t/f/d/tfdroot/html/forums/sources/lib/func_usercp.php on line 1825


Line 1825 is

$this->ipsclass->input['Post']		  = $this->class->parser->bad_words( $this->class->parser- >pre_display_parse( $this->class->parser->pre_db_parse( $this->ipsclass->input['Post'] ) ) );


#51 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 20 August 2008 - 10:17 PM

Remove the space in "$this->class->parser- >pre_display_parse".

#52 Evostance

Evostance

    Novice

  • Banned
  • PipPip
  • 17 posts
  • Real Name:Daave
  • IPB Version:v2.3.x

Posted 20 August 2008 - 11:32 PM

Brilliant. Thanks  ;)

#53 ivf

ivf

    Member

  • Members
  • PipPipPip
  • 22 posts
  • Real Name:Rick
  • IPB Version:v3.0.x

Posted 23 August 2008 - 06:41 AM

I'm still having a helluva problem with this mod. Can someone explain how this mod is installed. It was originally using the bot editor or whatever it is, now the mod installer, and I get syntax errors trying to upgrade or uninstall.

#54 Pete T

Pete T

    IP.Board Owner

  • Modders
  • PipPipPipPipPipPipPipPip
  • 1,031 posts
  • Location:Bristol, UK
  • Real Name:Pete Treanor
  • IPB Version:v3.3.x
Contributor

Posted 23 August 2008 - 09:56 AM

ivf it did once use the Bot Editor yes but that was removed due to people could not understand that Bot Editor was another mod. What the error you having when using UMI to install this mod ?

Posted Image

Coming Soon


Motorhome Today


#55 Gaz

Gaz

    Some fear, all respect.

  • IM Supporters
  • PipPipPipPipPipPip
  • 331 posts
  • Location:England
  • IPB Version:v2.3.x

Posted 23 August 2008 - 12:16 PM

Pete, you need to update the install.html instructions on func_usercp.php

It needs to be changed to:

Quote

# Check signature
        if ($this->ipsclass->vars['sl_enable'] && ! empty($this->ipsclass->input['Post']))
        {
            $do_check = ($this->ipsclass->vars['sl_scope'] && preg_match("/(^|,)".$this->ipsclass->member['mgroup']."(,|$)/", $this->ipsclass->vars['sl_scope'])) ? 0 : 1;
            if ($do_check) $this->check_sig($this->ipsclass->input['Post']);
        }
        
        //-----------------------------------------
        // Parse post
        //-----------------------------------------
        
        $this->class->parser->parse_smilies     = 0;
        $this->class->parser->parse_html        = intval($this->ipsclass->vars['sig_allow_html']);
        $this->class->parser->parse_bbcode      = intval($this->ipsclass->vars['sig_allow_ibc']);
        $this->class->parser->parsing_signature = 1;

        $this->ipsclass->input['Post']          = $this->class->parser->bad_words( $this->class->parser->pre_db_parse( $this->ipsclass->input['Post'] ) );
        
        if ($this->class->parser->error != "")
        {
            $this->ipsclass->Error( array( 'LEVEL' => 1, 'MSG' => $this->class->parser->error) );
        }
        
        # Allow links in signatures?
        if (isset($do_check) && $do_check && ! $this->ipsclass->vars['sl_links'])
        {
            $this->ipsclass->input['Post'] = preg_replace("#<a href=[\"'](https?://|ftps?://|news://)?(\S+?)['\"].+?".">(.+?)</a>#", "_\\3", $this->ipsclass->input['Post']);
        }

The one you gave an error. ;)

Note: The Above Quote Is The Fixed Code. :)

Edited by Gaz, 23 August 2008 - 12:17 PM.

Please use the forums for support, I DO NOT give support through personal message.

#56 ivf

ivf

    Member

  • Members
  • PipPipPip
  • 22 posts
  • Real Name:Rick
  • IPB Version:v3.0.x

Posted 23 August 2008 - 02:15 PM

View PostPeteT, on Aug 23 2008, 05:56 AM, said:

ivf it did once use the Bot Editor yes but that was removed due to people could not understand that Bot Editor was another mod. What the error you having when using UMI to install this mod ?
Can you first explain to me the process for doing this so I don't re-upload a file that doesn't work and causes a syntax error that I can't remember off the top of my head?

Do I manually change the the func_usercp file and where do I find the one that is the correct one? There are a number of posts in here giving corrected file information. Which one is right?

After I upload it and the signature file do I then go into the admin panel UMI and "install" 1.0.6? Or is there supposed to be an "upgrade" process?

#57 Gaz

Gaz

    Some fear, all respect.

  • IM Supporters
  • PipPipPipPipPipPip
  • 331 posts
  • Location:England
  • IPB Version:v2.3.x

Posted 23 August 2008 - 02:54 PM

Ivf, take out everything you have done. Ok, now re-download this modification and follow the new instructions. All the file edits must be done manually, it doesn't take long and it works straight away. ;)
Please use the forums for support, I DO NOT give support through personal message.

#58 Pete T

Pete T

    IP.Board Owner

  • Modders
  • PipPipPipPipPipPipPipPip
  • 1,031 posts
  • Location:Bristol, UK
  • Real Name:Pete Treanor
  • IPB Version:v3.3.x
Contributor

Posted 23 August 2008 - 08:38 PM

Updated the read me with fix thanks.

Posted Image

Coming Soon


Motorhome Today


#59 ivf

ivf

    Member

  • Members
  • PipPipPip
  • 22 posts
  • Real Name:Rick
  • IPB Version:v3.0.x

Posted 23 August 2008 - 09:06 PM

I don't see any change to the instructions. The one I tried to install earlier is sitting in my UMI with an "unistall" option and nothing else. When I try to unistall it this happens:

Quote

Parse error: syntax error, unexpected T_STRING, expecting ')' in /home/ivfca/public_html/forums/cache/lang_cache/11/lang_error.php on line 341

If I need to delete 1.0.5 do I manually delete or just unistall it with UMI? If manually, what specifically am I deleting?

Do I manually edit the usercp file on the new 1.0.6 or does it automatically do it based on the signature file?

#60 Gaz

Gaz

    Some fear, all respect.

  • IM Supporters
  • PipPipPipPipPipPip
  • 331 posts
  • Location:England
  • IPB Version:v2.3.x

Posted 23 August 2008 - 09:34 PM

View Postivf, on Aug 23 2008, 10:06 PM, said:

I don't see any change to the instructions. The one I tried to install earlier is sitting in my UMI with an "unistall" option and nothing else. When I try to unistall it this happens:

Quote

Parse error: syntax error, unexpected T_STRING, expecting ')' in /home/ivfca/public_html/forums/cache/lang_cache/11/lang_error.php on line 341

If I need to delete 1.0.5 do I manually delete or just unistall it with UMI? If manually, what specifically am I deleting?

Do I manually edit the usercp file on the new 1.0.6 or does it automatically do it based on the signature file?
Ok, un-do any file edits you made before ever attempting to install this modification. Now uninstall the modification using the uninstall button on UMI. Now, re download the modification and do the file edits MANUALLY! Then re-install the modification, should work fine. ;)
Please use the forums for support, I DO NOT give support through personal message.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users