So, you're not a coder? Got no experience? No PHP knowledge? Good, because so am I
NON-CODING BUDDIES FOREVER
...until one of us learns coding... *cough*
Anyway, back onto topic. Just because you don't know coding, doesn't mean you can't have a successful site! If you think so... stop being so stupid 'cause I've taped up your mouth until you can tell me the facts right
So, because I'm that helpful *gives a bow*, I've divided this tutorial/guide into itty-bitty sections so you can give your glasses a wipe and absorb all the information better
Oh and... this tutorial is for after you've just installed your site... haven't done that yet? Pfft, stop dilly-dallying around and read this
thread... and once you've installed it, come back here 'kay? Good.
This isn't exactly a tutorial, but a guide... you don't have to do everything on this to make your site epic, but it's to help you
- So, first of all, you want to change the theme of your site to make it more unique and original!
To do this, follow Nyxi's amazing tutorial here.
- Next, you need to add adoptables... create 'em first! Okay, so once you've created all the stages to your adoptables, upload them to your site! (ACP>>Change Adoptables>>Upload Images) Once uploaded, you need to create the actual adoptable!
- Done? Oh... and remember to add adoptables with promocodes... so later on, when you create a quest, you can type a promocode at the last page of the quest so your users will be able to obtain the special adoptable!
- 'Kay, now you've done the adoptables and special adoptables. You need to change the default pages! To do this, you need to go to the file: "lang/lang.php". Just edit the text to how you want it and save it!
- Now to create the quests/adventures. It may take long... but well worth it! All you need to do is create the starter page which could be the map. And the map links to several different pages such as the forest, river, lake etc. And within each of those several pages, would be links... links leading to different events... e.g. for the forest:
Link one: You find footprints in the ground. Follow?
Link two: You hear some rustling ahead. Investigate?
Link three: A bush shakes and suddenly stops. Investigate?
Link four: Go back?
See there's options? Well, keep it going until you've finished the plot, and on the last page, put the promocode!
- So you've done all of that? Well, there's still some extra stuff! Well see this code?
Code:
<?php
// **********************************************************************
// Mysidia Adoptables Script: blank.php, the standard dev file
// Copyright 2011 Mysidia Adoptables staff team
// For help and support: http://www.mysidiaadoptables.com/forum/
//
// Redistribution prohibited without written permission
// **********************************************************************
// Wake the sleeping giant
// **********************************************************************
// Basic Configuration Info
// **********************************************************************
include("inc/functions.php");
include("inc/config.php");
$themeurl = grabanysetting("themeurl");
// **********************************************************************
// Define our top links by calling getlinks()
// **********************************************************************
$links = getlinks();
// **********************************************************************
// Define our ads by calling getads()
// **********************************************************************
$ads = getads("any");
// **********************************************************************
// Grab any dynamic article content from the content table
// **********************************************************************
$pagecontent = getsitecontent("index");
$article_title = $pagecontent[title];
$article_content = $pagecontent[content];
$article_content = nl2br($article_content);
// **********************************************************************
// Grab any settings that we will need for the current page from the DB
// **********************************************************************
$browsertitle = grabanysetting("browsertitle");
$sitename = grabanysetting("sitename");
$slogan = grabanysetting("slogan");
// **********************************************************************
// Check and see if the user is logged in to the site
// **********************************************************************
$loginstatus = logincheck();
$isloggedin = $loginstatus[loginstatus];
$loggedinname = $loginstatus[username];
// **********************************************************************
// End Prepwork - Output the page to the user
// **********************************************************************
$article_title = "Title";
$article_content = "<html>
<head>
</head>
<body>
CONTENT HERE
</body>
</html>";
// **********************************************************************
// Begin Template Definition
// **********************************************************************
//Define our current theme
$file = $themeurl;
// Do the template changes and echo the ready template
$template = file_get_contents($file);
$template = replace(':ARTICLETITLE:',$article_title,$template);
$template = replace(':ARTICLECONTENT:',$article_content,$template);
$template = replace(':ARTICLEDATE:',$article_date,$template);
$template = replace(':BROWSERTITLE:',$browsertitle,$template);
$template = replace(':SITENAME:',$sitename,$template);
//Define our links
$template = replace(':LINKSBAR:',$links,$template);
//Get the content for the side bar...
$sidebar = getsidebar();
$template = replace(':SIDEFEED:',$sidebar,$template);
//Get the ad content...
$template = replace(':ADS:',$ads,$template);
//Get the slogan info
$template = replace(':SLOGAN:',$slogan,$template);
echo $template;
// **********************************************************************
// End Template Definition
// **********************************************************************
?>
Oh yes, free simple PHP code for you xD
Find this bit:
Code:
$article_title = "Title";
$article_content = "CONTENT HERE";
And within this code:...
...You can use custom coding xD I know you maybe don't know much coding >.> But take a look at these threads from MyAdopts:
http://www.myadopts.com/forum/showthread.php?tid=4252
http://www.myadopts.com/forum/showthread.php?tid=4000
http://www.myadopts.com/forum/showthread.php?tid=5040
FREEBIE CODES XD
Just replace "CONTENT HERE" with one of the codes :3 Oh and remember to credit them :)
- After adding epic features, quests, adventures and adoptables... your site is epic :D So you might as well show it off at Mysidia! XD