Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Addons/Mods Graveyard (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=41)
-   -   A basic Integrated Forum (http://www.mysidiaadoptables.com/forum/showthread.php?t=825)

Bloodrun 05-15-2009 04:14 PM

A basic Integrated Forum
 
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.)
http://i40.tinypic.com/2gtot4j.jpg
http://i39.tinypic.com/2pry611.jpg
http://i42.tinypic.com/ctaup.jpg
http://i44.tinypic.com/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.)
http://i39.tinypic.com/mk9jx5.jpg
http://i39.tinypic.com/2q07gnq.jpg
http://i41.tinypic.com/zldow1.jpg
http://i40.tinypic.com/2n9b34g.jpg
http://i43.tinypic.com/2d0cdhz.jpg
http://i41.tinypic.com/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

lollicat 05-15-2009 08:35 PM

RE: A basic Integrated Forum
 
I'm trying it right now, I'll tell you how it is once I get it working...

Bloodrun 05-15-2009 08:40 PM

RE: A basic Integrated Forum
 
Quote:

Originally Posted by lollicat
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.

lollicat 05-15-2009 09:05 PM

RE: A basic Integrated Forum
 
Okay...A little problem.

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

Bloodrun 05-15-2009 09:29 PM

RE: A basic Integrated Forum
 
Quote:

Originally Posted by lollicat
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.

BMR777 05-15-2009 09:34 PM

RE: A basic Integrated Forum
 
Nice Mod! :)

Bloodrun 05-15-2009 09:38 PM

RE: A basic Integrated Forum
 
Quote:

Originally Posted by BMR777
Nice Mod! :)

Thanks =D

I'm working on the Premium right now. It's coming along pretty good ^_^

lollicat 05-16-2009 11:21 AM

RE: A basic Integrated Forum
 
http://kaiuu.exofire.net/main_forum2.php

:O

densaugeo 05-16-2009 12:27 PM

RE: A basic Integrated Forum
 
This looks fantastic! I'm so going to give it a try :)[hr]
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

Bloodrun 05-16-2009 02:26 PM

RE: A basic Integrated Forum
 
Quote:

Originally Posted by lollicat
http://kaiuu.exofire.net/main_forum2.php

:O

Quote:

Originally Posted by densaugeo
This looks fantastic! I'm so going to give it a try :)[hr]
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.


All times are GMT -5. The time now is 02:44 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.