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 » Tue Oct 18, 2011 3:56 pm

♠Plague♠ wrote:
Question has probably been asked before, but...would you, Nick, or anyone, know how to connect a forum (phpbb) to a main site (script used is Mysidia Adopts). So that users will only have to register once to use both the forums and main portion?

Yup, search for "phpbb session integration". Here's a tutorial I found:

http://www.phpbb.com/kb/article/phpbb3- ... tegration/
User avatar
Nick
Admin
 
Posts: 6338
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 Nick » Tue Oct 18, 2011 3:59 pm

TBB + Maple wrote:Okay, so one last (hopefully) question. I'm trying to get this members script to work: http://www.uzzisoft.cjb.net/ (php simple members system), and I'm not sure where to upload the files. I'm using 000webhost, and it says to upload the files, but should I upload them with the file manager, database restore, or phpbbmyadmin?

The file manager. Phpmyadmin is for editing the database. They have installation instructions on their page:

http://users.tpg.com.au/adslgkcj/uzziso ... System.htm
User avatar
Nick
Admin
 
Posts: 6338
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 HeadlessWidow » Thu Oct 20, 2011 3:08 pm

Could you make a tutorial on trading systems?
Lights off!!
ImageImage
User avatar
HeadlessWidow
 
Posts: 136
Joined: Thu Apr 28, 2011 11:58 am
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby Nick » Thu Oct 20, 2011 5:45 pm

Unfortunately, that requires the use of a database, so it's a lot more complicated. A tutorial isn't likely to be any more useful than simply using a premade website like MyAdopts or http://www.mysidiaadoptables.com/index.html
User avatar
Nick
Admin
 
Posts: 6338
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 HeadlessWidow » Thu Oct 20, 2011 11:20 pm

ok thank you! :)
Lights off!!
ImageImage
User avatar
HeadlessWidow
 
Posts: 136
Joined: Thu Apr 28, 2011 11:58 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 » Fri Oct 21, 2011 7:26 am

Nick wrote:
TBB + Maple wrote:Okay, so one last (hopefully) question. I'm trying to get this members script to work: http://www.uzzisoft.cjb.net/ (php simple members system), and I'm not sure where to upload the files. I'm using 000webhost, and it says to upload the files, but should I upload them with the file manager, database restore, or phpbbmyadmin?

The file manager. Phpmyadmin is for editing the database. They have installation instructions on their page:

http://users.tpg.com.au/adslgkcj/uzziso ... System.htm

Thanks! Also, how do I run the script like they say? Do I just put the HTML for the main installation page on one of my pages, or do I do it some other way? Thanks ^^

We used to be TBB + Maple!
User avatar
Davy + Aero
 
Posts: 4380
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 Nick » Sun Oct 23, 2011 1:13 pm

Not sure, sorry.
User avatar
Nick
Admin
 
Posts: 6338
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 Davy + Aero » Wed Oct 26, 2011 10:41 am

One more question xD (Sorry I have so many, but I'm new to php coding)
I looked at the phpBB session integration that you linked there, and it's pretty much what I wanted. I followed a few links to this topic: http://www.phpbb.com/community/viewtopi ... &p=3568905 which has a nice system. I tried to integrate it into my site, but every time I put this code on a page:
Code: Select all
<?php
define('IN_PHPBB', true);
$phpbb_root_path = './phpBB3/';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();
?>

The last 4 lines appear on the page, so that they show as just regular text. I even edited out this part:
Code: Select all
// Start session management

In case it was the problem, but the same thing happened. In the tutorial, it says to change your file extensions (I don't have any, unless it means page extensions. Mine are all .html, and I'm not sure how to change them), would that be the problem?

We used to be TBB + Maple!
User avatar
Davy + Aero
 
Posts: 4380
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 Grace(: » Wed Oct 26, 2011 5:51 pm

Nick wrote:
♠Plague♠ wrote:
Question has probably been asked before, but...would you, Nick, or anyone, know how to connect a forum (phpbb) to a main site (script used is Mysidia Adopts). So that users will only have to register once to use both the forums and main portion?

Yup, search for "phpbb session integration". Here's a tutorial I found:

http://www.phpbb.com/kb/article/phpbb3- ... tegration/


Would that work on MyAdopts?
User avatar
Grace(:
 
Posts: 5346
Joined: Mon Jul 25, 2011 4:29 pm
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby Eleski » Thu Nov 03, 2011 10:48 am

I already have a program that came with the computer I'm using now that is just called "Notepad". Will it do the same job as "Notepad++"? This computer doesn't belong to me so downloading more programs than I absolutely need is something I'd prefer to avoid
User avatar
Eleski
 
Posts: 4398
Joined: Sat Jan 02, 2010 4:07 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 2 guests