• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

forum.php gesior aac

moderntibia

New Member
Joined
Jul 18, 2012
Messages
54
Reaction score
0
Im tryying to get a forum for my gesior aac,
but all there is in my forum.php is
PHP:
<?PHP
if(!empty($config['site']['forum_link']))
	$main_content .= '<iframe name="forum" height="600" width="100%" border="0" frameborder="0" src="'.$config['site']['forum_link'].'"></iframe>';
else
	$main_content .= 'Forum address not configured.';
?>
how do i make the forum?
i already searched whole otland for the anwser S:

----UPDATED----

heres my website ip, just put it in browser and look around , you will see my problems :)

178.33.53.12
 
Last edited:
Try this forum.php

Forum.php - Pastebin.com

And in phpmyadmin u need to execute:

PHP:
CREATE TABLE `z_forum` (
  `id` int(11) NOT NULL auto_increment,
  `sticky` tinyint(1) NOT NULL default '0',
  `closed` tinyint(1) NOT NULL default '0',
  `first_post` int(11) NOT NULL default '0',
  `last_post` int(11) NOT NULL default '0',
  `section` int(3) NOT NULL default '0',
  `replies` int(20) NOT NULL default '0',
  `views` int(20) NOT NULL default '0',
  `author_aid` int(20) NOT NULL default '0',
  `author_guid` int(20) NOT NULL default '0',
  `post_text` text NOT NULL,
  `post_topic` varchar(255) NOT NULL,
  `post_smile` tinyint(1) NOT NULL default '0',
  `post_date` int(20) NOT NULL default '0',
  `last_edit_aid` int(20) NOT NULL default '0',
  `edit_date` int(20) NOT NULL default '0',
  `post_ip` varchar(32) NOT NULL default '0.0.0.0',
  PRIMARY KEY  (`id`),
  KEY `section` (`section`)
) ENGINE=MyISAM AUTO_INCREMENT=1 ;

I hope it helped u
 
Back
Top