• 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!

Simple forum script

Status
Not open for further replies.
You can't say that html code is bad because it doesn't works well with Internet Explorer... IE SUCKS.
There are some programers (in poland) that make code (HTML/JS) work with IE, but they want XXX euro for one script. I don't have money/I'm not enought pro to make it work with every IE version.

Gesior

-----
Ye, IE sucks as much it's possible. Someone should kill all IE programers (who pay them 10.000$/month?!) :p
 
There are some programers (in poland) that make code (HTML/JS) work with IE, but they want XXX euro for one script. I don't have money/I'm not enought pro to make it work with every IE version.

Gesior

-----
Ye, IE sucks as much it's possible. Someone should kill all IE programers (who pay them 10.000$/month?!) :p

You can always use Chrome Frame for IE ;d
 
You can use conditional statements to style things for certain IE versions only.
 
No it wouldn't, because you're the owner <33333333333333333333333333333
 
for tfs 0.3.4 pl 2 guild name ^ ^

line 217

Lua:
$main_content .= $rank->getName().' of <a href="?subtopic=guilds&action=show&guild='.$guild->getId().'">'.$guild->getName().'</a><br />';

change this

Lua:
$main_content .= $rank->getName().' of <a href="?subtopic=guilds&action=show&guild='.$guild->getName().'">'.$guild->getName().'</a><br />';
 
Then I Creating Post And Try To Click On Post It Gift For Me THis Error


Fatal error: Call to a member function fetchAll() on a non-object in C:\xampp\htdocs\forum\forum.php on line 202
 
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'schema.z_forum' doesn't exist' in C:\xampp\htdocs\forum\forum.php:128 Stack trace: #0 C:\xampp\htdocs\forum\forum.php(128): PDO->query('SELECT `section...') #1 C:\xampp\htdocs\index.php(214): include('C:\xampp\htdocs...') #2 {main} thrown in C:\xampp\htdocs\forum\forum.php on line 128

Segui o tutorial certo mas deu esse erro


how to fix?

Good job

Thanks
 
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'schema.z_forum' doesn't exist' in C:\xampp\htdocs\forum\forum.php:128 Stack trace: #0 C:\xampp\htdocs\forum\forum.php(128): PDO->query('SELECT `section...') #1 C:\xampp\htdocs\index.php(214): include('C:\xampp\htdocs...') #2 {main} thrown in C:\xampp\htdocs\forum\forum.php on line 128

Segui o tutorial certo mas deu esse erro


how to fix?

Good job

Thanks


Execute in MySQL:
PHP:
CREATE TABLE `z_forum` (
  `id` int(11) NOT NULL auto_increment,
  `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 ;

and

PHP:
ALTER TABLE `accounts` ADD `last_post` INT( 11 ) NOT NULL DEFAULT '0';


:eek:
 
Execute in MySQL:
PHP:
CREATE TABLE `z_forum` (
  `id` int(11) NOT NULL auto_increment,
  `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 ;

and

PHP:
ALTER TABLE `accounts` ADD `last_post` INT( 11 ) NOT NULL DEFAULT '0';


:eek:

how does this ??

thanks :thumbup:
 
heya gesior, can u add the posibilty to upload a profile avatar and signatures?
 
My pictures does not work. = now works
EDIT: Had to change the forum.php file to forum/images/


BUT:
@ * Only moderators and admins can post on news board.
 
Last edited:
@gesior, the people that cannot see the newtopic image is because in the forum.php file the adress to the image is different or the name of image is different. :p I discover it right now hehe.
 
Status
Not open for further replies.
Back
Top