vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Admin capacity to post with html, flash, video (https://vborg.vbsupport.ru/showthread.php?t=214682)

njview 05-27-2009 07:00 PM

Admin capacity to post with html, flash, video
 
I am trying grasp the capacity of the admin (or administrator group) to embed live html, flash or video types content into the body of the post (not merely the signature, but the body).

As far as I can tell, (1) even the admin can not do such insertion unless the admin first creates a custom bb code to support embedding one or more of the types. But, as far as I can tell, (2) once that bb code has been created, then all users have access to it. Are (1) and (2) correct?

If so, then I need a work-around. I want my forum to react to 10 different flash movies that I will post at the top of 10 different threads. But I do not want them to be able to post their own flash movies. Here's the approach I'm thinking of taking.

I will create 10 custom bb codes (flash1, flash2, flash3....flash10). The "Replacement" scripting defining each of those 10 codes will omit the usual reference to the "{param}" field. Instead, where the parameter field would appear, the URL of the respective flash movie will appear. When defining each BB Code, I will set "Remove Tag If Empty" to NO. This way when I do the post for, say, flash, I can enter "What is your opinion of ?" with no blanks, causing it to call up the particular flash movie defined for flash1. Similarly, in the next thread, I'll post . And so on.

This work-around won't stop users from posting flash, but they will only be able to post one or more of the ten flash files that I have established in the 10 bb codes.

Is there a better way?

BlueNinjaGo 05-27-2009 07:10 PM

Are these flash videos your own, or from another site?

And there is a modification around here that limits certain BB Codes to certain usergroups... Never used it so I'm not 100% sure about it's abilities

njview 05-27-2009 07:13 PM

The flash are mine. Yes, I saw mention of the user-group mod for handling bb code rights. From what I could tell, it stopped working well after 3.6.x. I've got 3.8.2


All times are GMT. The time now is 03:53 PM.

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.01005 seconds
  • Memory Usage 1,708KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete