[SOLVED] Admin ente...
 
Notifications
Clear all

[SOLVED] Admin entered Multi-chapter fics

4 Posts
2 Users
0 Reactions
1,790 Views
(@lyssa)
Posts: 34
Eminent Member
Topic starter
 

I am working on transferring a large archive into three efiction archives sharing one author table and one news table. It's installed fine, and I have begun entering stories as the admin for all of the authors, usng admin created accounts.

I'm not having any problem, except for occasionally forgetting to skip over the co-authors table. Except, I just attempted to enter my first multichaptered fic, and I can't figure out how. There isn't an admin option for adding a new chapter, and I'd imagine that would get bulky if there was, so I went to the story listing, clicked on the admin link to edit the story and then add new chapter. Except when I got there, my name was the only author's name available - not the author of the story.

I'm not sure what to do now.


 
Posted : 12/01/2007 6:53 pm
(@tammy)
Posts: 2577
Member Moderator
 

It's a bug in the bridging functions.  I'm going to have to look into a fix.

ETA: Manual fix for now.  Open includes/storyform.php and replace line 98 with the following:


$authorquery = dbquery("SELECT "._PENNAMEFIELD." as penname, "._UIDFIELD." as uid FROM "._AUTHORTABLE." ORDER BY "._PENNAMEFIELD);

The first part will be the same "$authorquery = dbquery(...." 


 
Posted : 12/01/2007 7:35 pm
(@lyssa)
Posts: 34
Eminent Member
Topic starter
 

Actually, looking at the query, the problem may be on my end.

I am running a combined authors table for three archives, so ".$tableprefix."fanfiction_authors
should be
"SITEAPREFIXfanfiction_authors
everywhere on the site, right? I only made the changes in <a href="" https://efiction.org/forums/index.php?topic=3286.0">thi s" post</a>, I think.

I'll check the rest of the scripts and see if there are any other instances...


 
Posted : 12/01/2007 10:47 pm
(@lyssa)
Posts: 34
Eminent Member
Topic starter
 

Nevermind, that's what the code you gave me does, refers back to the change I made in the _AUTHORTABLE variable... making the change now.

Thank you.


 
Posted : 12/01/2007 10:50 pm
Share: