 | [Solved]Retroactive Signature 1.0.2 |  |
Posted: 08/21/2007 7:38 PM |
|
|
|
|
|
| Citation |
| Posts |
487 |
| Word Cnt. |
35,729 |
| BDay |
Oct 3 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Oct 29, 2006
Local time: 6:01 AM
Location: Klang, Malaysia
|

|
|
|
|
 |
OK, i has success to install this MOD, but i feel it is not working ~~
Issit this MOD can attach my signature on my all post included the old post?
I has click the function on my profiles :
Check here to attach your signature to your previous posts as well
But it not working. How to solved this problem? |
|
Last edited by masteranu84 on 08/23/2007 5:36 AM; edited 1 time in total |
|
 |
 |
| Back to Top |
|
|
 | Re: Retroactive Signature 1.0.2 |  |
Posted: 08/22/2007 5:21 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 2:01 AM
Location: St Pete, FL
|

|
|
|
|
 |
Since all the files in the MOD script's OPEN commands begin with a /, none of the MOD code was added to your files. So Restore the EM Backups and remove the / from the front of every OPEN file in the MOD script. Then reinstall the MOD...
This is an example of what needs to be done to each of the OPEN commands:
OPEN
retro_sig_install_102.txt
FIND
| Code:
|
#
#-----[ OPEN ]--------------------------------------------
#
/includes/usercp_register.php
|
REPLACE WITH
| Code:
|
#
#-----[ OPEN ]--------------------------------------------
#
includes/usercp_register.php
|
You must do the same to all the other file OPENs too...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Retroactive Signature 1.0.2 |  |
Posted: 08/22/2007 6:15 PM |
|
|
|
|
|
| Citation |
| Posts |
487 |
| Word Cnt. |
35,729 |
| BDay |
Oct 3 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Oct 29, 2006
Local time: 6:01 AM
Location: Klang, Malaysia
|

|
|
|
|
 |
| ok, i has do it already..but the function still no working.. |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Retroactive Signature 1.0.2 |  |
Posted: 08/22/2007 10:41 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 2:01 AM
Location: St Pete, FL
|

|
|
|
|
 |
Yes, the MOD author made a mistake by placing the code only where it would work during registration, which doesn't make sense since you wouldn't have any old posts at that time. This is the mistake and how I corrected it...
OPEN
retro_sig_install_102.txt
FIND
| Code:
|
#
#-----[ FIND ]--------------------------------------------
#
# (around line 135)
#
if ( $mode == 'register' )
{
$attachsig = ( isset($HTTP_POST_VARS['attachsig']) ) ? ( ($HTTP_POST_VARS['attachsig']) ? TRUE : 0 ) : $board_config['allow_sig'];
#
#-----[ AFTER, ADD ]--------------------------------------
#
|
REPLACE WITH
| Code:
|
#
#-----[ FIND ]--------------------------------------------
#
# (around line 135)
#
if ( $mode == 'register' )
{
$attachsig = ( isset($HTTP_POST_VARS['attachsig']) ) ? ( ($HTTP_POST_VARS['attachsig']) ? TRUE : 0 ) : $board_config['allow_sig'];
#
#-----[ BEFORE, ADD ]--------------------------------------
#
|
By placing the new code before this if statement, it will now be able to set the flag to true or false regardless of whether the member is registering or updating their profile...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Retroactive Signature 1.0.2 |  |
Posted: 08/23/2007 5:35 AM |
|
|
|
|
|
| Citation |
| Posts |
487 |
| Word Cnt. |
35,729 |
| BDay |
Oct 3 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Oct 29, 2006
Local time: 6:01 AM
Location: Klang, Malaysia
|

|
|
|
|
 |
Thanks . it has working now~
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved]Retroactive Signature 1.0.2 |  |
Posted: 08/23/2007 2:57 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 2:01 AM
Location: St Pete, FL
|

|
|
|
|
 |
I believe this was the MOD where the MOD author stated that this was his first MOD. This was an easy mistake to make, so I can definitely understand how it happened. I've made the same type of mistake when offering suggestions. Luckily it wasn't hard to find and correct...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|