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
  #142  
Old 12-02-2005, 03:20 AM
lsgworldl lsgworldl is offline
 
Join Date: Sep 2005
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by EasyTarget
I really hope he doesn't try to help you any further.
so far he hasnt helped me once :devious:
Reply With Quote
  #143  
Old 12-02-2005, 06:51 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 lsgworldl
http://www.tkqlhce.com/click-1848433-12876" target="_top" >
http://www.tqlkg.com/image-1848433-12876" width="468" height="60" alt="Credit Card Processing Online" border="0">
Ok. I tried the piece of HTML in post #139 (
Quote:
Need to Remortgage? <a href="http://www.jdoqocy.com/click-1848433-10403872" target="_top" >Try our express application</a><img src="http://www.lduhtrp.net/image-1848433-10403872" width="1" height="1" border="0">
. It does not work.
This does:
Quote:
Need to Remortgage? <a href="http://www.jdoqocy.com/click-1848433-10403872" target="_top">Try our express application</a><img src="http://www.lduhtrp.net/image-1848433-10403872" width="1" height="1" border="0" alt="HTML For Dummies" />
It would be really cool if everyone else who has this hack could also post that this works too, just to show you that you are, were, and always will be, wrong about why this hack made your badly-written HTML code not parse.
Reply With Quote
  #144  
Old 12-02-2005, 07:44 AM
EasyTarget EasyTarget is offline
 
Join Date: Nov 2004
Posts: 660
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works fine for me.. besides the vbulletin conflicts with using html in code tags in a html enabled forum :/
Reply With Quote
  #145  
Old 12-02-2005, 11:16 AM
Deimos Deimos is offline
 
Join Date: Oct 2002
Posts: 529
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there anyway this hack can be expanded to include HTML in signatures?
Reply With Quote
  #146  
Old 12-02-2005, 07:29 PM
lsgworldl lsgworldl is offline
 
Join Date: Sep 2005
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kall
Ok. I tried the piece of HTML in post #139 (. It does not work.
This does:
It would be really cool if everyone else who has this hack could also post that this works too, just to show you that you are, were, and always will be, wrong about why this hack made your badly-written HTML code not parse.
it is code from CJ, not my code I wrote

PHP Code:
<a href="http://www.kqzyfj.com/click-1848433-10294381?url=http%3A%2F%2Fwww.argos.co.uk%2Fwebapp%2Fwcs%2Fstores%2Fservlet%2FArgosCreateReferral%3FstoreId%3D10001%26langId%3D-1%26referrer%3DCOJUN%26params%3Dadref%253DVideo+games-%3EPSP-%3EPSP+games%26referredURL%3Dhttp%3A%2F%2Fwww.argos.co.uk%2Fwebapp%2Fwcs%2Fstores%2Fservlet%2FProductDisplay%253FstoreId%253D10001%2526catalogId%253D3801%2526productId%253D173922%2526langId%253D-1&cjsku=5678640" target="_top" >
<
img src="http://www.argos.co.uk/wcsstore/argos/images/5678640SPA64UC209455M.jpg" border="0" alt="Grand Theft Auto: Liberty City Stories - PSP."></a>
<
img src="http://www.afcyhf.com/image-1848433-10294381" height="1" width="1" border="0"
does not work

http://pspgameforums.com/forum/showt...hp?p=22#post22
Reply With Quote
  #147  
Old 12-03-2005, 08:05 PM
zappsan's Avatar
zappsan zappsan is offline
 
Join Date: Sep 2004
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack, I installed it, but there is a problem.
The [HTML] bbcode doesn't work correctly anymore.
It's showing up like this for example:<a href=\"http://test.com\">test</a>
The [PHP] one is working though.
Quote:
Originally Posted by Deimos
Is there anyway this hack can be expanded to include HTML in signatures?
It already works in sigs.
I tried it out.
Reply With Quote
  #148  
Old 12-03-2005, 08:26 PM
theodonnells's Avatar
theodonnells theodonnells is offline
 
Join Date: Oct 2005
Location: scotland
Posts: 99
Благодарил(а): 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
I read on another thread somewhere(Dont know if it was here) that to correct this problem the guy had edited his html in Frontpage.Supposedly there is an option to remove whitespace!!!And this solved his problem of a huge gap before the content.

Ok found out how to do this in Dreamweaver.......

This is a simple and yet very powerful "trick".
Here's how it works:

Open a document,
Click inside Code View,
Create an empty line,
Left-click in the margin on the left hand-side of that empty line (it should turn black on Windows, blue on Mac),
Select Menu > Edit > Find and Replace (keyboard shortcut: Ctrl + F),
Select an option in the "Find in:" dropdown box,
Select "Replace All" and you're done.


This removes all whitespace in your html document and when pasted into vbulletin your content is at the top and no gap to be seen....
Works for me....
Reply With Quote
  #149  
Old 12-04-2005, 10:39 AM
Luggruff's Avatar
Luggruff Luggruff is offline
 
Join Date: Apr 2005
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by zappsan
Nice hack, I installed it, but there is a problem.
The [HTML] bbcode doesn't work correctly anymore.
It's showing up like this for example:<a href=\"http://test.com\">test</a>
The [PHP] one is working though.

It already works in sigs.
I tried it out.
I did too, and for me it didn't work at all.
Reply With Quote
  #150  
Old 12-04-2005, 04:25 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 zappsan
Nice hack, I installed it, but there is a problem.
The [HTML] bbcode doesn't work correctly anymore.
It's showing up like this for example:<a href=\"http://test.com\">test</a>
The [PHP] one is working though.

It already works in sigs.
I tried it out.
I have just tried this on a Forum without this Modification installed, the Forum I posted in has HTML turned on.

What you are experiencing is a vBulletin Stock Feature/Bug. You may want to report this in the vB Bug Tracker...you will have to remove this Modification if you want them to look at it tho.
Reply With Quote
  #151  
Old 12-04-2005, 06:24 PM
Ghanem's Avatar
Ghanem Ghanem is offline
 
Join Date: Aug 2004
Location: Bahrain
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by theodonnells
I read on another thread somewhere(Dont know if it was here) that to correct this problem the guy had edited his html in Frontpage.Supposedly there is an option to remove whitespace!!!And this solved his problem of a huge gap before the content.
Thank you kall for the hack
and thank you theodonnells, that solved my problem..

but is there another professional way to over come this problem..

Regards
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:41 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.04949 seconds
  • Memory Usage 2,332KB
  • 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_php
  • (10)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