vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Hide Various BB Code Content From Users (https://vborg.vbsupport.ru/showthread.php?t=105160)

croportal 01-13-2006 01:03 PM

can i use this just for img, not for quote, php, html

i only need for the images

thanks

EasyTarget 01-13-2006 03:12 PM

wow, nice job again calorie.
I was gonna ask the same thing as croportal, can the bbcode restrictions be set up independently of eachother?

calorie 01-13-2006 08:42 PM

For just images use:
Code:

        $zzz_bbcode_array = array(
                '/(\[img])(.*)(\[\/img])/siU'
        );


croportal 01-13-2006 08:44 PM

yes but i seen something on several places img, i dont understand what i need to move

LockeAG 01-15-2006 03:53 PM

Quote:

Originally Posted by calorie
@LockeAG: try the following:
Code:

Replace the following:
 
if (!in_array($this->registry->userinfo['usergroupid'], array(2,6,9)))
 
 
With the following:
 
if (!in_array($this->registry->userinfo['usergroupid'], array(2,6,9)) AND is_numeric($forumid))



Thanks but I try it and the signatures did not appear..

calorie 01-15-2006 04:15 PM

Okay try replacing with this instead:
Code:

if (!in_array($this->registry->userinfo['usergroupid'], array(2,6,9)) AND is_numeric($forumid) AND $forumid > 0)

croportal 01-15-2006 04:30 PM

can u make that for url code

calorie 01-15-2006 04:43 PM

Working on a new version that'll be easier to use via vB options, and it'll include [URL] too.

croportal 01-15-2006 04:47 PM

<a href="http://www.croportal.net/forum/showthread.php?p=37500#post37500" target="_blank">http://www.croportal.net/forum/showt...7500#post37500</a>

loook here i have insert just for img code, and when guest wathcing you will see that he can click on the link

croportal 01-15-2006 04:52 PM

and here is normal

http://www.croportal.net/forum/showp...56&postcount=1


All times are GMT. The time now is 04:40 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.01232 seconds
  • Memory Usage 1,730KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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