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

Reply
 
Thread Tools
Per Usergroup HTML Posting Permission Details »»
Per Usergroup HTML Posting Permission
Version: 4.001, by kall kall is offline
Developer Last Online: Aug 2021 Show Printable Version Email this Page

Category: New Posting Features - Version: 4.0.x Rating:
Released: 11-27-2009 Last Update: Never Installs: 300
DB Changes Uses Plugins
Additional Files  
No support by the author.

Just like the name says, this ultra-simple little Product will allow you to specify Usergroups that may make forum posts in HTML and have that HTML be parsed.

Default vBulletin - You can only choose whether an entire forum has the HTML permission, for all Usergroups. With this modification, you can give the permission to a specific Usergroup.

The code in this version is 100% identical to that in the 3.5 version (except for the lack of parseing in the Preview), which worked all the way through 3.6,7 and 8.

Blog HTML permissions are, for some reason, actually there in Usergroup Manager, they control HTML in Blog entries and posts, and override the settings in this Product.

***BE AWARE THAT INDISCRIMINATE USE OF THIS PRODUCT 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.

Controlled by a Setting in Usergroup Manager, it's phrased and works in editpost.php in WYSIWYG and normal modes, AND the Forum Rules shows HTML is ON to allowed Usergroups.

In the current vB 4.0, this WILL apply retroactively.
That is, if a User posted something in HTML in the past, before they were given the ability, that post will be parsed. This could prove dangerous/troublesome for anything not wrapped in PHP tags.


Many thanks to Andreas 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 those posts are made by an Admin with the setting to Yes, so the HTML is parsed.

Known Issues: It is not currently possible to choose whether the HTML in a post is parsed or not - it will be.. unless (weirdly) you wrap it in PHP /PHP tags.
I'll look into adding a toggle switch.

Download Now

File Type: zip UsergroupAllowHTML4.0.zip (2.4 KB, 1775 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
Razor87, RichieBoy67

Comments
  #102  
Old 05-16-2011, 10:32 AM
Krishan Krishan is offline
 
Join Date: Jan 2011
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by midnz View Post
It looks like this:



Have you tried searching for "Allow HTML Permissions" while viewing the Usergroup Permissions page?
Dear sir,

Yes, I've searched for that. It is still not showing in the "Edit usergroup permissions". I uploaded XML file in root, then I uploaded the provided plugin in admin panel.

Any help?
Reply With Quote
  #103  
Old 05-23-2011, 05:57 PM
CaptCom CaptCom is offline
 
Join Date: Apr 2011
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice code, thank you!!
Reply With Quote
  #104  
Old 06-05-2011, 06:27 PM
MortysTW MortysTW is offline
 
Join Date: Mar 2005
Location: Southern CA, USA
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This may sound dumb but has worked on many mods for me.

Go to your plugin/ products and disable the first mod. Doesn't matter what it is. Let page do its thing then turn it back on.

When you alter mods like that its rebuilds the admincp in vbulletin. Basically "fixing" it.

Then go back and look for your html control in usergroup permissions.
Reply With Quote
  #105  
Old 06-15-2011, 01:55 PM
colwal colwal is offline
 
Join Date: Jun 2009
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

FTP issue at moment but when fixed will install and thanks.
Reply With Quote
  #106  
Old 06-17-2011, 08:40 AM
Webbstre Webbstre is offline
 
Join Date: Nov 2009
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hopefully the mod author still follows this one, but lately I have run into a lot of video embed scripts that don't work properly. Here is an example:

Code:
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"  WIDTH=640 HEIGHT=391 id="videoPlayer"><PARAM NAME=movie VALUE="http://image.com.com/gamespot/images/cne_flash/production/eidothea/release/eidothea.swf?ver=008_11"><PARAM NAME=scale VALUE="noScale"><PARAM NAME=salign VALUE="lt"><PARAM NAME=quality VALUE=high><PARAM NAME=allowscriptaccess VALUE="always"><PARAM NAME=allowFullScreen VALUE="true"><PARAM NAME=flashvars VALUE="bwr=0&playerMode=embedded&movieAspect=16.9&mapp=embedded_640&gen=1&viewMode=sd&autoPlay=false&paramsXML=http%3A%2F%2Fwww.gamespot.com%2Fpages%2Fvideo_player%2Fxml.php%3Fid%3D6319192%26mode%3Dembedded%26width%3D640%26height%3D391%26newplayer%3D1%26skin%3DeidotheaEmbedded640_169.xml"><PARAM NAME=wmode VALUE="opaque"><embed  id="mymovie"  width="640"  height="391" flashvars="bwr=0&playerMode=embedded&movieAspect=16.9&mapp=embedded_640&gen=1&viewMode=sd&autoPlay=false&paramsXML=http%3A%2F%2Fwww.gamespot.com%2Fpages%2Fvideo_player%2Fxml.php%3Fid%3D6319192%26mode%3Dembedded%26width%3D640%26height%3D391%26newplayer%3D1%26skin%3DeidotheaEmbedded640_169.xml" wmode="opaque" allowscriptaccess="always" scale="noScale" salign="lt" allowFullScreen="true" quality="high" name="mymovie" style="" src="http://image.com.com/gamespot/images/cne_flash/production/eidothea/release/eidothea.swf?ver=008_11" type="application/x-shockwave-flash"/></embed></OBJECT>
It usually breaks on the first part, around classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000". Sometimes removing it and/or other parts of the code helps, but this particular one just got stuck on a permanent loading screen when I did it. Any chance for a small update to make this easier?
Reply With Quote
  #107  
Old 06-17-2011, 11:13 AM
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Posts: 1,987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your own post here may give you a hint - does it help if you disable smilie parsing for the relevant post?
Reply With Quote
  #108  
Old 06-17-2011, 12:18 PM
Webbstre Webbstre is offline
 
Join Date: Nov 2009
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actually, I did try that, and it still didn't work.
Reply With Quote
  #109  
Old 08-12-2011, 09:44 PM
ewebdesigner ewebdesigner is offline
 
Join Date: Dec 2010
Location: Tennessee
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a question.

When I post in HTML why cannot I put up a buy now image and it be clickable to a paypal link to make a payment?

Just curious as I allow my members to post their internet marketing products for sale on one particular forum which is modded before it is live so I can check the HTML to make sure everything is OK!

I want them to be able to post their thread just like a squeeze page but in a post. Not the graphics or anything just an HTML buy now page and images not as a pop up.

Any suggestions?
Reply With Quote
  #110  
Old 09-07-2011, 10:19 AM
listisimo.es listisimo.es is offline
 
Join Date: Feb 2011
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First of all let me say this is a really useful mod so thank you very much.

However, we have encountered a bit of a problem.

In our case, this mod only works with Firefox, but not with Chrome or IE.

For example, check out this thread using different browsers (Firefox, Chrome and IE):
http://www.listisimo.es/temas/11354-...voces-logitech

See what I mean?

Anyone else had this problem? Is there a fix so it works with all browsers?

Thanks
Reply With Quote
  #111  
Old 09-29-2011, 10:00 PM
DNN DNN is offline
 
Join Date: Mar 2011
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hopes this plugin works
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 04:28 AM.


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.10699 seconds
  • Memory Usage 2,342KB
  • Queries Executed 26 (?)
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_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (2)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
  • (1)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete