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
  #152  
Old 12-04-2005, 11:04 PM
mili mili is offline
 
Join Date: Jul 2003
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is no white spaces in this simple code
<table width="100%" border="0" cellpadding="1">
<tr>
<td>test</td>
<td>test</td>
<td>test</td>
</tr>
<tr>
<td>test</td>
<td>test</td>
<td>test</td>
</tr>
</table>
And yet this is what gets displayed:
http://www.dssftp.com/forum/showpost...61&postcount=1

mili
Reply With Quote
  #153  
Old 12-04-2005, 11:17 PM
steven s's Avatar
steven s steven s is offline
 
Join Date: Aug 2004
Location: Greenville, SC
Posts: 572
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I must be an idiot!
Installed correctly.
Instructions could not have been simpler.

Created a new usergroup with html enabled.
HTML code is ON.

So how do I post in HTML? I tried simple HTML tags which do nothing.
Found nothing in the vB online manual.

Followup: I enabled html on my other board that doesn't have this plugin and was able to use HTML. Is there anything else I need to do to enable this plugin?

And another followup: In my plug in manager I have
Allow Usergroups to post HTML active
Allow Usergroups to post HTML off
Reply With Quote
  #154  
Old 12-05-2005, 03:44 AM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK.. the OFF plugin is one I left in by accident...leave it OFF.

Turn the option on in the Usergroup Manager (at the bottom of the Usergroup you are editing) for your Usergroup.

Just post the html...no need for special tags.
Reply With Quote
  #155  
Old 12-05-2005, 03:46 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 mili
There is no white spaces in this simple code
<table width="100%" border="0" cellpadding="1">
<tr>
<td>test</td>
<td>test</td>
<td>test</td>
</tr>
<tr>
<td>test</td>
<td>test</td>
<td>test</td>
</tr>
</table>
And yet this is what gets displayed:
http://www.dssftp.com/forum/showpost...61&postcount=1

mili
If I do that, I get the following: http://www.nzboards.com/forums/testi...html#post42145
Reply With Quote
  #156  
Old 12-05-2005, 10:49 AM
steven s's Avatar
steven s steven s is offline
 
Join Date: Aug 2004
Location: Greenville, SC
Posts: 572
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kall
Just post the html...no need for special tags.
Should this usergroups HTML posts be parsed? YES.
Nope. Still doesn't work. I'll reinstall and see what happens.
Reply With Quote
  #157  
Old 12-05-2005, 10:57 AM
theodonnells's Avatar
theodonnells theodonnells is offline
 
Join Date: Oct 2005
Location: scotland
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mili
There is no white spaces in this simple code
<table width="100%" border="0" cellpadding="1">
<tr>
<td>test</td>
<td>test</td>
<td>test</td>
</tr>
<tr>
<td>test</td>
<td>test</td>
<td>test</td>
</tr>
</table>
And yet this is what gets displayed:
http://www.dssftp.com/forum/showpost...61&postcount=1

mili
Here is your code with whitespace removed.
Code:
<table width="100%" border="0" cellpadding="1"><tr> <td>test</td><td>test</td><td>test</td></tr><tr> <td>test</td><td>test</td><td>test</td></tr></table>
As you can see all it does is remove the lines in your code ie the returns..
Copy and paste it and see..
Reply With Quote
  #158  
Old 12-13-2005, 09:01 AM
bigfoot's Avatar
bigfoot bigfoot is offline
 
Join Date: Jun 2005
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I followed the install.txt file but its seems not to work. Plugins are enabled. I'm running vB 3.5.1
Reply With Quote
  #159  
Old 12-19-2005, 05:03 PM
CodeRed CodeRed is offline
 
Join Date: Aug 2005
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mili
So you got no idea why my tables are a mile down the page with the code I pasted in the above post?

mili
mili i had the same problem and the resolution ive found is to take all of the HTML code merge it all to a single line of text. then copy that into your thread.

i copy all of my html into TEXTPAD, CTRL+A to select it and CTRL+J to "Join Lines" and it merges all of the code to a single line. then i copy and paste that into my thread...
Reply With Quote
  #160  
Old 12-24-2005, 11:38 AM
murrtex murrtex is offline
 
Join Date: May 2002
Location: izmir
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I use this hack and its great but,
I have some problems;

I want to use this code in my message
HTML Code:
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
but it looks like that
HTML Code:
<strong><phrase 1=\"$bbuserinfo[username]\">$vbphrase[welcome_x]</phrase></strong>
what's that \ \ \ \ ???
between html tag..

I can't use HTML,QUOTE ,CODE and PHP tag codes.

what should we do?
Reply With Quote
  #161  
Old 12-29-2005, 09:43 PM
Doozilla Doozilla is offline
 
Join Date: Dec 2005
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack assumes a level of skill that I am lacking in. I am very new to vBulletin, but I have very specific needs, and I do know exactly what I want.

This hack is one of those things that I need very much. The install.txt is so vague that I can't seem to get this to work.

By reading this thread I have run into many things I do not understand. I have uploaded this bitfield_allowhtml.xml to my includes/xml directory, and that's all. When I checked my usergroup manager I saw no option to "allow for this usergroup's HTML to be parsed". Also, what is a bitfield, why is it important to me, and why do the 3 CSV numbers in the XML mean to me? Do I need to edit them? Does "rebuilding bitfields" mean anything to me?

My intention is to have only Admins HTML parsed, can someone please explain in a more specific way how I need to install this and accomplish my end goal? I would be very appreciative. Thank you
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:44 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.06634 seconds
  • Memory Usage 2,325KB
  • 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
  • (1)bbcode_code
  • (2)bbcode_html
  • (4)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