vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Give an option to send use to forum after posting and not to thread (https://vborg.vbsupport.ru/showthread.php?t=26734)

LuBi 11-13-2001 02:28 PM

Works for 2.2.0!!! I love this hack, thanks again! :D

Admin 11-13-2001 03:30 PM

Thanks LuBi. :)

Tommy Boy 11-21-2001 09:12 PM

If I'm not mistaken, you forgot to add:
PHP Code:

$sendtoforumchecked = ($sendtoforum) ? "checked" ""

Right after:
PHP Code:

    $parseurlchecked=iif($parseurl,"checked","");
    
$emailchecked=iif($email,"checked","");
    
$disablesmilieschecked=iif(!$allowsmilie,"checked","");
    
$signaturechecked=iif($signature,"checked",""); 

In both newthread.php and newreply.php. Without those lines, the checkbox will be cleared when you preview the post.

BTW: Any idea why the following line does NOT work?
PHP Code:

$sendtoforumchecked=iif($sendtoforum,"checked",""); 


bobbydavro 01-08-2002 08:46 AM

Just a query about this hack, is the checkbox automatically checked to take the user back to the forum?

If not how do I make it so it is? basicly I want it so it is on as default.

squawell 01-08-2002 09:51 AM

oh~thankz FireFly!!

this very useful~~~:D:D:D

Admin 01-08-2002 12:54 PM

[QUOTE]Originally posted by bobbydavro
Just a query about this hack, is the checkbox automatically checked to take the user back to the forum?

If not how do I make it so it is? basicly I want it so it is on as default.

Rose 01-08-2002 02:21 PM

I so wanna install this hack! *makes note to do it after work*

Um, I'm a bit new still and I'm not sure what hacks work with what versions. I'm using v.2.2.1. Will this work with it?

Admin 01-08-2002 02:58 PM

Should be. :)

squawell 01-08-2002 03:42 PM

but chen i 'm using v2.2.1 and use ur code it can't work!!

but when i use ur code and tommy boy's code it works!!

so i think would u miss some thing?? ;)

StarBuG 01-08-2002 04:06 PM

WOW!

Very nice hack!

But an attached file to download the hack would be nice! :)

Greetings

StarBuG


All times are GMT. The time now is 06:51 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.01054 seconds
  • Memory Usage 1,735KB
  • 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
  • (3)bbcode_php_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