TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,991
  • Total Topics: 21,323
  • Online today: 545
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 241
  • Total: 242
  • @rjen

Number instead of Topic Name

Started by timothy082003, July 26, 2006, 06:40:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

timothy082003

Ok, I know very little about coding so here is the file. Could someone look at it and tell me if it modifies anything?

<?xml version="1.0" ?>
  <!DOCTYPE package-info (View Source for full doctype...)>
- <package-info xmlns="http://www.simplemachines.org/xml/package-info" xmlns:smf="http://www.simplemachines.org/">
  <name>Thank You Mod</name>
  <id>din1031:ThankYou</id>
  <type>modification</type>
  <version>1.03</version>
- <install for="1.0.5, 1.0.6, 1.0.7">
  <require-file name="thank_you.gif" destination="$themedir/images/english" />
  <require-file name="thank_you_add.gif" destination="$themedir/images/english" />
  <require-file name="thank_you_delete.gif" destination="$themedir/images/english" />
  <require-file name="thank_you_lock1.gif" destination="$themedir/images/english" />
  <require-file name="thank_you_lock2.gif" destination="$themedir/images/english" />
  <require-file name="ThankYou.php" destination="$sourcedir" />
  <require-file name="ThankYou.template.php" destination="$themedir" />
  <require-file name="ThankYou.english.php" destination="$languagedir" />
  <code type="file">install_1.x.x.php</code>
  <readme type="inline">THANK YOU MOD! for SMF 1.0.x</readme>
  <modification format="boardmod" type="file" reverse="false">ThankYou1.0.x.mod</modification>
  </install>
- <uninstall for="1.0.5, 1.0.6, 1.0.7">
  <remove-file name="$themedir/images/english/thank_you.gif" />
  <remove-file name="$themedir/images/english/thank_you_add.gif" />
  <remove-file name="$themedir/images/english/thank_you_delete.gif" />
  <remove-file name="$themedir/images/english/thank_you_lock1.gif" />
  <remove-file name="$themedir/images/english/thank_you_lock2.gif" />
  <remove-file name="$sourcedir/ThankYou.php" />
  <remove-file name="$themedir/ThankYou.template.php" />
  <remove-file name="$languagedir/ThankYou.english.php" />
  <modification format="boardmod" reverse="true" type="file">ThankYou1.0.x.mod</modification>
  </uninstall>
- <install for="1.1 RC2">
  <require-file name="thank_you.gif" destination="$themedir/images/english" />
  <require-file name="thank_you_b.gif" destination="$themedir/images/buttons" />
  <require-file name="thank_you_add.gif" destination="$themedir/images/english" />
  <require-file name="thank_you_delete.gif" destination="$themedir/images/english" />
  <require-file name="thank_you_lock1.gif" destination="$themedir/images/english" />
  <require-file name="thank_you_lock2.gif" destination="$themedir/images/english" />
  <require-file name="ThankYou.php" destination="$sourcedir" />
  <require-file name="ThankYou.template.php" destination="$themedir" />
  <require-file name="ThankYou.english.php" destination="$languagedir" />
  <code type="file">install_1.x.x.php</code>
  <readme type="inline">THANK YOU MOD! for SMF 1.1 RC2</readme>
  <modification format="boardmod" type="file" reverse="false">ThankYou1.1RC2.mod</modification>
  </install>
- <uninstall for="1.1 RC2">
  <remove-file name="$themedir/images/english/thank_you.gif" />
  <remove-file name="$themedir/images/buttons/thank_you_b.gif" />
  <remove-file name="$themedir/images/english/thank_you_add.gif" />
  <remove-file name="$themedir/images/english/thank_you_delete.gif" />
  <remove-file name="$themedir/images/english/thank_you_lock1.gif" />
  <remove-file name="$themedir/images/english/thank_you_lock2.gif" />
  <remove-file name="$sourcedir/ThankYou.php" />
  <remove-file name="$themedir/ThankYou.template.php" />
  <remove-file name="$languagedir/ThankYou.english.php" />
  <modification format="boardmod" reverse="true" type="file">ThankYou1.1RC2.mod</modification>
  </uninstall>
- <upgrade for="1.0.5, 1.0.6, 1.0.7" from="1.01">
  <code type="file">install_1.x.x.php</code>
  <readme type="inline">Upgrade to 1.03, This add the new automatic Thank You option to the Boards Settings. 1.0.x</readme>
  <modification format="boardmod" type="file" reverse="false">ThankYou1.0.x.Update.1.01to1.03.mod</modification>
  </upgrade>
- <upgrade for="1.1RC2" from="1.01">
  <code type="file">install_1.x.x.php</code>
  <readme type="inline">Upgrade to 1.03, This add the new automatic Thank You option to the Boards Settings. 1.1RC2</readme>
  <modification format="boardmod" type="file" reverse="false">ThankYou1.1RC2.Update.1.01to1.03.mod</modification>
  </upgrade>
  </package-info>

IchBin

Actually you may need to look for a different one or a .mod file. That file will have the instructions for the code changes in it.

timothy082003


bloc

It has indeed added a integer filed in the topics table, that might cause the trouble. But do you have the "ThankYou1.0.x.mod" file to look at? It will show what is changed in SMF files.

timothy082003

Here it is.

Just realized I didn't post the most important piece of information I am  running SMF 1.1RC2 with TP 0.86
Thanks for everyone's help by the way.

bloc

I am not seing any thing that stands out as wrong..but there were quite a few modifications so it might have slipped me. Anyways, the safest bet would be to upload all templates and Sources files, as well as forum/index.php and maybe apply the other mods again. Only this way you will be sure.

timothy082003

I uploaded all of the templates and sources and the problem has been fixed. Thanks to everyone that helped.

bloc


This website is proudly hosted on Crocweb Cloud Website Hosting.