Notifications
Clear all

How is this Done?

3 Posts
3 Users
0 Reactions
1,965 Views
(@megshunt)
Posts: 3
New Member
Topic starter
 

Example Website Running efiction: http://www.fanfictionworld.org/user.php?action=register

My Website: http://www.thebodyofproof.com/fanfiction

I would like to do something like this, with my own TOS once I have them completed. Because of the legal issues with fanfiction I want to make sure I cover myself. However I am not sure how to do this. I tried to alter the registration php in user but got errors.

<?php
// ----------------------------------------------------------------------
// eFiction 3.2
// Copyright (c) 2007 by Tammy Keefer
// Valid HTML 4.01 Transitional
// Based on eFiction 1.1
// Copyright (C) 2003 by Rebecca Smallwood.
// http://efiction.sourceforge.net/
// ----------------------------------------------------------------------
// LICENSE
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License (GPL)
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// To read the license please visit http://www.gnu.org/copyleft/gpl.html
// ----------------------------------------------------------------------

if(!defined("_CHARSET")) exit( );

include ("viewpage.php?id=tos:);

include("user/editbio.php");
?>

When I did this I got this:

Parse error: syntax error, unexpected T_STRING in /home/megshunt/public_html/fanfiction/user/register.php on line 29

What am I doing wrong?

Also, is it possible to get the area that says "Account info" after login  to say "Welcome {Users penname}" to give it a more personal touch.


 
Posted : 22/05/2011 9:32 pm
(@anarchicq)
Posts: 115
Estimable Member
 

Log in to admin
Go to Custom Pages
scroll down to Terms of Service
Hit edit.
Type in the TOS you want
Hit submit (Or preview to make sure it looks how you want.)
It'll look something like this http://silenthill.deleted-scenes.com/viewpage.php?page=tos


Silent Hill & Repo!
eFiction:3.5.1
Latest Patche(s):Yes
bridged?:No
modified?:Yes.
PHP:2.11.9.4
MySQL:5.0.32

 
Posted : 22/05/2011 9:41 pm
(@lyndsie)
Posts: 1263
Member Moderator
 

For the second thing, you'd have to edit the core files.


 
Posted : 23/05/2011 4:55 pm
Share: