29.Sep.2006

Be sure to backup your database and files before you begin this or any other mod.

Description: This mod will put a male, female, or undisclosed icon in the author profile. I’ll let you decide if undisclosed means “Not Telling” or just what. It is up to you to provide your own icons.

This mod was originally created for JanAQ as part of her requested profile mods.

I can’t take full credit for this mod, I spent a lot of time trying to figure out how to get it working before I asked for help. Tammy replied and told me how to get it working.

As usual, my line numbers are approximate and only meant to put you in the general ballpark.

Requirements: eFiction 2.0

Difficulty: Easy

Modification History:
EDIT: Stopped working for some reason, so I changed the MYSQL declarations.
EDIT: Clarified my instructions for the database
EDIT: Changed my instructions so I didn’t overwrite some of my other mods. If it’s confusing, feel free to ask.
EDIT: Trying to fix the error Seiji found
EDIT: Tammy got it working! embarassed
EDIT: Fixed a typo from the instructions for line 389. Sorry!! embarassed
EDIT: Added the tpl tag
EDIT: 29 June 2006 — Updated post format to match post requirements; also began an update to bring the mod up to the current version.
EDIT: 29 June 2006 — Updated the modification to match the current release. Please let me know if you have any difficulties.

Files Involved:

  • user.php
  • viewuser.php
  • languages/en.php
  • user.tpl

Modification & Support Link: eFiction.org

Instructions:

Description: This mod adds a manditory disclaimer field to every story form. If users do not fill in the disclaimer, they’ll receive an error just like if they left the summary or title blank.

This mod is as involved as my story type mod, if not a bit moreso, due to the fact that it has to be made manditory. I strongly suggest you read through my instructions before you actually attempt this modification.

For this mod, I used files from the latest release. (2.0.7, 28 Aug 2006 patch) The line numbers are all approximate and will likely change as you progress through this mod. Please consider them simply a guide to put you into the general area.

This mod is UNTESTED. In theory it should work, but I have not tested it on my own site.

Requirements: eFiction 2.0.7 (28 Aug. 2006 Patch)

Difficulty: Advanced

Mod History:

18 Sept 2006 — Mod created as per request by fanfiction world

Files Involved:

  • Database modification
  • stories.php
  • viewstory.php
  • languages/YOUR LANGUAGE.php
  • skins/YOUR SKIN/viewstory.tpl

Modification & Support Link: eFiction.org

Instructions:

7.Sep.2006

Description: This is a quick and dirty version check script for eFiction 2.0. It simply shows your currently installed version of eFiction, the current version, and then the release date for the last patch along with any important notes or news relating to that patch.

Requirements: eFiction 2.0

Difficulty: Easy

Mod History:

25 Aug 2006 — Concept for patch suggested on eFiction New Feature forums and first attempt at creating mod made.
07 Sep 2006 — Mod correctly checks and formats returned text.

Files Involved:

  • admin.php
  • admin/version_check.phpNew!

NOTE: Please be sure to back up your files and database before you begin this or any other mod.

Download Link: version_check.zip

Modification & Support: eFiction.org

Description: This is a guide to creating your own modifications to the user page. This includes discussions of PHP, MySQL, and other things you will need to know in order to modify your user page.


Requirements:
eFiction 2.0

This guide is also written as though you currently have user.php, viewuser.php, and your database open as you’re reading.

Mod History:
29 June 2006 — Created this guide and submitted to developers for review
09 July 2006 — Guide Released
14 July 2006 — Edited for clarity

Download HTML version

Modification & Support: eFiction.org

Table of Contents

 


 

INTRODUCTION

So you want to create a custom user page? Great! Customizations to the user page are probably one of the areas that receive the most modification requests for eFiction 2.0. While this page may look confusing, it’s actually pretty straight forward once you get the hang of it.

As with any mod, making frequent backups is essential. If you want to be really safe, I suggest making multiple copies of your modifications as you progress through each step, for an easy return to that step should something go wrong.

Another thing to note is that eFiction 3.0 will allow you to add your own custom fields to the user profile. I’ll update this guide or release a new one once it is released to explain how to customize your install and how to do further modifications.

Description: I originally had this bright idea to write up a detailed guide to putting php in your TPLs, but my schoolwork is keeping me from doing anything decent.

Please note that I have not had the chance to try this out, but according to the Template Power web site it is possible. The keyword throughout this entire post is “should” — meaning theoretically, it should work.

At any rate, there are two ways you can do this easily. The way you do it depends on how ambitious you’re feeling. This should work in both 2.0 and 1.1, but again — don’t quote me on that.

As usual, please be sure to make backups in case I’m wrong. ^^;;

Requirements: eFiction 2.0+, eFiction 3.0+, Template Power 3.01 (should already be included)

Modification History:
May 31, 2006: Released untested instructions for eFiction 2.0

Instructions: