Advertisement:

Author Topic: Enhancement of the 'Reply To' Mod  (Read 19366 times)

Offline AtariKid

  • Jr. Member
  • **
  • Posts: 194
  • Gender: Male
Enhancement of the 'Reply To' Mod
« on: October 15, 2005, 03:10:14 AM »
Before doing anything, make a current backup.
| Note: This should have been posted in Tips and Tricks but I cannot post there. |

Original 'Reply To' Time Stamp:
«  on: Date, Time »

Modified 'Reply To' Time Stamp:
Date & Time » Post #101  Reply to:  Username, at Post #98.

Note: The Username & Post you are replying to is linked and first used on SMF 1.1 RC1.

After downloading and installing the Reply To Mod, and if you want to add this feature, here are some simple instructions.

1.) Log into your website's phpMyAdmin and select the database for your forum.
    Select your 'smf_messages' file. From here, you are going to "Propose table structure."
    You need to add "1" one field "After" 'body.'
    Name this field 'REF_ID' with the following selections:
    • Type: INT
    • Length/Values*: 10
    • Collation: (leave blank)
    • Attributes: UNSIGNED
    • Null: not null
    • Default**: 0
    • EXTRA: (leave blank)
    • | SAVE |

    2.) You will now need to modify three files: Sources/post.php; Sources/Subs-Post.php; and Themes/default/Display.template.php.
      To save you time of sifting through the code, I have attached my entire file below.
      Backup your files on your server first, then all you have to do is upload these to your server and overwrite the files you've backed up.

      • The attachments are for SMF 1.1 RC1 only.

      Enjoy!
« Last Edit: October 15, 2005, 03:15:44 AM by AtariKid »
Rawk on dude!
SMF 1.1 RC1 | MKP 1.1 Rc1

Offline AtariKid

  • Jr. Member
  • **
  • Posts: 194
  • Gender: Male
Re: Enhancement of the 'Reply To' Mod
« Reply #1 on: October 15, 2005, 03:12:28 AM »
Rawk on dude!
SMF 1.1 RC1 | MKP 1.1 Rc1

Offline RomanyX

  • Semi-Newbie
  • *
  • Posts: 23
Re: Enhancement of the 'Reply To' Mod
« Reply #2 on: January 16, 2006, 10:45:14 PM »
AtariKid, I like the enhancement, but I'm using 1.1 RC2. Would you please post the changes you made to the code, so that I can apply them to RC2? Thanks. :)

Offline AtariKid

  • Jr. Member
  • **
  • Posts: 194
  • Gender: Male
Re: Enhancement of the 'Reply To' Mod
« Reply #3 on: April 11, 2006, 12:46:09 AM »
Sorry, but we're still running 1.1 RC1.

If we upgrade, I'll update and post the changes here.
Rawk on dude!
SMF 1.1 RC1 | MKP 1.1 Rc1

Offline RomanyX

  • Semi-Newbie
  • *
  • Posts: 23
Re: Enhancement of the 'Reply To' Mod
« Reply #4 on: April 27, 2006, 02:57:48 AM »
Sorry, but we're still running 1.1 RC1.

If we upgrade, I'll update and post the changes here.

Yes, I understood that. But if you had replied with a list of what you changed in RC1, I could've adapted it to RC2.   It's a very nice enhancement, but it's not worth examining every detail of your RC1 files, trying to figure out how many changes you made. :P