Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Allow Usergroups to Post HTML Details »»
Allow Usergroups to Post HTML
Version: 1.00, by kall kall is offline
Developer Last Online: Aug 2021 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 09-25-2005 Last Update: 11-27-2005 Installs: 510
Uses Plugins
Is in Beta Stage  
No support by the author.

Just like the name says, this ultra-simple little Product will allow you to specify Usergroups that may post in HTML and have that HTML be parsed...SOME PEOPLE ARE HAVING TABLE PROBLEMS - THIS IS UNSUPPORTED USEAGE OF THE MODIFICATION AND I AM UNABLE TO ASSIST!

***BE AWARE THAT INDISCRIMINATE USE OF THIS HACK IS RISKY - RESTRICT IT TO ONLY THOSE USERGROUPS YOU TRUST ABSOLUTELY***

The scary message above is to make sure you are aware that enabling HTML for any group opens you up to security issues. This is why it is not a feature of Stock vB, probably.

I decided I needed to have the ability to post in HTML because I just installed ZT's RSS Feeds hack, and the ones I got from Google looked all horrible.

Now updated to be controlled by a Setting in Usergroup Manager, it's phrased and even works in editpost.php (preview) in WYSIWYG and normal modes, AND the Forum Rules shows HTML is ON.

This will not work retroactively. That is, if a User posted something in HTML before they were given the ability, that post has to be edited by that member (or someone else with HTML ability) in order to be parsed. I am assuming this is due to post caching.

Many thanks to Kirby for prodding me to figure it out by myself and not just telling me what to do.

A "demo" is here..html is OFF in that Forum, but the post is made by an Admin, so the HTML is parsed.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
HeyMe

Comments
  #292  
Old 12-04-2006, 05:32 AM
mihai11 mihai11 is offline
 
Join Date: Dec 2005
Location: Sibiu - Romania
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NolF View Post
Just tried that, same error happens. Initially the table shows up (fancy looking), but when I press the 'switch editor mode' then All tables are gone. If the button es pressed again, the fancy looking table, has just lots all the structure and is not fancy anymore...
Thanks for trying anyways, it's greatly appreciated.

Any other ideas?
You must go to your "User Control Panel" and select the basic editor as the default editor. Whenever you use the "switch editor mode" option you loose the formatting, so you must make the basic editor the default in order to avoid using that option.

Hope this helps.
Reply With Quote
  #293  
Old 12-04-2006, 05:11 PM
NolF's Avatar
NolF NolF is offline
 
Join Date: Nov 2006
Location: You don't wanna know
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't find the option you are mentioning Ended up empty handed after looking thoroughly on both UCP and ACP.

Besides, its a bit extrange that in order to be able to edit tables I can only use simple view. If by default when I press edit, it inmediatly shows me de code (including tables) then It's what I'm looking for, else don't know what to do.

Just one aclaration, is it vbulletins fault or is it due to this hack that the tables get lost after pressing "switch editor mode"? (I doubt is due to this hack but still it is a valid question, I think.)

Thanks for helping mihai11
Reply With Quote
  #294  
Old 12-04-2006, 08:36 PM
mihai11 mihai11 is offline
 
Join Date: Dec 2005
Location: Sibiu - Romania
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NolF View Post
I can't find the option you are mentioning Ended up empty handed after looking thoroughly on both UCP and ACP.
Go to "User Control Panel -> Edit Option -> Message Editor Interface". You can choose Basic & Standard: both options are OK.

I attached a print screen with the option.

Quote:
Originally Posted by NolF View Post
Besides, its a bit extrange that in order to be able to edit tables I can only use simple view. If by default when I press edit, it inmediatly shows me de code (including tables) then It's what I'm looking for, else don't know what to do.
This is how things get done in VB. The built-in WYSIWYG editor doesn't support HTML properly.

Quote:
Originally Posted by NolF View Post
Just one aclaration, is it vbulletins fault or is it due to this hack that the tables get lost after pressing "switch editor mode"? (I doubt is due to this hack but still it is a valid question, I think.)

Thanks for helping mihai11
It's the default VB behavior. It has nothing to do with this hack. It's easy to convince yourself - just try this on a clean VB installation
Reply With Quote
  #295  
Old 12-05-2006, 02:23 AM
NolF's Avatar
NolF NolF is offline
 
Join Date: Nov 2006
Location: You don't wanna know
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thx mihai your solution worked perfectly
Reply With Quote
  #296  
Old 12-08-2006, 12:50 PM
TheWebCo TheWebCo is offline
 
Join Date: Dec 2006
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Guys

I downloaded and installed this and have changed the permissions for the Administrator only so that I could create an HTML table in a post reply.

Sadly, I just seem to get in the preview:-

HTML code:

and then all the HTML code, it doesn't seem to be parsed.

I thought that may be peculiar to the preview so I tried submitting it as a reply but I get the same result.

Any ideas, as it seems to be foxing me at the moment!

Cheers

Nick
Reply With Quote
  #297  
Old 12-08-2006, 03:55 PM
TheWebCo TheWebCo is offline
 
Join Date: Dec 2006
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I found the answer - I didn't realise that not only did I need to set the permission for the usergroup, but also the forum permissions to allow HTML
within it.

One other thing I didn't realsie was that the HTML could be cut and pasted straight into thw WYSIWYG editor and doesn't have to be inserted as raw HTML code.
Reply With Quote
  #298  
Old 12-08-2006, 04:37 PM
mihai11 mihai11 is offline
 
Join Date: Dec 2005
Location: Sibiu - Romania
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheWebCo View Post
One other thing I didn't realsie was that the HTML could be cut and pasted straight into thw WYSIWYG editor and doesn't have to be inserted as raw HTML code.

Some things will break if you do that. For example all "targets" for the anchor tag
HTML Code:
<a>
will be lost. The WYSIWYG editor saves the post as BB code. In BB code it is not possible to specify the target of a link.
Reply With Quote
  #299  
Old 12-30-2006, 05:23 AM
NolF's Avatar
NolF NolF is offline
 
Join Date: Nov 2006
Location: You don't wanna know
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just a warning if you isntall this in 3.6.4 After puting ,my board live, usergroups who didnt have html allow would stop the post for being parsed just by opening it... so it doesnt work on 3.6.4
Reply With Quote
  #300  
Old 01-01-2007, 06:53 AM
Xil Ze Xil Ze is offline
 
Join Date: Mar 2005
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NolF View Post
Just a warning if you isntall this in 3.6.4 After puting ,my board live, usergroups who didnt have html allow would stop the post for being parsed just by opening it... so it doesnt work on 3.6.4
what do you mean exactly?
Reply With Quote
  #301  
Old 01-03-2007, 05:39 PM
ThomasR ThomasR is offline
 
Join Date: Mar 2005
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, I'm using this plugin, but still under 3.6.1 (patched) and I need this plugin before moving to 3.6.4
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:47 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04952 seconds
  • Memory Usage 2,325KB
  • Queries Executed 25 (?)
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)bbcode_html
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete