a bit brainstorming...
 
Notifications
Clear all

a bit brainstorming about author vs users

9 Posts
3 Users
0 Likes
322 Views
(@jimmi)
Posts: 39
Trusted Member
Topic starter
 

Hi,

I know that this is about the custom version of the efiction script but I hit my brain wall and I need some help.  

I have already a working version, efiction is mostly separated, and for admins everything works.   Before continuing I need to solve authors vs users data.

In efiction, you have authors table and authors are members with at least one story.  In e107+efiction version I have separated users (members) and authors tables. 

Users can log in site, classic member accounts. The author is just a member who wants to add a story.   

The easiest version is:

-  each user has one author account, generated in the background. Then I can leave efiction functionality without changes (except updating code). 

The better version:

- member asks for an author account, the member can review, pass by age consent etc, only if they have a connected author account, they can add stories etc.

This way I can rid author custom fields (e107 has really advanced solution for this) because those fields are about member information. 

This way I can rid some author preferences fields - from my check only validated + stories are related to the authors themselves.  Others are related to users.  

I originally tried to avoid changing efiction tables - to wait for some update - but writing this here helps me to sort things a bit.

Is there anything I should know about author accounts before I make the decision on what to do? - I don't know - some troubles, why authors are the same as members etc... anything helps.

Site - still under development - is https://www.hpfanfiction.cz/ , if you want to look.

Thanks

 
Posted : 12/06/2023 6:00 am
Nadia
(@nadia)
Posts: 255
Reputable Member
 

Love your layout a lot! Looks very modern. <3

My Hub TrekNation | World of X | Arda Fanfiction

 
Posted : 10/08/2023 7:37 am
(@jimmi)
Posts: 39
Trusted Member
Topic starter
 

@nadia Thank you, it means a lot for me from you. 

It takes long time because I am trying to update efiction script too to have it independent on e107 as long it can be. But some changes need to be done - like date format to unix and so.  2 steps forward, one step back. But I have admin of authors done in new enviroment (efiction way still work too). 

I attached screenshot of authors management.  I still hope in new version of efiction script to save my time and this is just some alternative plan. 

 

   

 

 

 

 

 

 
Posted : 10/08/2023 9:51 am
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

What language is your site in?

I'm not sure why you would want to separate authors and nonauthors in your database. You can filter through them in the website. And any user can eventually become an author later on.

Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 21/08/2023 12:44 am
(@jimmi)
Posts: 39
Trusted Member
Topic starter
 

Posted by: @jan_aq

What language is your site in?

Czech and Slovak, it is a mix of 2 languages. 

 

Posted by: @jan_aq

What language is your site in?

I'm not sure why you would want to separate authors and nonauthors in your database. You can filter through them in the website. And any user can eventually become an author later on.

e107 CMS has its own user system.  So the user would log in with this CMS and I needed to add the author to this user.   And we have authors without user accounts, so they are not users. Only authors in efiction meaning.

I had to decide where to put the connection - add the author ID to the user extended table or the user ID to the author table. Yes, the functionality you mentioned is still there.  

99% stories you can see were imported and they are just links to other archives. But those archives are dead now (because webhosting service they used) and I need to find a way how to save those stories.

Originally I was waiting for new efiction version. But when nothing was fixed, nor bugs I had reported, I decided to use e107 and step-by-step move efiction functionality as e107 plugins.  At least I am getting familiar with the efiction script.   Because I haven't touched the efiction database (except for date fields) so I can still use the new efiction version if it would be there.  

 

 

 

 

 
Posted : 21/08/2023 3:04 am
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

Did you look at the bridges folder?

This post was modified 6 months ago by Jan_AQ

Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 21/08/2023 3:46 am
(@jimmi)
Posts: 39
Trusted Member
Topic starter
 

Posted by: @jan_aq

Did you look at the bridges folder?

Yes, it was the first step maybe 2 years ago.  Now e107 bridge is not anymore in the pack although I updated it for e107 2.  e107 itself has alt auth plugin too - you can use login from efiction tables. That was the second step 🙂

But the efiction code is outdated, email sending, sessions, cookies...  and missing functionality like the forum, pretty URLs and so... It could be risky to use efiction code anymore.  

At first, I used e107 more like a framework (you put it in the subfolder and replace the old code of efiction with the new one from e107), but it is too much for one man without any feedback or support. On that site is efiction in subfolder.  

 

 

 

 

 
Posted : 21/08/2023 5:05 am
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

Yeah, eFiction needs to be updated. ???? 

Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 31/08/2023 9:47 am
(@jimmi)
Posts: 39
Trusted Member
Topic starter
 

Posted by: @jan_aq

Yeah, eFiction needs to be updated. ???? 

Hi, can you write me what are latest patches for 3.5.5?  You have written this in your signature. And what mods are tracker, story end, and word? 

Thank you.  

PS. I got into the blind end. Too much work. 

 

 

 

 
Posted : 05/09/2023 9:44 am
Share: