vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=139)
-   -   [release] moving bar and % on redirect after posting (https://vborg.vbsupport.ru/showthread.php?t=85687)

girard747 01-05-2003 04:09 AM

Quote:

Originally posted by rimmer
mind you it prolly only works for the postthanks redirect
im tryin to get it to work for some others, cause when its only showing the percent on one teplate thing its kinda akward.....whatever

girard747 01-05-2003 04:23 AM

i dont know how i can get what the forumid for a post is.... i need it so i can put that bar on the delete.... :\

phill2003 01-05-2003 05:24 AM

ok change this

{window.location = "$goto";}

to this for the redirect_deletethread template

{window.location = "forumdisplay.php?s=$session[sessionhash]&forumid=$threadinfo[forumid]";}

and use this for redirect_deletepost & redirect_deleteposts

{window.location = "showthread.php?s=$session[sessionhash]&threadid=$threadid";}

girard747 01-05-2003 02:00 PM

i got 2 more for ya...

for the redirect_pollvotethanks,

{window.location = "showthread.php?s=$session[sessionhash]&threadid=$threadinfo[threadid]"}

for redirect_editthanks

{window.location = "showthread.php?s=$session[sessionhash]&threadid=$threadinfo[threadid]#post$postid"}

girard747 01-05-2003 02:10 PM

what if you just got rid of the

else
{window.location = "wherever"}

in the code? would it work for anything, because 2 temlates are actually used in the redirect, standardredirect and the redirect_xxx for whatever type of redirect it is. the standardredirect is the one that sends you to the next page after 1 second anyways....who cares if the % might be lower then 100 before it refreshes...

phill2003 01-05-2003 02:48 PM

it might work i'll have a bash

phill2003 01-05-2003 02:54 PM

yep seems to work :)

girard747 01-05-2003 03:13 PM

w00t...?

imported_psyblast 01-05-2003 11:04 PM

good hack, but im not gonna install it, its kinda pointless, but none-the-less its good for people who like this kind of thing :)

phill2003 01-06-2003 05:06 PM

Quote:

its kinda pointless
by eck m8 your kind of forthright arnt you :D mind you thanks for the input your point is as valuable as the one's in favor :)


All times are GMT. The time now is 01:45 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.01012 seconds
  • Memory Usage 1,733KB
  • 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_quote_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