News:

Wondering if this will always be free?  See why free is better.

Main Menu

SimplePortal

Started by SimplePortal Team, March 10, 2008, 11:16:07 PM

Previous topic - Next topic

Jeet Chowdhury

thank u i will join simpleportal. :)

reefforum

thank you for this amazing mod works like a champ  ;D

TheListener

Is there a way to correct the xml error in the RSS block?

I currently have a RSS block showing on the portal and main  forum page.


Spuds

Does it happen for all rss feeds or just one?

Angelina Belle

SimplePortal's RSS block handles some feeds perfectly, and fails on other, perfectly valid feeds.
Something about the XML functions it uses just wasn't designed to handle RSS, it seems.

The only way to fix the problem is to completely rewrite the code it uses.
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Spuds

The handler is pretty basic, so was just curious which feed it was tossing an error on ... probably not standard  RSS 0.9/1.0 but possibly having problems with an  RSS module, RSS 2.0, or even Atom content. 

Angelina Belle

I don't know the details. I haven't been through SMF's XML functions myself.
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

botb2

So does this mean simple portal cannot handle XML feeds in the blocks? Secondly, I was going to post this on the simple portal forum but your email aunthentication is bugged as in I click on the link, try logging in and it says I haven't verified in my email yet.

Angelina Belle

SimplePortal's RSS block does handle many XML feeds.
Some others, it does not handle.

If email verification failed, can you ask it to send verification again?
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

botb2

#3729
I've done it twice, both times it failed and wouldn't verify me.

Well I tried the RSS Feed for this XML feed I'm trying to get working and I get invalid feed. When I try adding it in as a php block I get this error,
Parse error: syntax error, unexpected ':' in /home/thepok8/public_html/Sources/PortalBlocks.php(3461) : eval()'d code on line 1

This is the feed I'm trying to add to my site, http://www.pokeraffiliatesolutions.com/docs/xmlfeeds.php

MATTEK

Can anyone link me to a working 2.3.3 portal?
SMF 2.0.1

Like Comics, Books, Movies or T.V. Shows? Read about them here!!

botb2


MATTEK

Quote from: botb2 on February 10, 2011, 11:16:54 PM
as in getting it to work? www.thepokerdream.net
Yea but for 2.0 RC3 or 4. I just wanna see the comparison.
SMF 2.0.1

Like Comics, Books, Movies or T.V. Shows? Read about them here!!

Angelina Belle

Quote from: botb2 on February 10, 2011, 10:54:06 PM
I've done it twice, both times it failed and wouldn't verify me.
What do you mean by "verify". The RSS block does not verify feeds.
Do you mean that you tried to validate the feed at http://validator.w3.org/feed/?
Or do you mean that you got a message in the block that the feed was invalid?

Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Spuds

Quote from: botb2 on February 10, 2011, 10:54:06 PM
I've done it twice, both times it failed and wouldn't verify me.

Well I tried the RSS Feed for this XML feed I'm trying to get working and I get invalid feed. When I try adding it in as a php block I get this error,
Parse error: syntax error, unexpected ':' in /home/thepok8/public_html/Sources/PortalBlocks.php(3461) : eval()'d code on line 1

This is the feed I'm trying to add to my site, http://www.pokeraffiliatesolutions.com/docs/xmlfeeds.php
Thats because its not an RSS feed .... its a page on how to set up a feed (if you are an affiliate).   Its also not php code that you would ever place in a block.

Angelina Belle

botb, I got your two messages confused.

On the RSS feed page -- see the example: http://www.raketracker.com/feeds/poker_rooms/cake-poker.xml

As for the problem registering at SimplePortal.net -- I don't recall hearing
Please give more information.
* Did you receiver the verification email?
* Did you follow the link on the verificatin email?
* Then what happened?
Please be very specific. If I can learn anything, I will pass it on to the folks who make simpleportal.net run.

Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Neo_TE

Quote from: MATTEK on February 11, 2011, 12:49:46 AM
Yea but for 2.0 RC3 or 4. I just wanna see the comparison.
check my website. link in my sig. :)

smitch6

Quote from: AngelinaBelle on January 27, 2011, 12:48:30 PM
A future version of SimplePortal will do exactly what you want.
For now, every SimplePortal article actually IS a topic post.

One poster did post code for a custom-php "SMF Articles" block. You can find that at SimplePortal.net, by searching for SMF Articles. Then, you can make that custom-php block show up on any page you want.

Another option, of course, for use with the current version of SMF, is to store all the articles away in a single out-of-the-way board (maybe even a child board), and display them on the Portal Page. That's one of the things SimplePortal does best. I think this is the simpler choice.

Either choice is pretty simple.

i never actually got this sorted :(
Friendly, reliable web hosting at affordable prices
www.normanboatforum.co.uk l www.PatTesterSuffolk.co.uk

Angelina Belle

Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

4LP3RUZ1

#3739
I used to float all the main page images to left via the sp_article class, but since i installed the RC4 security patch (not 100% sure its the patch's fault) my images are not being tagged as class sp_article. They are now of class="bbc_img resized" rather than class="bbc_img sp_article"

example: (link removed... too many incoming trolls :P) (the top post's image is different)

any solution? I don't want to float bbc_img because that applies to the whole forum.

edit:
temporarily solved by adding this line to PortalBlocks.php:
$row['body'] = preg_replace('~class="bbc_img resized"~i', 'class="bbc_img resized sp_article"', $row['body']);
Frozen frogs are back :(

Advertisement: