Advertisement:

Author Topic: Fanfics System  (Read 51628 times)

Offline Tokzu

  • Jr. Member
  • **
  • Posts: 282
  • Gender: Female
    • @Kaero_Webs on Twitter
    • Kaero Webs
Fanfics System
« on: September 19, 2013, 07:18:40 PM »
Link al mod

Fanfics System v1.3
by Kaero Webs

Demo || Support Forum || Online Manual || Changelog




Description
Fanfics System (or FFSystem) is a modification that adds a fanfiction (fictional stories written by fans) publishing system for Simple Machines Forum (or SMF).



Compatibility
FFSystem is compatible with SMF 2.0.X, any previous version is not supported.



Languages
  • English
  • English-utf8
  • Spanish
  • Spanish-utf8
  • Spanish_latin
  • Spanish_latin-utf8



Features
  • Use of integration hooks.
  • Permissions for usergroups: view fanfics, add fanfics, delete fanfics, fanfics are auto-approved, vote fanfics, admin fanfics.
  • Statistics (number of stories, chapters and authors).
  • Organization by categories and ratings.
  • Search system.
  • Use of BBC: Stories can be written using BBC for the convenience of those not familiar with HTML.
  • Ratings have age consent.
  • Views count.
  • Voting system: "Like".
  • Topic of discussion: link to the story's topic of discussion within the forum.
  • Chapters index.
  • Reading modes: individual chapter and all chapters.
  • Disclaimer: at the end of the stories appears a disclaimer.
  • Maintenance: the fanfics statistics are recounted.
  • If an user is deleted, their stories submitted are deleted too.



Need more features? Try Fanfics System Pro.



Installation Instructions
Any earlier version of FFSystem you have installed must be uninstalled first.



Another Libraries
Fanfics System works using:



Changelog v1.3 (30/07/2014)
Legend: !Bugfix +New -Removed *Modified
Code: [Select]
! Fixed problem with the uninstaller don't deleting the FanficsBasic.php file.
+ Added in the "About" page information about the last version of FFSystem and online manual info.





« Last Edit: December 30, 2014, 03:31:31 AM by Tokzu »
"I don't need a knight in a shinny armor, I need a angel in a trench coat"

My mods:

Online Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 57,335
  • Gender: Male
    • Kindred-999 on GitHub
Re: Fanfics System
« Reply #1 on: September 19, 2013, 07:31:32 PM »
Hi!


I have been waiting with bated breath for this mod to get approved. :)
I used to have a bridge to a story system... unfortunately, the bridge died with the smf upgrade and the system is now dead -- so this is awesome.

Unfortunately.... on the first install, I created a single category and then went to the fanfic menu item
http://www.askawitchcommunity.org/index.php?action=fanfics
at which point I get....
Code: [Select]
Parse error: syntax error, unexpected T_VARIABLE in /........./Sources/Fanfics.php on line 1699
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 Burke ♞ Knight

  • SMF Hero
  • ******
  • Posts: 3,534
Re: Fanfics System
« Reply #2 on: September 19, 2013, 07:37:36 PM »
Kindred, somehow, the www got doubled.
Look at the error on the site.

Online Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 57,335
  • Gender: Male
    • Kindred-999 on GitHub
Re: Fanfics System
« Reply #3 on: September 19, 2013, 08:30:00 PM »
nope.... the www/www is actually the correct path for my server

also getting this error in the admin
Code: [Select]
http://www.askawitchcommunity.org/index.php?action=admin;area=fanficsadmin
8: Undefined variable: context
File: /home/askawitch/www/www/Themes/default/FanficsAdmin.template.php
Line: 13


Found the problem in fanfics.php

Code: [Select]
  if (isset($_REQUEST['chapter']))
    $context['ff_chapter'] = $_REQUEST['chapter'];
  elseif (isset($_REQUEST['index'])
    $context['ff_index'] = 'index';
is missing a closing parens on line 1698
the line should be
Code: [Select]
  if (isset($_REQUEST['chapter']))
    $context['ff_chapter'] = $_REQUEST['chapter'];
  elseif (isset($_REQUEST['index']))
    $context['ff_index'] = 'index';
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 Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 69,591
    • StoryBB/StoryBB on GitHub
Re: Fanfics System
« Reply #4 on: September 19, 2013, 08:31:26 PM »
How did a mod get approved with physical parse errors in the files? That sounds like it wasn't even tested :/
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.

Online Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 57,335
  • Gender: Male
    • Kindred-999 on GitHub
Re: Fanfics System
« Reply #5 on: September 19, 2013, 08:39:23 PM »
not sure ---   there was a last minute update just before (or maybe just after) approval...
Looking at the mod review thread in the customization team board, it looks like it was reviewed pretty heavily. They had coding suggestions, reviews and back and forth on some coding choices...

So, I am not sure what happened... but there is definitely a bug in the current release on the mod site (fix above)

also, the undefined index error apparently only appears if you have no categories created...  once I created a category, I can't replicate the error log entry.
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 Tokzu

  • Jr. Member
  • **
  • Posts: 282
  • Gender: Female
    • @Kaero_Webs on Twitter
    • Kaero Webs
Re: Fanfics System
« Reply #6 on: September 19, 2013, 10:02:15 PM »
The mod just needed to have a copyright text in the code so it was approved and the errors were a last minute update.

I've correct this.
"I don't need a knight in a shinny armor, I need a angel in a trench coat"

My mods:

Offline 4Kstore

  • SMF Hero
  • ******
  • Posts: 4,314
  • Gender: Male
    • agustintari on Facebook
    • @agustintarifa on Twitter
    • SSIMPLE TEAM PAGE
Re: Fanfics System
« Reply #7 on: September 19, 2013, 10:49:03 PM »
Good job Tokzu, thanks for share your work.
¡¡NEW MOD: Sparkles User Names!!!

TheListener

  • Guest
Re: Fanfics System v1.1
« Reply #8 on: September 23, 2013, 01:32:45 PM »
The mod installed with no problems.

However I have encountered a 501 error when looking at the mod.

How would I correct this as I like others have been watching the progress with anticipation.

Online Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 57,335
  • Gender: Male
    • Kindred-999 on GitHub
Re: Fanfics System v1.1
« Reply #9 on: September 23, 2013, 01:39:32 PM »
A 501 is: The Web server (running the Web site) does not understand or does not support the HTTP method it finds in the HTTP data stream sent to it by the client
http://www.checkupdown.com/status/E501.html

I installed with only the initial errors I noted and it works correctly - which suggests that there may be some issue with your server sending the data (?)
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

TheListener

  • Guest
Re: Fanfics System v1.1
« Reply #10 on: September 23, 2013, 01:47:49 PM »
So it would be host side then Kindred?

Online Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 57,335
  • Gender: Male
    • Kindred-999 on GitHub
Re: Fanfics System v1.1
« Reply #11 on: September 23, 2013, 01:50:07 PM »
It seems that it is something you should ask your host about... yup. :)

however, reading through that  link that I included, there is a possibility that Tokzu's recent fix intoduced some other errors which kill the POST or GET routine somehow...
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 Tokzu

  • Jr. Member
  • **
  • Posts: 282
  • Gender: Female
    • @Kaero_Webs on Twitter
    • Kaero Webs
Re: Fanfics System v1.1
« Reply #12 on: September 23, 2013, 02:40:04 PM »
The changes should not generate that error, since the changes were a missing global variable, a parenthesis missing and an error in an SQL query. Exactly when this error is generated? When you go to the fanfics administration, to the main page of the fanfics, when you add a story?
"I don't need a knight in a shinny armor, I need a angel in a trench coat"

My mods:

Offline Draffi

  • Jr. Member
  • **
  • Posts: 268
Re: Fanfics System v1.1
« Reply #13 on: September 23, 2013, 06:02:28 PM »
Looks like a great Mod.

Can i enter Pictures inside?

And (sorry for this), can i use this nice piece of coding stuff for an Artikel-System/Knowledge-System, also?

Online Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 57,335
  • Gender: Male
    • Kindred-999 on GitHub
Re: Fanfics System v1.1
« Reply #14 on: September 23, 2013, 07:55:10 PM »
Draffi,

This is not a knowledge base or article system...  it's intended as a writing utility.

Since there are alreayd 3 FAQ/KB/Article systems, I would suggest using THOSE for their intended purpose and this for its purpose - since there is no need to do so, don't try to squeeze one into the other.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

TheListener

  • Guest
Re: Fanfics System v1.1
« Reply #15 on: September 25, 2013, 05:16:30 PM »
The error 501 appears when I go to click on the example.

This I presume is because the example does not exist (or does it?)

Also when I go into the menu the category also takes me to the 501 error.


Offline Tokzu

  • Jr. Member
  • **
  • Posts: 282
  • Gender: Female
    • @Kaero_Webs on Twitter
    • Kaero Webs
Re: Fanfics System v1.1
« Reply #16 on: September 25, 2013, 11:36:47 PM »
When you click on the example? What example are you talking about?
"I don't need a knight in a shinny armor, I need a angel in a trench coat"

My mods:

TheListener

  • Guest
Re: Fanfics System v1.1
« Reply #17 on: September 26, 2013, 03:16:58 PM »
Fanfics > My Fanfics > Story One

That example.

 ::)

Online Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 57,335
  • Gender: Male
    • Kindred-999 on GitHub
Re: Fanfics System v1.1
« Reply #18 on: September 26, 2013, 03:24:29 PM »
but where did that example come from?   There were no examples stories or categories installed when I installed the mod...
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

TheListener

  • Guest
Re: Fanfics System v1.1
« Reply #19 on: September 26, 2013, 03:25:56 PM »
but where did that example come from?

I have no idea.

I'll have another poke at it and se what happens.