vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   HTML in vBulletin Posts (https://vborg.vbsupport.ru/showthread.php?t=252304)

kwblue 10-19-2010 08:31 PM

HTML in vBulletin Posts
 
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

Quote:

Originally Posted by Lynne (Post 2112036)
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/for...les-t3337.html

That comes from the RSS Feed Manager / Poster.

The RSS Feed:
http://www.affiliateguarddog.com/par...w.php?key=MQ==

The HTML version of the RSS Feed:
http://www.affiliateguarddog.com/par...w.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

Quote:

Originally Posted by Lynne (Post 2112083)
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 [DATE]1287600710[/DATE] at [TIME]1287600710[/TIME] ---------------

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 [DATE]1287600972[/DATE] at [TIME]1287600972[/TIME] ---------------

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


All times are GMT. The time now is 07:04 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01104 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete