Archive for the ‘eFiction 2.0’ Category

Description: This will display a “View Profile” link to the account menu in user.php, which will take your users to their author profile page.

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

Requirements: eFiction 2.0

Difficulty: Easy

Modification History:
June 23, 2006 — Released Modification
November 30, 2006 — Updated, forgot a step

Files Involved:

  • user.php
  • languages/en.php

Instructions:

28.Nov.2006
3:40 pm
Mood: na

Description: When you’re logged in, it returns “Welcome back, Username.” and then a list of quick account links below that. I usually put it beside the login tag so they switch places depending on the user’s login status.

This is actually the first mod I made for eFiction 2.0 and it originally went with the Marauders layout. However, when I discovered blocks weren’t considered part of the skins, I ended up keeping it for myself. ^_^

Marohi rewrote this entire block for me so it can now be customized. You can either choose to use the default version or customize the welcome message and links displayed to fit your site using variables.php. Our idea was to eventually try to include a DHTML drop down menu like DeviantArt or simply making account links appear in the regular menu area like LiveJournal.

Requirements: eFiction 2.0, with all current patches

Download Links: loggedin_v2_5.zip

Extra Files: Read Me.txt

To use, simply add {loggedin_content} to your tpls. Default CSS is .login and .quicklinks.

Please refer to the readme file for full instructions on how to use this block.

Modification History:

December 14, 2005: Mod Released

EDIT: I’m currently moving my domain, so the current link could be broken at any time now. I’ll edit this post once I’m done to give the new location.

EDIT #2: Fixed the download link.

June 23, 2006: I finally figured out how to make a link to the logged in user’s profile. Rather than update the original, I simply made a second version. What this second version will do is link the $username part of the welcome message with that person’s profile. You might have to alter some file names if you want to run both versions on your site.

July 08, 2006: Moved the download location slightly to make room for 3.0 stuff a little later.

November 28, 2006: Released version 2.5

Modification & Support Link: eFiction.org

6:58 pm
Mood: na

Description: This mod is merely an attempt to discourage spammers from hitting your reviews through logging of IP addresses, adding rel=”nofollow” attributes to links, and a few other, little things.

Please note that this is NOT going to stop everyone and I can’t guarantee this will stop them if they’re currently hitting you. I’m not even sure when the spammers got tired of trying to hit my reviews and moved on.

The general idea behind this mod is that we’re trying to make it difficult enough on them that they decide to move on to easier sites.

As usual, I can’t take total credit for this mod. Tammy, Carissa, and Seiji helped me a lot as these mods were taking shape.

 

 

Also, a note about IP addresses. IP addresses change, especially with dial-up users. They can also be spoofed or the spammer could have a relay set up so they post from an impossible variety of IP addresses. They simply aren’t a good way to control anyone. On my site, we mainly use them for statistical purposes and passive behavior control. However, that being said, one of my worst spammers seemed to be posting from just one ISP out of China. I banned the whole ISP for about six weeks and the spam from that person stopped.

 

 

I should also explain what rel=”nofollow” does. rel=”nofollow” is an attribute you can add to hyperlinks that tells search engines (especially Google — [1] [2]) not to figure the link in when their determine page ranks. Since the spammers are attempting to increase their page rank, this means they aren’t benefiting by spamming your reviews. Again, it doesn’t stop them… it just makes your reviews less appealing.

If you wish, you can skip adding the rel=”nofollow” tags to the links pointing to your reviews. Just make sure you leave the link replace function alone so it can add the nofollow tag to any links anyone attempts to leave.

 

 

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.

Requirements: eFiction 2.0.7 — Please make sure you are completely up-to-date

Difficulty: Intermediate - Advanced

Mod History:
12-November-2006 — Released mod to public
13-November-2006 @ 12:28am — Fixed a mistake. For line 97 of reviews.php I wrote chapter.title as title instead of series.title as title.
14-November-2006 @ 6:44pm — Added explanation of what rel=”nofollow” does
01-December-2006 — Solved edit review bug

Demo: http://www.lunaescence.com/fics/search.php?action=tens&list=reviewedstories

Files Involved:

  • viewstory.php
  • series.php
  • reviews.php
  • func.reviewform.php
  • storyblock.php
  • seriesblock.php
  • languages/en.php

Instructions:

10.Nov.2006

Shuriken - Click for demoSkin Name: Shuriken

Version: eFiction 2.0.7, with all current patches

Developer: Sally Anderson and Jasson Knight

License: GPL

Description: Shuriken is a light-weight, brown, cream, and tan skin. It’s slightly fixed width, and should adjust to fit resolutions down to 800×600.

Notes: Feel free to edit, modify, or alter this skin in any way. Doing so will not offend, upset, or bother me in any way.

Demo: Lunaescence Archives

Download: shuriken.zip

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: