Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-19-2010, 08:31 PM
kwblue kwblue is offline
 
Join Date: Jan 2006
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 10-20-2010, 12:44 AM
Bradley_Wint Bradley_Wint is offline
 
Join Date: Jul 2007
Posts: 543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 10-20-2010, 11:46 AM
kwblue kwblue is offline
 
Join Date: Jan 2006
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 10-20-2010, 01:29 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 10-20-2010, 01:43 PM
kwblue kwblue is offline
 
Join Date: Jan 2006
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
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!!
Reply With Quote
  #6  
Old 10-20-2010, 05:01 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It looks like your smilies are causing problems. What do you have Allow Smilies set to and have you tried changing that?
Reply With Quote
  #7  
Old 10-20-2010, 05:28 PM
kwblue kwblue is offline
 
Join Date: Jan 2006
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:50 PM.


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.07845 seconds
  • Memory Usage 2,222KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete