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)

Christine 09-09-2001 02:46 PM

Hmmm - from New reply template...
PHP Code:

<br><input type="checkbox" name="signature" value="yes" $signaturechecked> <b>Show Signature:</b> include your profile signature.  Only registered users may have signatures.
                 <
br><input type="checkbox" name="sendtoforum" value="yes" $sendtoforumchecked> <b>Go back to forum:</bafter posting would you like to return to the forum.
    </
smallfont></ 


Admin 09-09-2001 02:46 PM

Bug.

Fix:
In newreply.php replace this
PHP Code:

      // redirect
      
if ($visible) { 

with
PHP Code:

      // redirect
      
if ($visible && !$sendtoforum) { 

Thanks for finding that Christine. :)

Updated main post

Christine 09-09-2001 02:56 PM

We have a winner!!!!

This is working with no errors.

Great job, Firefly!

(I am on 2.0.3 BTW)

Admin 09-09-2001 03:17 PM

Who's da winner???? ;)

Thanks. :)

LuBi 09-13-2001 06:08 AM

Used the auto install and I keep getting this erroer

Warning: Supplied argument is not a valid File-Handle resource in /www/htdocs/forums/admin/avatar_hack_install.php on line 349

Admin 09-13-2001 10:26 AM

[QUOTE]Originally posted by LuBi
Used the auto install and I keep getting this erroer

Warning: Supplied argument is not a valid File-Handle resource in /www/htdocs/forums/admin/avatar_hack_install.php on line 349

LuBi 09-13-2001 10:33 AM

yes yes.. :( wrong hack I got that error on another i tried too install last night. I have school so I'll post it lateri nthe right thread. sorry

Admin 09-13-2001 10:56 AM

I don't understand, you tried to install a hack and it didn't work and you think it's because of this hack, or you just posted in the wrong thread?

LuBi 09-13-2001 11:24 AM

posted in the wrong thread.

Nupraptor 09-20-2001 05:05 AM

I'm having the same problem Christine was having, but the fix you supplied for her doesn't seem to have done the job for me. It works for New Topics and Polls, but not the reply. I've double and triple checked everything, and it matches your instructions to a "T". Ran the Query with no problem. :( At a bit of a loss as to what to do.


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