Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Allow Usergroups to Post HTML Details »
Allow Usergroups to Post HTML
Mod Version: 1.00, by kall (Coder/Designer) kall is offline
Developer Last Online: Aug 2021 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.4 Rating: (34 votes - 4.32 average) Installs: 510
Released: 26 Sep 2005 Last Update: 28 Nov 2005 Downloads: 2010
Not Supported Uses Plugins Is in Beta Stage  

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.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #106  
Old 20 Oct 2005, 15:36
craigbrass craigbrass is offline
 
Join Date: Dec 2004
Cool

I just installed the product. Thanks for it!!

But I've found a bug. I posted some announcements a while ago and formatted them in HTML. Then I installed this plugin, and suddenly my announcements were plain text. There was no HTML format.

I hope you can fix this problem soon.

Thanks!
Reply With Quote
  #107  
Old 21 Oct 2005, 05:14
hydrostatic hydrostatic is offline
 
Join Date: Jun 2005
When trying to uninstall as Andreas suggested, it gives me another SQL error


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #108  
Old 21 Oct 2005, 05:35
hydrostatic hydrostatic is offline
 
Join Date: Jun 2005
Nevermind, I just deleted the uninstall code in the plugin and it worked... but did anything happen to my database because of this?
Reply With Quote
  #109  
Old 24 Oct 2005, 03:01
actolearn actolearn is offline
 
Join Date: Dec 2004
This will not work retroactively.
is there a way this can be tweaked so that it would work retroactively?
Reply With Quote
  #110  
Old 26 Oct 2005, 21:56
NxTek NxTek is offline
 
Join Date: Jun 2003
I uploaded bitfield_allowhtml.xml and imported product-nzbgroupallowhtm3.5.0.xml, and tried a new post that contained html tags. It just doesn't work.

The Posting Rules also says HTML code is Off.

Is there any way to debug why this isn't working?
Reply With Quote
  #111  
Old 26 Oct 2005, 23:30
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Real name: Ace
Originally Posted by NxTek
I uploaded bitfield_allowhtml.xml and imported product-nzbgroupallowhtm3.5.0.xml, and tried a new post that contained html tags. It just doesn't work.

The Posting Rules also says HTML code is Off.

Is there any way to debug why this isn't working?
Have you set your Usergroup to be allowed to post in HTML? In the Usergroup manager?
__________________
vBulletin Styles (All styles compatible with 3.8.4 - Steel Blue 4.0 Available) | vBulletin Hosting
Reply With Quote
  #112  
Old 27 Oct 2005, 11:14
Anon47's Avatar
Anon47 Anon47 is offline
 
Join Date: Aug 2005
Originally Posted by Andreas
1) Uninstall
2) Upload the bitfield XML to includes/xml
3) Install

This is necessary, otherwise the bitfield cache will not get rebuilt resulting in errors in usergroup manager
When I try to upload the bitfield_allowhtml.xml file, I get a vBulletin message saying "Invalid File Specified"


Any idea what the problem is?


Edit: I have a much bigger problem now. After uninstalling and reinstalling the product xml, I get this error message on every page. I can't even access my admin cp.

Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 1023


Unable to add cookies, header already sent.
File: /home/********/public_html/****/boards/includes/class_core.php
Line: 2903
http://hsbb.org/boards/


I broke my board.

Last edited by Anon47; 27 Oct 2005 at 20:40.
Reply With Quote
  #113  
Old 27 Oct 2005, 15:55
NxTek NxTek is offline
 
Join Date: Jun 2003
Originally Posted by kall
Have you set your Usergroup to be allowed to post in HTML? In the Usergroup manager?
Yes I have, for Administrators.
Reply With Quote
  #114  
Old 27 Oct 2005, 19:43
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Real name: Ace
Originally Posted by Anon47
When I try to upload the bitfield_allowhtml.xml file, I get a vBulletin message saying "Invalid File Specified"


Any idea what the problem is?


Edit: I have a much bigger problem now. After uninstalling and reinstalling the product xml, I get this error message on every page. I can't even access my admin cp.



http://hsbb.org/boards/


I broke my board.
PM sent man..hope we can get this fixed for you.

@NxTek: Please provide a URL to a post that you have made as an admin where this is supposed to be parsed.
__________________
vBulletin Styles (All styles compatible with 3.8.4 - Steel Blue 4.0 Available) | vBulletin Hosting
Reply With Quote
  #115  
Old 27 Oct 2005, 20:13
NxTek NxTek is offline
 
Join Date: Jun 2003
Originally Posted by kall
@NxTek: Please provide a URL to a post that you have made as an admin where this is supposed to be parsed.
http://www.onlinepokerlistings.com/f...read.php?p=423

If you need further access please PM me and I'd be glad to give you access.
Reply With Quote
  #116  
Old 27 Oct 2005, 20:45
Anon47's Avatar
Anon47 Anon47 is offline
 
Join Date: Aug 2005
Originally Posted by kall
PM sent man..hope we can get this fixed for you.
Thanks again! The tools.php file did the trick.


*clicks install*
Reply With Quote
  #117  
Old 29 Oct 2005, 12:38
vBFreak's Avatar
vBFreak vBFreak is offline
 
Join Date: Nov 2001
Could you implement something that would parse the signatures of admins in PMs? There's still only the HTML-Code, seems the thingie isn't working there...
Reply With Quote
  #118  
Old 01 Nov 2005, 21:59
DarrenS DarrenS is offline
 
Join Date: Apr 2004
Not sure what's going on here. I uninstalled my old copy, downloaded a fresh from the current zip, uploaded the files to /includes/xml/ and reinstalled it through Manage Products.

It's showing up as installed on my Products list, I have four hooks (three active) listed in the Plugin Manager, but it isn't doing anything. I'm not getting the "Should this usergroup be allowed ..." variable added to the usergroup manager.
Reply With Quote
  #119  
Old 08 Nov 2005, 03:07
DS MrSinister's Avatar
DS MrSinister DS MrSinister is offline
 
Join Date: Dec 2002
any way to get this to work with vBadvanced CMPS so it will not show the code on the front page?
Reply With Quote
  #120  
Old 12 Nov 2005, 00:10
silurius silurius is offline
 
Join Date: Oct 2004
OK I'm not sure if I installed correctly. Perhaps add step-by-step instructions to the first post? Here's what I did:

1. Edited bitfield_allowhtml.xml for my usergroup (admin only)
2. Uploaded bitfield_allowhtml.xml to \includes\xml
3. Installed product-nzbgroupallowhtm3.5.0.xml in product mgr
4. Went to admin group permissions and enabled radio option for this

I posted some html and it just came out as html. I am only able to post html correctly if I enable html for that forum, which unfortunately also enables html for all other users as well.

Edit: Weird, I found an inactive version of this plugin in my plugin mgr, right next to an active one. I don't recall ever installing this before though. Anyway deleting and reinstalling it did the trick. Great hack!

Last edited by silurius; 12 Nov 2005 at 02:16.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 16:50.

Layout Options | Width: Wide Color: