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)

phill2003 12-15-2002 10:00 PM

[release] moving bar and % on redirect after posting
 
Version 1.0.0

download link: next post down

Author: rimmer

Description: this put a moving bar and the % on the redirect page after a user posts a thread or reply.


Screenshot/Demo: underneath this :)



Installation instructions: replace the redirect_postthanks template with the template in zip file





http://www.erno.fsnet.co.uk/redirect-bar.gif



sorry filbert i'll redo the picy now :)

phill2003 12-16-2002 05:35 PM

install file

imported_Blindchild02 12-16-2002 05:40 PM

oooohhhh ME LIKEY!

Nairb 12-16-2002 05:45 PM

VERY well done
9/10 :D

filburt1 12-16-2002 05:47 PM

Please see http://www.vbulletintemplates.com/mo...s=&threadid=16 (thread title/message header wrong)

edit: also the screenshot should be attached, or at least less than 450 pixels in width.

phill2003 12-16-2002 05:49 PM

thanks i just had a look and i would think you could do it with most if not all the redirect_ templates just change the wording :)

drumsy 12-16-2002 06:50 PM

It's redirecting to the wrong place...not to the post but to a new reply page...:(

phill2003 12-16-2002 07:29 PM

if you take the $url out of the redirect_postthnks template its a quick fox for now till i sort it out properly

MustangBST 12-16-2002 08:31 PM

Cool Installed

filburt1 12-16-2002 08:35 PM

As an aside this version requires Javascript to automatically redirect. Users with it off will have to click the redirection link each time.

MustangBST 12-16-2002 09:28 PM

Quote:

Originally posted by filburt1
As an aside this version requires Javascript to automatically redirect. Users with it off will have to click the redirection link each time.
So You are saying if they have java script enabled they would have to click the link every time they come to the redirect screen?


Larry

Cypher720 12-16-2002 09:42 PM

it is a great idea! im sure someone can fix it so it doesnt REQUIRE JS

Sephiroth32 12-16-2002 10:01 PM

very nice mod!

*installs

MustangBST 12-17-2002 12:30 AM

Warning this does not work with the post reply button. It may be because we have multi quote not sure

Larry

Nairb 12-17-2002 01:11 AM

it's because it redirects to the wrong page...take out the $url

filburt1 12-17-2002 01:15 AM

Quote:

Originally posted by Larry@IOG


So You are saying if they have java script enabled they would have to click the link every time they come to the redirect screen?


Larry

No, if they have it disabled which many people do to kill popups and whatnot.

imported_holden 12-17-2002 10:53 AM

replace the "$url" with "$goto". that worked for me. :)

lebanon2001 12-17-2002 09:07 PM

look hack my frind Rimmer

after new thread not go to subject
this go to new thread agin
way were problem

i waited From he changes broblem

Nairb 12-17-2002 10:57 PM

lebanon2001

in the template that you edit
change the variable "$url" to "$goto"

assassingod 12-18-2002 06:34 AM

Nice mod

lebanon2001 12-18-2002 08:17 AM

Quote:

Originally posted by Nairb
lebanon2001

in the template that you edit
change the variable "$url" to "$goto"


wooooooow this goooood

thanks my frind:) :)

Arabs Emperor 12-18-2002 03:34 PM

yes guys you should cut out this code
PHP Code:

else 
{
window.location "$url";} 

nice work 10/10

phill2003 12-31-2002 08:38 PM

i just noticed some of you having probs with this if the server is slow it redirects to the wrong place i noticed its been fixed but this is how i have doe it anyway... if it helps anyone i'm pleased :)

change this

{window.location = "$url";}

to this

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

well i hope it helps a bit

have a very nice new year all the best

rimmer

phill2003 12-31-2002 08:40 PM

mind you it prolly only works for the postthanks redirect

imported_CityInet 01-01-2003 01:22 AM

i really like this mod but the redirection problem is an issue for me. it redirects to the reply page. i tried taking $url out of the template, but that did not work. I do not think I did this right. Here is what I did...

the mod
---------------------
else
{window.location = "$url";}

my revision
---------------------
else
{window.location = "";}

phill2003 01-01-2003 05:19 PM

change it to this if you use it for the redirect_postthanks template...

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

wyzzor 01-01-2003 11:57 PM

Nice!!

Zerodark 01-02-2003 01:29 AM

wow,..i just installed this and it is amazing.

EDIT: i just had 1 slight problem with it,...when i don't use the quick reply, it takes me back to the reply screen like it didn't take me back.

Burning_Ice 01-02-2003 02:25 PM

Quote:

Originally posted by lebanon2001
look hack my frind Rimmer

after new thread not go to subject
this go to new thread agin
way were problem

i waited From he changes broblem

I have no clue what you said... What so ever.

assassingod 01-02-2003 02:35 PM

He already had that answered for him Burning_Ice:)

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 05:54 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.01281 seconds
  • Memory Usage 1,790KB
  • 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_php_printable
  • (6)bbcode_quote_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
  • (40)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