PDA

View Full Version : HTML in vBulletin Posts


kwblue
10-19-2010, 08:31 PM
Hey guys,

Been searching for awhile and just can't find anything about this.

The problem is that HTML doesn't seem to be 'fully recognized' in vBulletin and I have no clue what I am doing wrong :( Should be nice and simple, but it just isn't happening that way.

Here is the deal...

I have an RSS Feed that is being imported via the RSS Manager. The content works just fine everywhere else but vBulletin. In vB, it seems to hack up the HTML even though HTML is turned on for the forum the feed is being imported into.

Even when I manually paste the HTML portion of the feed, vB still strips out all sorts of stuff at odd points.

What can I do with this? I want the feed to come into the forums formatted exactly the way I designed it. It is all HTML with Divs, Spans, etc... and all the styles are inside the HTML, so there is no CSS to worry about.


Please help..... I'm totally stuck.

Bradley_Wint
10-20-2010, 12:44 AM
You need to enable HTML support on a per usergroup (usergroup manager) basis and per forum (forum manager).

It is highly not recommended though unless behind a private wall. Bots can still inject malicious code and compromise your system. I'm talking from experience.

kwblue
10-20-2010, 11:46 AM
I've already done that with no good results :( I used the Administrator as the account for the feed and set that user to allow HTML. The forum itself already allows HTML. Still not working, though.

Part of the HTML does come in, BTW... just not all of it. The RSS Feed works everywhere else, just not vBulletin.

Lynne
10-20-2010, 01:29 PM
Allowing HTML is not a usergroup function, it's a per forum function. If you are using a Modification, you may want to disable that and see if it's the problem.

How about a link to see what it is doing.

kwblue
10-20-2010, 01:43 PM
Allowing HTML is not a usergroup function, it's a per forum function. If you are using a Modification, you may want to disable that and see if it's the problem.

How about a link to see what it is doing.

Good idea Lynne :)

The post is at: http://www.affiliateguarddog.com/forums/test-alert-only-updates-commission-rules-t3337.html

That comes from the RSS Feed Manager / Poster.

The RSS Feed:
http://www.affiliateguarddog.com/partner/rss_manager/admin/rss_preview.php?key=MQ==

The HTML version of the RSS Feed:
http://www.affiliateguarddog.com/partner/rss_manager/admin/html_preview.php?key=MQ==


So - you can see it is very close, just not accurate.

Thanks, in advance!!

Lynne
10-20-2010, 05:01 PM
It looks like your smilies are causing problems. What do you have Allow Smilies set to and have you tried changing that?

kwblue
10-20-2010, 05:28 PM
It looks like your smilies are causing problems. What do you have Allow Smilies set to and have you tried changing that?

Ah... That is much better. Not perfect, but that may just be because it is inside the forums and bound by the tables inside the template.

Thank you so much for your help, Lynne. Totally appreciated!

--------------- Added 1287600710 at 1287600710 ---------------

Last question on this one (I hope):

I noticed that it is adding a lot of '<br>' in the HTML. Any reason for this and any way I can stop it from doing that?

that is what is making the HTML look a little funkier than the original.

Thanks again :)

--------------- Added 1287600972 at 1287600972 ---------------

Disregard. I removed all spacing from the HTML and it was fine. Not sure why it should insert the '<br>' in those places, though :(