Author Topic: MTG bbc mod  (Read 2754 times)

0 Members and 1 Guest are viewing this topic.

Offline Test Administrator

  • This is my Custom Title
  • Administrator
  • Jr. Member
  • Posts: 91
  • Reputation: +41/-0
  • Gender: Male
  • This is my personal text
    • My Website (This one)
MTG bbc mod
« on: February 02, 2012, 07:05:22 PM »
the mod installs a file called "deck.php" in the forum root.  I would expect this file to be added to Sources instead...

Additionally, the text strings for deck, mana and card are not defined into the modifications.english.php file which causes the error log to load up with undefined index messages.
« Last Edit: February 08, 2012, 05:44:38 PM by Test Administrator »
no signature to see here... nope, not a thing...

Offline Test Administrator

  • This is my Custom Title
  • Administrator
  • Jr. Member
  • Posts: 91
  • Reputation: +41/-0
  • Gender: Male
  • This is my personal text
    • My Website (This one)
Re: MTG bbc mod
« Reply #1 on: February 08, 2012, 05:46:32 PM »
ok....  now, with some more testing:

Subs.php is throwing all sorts of undefined errors based around postid and deckid.
The following code is suspect.... because it seems that neither deckid nor postid ever actually gets set.



Code: [Select]
      if (isset($context['msgid'])) {
        $postid = $context['msgid'];
        $deckid = $context['deckid'];
      }
no signature to see here... nope, not a thing...