TheNAF / naflm

NAFLM - NAF League Manager
Other
35 stars 34 forks source link

Unable to add a text message to frontpage #273

Closed SuneRadich closed 4 years ago

SuneRadich commented 4 years ago

I have just installed the latest NAF version of OBBLM on my website, and want to add a message on the frontpage. I have been using OBBLM several times, but it has been years since last time. I recall that league commissioners should have a link on the frontpage, with the option to add such messages.

I can also see in the code, that a form with the id 'msgnew' exists. But the link does not show for my user, eventhough I am global commissioner. If I edit the styling to force the form to show, and try to add a message via the form. The page reloads, but nothing else happens.

Has these messages been disabled in the NAF version? Or is there another way for me to add messages?

williamleonard commented 4 years ago

You have to run upgrade.php.


From: Sune Radich Vestergaard notifications@github.com Sent: Tuesday, May 12, 2020 3:35:42 PM To: TheNAF/naflm naflm@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [TheNAF/naflm] Unable to add a text message to frontpage (#273)

I have just installed the latest NAF version of OBBLM on my website, and want to add a message on the frontpage. I have been using OBBLM several times, but it has been years since last time. I recall that league commissioners should have a link on the frontpage, with the option to add such messages.

I can also see in the code, that a form with the id 'msgnew' exists. But the link does not show for my user, eventhough I am global commissioner. If I edit the styling to force the form to show, and try to add a message via the form. The page reloads, but nothing else happens.

Has these messages been disabled in the NAF version? Or is there another way for me to add messages?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/TheNAF/naflm/issues/273, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADGATDDUNFEKQJNSNWNWPUTRRGQI5ANCNFSM4M7DR6VQ.

SuneRadich commented 4 years ago

I cant find a file named upgrade.php not in the files I checked out from Github, or when I browse the repo here.

williamleonard commented 4 years ago

It is in the release zip:

https://github.com/TheNAF/naflm/releases

I don’t know the status of the master branch. I do know that your specific problem is fixed by running upgrade.php from the official release.

From: Sune Radich Vestergaardmailto:notifications@github.com Sent: Tuesday, May 12, 2020 4:35 PM To: TheNAF/naflmmailto:naflm@noreply.github.com Cc: williamleonardmailto:william.leonard@hotmail.com; Commentmailto:comment@noreply.github.com Subject: Re: [TheNAF/naflm] Unable to add a text message to frontpage (#273)

I cant find a file named upgrade.php not in the files I checked out from Github, or when I browse the repo here.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/TheNAF/naflm/issues/273#issuecomment-627579088, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADGATDGUDP5IZWSYSZ5IBEDRRGXJLANCNFSM4M7DR6VQ.

SuneRadich commented 4 years ago

Ah! Guess I was speeding a bit. I took it as the master branch was the latest. I solved the issue by

Now I can add news as expected, and everything else seems to be working - including the latest additions from the master branch.