Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-03-2011, 04:13 PM
93Corvette 93Corvette is offline
 
Join Date: Jan 2009
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Admin allowed to use HTML code? How?

I have researched this, but I have not found a clear cut way of this this. I don't understand it.

I belong to another website and posts lots of items. Since VB3 is so hard at posting pictures what I want to do is just grab the HTML code from the other website and post it.
However, I only show the code (the images and the other HTML code shows up), not the actual pictures and text without the code.

I know there is an option to allow HTML code, but everyone says NEVER to allow it. So...
1. Is there a way to only allow the admin (me) to post HTML code? (thus preventing a security risk?)

2. Where exactly do you make the changes? Is it located in more than one place?

3. Lets say only the admin can post HTML, is there a risk that someone could break in and harm the website?

I am using VB 3.8.5.

Example:
Code:
<p>+</p>
<p>I am a famous ship, who am I?</p>
<p style="text-align: left;"><img alt="" src="http://api.ning.com/files/zuqojO*gM6wfdZ*UcqXww*fYlSkV0YeOVS*DPemIM72H-48eCi5IQnfOjq3OoMJK25h9OqobpLTyS3zV3dVVraoXyOj*deTU/USS_arizona.jpg" /></p>
<p style="text-align: left;"><img alt="" src="http://api.ning.com/files/iWRrN4r1pN1CG6r1U8oYiC2*euusGuQzmFlh68CinAAEVgADh4myU5Rf5gpMPnpUEzpqnXEHO8b3H4-LbJ8*jcYmBlb20t5X/ussarizonaburning.jpg" /><br />
 I am the USS Arizona (BB-39)<br />
 <br />
Reply With Quote
  #2  
Old 12-04-2011, 01:19 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe this mod: https://vborg.vbsupport.ru/showthrea...=96926&page=32 . I haven't used it but it looks like it's been in use for many years.

I don't think there's any risk because you probably already trust your admins.
Reply With Quote
  #3  
Old 12-04-2011, 04:52 PM
93Corvette 93Corvette is offline
 
Join Date: Jan 2009
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just tried that, and I think I have it working.
One problem is the instruction say the setting in Usergroup Manager should be set for "Yes" in the "Should this usergroups HTML posts be parsed". That statement doesn't appear in my 3.8.5 version. In the actual mod, people have asked, but no one has answered the question. But it seems like it working. I will keep playing with it.

Thanks for the link, it got me to were I need to be.....(I think)....
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 04:36 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03385 seconds
  • Memory Usage 2,174KB
  • Queries Executed 13 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (3)postbit_onlinestatus
  • (3)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_postinfo_query
  • fetch_postinfo
  • 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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete