A basic Integrated Forum

Forum
Last Post
Threads / Messages

Bloodrun

I am, who I am.
Premium Member
Joined
Apr 20, 2009
Messages
532
Points
0
Age
33
Mysidian Dollar
15,756
Lol well, just like the title says. It is a forum. Made specifically for this script.

Forum Add-On Includes:
  • Forum Index
  • Thread Index
  • Ability to create threads/forums
  • Ability to post/read them
  • Have to be logged in to view the forum/post

To get the latest updates of this script, you will have to become a Premium Member. To find out how to become a Premium member visit this thread.

Forum Add-On Will Include:
  • A better layout style ability.
  • A better post preview.
  • The ability to earn points per thread/reply.
  • Anything else I can think of..

Preview:
(The 'Create New Forum' can only be seen by those who can view the ACP.)
2gtot4j.jpg

2pry611.jpg

ctaup.jpg

29o0dop.jpg


If you want to see what the Updated version (So far, which is V 1.5) looks like, here it is: Remember, you have to be a Premium Member to get this.
Preview:
(The 'Create New Forum' can only be seen by those who can view the ACP.)
mk9jx5.jpg

2q07gnq.jpg

zldow1.jpg

2n9b34g.jpg

2d0cdhz.jpg

zl5kif.jpg


First off, the hardest part. The database, you will need to add the following three tables:

Code:
CREATE TABLE IF NOT EXISTS `forum_answer` (
  `question_id` int(4) NOT NULL default '0',
  `a_id` int(4) NOT NULL default '0',
  `fid` int(4) NOT NULL default '0',
  `a_name` varchar(65) NOT NULL default '',
  `a_email` varchar(65) NOT NULL default '',
  `a_answer` longtext NOT NULL,
  `a_datetime` varchar(25) NOT NULL default '',
  KEY `a_id` (`a_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

Code:
CREATE TABLE IF NOT EXISTS `forum_question` (
  `fid` int(11) NOT NULL default '0',
  `id` int(11) NOT NULL auto_increment,
  `topic` varchar(255) NOT NULL default '',
  `detail` longtext NOT NULL,
  `name` varchar(65) NOT NULL default '',
  `email` varchar(65) NOT NULL default '',
  `datetime` varchar(25) NOT NULL default '',
  `view` int(4) NOT NULL default '0',
  `reply` int(4) NOT NULL default '0',
  KEY `id` (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=12 ;

Code:
CREATE TABLE IF NOT EXISTS `forum` (
  `fid` int(11) NOT NULL auto_increment,
  `topic` varchar(255) NOT NULL default '',
  `threads` int(11) NOT NULL default '0',
  `posts` int(11) NOT NULL default '0',
  PRIMARY KEY  (`fid`),
  UNIQUE KEY `topic` (`topic`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=9 ;

Now, once you have that, all you have to do is upload the following pages to where ever your adoptables script is held.

If you have any questions about the script, just ask me, I won't bite =D
http://www.4shared.com/file/105622782/b4ae1ea3/Adopts_Forum.html

If you use 00webhost, here is the proper file to use for download:
http://www.rusnakweb.com/forum/showthread.php?tid=975&pid=7493#pid7493
 
I'm trying it right now, I'll tell you how it is once I get it working...
 
lollicat said:
I'm trying it right now, I'll tell you how it is once I get it working...

Alright, it should be simple.
If it doesn't work, what ever you do, do NOT mess around with the code, without telling me what you did.
 
Okay...A little problem.

What would be the link to the forum, assuming that the site is yoursite.com or something?
 
lollicat said:
Okay...A little problem.

What would be the link to the forum, assuming that the site is yoursite.com or something?

To the forum?
the Forum Index is
the:
main_forum2.php file

The index of the chosen forum, is the:
main_forum.php file.

Lol I was lazy at the time so i didn't make a big different between the names.
 
This looks fantastic! I'm so going to give it a try :)

Well, I ran the database queries, and uploaded all the pages. When I go to the main forum page it loads just fine, and I have the 'create new topic' link. But when I click it, I get this:

Warning: file_get_contents(templates/default/template3.html) [function.file-get-contents]: failed to open stream: No such file or directory in /home/densauge/public_html/clickables/create_topic.php on line 130
 
lollicat said:
http://kaiuu.exofire.net/main_forum2.php

:O

densaugeo said:
This looks fantastic! I'm so going to give it a try :)

Well, I ran the database queries, and uploaded all the pages. When I go to the main forum page it loads just fine, and I have the 'create new topic' link. But when I click it, I get this:

Warning: file_get_contents(templates/default/template3.html) [function.file-get-contents]: failed to open stream: No such file or directory in /home/densauge/public_html/clickables/create_topic.php on line 130



You need to make sure each page has the Template you want.
Each one of these has a different one, other then the default one.
 
densaugeo said:
I got it. Is there a way to add an edit function? So people can edit posts?

I'm actually working on that right now.

Let me tell you... It's not easy :(

Also, as far as this particular script goes. There will be no more updates.

You'll have to become a Premium Member for Updates. Which I think you are ;)
 
Yep I am ^^ I was just wondering. Would you mind if I tinkered with it a bit too? I'm no programmer XD I just want to experiment.
 
densaugeo said:
Yep I am ^^ I was just wondering. Would you mind if I tinkered with it a bit too? I'm no programmer XD I just want to experiment.

Lol sure.
But if you get anything interesting tell me =P

Oh, and don't come crying to me if you mess everything up. Especially if you tinker with the Query ;) lol
 
LOL I won't tinker with the query.

I have to ask, is there a max length a post can be? If I try to post anything over 2-3 sentences, it won't show up at all. but if i post something short and maybe only a few words, it shows up fine.
 
densaugeo said:
LOL I won't tinker with the query.

I have to ask, is there a max length a post can be? If I try to post anything over 2-3 sentences, it won't show up at all. but if i post something short and maybe only a few words, it shows up fine.

Oh jeese um..

the reply can only be 65 characters long ( i dont know what I was thinking, that will fixed in the update)
and the thread (first post) is set to long text, so i guess theres not limit to that.. =/
 
well the first post isn't showing at all when i do long posts =/ maybe it's just me...merf..maybe i should try reinstalling it..
 
densaugeo said:
well the first post isn't showing at all when i do long posts =/ maybe it's just me...merf..maybe i should try reinstalling it..

No, don't lol im sure its the way I had the database set up. Its working fine for me. But Ill make sure everything works in the next update. Which wont be long.

I just figured out how let people update the first post. But now the replies dont want to cooperate lol.
 
Darn those replies *shakes fist* XP

Wow you're quick. It'd take me forever to figure something like that out, LOL. I spend hours staring at code and reading guides, and I'm still pretty much useless.
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,277
Messages
33,121
Members
1,602
Latest member
BerrieMilk
BETA

Latest Threads

Top