Make your own PHP adoptables system

Need help with the site/forum/pets? Ask questions and get help from other members here.

Re: Make your own PHP adoptables system

Postby Nick » Wed Dec 01, 2010 7:15 am

jgl5858 wrote:Hey Nick. I bought my own domain! Now Im stuck. How do I start editing my site through file manger? :)

You'll need to find other tutorials for that, any tutorial on building your own webpage will show you how. After you know how to build a webpage, you can use those skills with this tutorial to make an adoptables webpage.. :).
User avatar
Nick
Admin
 
Posts: 6349
Joined: Thu Jul 03, 2008 2:40 pm
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby jgl5858 » Wed Dec 01, 2010 8:25 am

Thank You! Im really good with HTML and Javascript. Now I need to tackle PHP. Would you want to see my finished site?
[url]
http://www.q102.com/common/shareme/index.php?linkid=0bgnf66g65fginbv63pw3c6tga
[/url]
jgl5858
 
Posts: 492
Joined: Sat Apr 24, 2010 1:36 pm
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby Nick » Wed Dec 01, 2010 1:13 pm

Sure, post a link to it here :)
User avatar
Nick
Admin
 
Posts: 6349
Joined: Thu Jul 03, 2008 2:40 pm
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby jgl5858 » Wed Dec 01, 2010 2:36 pm

Okay! I'll post the link when the site is complete! Also, thr new theme is great! :)
[url]
http://www.q102.com/common/shareme/index.php?linkid=0bgnf66g65fginbv63pw3c6tga
[/url]
jgl5858
 
Posts: 492
Joined: Sat Apr 24, 2010 1:36 pm
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby Rainbowtail » Fri Dec 24, 2010 7:37 am

I did try the tutorial but I'm really bad at php :/ In the end I ended up making http://www.littlepigadopts.myadopts.com no members yet, so please join :) I have two adoptables up so far :D

*EDIT: the url was wrong :) fixed it now!
User avatar
Rainbowtail
 
Posts: 1447
Joined: Mon Apr 05, 2010 9:45 am
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby Kites » Wed Jan 12, 2011 10:51 am

I would love to make one of my own, but I dont even know where to start! What web holder should I use?

Wait, nevermind. I can't do it sadly. My collage network blocks downloadable sites so I cannot download the notebook. Tootin' darnations! Had it all planned out as well!
•Trying to find a username that fits me•



Back from spending the year travelling. ^^

Locations: South Africa, Swaziland, Mozambique, Thailand, Laos, Cambodia, Vietnam, Back to Thailand, Australia, New Zealand, Fiji, HOME

~I used to be Sherlock~
User avatar
Kites
 
Posts: 13890
Joined: Wed May 13, 2009 3:56 am
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby Davy + Aero » Sat Jan 22, 2011 11:10 am

Nick, is there any way to make a purely HTML adoption system? I have no issue with having to update the images by myself, but I'm trying to use webs.com instead of the PHP web host, as it's a lot easier, and I just can't find a way to make one that will work with that host :S

Ah yes, here's the website Cavalls

We used to be TBB + Maple!
User avatar
Davy + Aero
 
Posts: 4381
Joined: Tue Jul 06, 2010 9:14 am
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby Caboose » Wed Jan 26, 2011 9:03 am

so.. do we havee to buy stuff to do it (exp. programs, software etc.)
welp
User avatar
Caboose
 
Posts: 3488
Joined: Thu Sep 17, 2009 7:02 am
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby blondbananamix » Wed Jan 26, 2011 10:15 am

@bunnyctrl you have to buy the domain name, if you want one
Last edited by blondbananamix on Sat Jan 29, 2011 11:50 am, edited 1 time in total.
Image
User avatar
blondbananamix
 
Posts: 3538
Joined: Sat Nov 15, 2008 8:48 am
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby blondbananamix » Sat Jan 29, 2011 11:50 am

Having some problems with the php code, it works fine, but I'm trying to incorporate my forums look onto the mainpage.php page, and I'm having trouble combining the two.

The code I use to add more pages to my forum, which look the same consists of:

Code: Select all
<?php
define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);

// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();

page_header('Adopt A LuveTree Island Creature');

$template->set_filenames(array(
    'body' => 'Adopt_body.html',
));

make_jumpbox(append_sid("{$phpbb_root_path}viewforum.$phpEx"));
page_footer();
?>


The code for the php adopt system is in the phpbb3 folder (named 'forum') and this works with the aid of this:
Code: Select all
<!-- INCLUDE overall_header.html -->

<h2>Adopt a pet!</h2>

<div class="panel">
   <div class="inner"><span class="corners-top"><span></span></span>

   <div class="content">
    <p> Here you can adopt some LuveTree Island creatures! Currently there are none available, check back soon.
   </div>

   <span class="corners-bottom"><span></span></span></div>
</div>

<!-- INCLUDE jumpbox.html -->
<!-- INCLUDE overall_footer.html -->


Now these two link together and create a new page that mathces the layout of the forum and i can add text and other things to it.
I was wondering how i get the adoptable boxes, found on 'mainpage.php.' incorporated into this code, so my page has the adopt boxes AND has the forum template?
Image
User avatar
blondbananamix
 
Posts: 3538
Joined: Sat Nov 15, 2008 8:48 am
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Who is online

Users browsing this forum: No registered users and 0 guests