2009-07-14, 04:26 PM
2009-07-14, 04:30 PM
http://community.mybboard.net/thread-22068.html
It will need to be a .php file though, not a .html file...
It will need to be a .php file though, not a .html file...
2009-07-14, 04:33 PM
(2009-07-14, 04:30 PM)MattRogowski Wrote: [ -> ]http://community.mybboard.net/thread-22068.htmlYes, i have a php file.
It will need to be a .php file though, not a .html file...
i tried it but not working.
Mybbforum ver. : 1.4.8
2009-07-14, 04:41 PM
(2009-07-14, 04:33 PM)r3dk1t Wrote: [ -> ](2009-07-14, 04:30 PM)MattRogowski Wrote: [ -> ]http://community.mybboard.net/thread-22068.htmlYes, i have a php file.
It will need to be a .php file though, not a .html file...
i tried it but not working.
Mybbforum ver. : 1.4.8
What have you tried?
2009-07-17, 04:30 PM
Fatal error: Cannot redeclare get_attachment_icon() (previously declared in /home/xxxx/public_html/wp-includes/post-template.php:1032) in /home/xxx/public_html/forum/inc/functions.php on line 2713
2009-07-17, 04:37 PM
(2009-07-17, 04:30 PM)r3dk1t Wrote: [ -> ]Fatal error: Cannot redeclare get_attachment_icon() (previously declared in /home/xxxx/public_html/wp-includes/post-template.php:1032) in /home/xxx/public_html/forum/inc/functions.php on line 2713
Looks like you could be including functions.php more then once.
2009-07-17, 04:43 PM
No it means that the function get_attachment_icon is declared both in /home/xxxx/public_html/wp-includes/post-template.php and /home/xxx/public_html/forum/inc/functions.php.
Just go to the lines and remove the function in one of them :p
Probably best to remove it from the forum functions.
Just go to the lines and remove the function in one of them :p
Probably best to remove it from the forum functions.
2009-07-17, 08:29 PM
i removed from forum functions. and i get this error..
Fatal error: Cannot redeclare get_post() (previously declared in /home/xxxx/public_html/wp-includes/post.php:209) in /home/xxx/public_html/forum/inc/functions.php on line 4624
Fatal error: Cannot redeclare get_post() (previously declared in /home/xxxx/public_html/wp-includes/post.php:209) in /home/xxx/public_html/forum/inc/functions.php on line 4624
2009-09-15, 10:29 PM
I'm also trying to add some MyBB functionality to my Wordpress blog, but it appears that both systems use similar functions names. Can somebody help figure out a solution?