MyBB Community Forums

Full Version: Last recent post
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,
How do I show last recent posts on my html page?
Can anybody help me?
http://community.mybboard.net/thread-22068.html

It will need to be a .php file though, not a .html file...
(2009-07-14, 04:30 PM)MattRogowski Wrote: [ -> ]http://community.mybboard.net/thread-22068.html

It will need to be a .php file though, not a .html file...
Yes, i have a php file.
i tried it but not working.
Mybbforum ver. : 1.4.8
(2009-07-14, 04:33 PM)r3dk1t Wrote: [ -> ]
(2009-07-14, 04:30 PM)MattRogowski Wrote: [ -> ]http://community.mybboard.net/thread-22068.html

It will need to be a .php file though, not a .html file...
Yes, i have a php file.
i tried it but not working.
Mybbforum ver. : 1.4.8

What have you tried?
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: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.
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.
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
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?