vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   QuickReply autoparse problem (https://vborg.vbsupport.ru/showthread.php?t=51645)

SloppyGoat 04-15-2003 11:23 AM

QuickReply autoparse problem
 
I have one of my forums excluded from default autoparsing. Can anyone tell me how I can also apply this exclusion to the quickreply box? It seems to ignore my hack, which is this.

Replace this in newthread.php and newreply.php


PHP Code:


if (!isset($parseurl)) {
    
$parseurlchecked="CHECKED";
  } 

With this:

PHP Code:


if ((!isset($parseurl)) && ($foruminfo[forumid]!=22)) {
      
$parseurlchecked="CHECKED";
  } else {
        
$parseurlchecked '';
  } 


It's pretty slick, except for the quickreply. I assume it's because of this line?


Code:

 
<input type="hidden" name="parseurl" value="yes">

[edit] If I remove that line, it stops parsing globally...which is not quite the effect I'm after.

All I want to do, is make the quickreply not autoparse in one forum. This must be possible, wouldn't ya think?

Any advise would be much appreciated.

Xenon 04-15-2003 11:48 AM

you have to edit a template conditional hack

SloppyGoat 04-15-2003 12:06 PM

How would I do that? It's the replybox template that would need to be edited, right? But there is no html if statements, is there? And if there is, what would that be?

SloppyGoat 05-19-2003 07:15 AM

bump

Please help me out with this one. I know it's gotta be something simple, but I'm just no code guru. :disappointed:

How can I exclude the quick reply from autoparsing url's in one forum?

Link14716 05-19-2003 10:32 AM

It ignores your hack becase Quick Reply is shown in showthread.php. Edit it there, too.

SloppyGoat 05-19-2003 04:56 PM

I have no idea what would need to be edited in showthread.php. Can you be a bit more specific? The "$parseurlchecked" variable isn't in that file. There isn't anything about parsing url's, as far as I can tell. :cross-eyed:

Xenon 05-19-2003 06:46 PM

as i said, you should install some sort of template conditional hack

SloppyGoat 05-19-2003 08:28 PM

Ok, call me stupid, but I don't know what that is. You mean an alternate template for that forum? That makes things a hell of a lot more complicated though, doesn't it?

SloppyGoat 06-26-2003 09:05 PM

Bump again :(

Xenon 06-27-2003 10:22 AM

as i said take a look at logicians template conditional hack, to see what i mena


All times are GMT. The time now is 08:10 AM.

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.01111 seconds
  • Memory Usage 1,734KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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