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)

kall 09-25-2005 10:00 PM

Allow Usergroups to Post HTML
 
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.

Boofo 09-26-2005 09:40 AM

If they can post in it can everyone else still see if and not the html code instead?

Andreas 09-26-2005 09:42 AM

Quote:

as I expect to have Marco or Kirby to quietly come up
Here I am :D
  • Posting Rules display does not show that I am allowed to post HTML
  • Preview does not work
  • You might want to check if parsing is really done for a forum item before just enabling it

kall 09-26-2005 10:04 AM

Quote:

Originally Posted by KirbyDE
Here I am :D
  • Posting Rules display does not show that I am allowed to post HTML
  • Preview does not work
  • You might want to check if parsing is really done for a forum item before just enabling it

1. They do now. ;)

2. It does now!

3. What do you mean? How?

@Boofo: Yep, Posters make it in HTML and it is parsed for all viewers.

SHANE-D-PAIN 09-26-2005 10:20 AM

Where are the settings for this? :S

kall 09-26-2005 10:35 AM

Quote:

Originally Posted by SHANE-D-PAIN
Where are the settings for this? :S

Inside the xml.

By default, its 5,6,7 .

SHANE-D-PAIN 09-26-2005 10:38 AM

Quote:

Originally Posted by kall
Inside the xml.

By default, its 5,6,7 .

Okay, cheers! :)

Cyricx 09-26-2005 11:45 AM

Ugg, hate hard coded IDs because I have soooo many secondary usergroups ;)

Gotta love clan forums :P

Perhaps do the extra hooks to make it so you set the yes/no through the usergroup manager?

Rather then editting a plugin everytime you add another upper heirarchy usergroup.

Andreas 09-26-2005 11:49 AM

Yeah, a Usergroup Permission for that would be nice :)

kall 09-26-2005 06:42 PM

Quote:

Originally Posted by KirbyDE
Yeah, a Usergroup Permission for that would be nice :)

Wanna tell/teach me how to do that? :)


All times are GMT. The time now is 10:32 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.02534 seconds
  • Memory Usage 1,735KB
  • 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
  • (5)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
  • (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