vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   How to uncheck the "automatically parse links in text" option by default? (https://vborg.vbsupport.ru/showthread.php?t=165880)

nerofix 12-22-2007 05:30 PM

How to uncheck the "automatically parse links in text" option by default?
 
Like the title says: how to uncheck the "automatically parse links in text" option by default?

I don't want links automatically getting parsed by default. Members should check this option if they want their links getting parsed.

ZomgStuff 12-27-2007 03:52 PM

I'm not at home so I can't look it up, but it would be in the php file that yo would have to edit it.

Opserty 12-27-2007 04:51 PM

You shouldn't be editing PHP files unless theres no other to do it.

Heres the solution I came up with:
  1. Create a new plugin (AdminCP > Plugins & Products > Add New Plugin)
  2. Fill in the details as such:
    • Product: vBulletin
    • Hook Location: newreply_form_start
    • PHP Code:
      PHP Code:

      $checked['parseurl'] = ''

    • Plugin is Active: Yes
  3. Hit Save and your done.

N.B.: If you want to have this setting for when a New Thread is created as well, then follow the same steps as above but instead of Hook Location: newreply_form_start use Hook Location: newthread_form_start.

stinger2 12-27-2007 05:11 PM

<a href="https://vborg.vbsupport.ru/showthread.php?t=91372&highlight=Uncheck+url+Parse " target="_blank">https://vborg.vbsupport.ru/showt...heck+url+Parse</a>

check the above .........i think it is exactly what you want


All times are GMT. The time now is 08:22 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.01779 seconds
  • Memory Usage 1,712KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete