Advertisement:

Author Topic: Fanfics System  (Read 50831 times)

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 56,273
  • Gender: Male
    • Kindred-999 on GitHub
Re: Fanfics System v1.1
« Reply #20 on: September 26, 2013, 03:46:27 PM »
note:  on the create a story page, there is a field:d
Rating *
Ratings marked with ° have Age Consent

If I have not added any ratings, I would expect this field and choice to be hidden (my site may not desire to use the ratings system)

Also, on the admin > add ratings page, the field for Show Age Consent displayed, even though I have age consent turned off in the main settings.
Again, I'd expect this option to be hidden (along with the "Ratings marked with ° have Age Consent " text from the Add Story page , if the age consent is not active.

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 #21 on: September 26, 2013, 09:19:41 PM »
but where did that example come from?

I have no idea.

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

Yes, the mod does not include any examples, dould you leave the url of your forum for me to check?

note:  on the create a story page, there is a field:d
Rating *
Ratings marked with ° have Age Consent

If I have not added any ratings, I would expect this field and choice to be hidden (my site may not desire to use the ratings system)

Also, on the admin > add ratings page, the field for Show Age Consent displayed, even though I have age consent turned off in the main settings.
Again, I'd expect this option to be hidden (along with the "Ratings marked with ° have Age Consent " text from the Add Story page , if the age consent is not active.

This option is for readers see or not a warning message when they want to read a story marked with the age consent, only that.

If you don't want to use the ratings do this:

In Fanfics.template.php replace the lines 177-190, 409-422 and 589-602 with:

Code: [Select]
<input type="hidden" name="rating" value="1" />
But in the case of lines 589-602 change the value to 0. Do the same in FanficsAdmin.template.php with the lines 519-532 (with the value to 1).

In Fanfics.template.php delete the lines 889-891 and 1005-1012.

Now in the fanfics administration create a new rating (if you already have a rating created then don't created another). Once created, click in the edit icon, the url should be like this:

yourforumurl/index.php?action=admin;area=fanficsadmin;sa=editrat;id=x

The text in bold is what you need to know, id the value of this is another than 1 then change in the hidden fields you added earlier the value to the value which shows the url (except in the hidden field with value to 0), e.g.:

If the url is: yourforumurl/index.php?action=admin;area=fanficsadmin;sa=editrat;id=5 then the hidden field should be <input type="hidden" name="rating" value="5" />
« Last Edit: September 27, 2013, 03:07:04 PM by Tokzu »
"I don't need a knight in a shinny armor, I need a angel in a trench coat"

My mods:

Offline kingkingston

  • Full Member
  • ***
  • Posts: 650
  • Gender: Male
    • @ozzysportsforum on Twitter
    • aussiesportsforum.com
Re: Fanfics System v1.1
« Reply #22 on: October 26, 2013, 10:31:23 PM »
is this like a blog system ?

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 56,273
  • Gender: Male
    • Kindred-999 on GitHub
Re: Fanfics System v1.1
« Reply #23 on: October 26, 2013, 10:32:53 PM »
no.   this is a writing system....

I supposed it could be stretched into something like a blog.... but why? use one of the blog mods instaed, if that's what you want
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 kingkingston

  • Full Member
  • ***
  • Posts: 650
  • Gender: Male
    • @ozzysportsforum on Twitter
    • aussiesportsforum.com
Re: Fanfics System v1.1
« Reply #24 on: October 26, 2013, 11:59:34 PM »
no.   this is a writing system....

I supposed it could be stretched into something like a blog.... but why? use one of the blog mods instaed, if that's what you want

no i was just trying to understand what this mod was used for :)

Offline Tokzu

  • Jr. Member
  • **
  • Posts: 282
  • Gender: Female
    • @Kaero_Webs on Twitter
    • Kaero Webs
Re: Fanfics System v1.1
« Reply #25 on: October 27, 2013, 02:42:01 AM »
no.   this is a writing system....

I supposed it could be stretched into something like a blog.... but why? use one of the blog mods instaed, if that's what you want

no i was just trying to understand what this mod was used for :)


For example, if in your forum you have a board dedicated for users who like to write stories, you can use this mod so that they don't write the stories on a topic and instead they write them in the section that creates this mod.

Its advantages are that you and your users can write these stories in a more organized way than if all they were inside a board, the mod automatically creates and updates an index of the stories, they have a better presentation (compared to write them in a topic ) and several others.
"I don't need a knight in a shinny armor, I need a angel in a trench coat"

My mods:

Offline kingkingston

  • Full Member
  • ***
  • Posts: 650
  • Gender: Male
    • @ozzysportsforum on Twitter
    • aussiesportsforum.com
Re: Fanfics System v1.1
« Reply #26 on: October 27, 2013, 02:59:27 AM »
no.   this is a writing system....

I supposed it could be stretched into something like a blog.... but why? use one of the blog mods instaed, if that's what you want

no i was just trying to understand what this mod was used for :)


For example, if in your forum you have a board dedicated for users who like to write stories, you can use this mod so that they don't write the stories on a topic and instead they write them in the section that creates this mod.

Its advantages are that you and your users can write these stories in a more organized way than if all they were inside a board, the mod automatically creates and updates an index of the stories, they have a better presentation (compared to write them in a topic ) and several others.
ok np, might be an alright mod on my site in time, if people want to write basketball stories

TheListener

  • Guest
Re: Fanfics System v1.1
« Reply #27 on: November 26, 2013, 02:35:16 PM »
I am still receiving the 501 error on various pages of the mod.

No errors on installing.


This happens when I go to modify or delete a category or select a category.


« Last Edit: November 26, 2013, 06:12:01 PM by Grumpy Old Sod »

Offline Tokzu

  • Jr. Member
  • **
  • Posts: 282
  • Gender: Female
    • @Kaero_Webs on Twitter
    • Kaero Webs
Re: Fanfics System v1.1
« Reply #28 on: November 27, 2013, 04:40:09 PM »
I am still receiving the 501 error on various pages of the mod.

No errors on installing.


This happens when I go to modify or delete a category or select a category.




Can you write the url of your forum?
« Last Edit: November 27, 2013, 05:19:39 PM by Tokzu »
"I don't need a knight in a shinny armor, I need a angel in a trench coat"

My mods:

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 56,273
  • Gender: Male
    • Kindred-999 on GitHub
Re: Fanfics System v1.1
« Reply #29 on: November 27, 2013, 05:07:43 PM »
Just noticed something....

Categories at the top level are not selectable - thus - no stories can be entered at all until you have a sub-category (and then, only the sub-category can be selected)

http://www.askawitchcommunity.org/index.php?action=fanfics
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 #30 on: November 27, 2013, 05:19:21 PM »
Yes, that is for the stories to be archived in a more orderly way. I'm currently creating a wiki to explain in detail the operation of the mod.  U^^
"I don't need a knight in a shinny armor, I need a angel in a trench coat"

My mods:

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 56,273
  • Gender: Male
    • Kindred-999 on GitHub
Re: Fanfics System v1.1
« Reply #31 on: November 27, 2013, 06:53:29 PM »
hmmm....   it would seem to be confusing to call both things "Categories" since stories can actually only be placed into SUBcategories...

Also, new issue.
When I try to edit an existing story

http://www.askawitchcommunity.org/index.php?action=fanfics;sa=editstory;id=1
The database value you're trying to insert does not exist: lim
Function: EditStory
File: /home/askawitch/www/www/Sources/Fanfics.php
Line: 985

Code: [Select]
975:     $dbresult = $smcFunc['db_query']('', "
976:       SELECT id_chapter, title, inorder, created
977:       FROM {db_prefix}fanfics_chapters
978:       WHERE id_story = {int:id}
979:       ORDER BY inorder ASC
980:       LIMIT {int:lim},25",
981:       array(
982:         'id' => $context['story_id'],
983:         'limit' => $context['start']
984:       )
985:     );
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 #32 on: November 27, 2013, 09:26:07 PM »
I am still receiving the 501 error on various pages of the mod.

No errors on installing.


This happens when I go to modify or delete a category or select a category.




Can you write the url of your forum?

www.miltonkeynescommforum.info

I shoulda said the link was in me signature.  ::)

Offline Tokzu

  • Jr. Member
  • **
  • Posts: 282
  • Gender: Female
    • @Kaero_Webs on Twitter
    • Kaero Webs
Re: Fanfics System v1.1
« Reply #33 on: November 30, 2013, 07:18:03 PM »
I am still receiving the 501 error on various pages of the mod.

No errors on installing.


This happens when I go to modify or delete a category or select a category.

Can you write the url of your forum?

www.miltonkeynescommforum.info

I shoulda said the link was in me signature.  ::)

Can you make the fanfics accessible for the guests? That or tell me the answer to your 2 verification questions.  :-[
"I don't need a knight in a shinny armor, I need a angel in a trench coat"

My mods:

Offline hither

  • Semi-Newbie
  • *
  • Posts: 17
Re: Fanfics System v1.1
« Reply #34 on: December 03, 2013, 02:29:02 AM »
On 2.0.6 I get " Unable to load the 'FanficsAdmin' template."

I've tried uploading the package thru the backend and thru ftp.

Any ideas?

Forum is using default smf theme but is a preexisting forum.

Offline Tokzu

  • Jr. Member
  • **
  • Posts: 282
  • Gender: Female
    • @Kaero_Webs on Twitter
    • Kaero Webs
Re: Fanfics System v1.1
« Reply #35 on: December 06, 2013, 08:40:04 PM »
On 2.0.6 I get " Unable to load the 'FanficsAdmin' template."

I've tried uploading the package thru the backend and thru ftp.

Any ideas?

Forum is using default smf theme but is a preexisting forum.

What is the url of your forum?
"I don't need a knight in a shinny armor, I need a angel in a trench coat"

My mods:

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 56,273
  • Gender: Male
    • Kindred-999 on GitHub
Re: Fanfics System v1.1
« Reply #36 on: December 06, 2013, 11:52:05 PM »
Tokzu,
any idea about the error I reported, above?

The database value you're trying to insert does not exist: lim
Function: EditStory
File: /home/askawitch/www/www/Sources/Fanfics.php
Line: 985
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 #37 on: December 07, 2013, 03:03:31 AM »
Tokzu,
any idea about the error I reported, above?

The database value you're trying to insert does not exist: lim
Function: EditStory
File: /home/askawitch/www/www/Sources/Fanfics.php
Line: 985

Sorry, I didn't read your post. In Fanfics.php replace this line (971):

Code: [Select]
$context['start'] = (int) $_REQUEST['start'];
with this:

Code: [Select]
if (isset($_REQUEST['start']))
$context['start'] = (int) $_REQUEST['start'];
else
$context['start'] = 0;

And try again.
"I don't need a knight in a shinny armor, I need a angel in a trench coat"

My mods:

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 56,273
  • Gender: Male
    • Kindred-999 on GitHub
Re: Fanfics System v1.1
« Reply #38 on: December 07, 2013, 08:15:47 AM »
no luck. lim still does not exist
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 hither

  • Semi-Newbie
  • *
  • Posts: 17
Re: Fanfics System v1.1
« Reply #39 on: December 17, 2013, 08:15:28 AM »
FTR, any problems I had with fanfics seem to be database/site problems of my own.

I'm looking forward to playing with fanfics! Looks like a great mod!