Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

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
  #112  
Old 10-26-2005, 10:30 PM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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?
Reply With Quote
  #113  
Old 10-27-2005, 10:14 AM
Anon47's Avatar
Anon47 Anon47 is offline
 
Join Date: Aug 2005
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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.

Quote:
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.
Reply With Quote
  #114  
Old 10-27-2005, 02:55 PM
NxTek NxTek is offline
 
Join Date: Jun 2003
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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
  #115  
Old 10-27-2005, 06:43 PM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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.
Reply With Quote
  #116  
Old 10-27-2005, 07:13 PM
NxTek NxTek is offline
 
Join Date: Jun 2003
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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
  #117  
Old 10-27-2005, 07:45 PM
Anon47's Avatar
Anon47 Anon47 is offline
 
Join Date: Aug 2005
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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
  #118  
Old 10-29-2005, 11:38 AM
vBFreak's Avatar
vBFreak vBFreak is offline
 
Join Date: Nov 2001
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #119  
Old 11-01-2005, 08:59 PM
DarrenS DarrenS is offline
 
Join Date: Apr 2004
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #120  
Old 11-08-2005, 02:07 AM
DS MrSinister DS MrSinister is offline
 
Join Date: Dec 2002
Location: the burgh
Posts: 553
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any way to get this to work with vBadvanced CMPS so it will not show the code on the front page?
Reply With Quote
  #121  
Old 11-11-2005, 11:10 PM
silurius silurius is offline
 
Join Date: Oct 2004
Posts: 404
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
Reply

Thread Tools

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:55 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.07580 seconds
  • Memory Usage 2,314KB
  • 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
  • (7)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