MyBB Community Forums

Full Version: Displaying News on your homepage
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
Just found another unusual bug.

For some reason it wont display the ' symbol at all. It just puts a few random symbols in its place.

very odd, its not like its a unusual or uncommon character to use......

any ideas why this is happening.??

edit : just a minute it seems to be happening with just a few news articles, il look into it

seems to be only happening with this forum :

http://www.zionmax.com/forumdisplay.php?fid=35

how odd
It's not actually the ' symbol, it's ’

The £ sign also seems to be becoming a £

Don't know why though since it's using the MyBB parser class, I'll ask one of the devs about it later see if they know why.

EDIT
Tiki says to try adding this inside your pages <head></head> tags:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

He also says that if that alone won't fix it, you'll have to wait for MyBB 1.2.10 which can fix the encoding back to UTF-8.

EDIT 2
Your HTML is really messed up at the start of the code:
<head>
<center><div class="networkbar">
<FONT COLOR='#cc0066'><b>ZionMax Network :   </FONT><A HREF="http://zionmax.com/ps3.php"> <FONT COLOR='#cc0066'>PS3</FONT></A> | <A HREF="http://zionmax.com/psp.php"> <FONT COLOR='#cc0066'>PSP</FONT></A> | <A HREF="http://zionmax.com/xbox360.php"> <FONT COLOR='#cc0066'>XBOX 360</FONT></A> | <A HREF="http://zionmax.com/xbox.php"> <FONT COLOR='#cc0066'>XBOX</FONT></A> | <A HREF="http://zionmax.com/wii.php"> <FONT COLOR='#cc0066'>WII</FONT></A> | <A HREF="http://zionmax.com/ds.php/"> <FONT COLOR='#cc0066'>DS</FONT></A> | <A HREF="http://zionmax.com/gamecube.php"> <FONT COLOR='#cc0066'>GAMECUBE</FONT></A> | <A HREF="http://zionmax.com/dreamcast.php"> <FONT COLOR='#cc0066'>DREAMCAST</FONT></A> | <A HREF="http://zionmax.com/saturn.php"> <FONT COLOR='#cc0066'>SATURN</FONT></b></A></center></div>

<a href="http://www.zionmax.com/index.php"><img class= "logo" src="/wiinews.gif" border="0" alt="ZionMax.com"/></a>
</head>

<body>
<link href="http://www.zionmax.com/styles.css" rel="stylesheet" type="text/css" media="screen" />
You may want to fix that, it should be more like this:
<head>
<link href="http://www.zionmax.com/styles.css" rel="stylesheet" type="text/css" media="screen" />
</head>

<body>
<center><div class="networkbar">
<FONT COLOR='#cc0066'><b>ZionMax Network :   </FONT><A HREF="http://zionmax.com/ps3.php"> <FONT COLOR='#cc0066'>PS3</FONT></A> | <A HREF="http://zionmax.com/psp.php"> <FONT COLOR='#cc0066'>PSP</FONT></A> | <A HREF="http://zionmax.com/xbox360.php"> <FONT COLOR='#cc0066'>XBOX 360</FONT></A> | <A HREF="http://zionmax.com/xbox.php"> <FONT COLOR='#cc0066'>XBOX</FONT></A> | <A HREF="http://zionmax.com/wii.php"> <FONT COLOR='#cc0066'>WII</FONT></A> | <A HREF="http://zionmax.com/ds.php/"> <FONT COLOR='#cc0066'>DS</FONT></A> | <A HREF="http://zionmax.com/gamecube.php"> <FONT COLOR='#cc0066'>GAMECUBE</FONT></A> | <A HREF="http://zionmax.com/dreamcast.php"> <FONT COLOR='#cc0066'>DREAMCAST</FONT></A> | <A HREF="http://zionmax.com/saturn.php"> <FONT COLOR='#cc0066'>SATURN</FONT></b></A></center></div>

<a href="http://www.zionmax.com/index.php"><img class= "logo" src="/wiinews.gif" border="0" alt="ZionMax.com"/></a>
Yep the thing tikiti suggested fixed it Smile

Also thanks for the advice regarding the other things Smile

Thanks
Remember me? My site got hacked, but it's fixed now. My forum is hosted it on Createmybb, so I can't do this right? You mentioned a method with an RSS Feed? How do you do that?
Well you would need a PHP RSS parser (Google should help you there) and then you would need to set that parser up to work with the RSS feed from your MyBB forums syndication feature.

Finally you would need to integrate the output from the parser into your website.
MrDoom Wrote:Well you would need a PHP RSS parser (Google should help you there) and then you would need to set that parser up to work with the RSS feed from your MyBB forums syndication feature.

Finally you would need to integrate the output from the parser into your website.

How do I do that?
Well, you would have to look on Google for a PHP RSS Parser and set that up on your webserver. You can then get a RSS feed URL from the "RSS Syndication" link at the bottom of your forum and set up the PHP RSS Parser to take that URL as it's input.

Then you woulod just have to customise the output from the RSS Parser to look how you want it to and then integrate that output into your website.

As I said before, this really isn't something I want to get into because it's a pretty horrid solution for something that should be so simple. There are plenty of tutorials on Google to help you with this; this should help you get started.

If you get really stuck let me know.

EDIT
MagpieRSS looks like a decent, simple to use solution for you. Check it out.
MrDoom Wrote:Well, you would have to look on Google for a PHP RSS Parser and set that up on your webserver. You can then get a RSS feed URL from the "RSS Syndication" link at the bottom of your forum and set up the PHP RSS Parser to take that URL as it's input.

Then you woulod just have to customise the output from the RSS Parser to look how you want it to and then integrate that output into your website.

As I said before, this really isn't something I want to get into because it's a pretty horrid solution for something that should be so simple. There are plenty of tutorials on Google to help you with this; this should help you get started.

If you get really stuck let me know.

EDIT
MagpieRSS looks like a decent, simple to use solution for you. Check it out.
I think I just won't bother with it until I can host Mybb on the same server
Is it possible to select which "Group" should the posts come from and etc...?
You mean a usergroup? Probably, would you want the posts by a certain usergroup in a certain forum or the posts by that usergroup over all forums?
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33