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.

abdulbasitsaeed 07-16-2009 04:32 AM

Thank you!

Works perfectly with vBulletin 3.8.3. :)

yotsume 08-14-2009 05:03 AM

Works perfect on vb3.7x for me as well. I will have to test what a normal members sees when viewing the admin html post.

salvador21 09-05-2009 01:51 PM

Doesn't work for me in 3.8.4 :confused:

Uploaded the upload folder, installed the xml, but in usergroup manager there is no option to parse

salvador21 09-07-2009 12:13 PM

Can anyone help please????

dai-kun 09-13-2009 05:31 AM

works in 3.8.4
make sure to clear cache if u have a cache like vboptimizer.

HG-ILUSION 09-27-2009 04:06 AM

Works fine on vB 3.8.4. Thanks

csrs 10-01-2009 11:28 PM

This does not work for me at all . I have tried everything that I can think of , however, I am still having the same problem . For example, trying to embed a widget from espn
Code:

<object type="application/x-shockwave-flash" data="http://widgets.clearspring.com/o/472f42d09f9d65f5/4ac548a98e3d699f/472f42d09f9d65f5/8f875984" id="W472f42d09f9d65f54ac548a98e3d699f" width="300" height="387"><param name="movie" value="http://widgets.clearspring.com/o/472f42d09f9d65f5/4ac548a98e3d699f/472f42d09f9d65f5/8f875984" /><param name="wmode" value="transparent" /><param name="allowNetworking" value="all" /><param name="allowScriptAccess" value="always" /></object>

Flep 10-09-2009 11:30 AM

Installed it.
I got the option but it does not work...

accludetuner 11-05-2009 11:59 PM

Works great on 3.8.4! Thank you!

cellarius 11-27-2009 11:09 PM

Just wanted to let you know that this one still works for me on vB4 (beta 4).

kall 11-28-2009 02:47 AM

Quote:

Originally Posted by cellarius (Post 1921825)
Just wanted to let you know that this one still works for me on vB4 (beta 4).

Wow, thanks Sven! :)

garretbyrne 11-28-2009 03:04 AM

Yep works for me.. Nicely done Kall... Cheers

kall 11-28-2009 04:29 AM

I decided it would be a great idea to make a release thread in the 4.0 forum, considering I didn't bother for like 3.6,7, or 8. :)

https://vborg.vbsupport.ru/showthread.php?t=229035

brandon515 12-28-2009 11:37 PM

I use a mod that allows some users to post to the forum via email. If the user was to send an html based email, would this mod work....or does it only work via the post/reply screens in vb?

Thanks,
Brandon

Dervish-Dancer 01-04-2010 08:06 PM

Is there a way to control the way that vBulletin handles blank lines? Right now, it automatically adds <br> to every single blank line - this causes problems when you separate HTML tags with lines.

Can I make HTML parsed posts ignore the blank lines so that I can have full control over <br> ?

kall 01-04-2010 08:08 PM

Sorry, I'm not really sure how to manage that. If anyone can suggest a way, I can add it.

Dervish-Dancer 01-04-2010 08:46 PM

Quote:

Originally Posted by Dervish-Dancer (Post 1947198)
Is there a way to control the way that vBulletin handles blank lines? Right now, it automatically adds <br> to every single blank line - this causes problems when you separate HTML tags with lines.

Can I make HTML parsed posts ignore the blank lines so that I can have full control over <br> ?

Quote:

Originally Posted by kall (Post 1947199)
Sorry, I'm not really sure how to manage that. If anyone can suggest a way, I can add it.

I tried looking for a separate hack/plugin, but nothing comes up on any forums or searches :(

Stryker412 03-05-2010 07:04 PM

I'm having a small issue on 3.8.4. The HTML parses fine on my two installed skins but not the vb default one.

ArchAngelz 05-19-2010 03:38 AM

Does anyone know if there's a vb4 version of this?

cellarius 05-19-2010 04:35 AM

Quote:

Originally Posted by ArchAngelz (Post 2039600)
Does anyone know if there's a vb4 version of this?

Just kook at the profile of the coder...

ricardoNJ 07-04-2010 04:30 AM

Nice thanks!!

jacobsen1 09-20-2010 06:55 PM

just upgraded to 4.0.7 and now ANYONE can post code.... their usergroups say no, but the forum has it turned on... It's basically ignoring the usergroup specific options and just going with the forum options?

kall 09-21-2010 02:00 AM

Quote:

Originally Posted by jacobsen1 (Post 2101107)
just upgraded to 4.0.7 and now ANYONE can post code.... their usergroups say no, but the forum has it turned on... It's basically ignoring the usergroup specific options and just going with the forum options?

It was never designed as an OFF switch, it's supposed to override the OFF switch in Forum Options.

ie: If you set a forum to have HTML on, then HTML is on, this mod won't change anything.

jacobsen1 09-21-2010 04:13 PM

so I should set the admin group to on and leave all forums off and it should work?

edit:
just checked, having HTML off in a forum, but the usergroup set to on DOES NOT WORK in 4.0.7.
right now, this mod doesn't really do anything, setting the forum to on makes HTML work for everyone, setting it to off breaks it for everyone...


All times are GMT. The time now is 01:36 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.01595 seconds
  • Memory Usage 1,814KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (34)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