vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Allow usergroups ( Admins ) to use HTML for posts , sigs (https://vborg.vbsupport.ru/showthread.php?t=75590)

MPDev 05-12-2005 07:04 PM

Code:

        // parse out nasty active scripting codes - MDP (added meta)
        static $global_find = array('/javascript:/si', '/about:/si', '/vbscript:/si', '/&(?![a-z0-9#]+;)/si', '/<meta/si');
        static $global_replace = array('javascript<b></b>:', 'about<b></b>:', 'vbscript<b></b>:', '&amp;', 'meta:');

I added something to strip out <meta tags to prevent refresh's.

jesus likes pie 06-02-2005 06:42 PM

this is a class mod i love it, it came in sooo handy

zetetic 06-08-2005 05:03 PM

Quote:

Originally Posted by Acers
but its still not working in the previews. have tried a lot of things but can't make it work with preview posts.. any ideas?

I tried, but I couldn't figure that out either.

Anyone?

Alphawolf83 11-18-2005 03:52 PM

*clicks install*

Nice Mini-Mod. Works on 3.0.7. :)

I use it in the forum to allow certain smilies to usergroups by using Replacement variables. Only admins, mods and super-mods can use HTML to display the smilies, other usergroups cannot. :)

It's just a little workaround in order to create a permission-based Smilie Managment System, for example for mod smilies which can be only used by super-users. :squareeyed:

Snake 07-04-2006 05:26 PM

Is this going to work on 3.5.4?

zetetic 07-05-2006 01:29 AM

Quote:

Originally Posted by Dark Cloud
Is this going to work on 3.5.4?

If I'm not mistaken kall's add-on provides the same functionality for 3.5+.

AlexSFBay 07-18-2006 06:44 PM

Quote:

Originally Posted by vissa
This doesn't seem to work for previewing the message, but when I post it, it does work. Any suggestions for getting the preview to work?

-V

I'm looking for a hack for this as well. I'm going to try a few things and let you know if anything works.

AlexSFBay 07-19-2006 06:13 AM

Quick update: I found the preview section in ->Style Manger->Editor Template->editpost. The part that displays the preview text is $postpreview. I see that $postpreview is defined in the editpost.php, but I can't figure out how to turn html on or off.

ddmobley 08-28-2007 08:58 PM

Quote:

Originally Posted by zetetic (Post 1022413)
If I'm not mistaken kall's add-on provides the same functionality for 3.5+.

Kall's mod doesn't work after the post cache expires. And Kall isn't responding to questions about how to fix it. I would like to offer HTML to admins in 3.5.4 but want a way where the post cache issue is fixed. Anyone know of a mod that will allow HTML for 3.5.4 that isn't crippled with the post cache issue?

bengali 07-07-2008 05:09 AM

Hey there,

Where in the system is that file? INCLUDES/FUNCTIONS_BBCODEPARSE.PHP
My includes directory doesn't include this file.

Ben


All times are GMT. The time now is 06:58 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.01030 seconds
  • Memory Usage 1,738KB
  • 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)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete