Archive for the ‘Modifications’ Category
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:

8:14 pm
Mood: na

Description: This allows for separate display of author penname, contact link, and the add author to favorites link in user.tpl.

This is just an itty bitty mod I cooked up for my own site. I figured I might as well slap it up here.

As usual, back up your files before you attempt this. You know the drill. ^_^

Requirements: eFiction 2.0

Difficulty: Easy

Modification History:
- 30 November, 2005 — Mod released

Files Involved:

  • viewuser.php
  • skins/YOURSKIN/user.tpl

Modification & Support: eFiction.org

Instructions:

27.Nov.2005
3:04 pm
Mood:

Description: This mod allows users to declare what type of story their writing is. This is especially useful for fan fiction archives where you might be dealing with Songfics, One-Shots, Drabbles, CYOA, or RIs.

I have this installed now on my main eFiction site, if you’d like to see a demo.

Please make certain you backup your files and database before you begin this mod. This is a fairly large and complex mod, which could potentially cause damage to your site if something goes wrong. I also advise you to read the whole thing before you begin.

EDIT: 22 March, 2007 — For those new to eFiction, I would strongly ask you to consider upgrading to eFiction 3.0 instead of downloading this mod. It’s much easier to add new classifications such as story type and doesn’t require you to edit the core files.

Requirements: eFiction 2.0

Difficulty: Advanced

Files Involved:

  • 2 Database Modifications
  • admin/types.php New!
  • languages/en.php
  • admin.php
  • stories.php
  • categories.php
  • storyblock.php
  • YOURSKIN/listings.tpl
  • YOURSKIN/categories.tpl

Download: story_types.zip - Coming Soon

Modification & Support: eFiction.org

12.Nov.2005

Description: This mod will place a link to your user’s Live Journal Account in their author bio.

This mod assumes that your users do not have an underscore or dash at the beginning or end of their name, so you may wish to warn them.

As always my line numbers are approximate and meant to put you in the general ballpark. They will likely change as you progress through the mod.

Backup your files and database before you begin this or any other mod!

Requirements: eFiction 2.0

Difficulty: Easy

Mod History:
- 12 November, 2005, Mod Released
- 22 January, 2006, Updated to reflect LiveJournal changes

Files Involved:

  • user.php
  • viewuser.php
  • language/en.php

Modification & Support Link: eFiction.org

Instructions: