vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Allow Usergroups to Post HTML (https://vborg.vbsupport.ru/showthread.php?t=96926)

feldon23 02-10-2009 08:51 PM

Any whitespace between </td> and <td> or </tr> and <tr> becomes break tags which are not valid outside of the cells and rows of a table, so they are displayed ABOVE the table.

You must remove all whitespace in your table if you want to reduce the gap above the table.

DJ29Joesph 02-10-2009 10:20 PM

Quote:

Originally Posted by Kirk Y (Post 779946)
Ha ha Boof! :mad:

What do I need to change so I can input a single Username in addition to a single Usergroup?

Edit:
PHP Code:

if (in_array($post['usergroupid'], array(6))) OR if (in_array($post['username'], array(vBlogger)))
                { 

That close?

Anyone get an update on this and if so where do I edit this..I dont see anything like this in the .xml file:confused:

mystikmedia 02-11-2009 10:16 PM

Should code such as this work with this product? If so, it doesn't seem to be working when I preview the post...

Code:

<embed src="http://www.xatech.com/web_gear/chat/chat.swf" quality="high" bgcolor="#000000" width="540" height="405" name="chat" FlashVars="id=51155593&gn=HammerfallForums" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://xat.com/update_flash.shtml" /><br><small><a target="_BLANK" href="http://xat.com/web_gear/chat/embed.php?id=51155593&GroupName=HammerfallForums">Get HammerfallForums chat group</a> | <a target="_BLANK" href="http://xat.com/HammerfallForums"> Goto HammerfallForums website</a></small><br><img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://counters.gigya.com/wildfire/IMP/CXNID=2000002.0NXC/bT*xJmx*PTEyMzQzOTUyNTI1ODQmcHQ9MTIzNDM5NTI3MjE*NiZwPTUzMTUxJmQ9Jmc9MSZ*PSZvPTMxODMwYTM*MTQ3YTRhYWQ4ZjU1OWYzMzhjZWU*NTIz.gif" />

jl255 02-13-2009 03:01 AM

Quote:

Originally Posted by feldon23 (Post 1740215)
Any whitespace between </td> and <td> or </tr> and <tr> becomes break tags which are not valid outside of the cells and rows of a table, so they are displayed ABOVE the table.

You must remove all whitespace in your table if you want to reduce the gap above the table.

tks! worked like a charm :up:

foxfirediego 02-27-2009 10:19 PM

If you switch the editor mode, you will lose all the tags -.-

nando99 03-16-2009 03:33 AM

So I installed this on 3.7.4 and it works great there's just one problem - after a while, when I go back to check an old thread that I added some html in it - it just shows the html code.... i have to edit it and save it and boom it works...

Anyone have any idea why it would do that?

fatal1980 05-15-2009 10:06 PM

Quote:

Originally Posted by nando99 (Post 1769321)
So I installed this on 3.7.4 and it works great there's just one problem - after a while, when I go back to check an old thread that I added some html in it - it just shows the html code.... i have to edit it and save it and boom it works...

Anyone have any idea why it would do that?

I get the same issue. I'm will to drop some money to get this working.

nando99 05-16-2009 02:19 AM

Quote:

Originally Posted by fatal1980 (Post 1811509)
I get the same issue. I'm will to drop some money to get this working.

I'm with you on this...

decryption 05-16-2009 07:52 AM

Does this work in vBulletin 3.8.2?

ddmobley 05-16-2009 03:47 PM

Quote:

Originally Posted by nando99 (Post 1769321)
So I installed this on 3.7.4 and it works great there's just one problem - after a while, when I go back to check an old thread that I added some html in it - it just shows the html code.... i have to edit it and save it and boom it works...

Anyone have any idea why it would do that?

This is because of the post parsed cache. When a user with HTML posting access posts an HTML message, his access level produces a valid HTML-viewable page, and a copy is stored in the vb_post_parsed database table.

When the post parsed cache time limit is reached, the post is deleted from the cache. The next time someone views the page, the code that builds the page is pulled straight from the vb_post database table, and if it happens to be a user who does not have HTML posting capability, it will display a page full of junk code.

I have posted about this error repeatedly in this thread, but the author refuses to comment on the issue, or return emails or PM's about it. You can read some of my posts in this thread about how I solved the issue for myself. Since I only allow HTML for the administrative user group and only on sticky messages, I was able to find a workable solution. There is a number of places where the post parsed cache is purged in the software, so even if you implement my solution, you may still have problems somewhere else.

It's a real pain to have to go in, edit and resave all the HTML posts periodically, but you aren't going to get any assistance on this from anyone here. You can also open the posts in question in the vb_post_parsed database table and set their dateline date to some time way in the future, like 9999999999.

This could be an awesome mod with this one issue fixed.


All times are GMT. The time now is 08:10 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.01522 seconds
  • Memory Usage 1,751KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete