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)
-   -   Allow Usergroups to Post HTML (https://vborg.vbsupport.ru/showthread.php?t=96926)

Andreas 09-26-2005 06:48 PM

https://vborg.vbsupport.ru/showthread.php?t=82844
:)

kall 09-26-2005 06:50 PM

Alllrighty then, lets see what my flu-addled brain can come up with from that. :)

Kirk Y 09-26-2005 07:06 PM

Oh my God, Kall... I'm going to come to your house and kiss you... *ahem* Err... thanks. This'll be great for my RSS Feeds hack!

Boofo 09-26-2005 07:10 PM

A Kirk kissing an Ace. Now why doesn't that sound right to me? :surprised:

hehe

Kirk Y 09-26-2005 07:14 PM

Ha ha Boof! :mad:

What do I need to change so I can input a single Username in addition to a single Usergroup?

Edit:
PHP Code:

if (in_array($post['usergroupid'], array(6))) OR if (in_array($post['username'], array(vBlogger)))
                { 

That close?

Marco van Herwaarden 09-26-2005 07:28 PM

Quote:

I wake up in the bottom of a sardine trawler.
Sorry we won't do that, we respect animal rights. :D

Vtec44 09-26-2005 07:57 PM

I assume that it doesn't work if a non-html group member quoted the HTML code? ... and it shouldn't anyway... :)

dastar 09-26-2005 08:07 PM

I've been waiting for this mod for so long......... *tear*

If you were a girl and didn't live in another country, i'd kiss you.

Awesome plugin! :)

kall 09-26-2005 08:14 PM

Aaaaargh! Why isn't this working??
PHP Code:

if ($permissions['allowhtmlpermissions'] & $vbulletin->bf_ugp['allowhtmlpermissions']['canposthtml']) 

And the bitfield xml is:
HTML Code:

<?xml version="1.0" encoding="ISO-8859-1"?>
<bitfields product="nzbgroupallowhtml">
        <bitfielddefs>
                <group name="ugp">
                        <group name="allowhtmlpermissions">
                                <bitfield name="canposthtml" group="allowhtmlpermissions"  phrase="can_post_html" install="5,6,7">1</bitfield>
                        </group>
                </group>
        </bitfielddefs>
</bitfields>

A little help here please. :)

Marco van Herwaarden 09-26-2005 08:19 PM

Did you rebuild the bitfields?


All times are GMT. The time now is 01:28 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.01426 seconds
  • Memory Usage 1,739KB
  • 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_html_printable
  • (2)bbcode_php_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