(iNV23) Signature Limitation v1.1.0
Started by Pete T, May 30 2008 09:32 PM
159 replies to this topic
#41
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**
**PLEASE NOTE THIS MOD WORKS SOON AS YOU HAVE INSTALLED MOD IF HAVE MEMBERS WITH SIGNATURE IN YOU HAVE TO REDO THEM**
#42
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.
#43
Posted 19 August 2008 - 04:55 PM
Thanks for mod! but i have error 
in this line
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
Posted 19 August 2008 - 08:12 PM
The error have given looks like not done all func_usercp.php mod edit because you have
that when should be
$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.
#46
Posted 20 August 2008 - 03:46 AM
Just noticed something in the Upgrade readme... It says to have this in the fun_usercp.php:
When it needs to be
The difference? A space between - and > in $this->class->parser- >pre_display_parse(
Oh, and custom BBCodes work now. Huzzah!
$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.


If I have helped you at all, please download this file as a free user:
http://rapidshare.co...ou.11.21.08.rar
#47
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
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
#48
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.
My: Modifications · Tutorials · Twitter

#49
Posted 20 August 2008 - 12:03 PM
PeteT, 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
that when should be
$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
Posted 20 August 2008 - 08:10 PM
When clicking on User Control Panel via the member bar I get the error
Line 1825 is
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
Posted 20 August 2008 - 10:17 PM
Remove the space in "$this->class->parser- >pre_display_parse".
My: Modifications · Tutorials · Twitter

#52
Posted 20 August 2008 - 11:32 PM
Brilliant. Thanks
#53
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
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 ?
#55
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:
The one you gave an error.
Note: The Above Quote Is The Fixed Code.
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']);
}
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
Posted 23 August 2008 - 02:15 PM
PeteT, 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 ?
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
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.
#59
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:
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?
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
Posted 23 August 2008 - 09:34 PM
ivf, 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:
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?
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?
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





Contributor













