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 Helreith Brynhildar » Fri May 25, 2012 2:00 pm

Oohhhh okay.
The secrets to the iniverse are now revealed. ^.^
Thanks a lot! That helps loads. I shall resume my fiddling around now. :)
REALITY IS AN ILLUSION THE UNIVERSE IS A HOLOGRAM BUY GOLD BYE
User avatar
Helreith Brynhildar
 
Posts: 2251
Joined: Thu Oct 20, 2011 1:56 pm
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby P!nky » Sat Jun 02, 2012 4:52 am

Amazing guide! I've always wanted to add an adoptable system to my forum. I have forumotion though, which doesn't have php code... is there ANY way to do it with HTML? Or can I made my adoptable system on a different forum, then somehow put the page on forumotion?
Does anyone know any forum providers that do support php code?
User avatar
P!nky
 
Posts: 1867
Joined: Wed Mar 30, 2011 11:37 am
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby Lioness626 » Tue Jun 05, 2012 4:34 am

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/


I tried the steps on this site, but it didn't work... I got these errors
PHP Error Message

Warning: include(./common.php) [function.include]: failed to open stream: No such file or directory in /home/a2086507/public_html/index.php on line 5


PHP Error Message

Warning: include() [function.include]: Failed opening './common.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a2086507/public_html/index.php on line 5

PHP Error Message

Fatal error: Call to a member function session_begin() on a non-object in /home/a2086507/public_html/index.php on line 8

Any idea how to fix it? Please help!


Edit: fixed that now, had got part of script wrong, but now am struggling with the tutorial... Image error, then suddenly worked again ...

Edit: still on early stages of simple.php, but keep getting the error message that
the image "mysite/simple.php" can not be displayed, because it contains errors

When i put // in front of header, I just get a blank white screen... Help please!
Image
Image
............................
Chuakos
Deviant Art
Characters
Commissions
Coding

............................
Image
Image
User avatar
Lioness626
 
Posts: 4670
Joined: Tue Dec 06, 2011 6:27 am
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby hiraethe » Mon Jul 23, 2012 4:16 am

I've been kinda intending to learn HTML for a while, but seeing you have an adoptables tutorial (yay love them!) made me go and find a good HTML tutorial and learn. Now my official Adoption Center is on the way!
Last edited by hiraethe on Thu Jan 16, 2014 4:56 pm, edited 1 time in total.
Image
Image
Darl has gone to Jackson. They put him on the
train, laughing, down the long car laughing, the
heads turning like the heads of owls when he
passed. "What are you laughing at?" I said.
"Is it because you hate the sound of laughing?"

~ As I lay Dying, William Faulkner~

Sometimes I aint so sho who’s got ere a right to
say when a man is crazy and when he aint…
Sometimes I think it aint none of us pure crazy
and aint none of us pure sane until the balance
of us talks him that-a-way. It’s like it aint so much
what a fellow does, but it’s the way the majority
of folks is looking at him when he does it… That’s
how I reckon a man is crazy. That’s how he can’t
see eye to eye with other folks. And I reckon
there aint nothing else to do with him but what
the most folks says is right.
hiraethe
 
Posts: 1523
Joined: Fri Jun 15, 2012 1:22 pm
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby н σ я ѕ є » Tue Jul 24, 2012 1:53 pm

I'm going to make one later. I'm so glad your doing this so everyone can know how to make a website.
Horses wrote:"There is no love stronger than that in the eyes of a horse."-me
Image
User avatar
н σ я ѕ є
 
Posts: 5893
Joined: Sun Mar 20, 2011 2:16 pm
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby tenturo » Thu Aug 02, 2012 4:50 pm

<img src="http://www.mywebsite.com/simple.php?a=1&v=2">
Look I adopted a dog XD great tutorial btw. Mines coming along well with some extra HTML help :D







    ░░
    i promise
    ────────────────────────────
    l
    tenturo
    she / her
    gemini
    ⋯ ⋯⋯⋯⋯
    i am
    ⋯⋯⋯⋯ ⋯
    pansexual
    infp-t
    active
    Image
    ┌─── ── ── ── ── ── ── ── ── ── ─┐
    [url]comms[/url] ⋅ kalscredit ⋅ [url]n/a[/url] ⋅ to-do

    └─ ── ── ── ── ── ── ── ── ── ───┘
    '┌─ ── ── ── ─┐
    '│─ ── ││ ── ─│
    '└─ ── ── ── ─┘
    ███
    ███
    ┌─ ── ── ── ─┐
    │─ ── ││ ── ─│
    └─ ── ── ── ─┘

    '───────────────────────────────'
    worthy!!lxworthy!!
    [ ─`;.-' TO HOLD ─ ]l
    ┌ ┄┄┄┄┄┄┄┄┄ ┐
    you matter
    sleepy
    pms open <3
    comms open
    └ ┄┄┄┄┄┄┄┄┄ ┘
    ── in your ───
    [`arms.❜'
    Image







User avatar
tenturo
 
Posts: 22786
Joined: Sun Mar 06, 2011 10:21 am
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby ~2K~ » Thu Aug 09, 2012 11:30 pm

I'm having trouble using the PHPmyadmin control panel on 000webhost.com . I've tried entering in some PHP code into the SQL box but it just errors? I'm just starting to learn some PHP and MySQL so I'm probably doing something wrong. :P lol.
Does anyone know how to get the box to work?
User avatar
~2K~
 
Posts: 821
Joined: Fri Jul 10, 2009 12:27 pm
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby Rolly-chan » Sat Aug 11, 2012 8:04 am

~2K~ wrote:I'm having trouble using the PHPmyadmin control panel on 000webhost.com . I've tried entering in some PHP code into the SQL box but it just errors? I'm just starting to learn some PHP and MySQL so I'm probably doing something wrong. :P lol.
Does anyone know how to get the box to work?

The SQL box is for SQL syntax, not for PHP syntax. If you want to make changes to your database, that's where you put the respective code in. Though with phpmyadmin you should be able to do that easily via an interface.
The php code goes into a text document that you save as a php file (by changing the file extension to .php). And those files are uploaded just like HTML files would be - to your main directory where your index-file should be.
User avatar
Rolly-chan
 
Posts: 2790
Joined: Tue Nov 18, 2008 8:09 am
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby sarcasteil » Mon Aug 13, 2012 3:16 pm

Meep. The last time I saw the tutorial, it was a load of wacko-bunchawords. Not a fan of HTML. I'm just starting to get used to BBCode, ta very much.

Now, I have a spark which coyld light a damp fire. To build an adoptable empire!

aslongasiunderstandthefirstbigwordyousaidnickdamaninyourepictutorial
time lord
wizard
hunter
sociopath
shadowhunter
demigod
divergent
avenger

goldfishkeeper
drawer
photographer
crafter
painter
musician
reader
badminton player

Image
User avatar
sarcasteil
 
Posts: 3380
Joined: Tue Nov 30, 2010 9:17 pm
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Make your own PHP adoptables system

Postby ~2K~ » Sun Aug 19, 2012 4:32 am

Thanks Rolly-Chan! I'll try that. :D
User avatar
~2K~
 
Posts: 821
Joined: Fri Jul 10, 2009 12:27 pm
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 6 guests