vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   New Posting Features - vS-Hide Hack Resurrection (https://vborg.vbsupport.ru/showthread.php?t=123527)

peterska2 08-30-2006 01:45 AM

It would always be the same, lets say for arguments sake usergroupid=10 is the group that I want the codes shown to and thats it.

It's probably not possible, so I'll keep trying to find another solution.

akanevsky 08-30-2006 11:57 AM

It is possible, although irrelevant to this hack. :)

FIND (includes/class_bbcode.php):

PHP Code:

    function handle_bbcode_code($code)
    {
        global 
$vbulletin$vbphrase$stylevar$show

ADD UNDERNEATH:

PHP Code:

        // limit accessibility
        
if (!is_member_of($vbulletin->userinfoUG_ID1UG_ID2 ... UG_IDN))
        {
            
$code 'You have no permission to see this.';
        } 


peterska2 08-30-2006 01:12 PM

Thanks PV, works perfectly :)

Stoebi 08-30-2006 02:47 PM

Hi,

i found an uncached template:
hidetag_toolbar_buttons (1)


Great work :)


Regards, Stoebi

akanevsky 08-30-2006 06:06 PM

Which page is it uncached on?

Stoebi 08-30-2006 06:32 PM

Quote:

Originally Posted by Psionic Vision
Which page is it uncached on?

SHOWTHREAD


Regards, Stoebi

akanevsky 08-30-2006 09:49 PM

Thanks. Will fix.

demgel 09-01-2006 07:44 PM

I've installed it, configured it (the groups permission... forum settings...) and doesn't show the buttons on the editor toolbar =(

Don't know what to do....

EDIT!

Sorry, It was my mistake... I thought that the "forum settings" was the general settings.. but it's per forum.

I'm Sorry... my english sucks...xD!

Thanks Vision Scripts! I have done a "Donate Us" on my website to buy your hack ;)

akanevsky 09-01-2006 08:58 PM

Quote:

Originally Posted by Stoebi
SHOWTHREAD


Regards, Stoebi

Update: Just checked, with version 2.7.0 it is cached. What version are you running?

Stoebi 09-01-2006 09:32 PM

Quote:

Originally Posted by Psionic Vision
Update: Just checked, with version 2.7.0 it is cached. What version are you running?

2.7.0 - fresh install on a fresh vBulletin 3.6.0 installation.

http://neutral.gmxhome.de/pics/hide.jpg <- Perhaps it helps

With IE 7 i get an unknown javascript error if you hit the HIDE tag without clicked in the quick reply answer box before.

Example:
Click the "Quick Reply to this message" button to activate the "Quick Reply" box.
Click on the HIDE or STG toolbar button without clicking in the answer box first.
Enter anything in the popup and click okay. You should now see the error message on the bottom of your IE 7.


Regards, Stoebi


All times are GMT. The time now is 02:11 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.01462 seconds
  • Memory Usage 1,744KB
  • 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
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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