News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Fanfics System

Started by Tokzu, September 19, 2013, 07:18:40 PM

Previous topic - Next topic

Kindred

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.

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Tokzu

#21
Quote from: Grumpy Old Sod on September 26, 2013, 03:25:56 PM
Quote from: Kindred on September 26, 2013, 03:24:29 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?

Quote from: Kindred 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.

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:

<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" />
"I don't need a knight in a shinny armor, I need a angel in a trench coat"

My mods:

kingkingston

is this like a blog system ?

Kindred

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
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

kingkingston

Quote from: Kindred 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

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

Tokzu

Quote from: kingkingston on October 26, 2013, 11:59:34 PM
Quote from: Kindred 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

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:

kingkingston

Quote from: Tokzu on October 27, 2013, 02:42:01 AM
Quote from: kingkingston on October 26, 2013, 11:59:34 PM
Quote from: Kindred 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

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

#27
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.



Tokzu

#28
Quote from: Grumpy Old Sod 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.




Can you write 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:

Kindred

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
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Tokzu

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:

Kindred

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


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:     );
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

TheListener

Quote from: Tokzu on November 27, 2013, 04:40:09 PM
Quote from: Grumpy Old Sod 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.




Can you write the url of your forum?

www.miltonkeynescommforum.info

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

Tokzu

Quote from: Grumpy Old Sod on November 27, 2013, 09:26:07 PM
Quote from: Tokzu on November 27, 2013, 04:40:09 PM
Quote from: Grumpy Old Sod 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.

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:

hither

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.

Tokzu

Quote from: hither 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.

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:

Kindred

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
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Tokzu

Quote from: Kindred 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

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

$context['start'] = (int) $_REQUEST['start'];

with this:

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:

Kindred

no luck. lim still does not exist
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

hither

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!

Advertisement: