Advertisement:

Author Topic: Redirected Boards in a new Tab [Now 2.0 Gold compatible !]  (Read 21111 times)

Offline The QE2 Story Forum

  • Charter Member
  • Jr. Member
  • *
  • Posts: 148
    • The QE2 Story
Re: Redirected Boards in a new Tab [Now 2.0 Gold compatible !]
« Reply #40 on: March 15, 2012, 07:24:04 AM »
Hello,

I'd find this mod very useful, however on my freshly upgraded 2.0.2 installation (which has no other problems) it gives lots of "test failed" and advises not to install it.  Screenshot attached for anyone that would find that useful.

Thanks,

- Rob

Offline Kermit

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,365
  • Gender: Male
My Mods
Please don't PM/mail me for support,unless i invite you
Formerly known as Duncan85
Quote
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

A. Einstein

Offline The QE2 Story Forum

  • Charter Member
  • Jr. Member
  • *
  • Posts: 148
    • The QE2 Story
Re: Redirected Boards in a new Tab [Now 2.0 Gold compatible !]
« Reply #42 on: March 15, 2012, 09:31:39 AM »
That works, thanks!!

Offline 19eighties

  • Semi-Newbie
  • *
  • Posts: 11
Re: Redirected Boards in a new Tab [Now 2.0 Gold compatible !]
« Reply #43 on: August 04, 2014, 01:08:56 PM »
I'm getting errors during the install on 2.0.8.

Offline The QE2 Story Forum

  • Charter Member
  • Jr. Member
  • *
  • Posts: 148
    • The QE2 Story
Re: Redirected Boards in a new Tab [Now 2.0 Gold compatible !]
« Reply #44 on: September 10, 2018, 02:08:01 PM »
Not had a problem with this mod previously, but now its giving the following error when I try to add a new board in SMF 2.0.15.

Database Error: Field 'redirect_new' doesn't have a default value
File: /home/theqesto/public_html/forum/Sources/Subs-Boards.php
Line: 785

I WOULDN'T RECOMMEND ANYONE INSTALL THIS ON SMF 2.0.x
« Last Edit: September 10, 2018, 02:26:27 PM by The QE2 Story Forum »

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 57,085
  • Gender: Male
    • Kindred-999 on GitHub
Re: Redirected Boards in a new Tab [Now 2.0 Gold compatible !]
« Reply #45 on: September 10, 2018, 02:32:53 PM »
Although the mod should set a default value (NULL), this is more due to your SERVER than to the mod...

1- have your host turn off STRICT mode for mySQL
or
2- Set the default value
ALTER TABLE smf_boards ALTER redirect_new  SET DEFAULT NULL;
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline The QE2 Story Forum

  • Charter Member
  • Jr. Member
  • *
  • Posts: 148
    • The QE2 Story
Re: Redirected Boards in a new Tab [Now 2.0 Gold compatible !]
« Reply #46 on: September 10, 2018, 02:45:07 PM »
Although the mod should set a default value (NULL), this is more due to your SERVER than to the mod...

1- have your host turn off STRICT mode for mySQL
or
2- Set the default value
ALTER TABLE smf_boards ALTER redirect_new  SET DEFAULT NULL;

Thanks, I tried that and it has allowed me to add boards again.

The other big issue I've got, is that if I try to uninstall the mod, I get lots of complicated errors - it behaves unlike any other mod I've experienced, leading me to believe its just become really out of date as SMF has been updated over the years.
« Last Edit: September 10, 2018, 02:58:02 PM by The QE2 Story Forum »

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 57,085
  • Gender: Male
    • Kindred-999 on GitHub
Re: Redirected Boards in a new Tab [Now 2.0 Gold compatible !]
« Reply #47 on: September 10, 2018, 03:03:30 PM »
nope....    you probably installed other mods which affected the code in and around this mod's code...

At it's core, this mod only has a small number of code changes.

8 files... but only one change set in each file.

So, you should be able to manually back out the changes by parsing the requested change and see what is causing the automatic uninstall to fail in the check. Then manually undoing the mod code...

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline The QE2 Story Forum

  • Charter Member
  • Jr. Member
  • *
  • Posts: 148
    • The QE2 Story
Re: Redirected Boards in a new Tab [Now 2.0 Gold compatible !]
« Reply #48 on: September 12, 2018, 02:14:39 PM »
Thanks for your help, I know how it works though, I've been using SMF for 15 years or something.

The code changes it shows bear no resemblance to the code on my site (the code that is different is the normal, standard SMF code within the PHP file).

Also, the Parsing on the Mod uninstall Page doesn't work right which I've not seen before.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 57,085
  • Gender: Male
    • Kindred-999 on GitHub
Re: Redirected Boards in a new Tab [Now 2.0 Gold compatible !]
« Reply #49 on: September 12, 2018, 02:19:43 PM »
that's the only way to uninstall the mod at this point - since something has changed your mod code such that the auto-parser doesn't get a match.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.