Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
[Solved]Retroactive Signature 1.0.2
Post new topic   Reply to topic View previous topic :: View next topic
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
[Solved]Retroactive Signature 1.0.2
PostPosted: 08/21/2007 7:38 PM Reply with quote
Citation
masteranu84
Citation
Posts 487
Word Cnt. 35,729
BDay Oct 3
Sign Libra
Sex Sex:Male
Joined: Oct 29, 2006
Local time: 3:34 AM
Location: Klang, Malaysia
malaysiC.gif
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
View user's profile Find all posts by masteranu84 Send private message   Visit poster's website Yahoo Messenger MSN Messenger Phoogle Map
Re: Retroactive Signature 1.0.2
PostPosted: 08/22/2007 5:21 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 11:34 PM
Location: St Pete, FL
peace.gif
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...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Retroactive Signature 1.0.2
PostPosted: 08/22/2007 6:15 PM Reply with quote
Citation
masteranu84
Citation
Posts 487
Word Cnt. 35,729
BDay Oct 3
Sign Libra
Sex Sex:Male
Joined: Oct 29, 2006
Local time: 3:34 AM
Location: Klang, Malaysia
malaysiC.gif
ok, i has do it already..but the function still no working..
Back to Top
View user's profile Find all posts by masteranu84 Send private message   Visit poster's website Yahoo Messenger MSN Messenger Phoogle Map
Re: Retroactive Signature 1.0.2
PostPosted: 08/22/2007 10:41 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 11:34 PM
Location: St Pete, FL
peace.gif
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...

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Retroactive Signature 1.0.2
PostPosted: 08/23/2007 5:35 AM Reply with quote
Citation
masteranu84
Citation
Posts 487
Word Cnt. 35,729
BDay Oct 3
Sign Libra
Sex Sex:Male
Joined: Oct 29, 2006
Local time: 3:34 AM
Location: Klang, Malaysia
malaysiC.gif
Thanks . it has working now~
banana  headbang  blob8  banana  headbang  blob8
Back to Top
View user's profile Find all posts by masteranu84 Send private message   Visit poster's website Yahoo Messenger MSN Messenger Phoogle Map
Re: [Solved]Retroactive Signature 1.0.2
PostPosted: 08/23/2007 2:57 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 11:34 PM
Location: St Pete, FL
peace.gif
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...

banana
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
All times are GMT - 5 Hours

Page 1 of 1


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.1182s (PHP: 54% - SQL: 46%) - SQL queries: 45 - GZIP disabled - Debug on