Advertisement:

Author Topic: Additional Authors  (Read 11400 times)

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,533
  • Gender: Male
    • dragomano on GitHub
    • @dragomano on Twitter
    • Russian translations for SMF mods
Re: Additional Authors
« Reply #20 on: September 30, 2014, 06:04:58 PM »
Hardcoded text (install.xml):
Code: [Select]
<label for="addAuthors">Additional authors: <input type="text" name="addAuthors" id="addAuthors" class="input_text">

Offline NanoSector

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,499
  • Gender: Male
  • VC321xb47@aperture:~#
    • Yoshi2889 on GitHub
Re: Additional Authors
« Reply #21 on: October 01, 2014, 06:48:39 AM »
Ups, left over from my testing. I'll fix it later.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Offline Ninja ZX-10RR

  • SMF Hero
  • ******
  • Posts: 2,150
  • Gender: Male
  • Sniper Legends
    • Flavio93Zena on Facebook
    • Virtual Interactive Games Entertainment Forum
Re: Additional Authors
« Reply #22 on: October 01, 2014, 08:00:31 AM »
Nice catch though it didn't throw any errors so nothing too bad anyway :)
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.
♥ Jess ♥

STOP EDITING MY PROFILE

Offline Zennia

  • Semi-Newbie
  • *
  • Posts: 22
Re: Additional Authors
« Reply #23 on: July 23, 2016, 02:37:42 PM »
Link the to GitHub doesn't work. I'm having issues with this not working. Probably a conflict with other mods. Is this still supported or is there somewhere I can go for help with this?

Offline NanoSector

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,499
  • Gender: Male
  • VC321xb47@aperture:~#
    • Yoshi2889 on GitHub
Re: Additional Authors
« Reply #24 on: July 23, 2016, 04:01:40 PM »
Link the to GitHub doesn't work. I'm having issues with this not working. Probably a conflict with other mods. Is this still supported or is there somewhere I can go for help with this?
Hi Zennia, I've created the repository for the mod. Please let me know what issues you are having!
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Offline Zennia

  • Semi-Newbie
  • *
  • Posts: 22
Re: Additional Authors
« Reply #25 on: July 23, 2016, 04:26:46 PM »
thank you so much! I'll go over to Github then and let you know.

Offline Big Game

  • Semi-Newbie
  • *
  • Posts: 22
Re: Additional Authors
« Reply #26 on: August 21, 2016, 02:28:08 AM »
Anyway to give standard members the ability to use this also?

Offline Sigyn

  • Semi-Newbie
  • *
  • Posts: 91
  • Gender: Female
    • Dragon's Rise AU
Re: Additional Authors
« Reply #27 on: December 26, 2016, 12:58:49 PM »
I am using 2.0.12 forum version and I was attempting to add new authors to a post and it seems to not be working any longer. I had thought to uninstall the mod but several tests failed... I went into my FTP, found the files to edit and the areas it is missing aren't able to be found even for a manual uninstall.

I don't really want to get rid it; ideally I'd like for it to work again.

Here are the failed tests; two of them when I check to see what to remove are actually blank.

Code: (Find) [Select]
m.icon, m.approved,t.add_authors,

Code: (Replace) [Select]
m.icon, m.approved,

That line cannot be found in the file, the second two are blank and the third says
Code (find):
            'locked' => $topicOptions['lock_mode'] === null ? 'locked' : (int) $topicOptions['lock_mode'],
                                'add_authors' => $topicOptions['add_authors'] === null ? 'add_authors' : ('\'' . $topicOptions['add_authors'] . '\''),

Code (replace):
            'locked' => $topicOptions['lock_mode'] === null ? 'locked' : (int) $topicOptions['lock_mode'],

In the post.template but it's not there in the file requested either. Is there anything I can do to either fix this, or remove it?

Offline jack001

  • Jr. Member
  • **
  • Posts: 195
  • Gender: Male
  • Edutainment Forum
    • @edutain_forum on Twitter
    • EDUTAINMENT FORUM - Education with Entertainment
Re: Additional Authors
« Reply #28 on: June 27, 2018, 09:57:00 AM »
I have upgraded from smf 2.0.15 to 2.1 beta4 but whenever i am trying to post new or save draft i am getting below error.

Field 'add_authors' doesn't have a default value
File: /*..*/Sources/SplitTopics.php
Line: 646

Can someone help me with this? No mods are installed but in 2.0.15 additional authors was installed.
https://www.edutainmentforum.com Edutainment forum - Education with Entertainment!

Offline GigaWatt

  • The Smiley Guy
  • Support Specialist
  • SMF Hero
  • *
  • Posts: 2,104
  • Gender: Male
    • Macedonian electronics forum
Re: Additional Authors
« Reply #29 on: June 27, 2018, 04:46:49 PM »
You should have uninstalled the mod before you did the upgrade.

And 2.1 is still in beta, it's not recommended for a production site.

That being said, if you'd still like to use 2.1 beta, you'll have to do the upgrade procedure again, but without the mod. Upload the backup before the 2.1 upgrade along with the database. Uninstall the mod and delete the mod file, then do the upgrade again.
"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,379
    • StoryBB/StoryBB on GitHub
Re: Additional Authors
« Reply #30 on: June 27, 2018, 04:48:24 PM »
Uninstalling the mod would only be relevant if the option to remove all data was taken. As it turns out the person requesting help got help by me pointing out how to fix this without having to uninstall the mod by making the text column nullable so it wouldn't hurt anything else.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline GigaWatt

  • The Smiley Guy
  • Support Specialist
  • SMF Hero
  • *
  • Posts: 2,104
  • Gender: Male
    • Macedonian electronics forum
Re: Additional Authors
« Reply #31 on: June 27, 2018, 04:58:10 PM »
Uninstalling the mod would only be relevant if the option to remove all data was taken.

I didn't know how the mod was written... I hoped it did this (as you pointed out in some of your previous posts, pointing out HelpDesk as an example of how to do things right).

In any case, glad the problem is sorted ;).
"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."

Offline jack001

  • Jr. Member
  • **
  • Posts: 195
  • Gender: Male
  • Edutainment Forum
    • @edutain_forum on Twitter
    • EDUTAINMENT FORUM - Education with Entertainment
Re: Additional Authors
« Reply #32 on: June 27, 2018, 09:26:17 PM »
Uninstalling the mod would only be relevant if the option to remove all data was taken. As it turns out the person requesting help got help by me pointing out how to fix this without having to uninstall the mod by making the text column nullable so it wouldn't hurt anything else.
Thanks to @arantor his method worked.
https://www.edutainmentforum.com Edutainment forum - Education with Entertainment!