PDA

View Full Version : [release] moving bar and % on redirect after posting


phill2003
12-15-2002, 10:00 PM
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/mods/showthread.php?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
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
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
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

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
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
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
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 :)

Delta_vbb
01-08-2003, 11:03 AM
WOW! very nice, thank u ~

xeon
01-08-2003, 05:38 PM
one q if i may, has the original install file been updated up to this point?

phill2003
01-10-2003, 06:07 PM
no :)

JHSoundZ
01-13-2003, 10:44 PM
pretty nifty

cheers

Kaede Rokawa
01-24-2003, 09:54 PM
Install..:D:D

Orfejs
01-26-2003, 07:50 AM
It's really interesting. But is there a way to turn of all the redirecting and warning message stuff. Because it's so ugly - is there a way? (Sorry if not in the topic)

phill2003
01-26-2003, 10:02 AM
you can use it for all the redirect pages you just have to get the url it goes to correct and i havnt botherd sorry:)

Sanctum
01-26-2003, 12:32 PM
Found a bug in it. Eventually for no reason it redirected everyone to the the reply sheet *shrugs* =)

webrats
01-27-2003, 12:22 PM
polls dont work

Xanthine
01-29-2003, 04:05 AM
Originally posted by shadowfox
Found a bug in it. Eventually for no reason it redirected everyone to the the reply sheet *shrugs* =)

Read the above 30 posts..

Burning_Ice
02-02-2003, 07:28 PM
So it all works now, updated txt?

Jay_$te@lth
02-24-2003, 11:54 AM
simple but pure class :)

sabret00the
03-22-2003, 07:32 AM
great iea, i assume the zips been updated?

drives fast
03-23-2003, 09:01 AM
just drop it in the standardredirect template and it works everywhere

:Judge:
04-14-2003, 02:01 PM
I think that the text should be updated.

I went in and jumped into it without going through this whole thread and of course I had the same issues as everyone else here. I am slowly going over everything and correcting it all as I go.

Thanks for this mod to to those who have helped out with this.

phill2003
04-18-2003, 05:21 PM
I think that the text should be updated.

your probably right but i forgot all about this sorry:)

:Judge:
04-18-2003, 06:36 PM
your probably right but i forgot all about this sorry:)
I did what was suggested in post #22 and that made the code work for everything :D

DEATHCAT
04-23-2003, 03:12 PM
d00d this is one of the cleanest and best addons to the vb legacy :D

also i think it should be added to the vB 3.0 release with an option in the admin cp if people want it on or not because its cool :D

G2 Lost Soul
05-01-2003, 02:40 AM
Is there a reason why the percentage bar thingy isn't showing up?

phill2003
05-01-2003, 12:36 PM
not that i can think of m8 is the percent numbers showing???

G2 Lost Soul
05-01-2003, 02:41 PM
the number are showing, but that little bar isn't

ajk
06-29-2003, 03:51 AM
Late comer to this message, but I installed it.

Thanks

Z00MER
07-01-2003, 10:40 AM
thanx nice

vincenta
07-28-2003, 02:18 PM
Thx , i will try it

dstruct2k
08-05-2003, 05:54 PM
the number are showing, but that little bar isn't
If the numbers are changing like they should, you installed it wrong. Otherwise, you just don't have Javascript.

I'm pretty sure this can be rewritten to use this if the user has Java on, and the default if they don't.... Unfortuately I never really learned Java, someone else will have to do this.

Oh, and as a side note, I had this installed in my standard redirect template, and it worked across the board, but it was kinda pointless, so I never bothered reinstalling it when my boards reset. Nice work though!

crazy420
09-02-2003, 08:27 PM
hey rimmer very nice work bud going to try it out think its cool looking :)

imported_Keyser S?ze
09-02-2003, 08:45 PM
there was a forum i went to long ago, a gaming music forum that had a hack like this installed and it worked perfectly

this does not sadly but looks real cool, good luck

crazy420
09-03-2003, 04:53 AM
thanks rimmer installed works great didnt have to change nothing

Mathieu
09-04-2003, 06:54 AM
Thx for this hack it's a very good idea i'll try it now

aky
09-08-2003, 02:46 PM
this doesnt work for me? I dont know what's wrong, its an easy template to modify.. i really want this to work.. nothing shows up.. all it does is goes to the redirected page after a post... please help!!

aky
09-08-2003, 02:48 PM
i also just tried it on my test forum and it doesnt work there either.. no hacks have been installed on this forum.. seems odd?!?! anyone have any suggestions?