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
  #242  
Old 07-05-2006, 07:18 AM
tazping2000 tazping2000 is offline
 
Join Date: Apr 2006
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this, finally got it working
Reply With Quote
  #243  
Old 07-07-2006, 04:13 PM
sydude's Avatar
sydude sydude is offline
 
Join Date: Aug 2004
Location: New York
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Kall, great hack, thanks. I have a couple of questions please, which I would be most appreciative if you could help me with.

1. If I disable the hack and turn on HTML on the Forums level, I can copy and paste web pages or content right into the message field of a new post, and vBulletin will perfectly parse the HTML. But this doesn't work if I use the hack - if I copy and paste, it will just turn it into BB code and that will not preserve the formatting. And if I open the source HTML and then copy and paste the raw html with the hack enabled, then the formatting is usually totally messed up, probably because of all of the javascript, etc. Is there a way to enable the hack and still be able to copy and paste pre-parsed HTML in from a browser window, instead of having to enter in only simple HTML?

2. I installed this hack last year, and my version number in the product manager was 3.50. I just downloaded and installed (with overwrite) 3.51, but the version number in the product manager is still 3.50. Is that ok?

3. In the plug-in system, for 'Hook Location:bbcode_parse_start' I have two 'Allow Usergroups to post HTML' entries, one disabled and one enabled. I assume that's from the upgrade process. Should I delete the disable one?

Thank you again.

Sy
Reply With Quote
  #244  
Old 07-07-2006, 08:33 PM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Sy,

1. Ummm... it doesn't change it into bbcode for me. It doesn't make the page look perfect, as you say..but not turn into bbcode. I am stumped.

2. Yup, perfectly ok.

3. Yes please, as with '2.', it was probably a typo on my part.
Reply With Quote
  #245  
Old 07-14-2006, 04:19 AM
knimrod knimrod is offline
 
Join Date: Sep 2005
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by majoreyeswater
I am having problems with this hack. I have Administrators enabled to have HTML parsed, but it doesn't work. I still have to enable HTML in the forum in order to have the HTML display as anything other than text.

In plug-in manager the feature is shown as in the preview. Is this correct.

Can anyone help wuold be much appreciated..
Quote:
Originally Posted by majoreyeswater
Still can't get this to work. It doesn't cause me any errors, but seems to be just a dormant addition to my board.

Doesn't matter what I type, come sup as text, and so I have to manually enable HTML, add my post, then disbale it (for security reasons obvioulsy), which defeats the purpose of the mod doesn't it.

I can tell from everyone else's post that this mod works, so know it must be something on my board, would appreciate any help, anyone can offer...
I'm having the same problem (3.5.2 with updates).. Did you ever figure this out?

I'll uninstall if there's no fix.
Reply With Quote
  #246  
Old 07-14-2006, 04:58 AM
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 knimrod
I'm having the same problem (3.5.2 with updates).. Did you ever figure this out?

I'll uninstall if there's no fix.
What are your PHP and mySQL versions?

What flavour of Linux (or Windows) server?

What version of Apache?

I ask because 296 other people have had no problems with this.
Reply With Quote
  #247  
Old 07-14-2006, 02:02 PM
knimrod knimrod is offline
 
Join Date: Sep 2005
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kall
What are your PHP and mySQL versions?

What flavour of Linux (or Windows) server?

What version of Apache?

I ask because 296 other people have had no problems with this.
Thanks for responding.

Linux 2.4.21-40.ELsmp
Apache 1.3.36 (Unix)
PHP Version 4.3.11
MySQL 4.0.27-standard

I'm not so sure that some others aren't having a problem and maybe not know it? I didn't realize it until recently even though it's been installed for a bit. Also, I'm having the exact same problem as others have noted and as described by "majoreyeswater".

It works in that past and present posts containing html, that are made by users who are not in a usergroup that is currently html enabled, are not html parsed and past posts made by persons in a usergroup currently enabled for html posts are html parsed. However, if someone in a usergroup currently approved to post html, makes a post containing html, it will not be html parsed unless html was enabled for the forum being posted in at the time the post was made.

So it would appear that posts are somehow "marked" at post time for html parsing but I can't figure out where or how this occurs.
Reply With Quote
  #248  
Old 07-22-2006, 05:04 PM
Kungfu Kungfu is offline
 
Join Date: Dec 2005
Posts: 242
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i cant seem to find the setting for this. I looked all over and it doesnt show up. Know why?
Reply With Quote
  #249  
Old 07-26-2006, 07:40 AM
good2laugh good2laugh is offline
 
Join Date: Jul 2002
Location: London
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

looks good. Anyone tried this with 3.6 just wondering if its worth installing now on my 3.54 or waiting for 3.6 and installing. Thanks for the easy instructions too.
Reply With Quote
  #250  
Old 07-31-2006, 03:36 PM
I||usi0nz I||usi0nz is offline
 
Join Date: Jul 2004
Location: New York
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

html parsedd, yayy. Thanks
Reply With Quote
  #251  
Old 08-02-2006, 01:06 AM
Kungfu Kungfu is offline
 
Join Date: Dec 2005
Posts: 242
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kungfu
i cant seem to find the setting for this. I looked all over and it doesnt show up. Know why?
anyone? Or can someone please post screenshot. I must be dumb cause i cant find it.
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:49 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.04665 seconds
  • Memory Usage 2,324KB
  • 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
  • (5)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