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)
-   -   Mini Mods - GTPosting Rules: Posting Rules near editor (https://vborg.vbsupport.ru/showthread.php?t=129349)

Princeton 08-08-2007 03:11 PM

Quote:

Originally Posted by ssslippy (Post 1285141)
Princeton could you update this to work with Project Tools. Currently it says they are off but are they on or is this not possible?

click "Mark As Installed" if you want to be notified on new updates

add this to the switch statement in Process Rules (editor_toolbar_end) plugin:
PHP Code:

        case 'project':
        case 
'projectpost':
            
$bbcodeon = ($vbulletin->options['pt_allowbbcode']) ? $vbphrase['on'] : $vbphrase['off'];
            
$imgcodeon = ($vbulletin->options['pt_allowbbimagecode']) ? $vbphrase['on'] : $vbphrase['off'];
            
$htmlcodeon = ($vbulletin->options['pt_allowhtml']) ? $vbphrase['on'] : $vbphrase['off'];
            
$smilieson = ($vbulletin->options['pt_allowsmilies']) ? $vbphrase['on'] : $vbphrase['off'];
            break; 


NFLfbJunkie 08-08-2007 03:39 PM

Where exactly does the code need to go in the plugin?

Princeton 08-08-2007 03:55 PM

you can add it right below

PHP Code:

    switch (THIS_SCRIPT)
    { 


NFLfbJunkie 08-14-2007 08:06 PM

Hey Princeton. Thanks for pointing me where to put the code. I just noticed that the Photoplog pictire gallery script I use has the same problem with the permissions not showing correctly. Is there a way for me to get the permissions to show correctly on the editor from with my Photoplog pages?

Princeton 08-14-2007 08:19 PM

sorry, can't help there .. I don't use Photoplog.

NFLfbJunkie 08-14-2007 08:20 PM

Okay, thanks. Would it be similar to adding what you did for the Project Tools? Or is there something more that needs to be done in addition to this?

wickland 08-22-2007 09:27 PM

Installed!

Thanks!
Best Regards

KevinL 08-22-2007 11:58 PM

Has anyone with Vbseo used this?

When I delete the code from the "posting rules" the vbseo code also gets deleted. It's weird.

NFLfbJunkie 08-30-2007 12:42 PM

Prinecton, I have installed the vBulletin Blog and noticed that the posting rules (near the editor - with this MOD) aren't correct, the same problem that had happened with Project Tools. Would it be possible for a fix for this? Thanks.

WarLion 09-15-2007 07:23 AM

this is cool but my lenguage is not helping with this mod thats a shame


All times are GMT. The time now is 11:08 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.01125 seconds
  • Memory Usage 1,743KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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