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)
-   -   Remove Posting Redirection (like vB3) (https://vborg.vbsupport.ru/showthread.php?t=52098)

ImportPassion 05-02-2003 01:06 AM

I would love to see more pages updated with this, as would all of us I think.

D

Opie 05-02-2003 03:11 AM

Quote:

04-25-03 at 10:44 PM Anime-loo said this in Post #22
Xenon's Prevent Double Posting hack fix:

----------------------------
Open newreply.php
----------------------------

Find:

PHP Code:

if ($visible) {
            
$goto "showthread.php?s=$session[sessionhash]&postid=" $lastpost['postid'] . "#post" $lastpost['postid'];
              } else {
            
$goto "forumdisplay.php?s=$session[sessionhash]&forumid=$threadinfo[forumid]";
              }
              eval(
"standardredirect(\"".gettemplate("redirect_postthanks")."\",\"$goto\");");
              exit;     
      } 

Replace with:

PHP Code:

if ($visible) {
            
$goto "showthread.php?s=$session[sessionhash]&goto=lastpost&threadid=$threadid";
              } else {
            
$goto "forumdisplay.php?s=$session[sessionhash]&forumid=$threadinfo[forumid]";
              }
              @
header ("Location: $goto");
              exit;     
      } 

// Dev note - if user has double posted he had the last post in thread anyway. Showthread link was changed because of this.

Everything works find and all, but when I post it doesn't take me to my post, takes me to the first page. I have the double post hack installed and really don't want to uninstall it because of this.

Is there some code to add or something?

Another thing is that it doesn't do it on ome new forums I added..

Seems to only do it every now and then.. any ideas?

sonic3d 05-05-2003 09:34 PM

this hack is conflicting with the multi-quote hack. if u want to quote a person it will just reply with only the quote. it will not take you to the screen to add ur comments. is there neway to fix this?

l8er
sonic

exTracT 05-06-2003 08:58 AM

does this hack work with 2.2.8?

Boofo 05-06-2003 09:11 AM

Quote:

Yesterday at 05:34 PM sonic3d said this in Post #43
this hack is conflicting with the multi-quote hack. if u want to quote a person it will just reply with only the quote. it will not take you to the screen to add ur comments. is there neway to fix this?

l8er
sonic

Recheck your code. I have the multi-quote hack installed and it runs fine with this hack.

exTracT - I am running it with 2.2.9 so, yes, it will work fine with 2.2.8. ;)

Martin64 05-06-2003 09:42 AM

Works good, nice job. :)

mymilkexpired 05-06-2003 07:32 PM

Im liking this hack alot! i have many users who are going to like it :)

Any luck on doing this to the other pieces? Seach, Edit, etc....

sonic3d 05-06-2003 09:10 PM

Quote:

Today at 05:11 AM Boofo said this in Post #45
Recheck your code. I have the multi-quote hack installed and it runs fine with this hack.

exTracT - I am running it with 2.2.9 so, yes, it will work fine with 2.2.8. ;)

which one do u have installed?
chens or xiphoid

i will recheck it agian but iam sure that i will get the same results

l8er
sonic

Boofo 05-06-2003 09:18 PM

They are the same hack. ;)

week9 05-07-2003 04:58 AM

thanks


All times are GMT. The time now is 11:57 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.02061 seconds
  • Memory Usage 1,748KB
  • 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
  • (3)bbcode_quote_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