php forum
php mysql forum
php mysql smarty
 
Topic Options
#200949 - 10/25/03 05:53 AM [6.4 - 6.5 - 6.6 - 6.7] [beta] Quick Transition
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Twinsburg, Ohio

   [6.4 - 6.5 - 6.6 - 6.7] [beta] Quick Transition to Del.icio.us Add to del.icio.us
  Digg [6.4 - 6.5 - 6.6 - 6.7] [beta] Quick Transition Digg it
Modification Name: Quick Transition

Author(s): Brett

Description: I don't know why i thought of this now, but i always thought it was useful. I forgot how the old author 'joetan2004' created it, as the link is down. link to old topic

This hack will get rid of all transition pages, and quickly load the next page.

Credits: joetan2004

Instructions / Other Info:
Code:
in public_common.pl

# find 

$goto =~ s/;/&/g;

# add under

print qq~<html><script language="Javascript">n<!--nwindow.location = '$goto';n--></script></html>~; return 1;

Top
#200950 - 10/25/03 07:25 AM Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] Quick Transition
Stamoulis Offline
Member

Registered: 09/17/01
Posts: 92
Loc: Germany
hey thx. smile

i installed it but i am not really sure what does it make ? nothing changed to me ?!

you mean the screen after posting "sit tight... bla bla"? it's still there for me confused

Top
#200951 - 10/25/03 07:47 AM Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] Quick Transition
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Twinsburg, Ohio
Sorry about that, should have tested it first shocked

Well, it should work now. smile Yeah, the "sit tight " screen would be gone.

Top
#200952 - 10/25/03 08:07 AM Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] Quick Transition
Stamoulis Offline
Member

Registered: 09/17/01
Posts: 92
Loc: Germany
well uhm.... my result now is this:

Forbidden
You don't have permission to access /cgi-bin/ubb/ on this server. confused

Top
#200953 - 10/25/03 08:24 AM Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] Quick Transition
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Twinsburg, Ohio
Darn, well can you try this?
Code:
change
window.location = '$goto';

to this in the added code
window.location = unescape('$_[0]');

Top
#200954 - 10/25/03 08:27 AM Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] Quick Transition
Stamoulis Offline
Member

Registered: 09/17/01
Posts: 92
Loc: Germany
now it worked if i add the

Code:
print qq~<html><script language="Javascript">n<!--nwindow.location = '$goto';n--></script></html>~; exit(0);
after the "goto...." and not after the "cut..." wink

thx. !

edit: i modified it a bit and it looks nicer like this:

Code:
 	print qq~<html><table border="0" style="border-collapse: collapse" width="100%" id="table1" cellpadding="0" 

height="100%"><tr><td><p align="center"><b><font face="Verdana" size="2">Hold on while we take you back to your 

post.....</font></b></td></tr></table><script language="Javascript">n<!--nwindow.location = '$goto';n--></script></html>~; 

exit(0); 

Top
#200955 - 10/25/03 09:32 AM Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] Quick Transition
Stamoulis Offline
Member

Registered: 09/17/01
Posts: 92
Loc: Germany
uhm well.... it seems like the forum summary page is not updated anymore with the last post time and date.

the public forum summary is okay but not the forum summary page with all the thread listings...

is this a possible bug ? or did I broke sth. else tipsy ?

Top
#200956 - 10/25/03 09:47 AM Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] Quick Transition
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Twinsburg, Ohio
eek , yeah, the exit part is what is messing it up, bc after the transition it is supposed to clear the cache. you gotta replace the 'exit(0);' with 'return 1;'

Top
#200957 - 10/25/03 10:01 AM Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] Quick Transition
Stamoulis Offline
Member

Registered: 09/17/01
Posts: 92
Loc: Germany
ok, ehehe, don't worry smile

i tested it out and it seems to work now smile let's see what else i can find tipsy laugh

Top
#200958 - 10/25/03 02:24 PM Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] Quick Transition
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
according to some of the 56K users on my boards, it's amazingly better smile
_________________________
Code monkey like Fritos

Top
#200959 - 10/25/03 04:47 PM Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] Quick Transition
AllenAyres Administrator Online   content
I type Like navaho

Registered: 03/10/00
Posts: 25419
Loc: Texas
cool, thanks brett laugh
_________________________
- Allen wavey
- What Drives You?

Top
#200960 - 10/25/03 05:07 PM Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] Quick Transition
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5119
Loc: Portland, OR, USA
Very very nice, I modifide Stamoulis's code just a bit to:

Code:
print qq~<html><body bgcolor="#000000" text="#FFFFFF"><table border="0" 

style="border-collapse: collapse" width="100%" id="table1" cellpadding="0" height="100%"><tr><td><p align="center"><b><font face="Verdana" size="2">Hold on while we take you back to your post...</font></b></td></tr></table><script language="Javascript">n<!--nwindow.location = '$goto';n--></script></body></html>~; return 1;
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#200961 - 10/27/03 05:35 PM Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] Quick Transition
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5119
Loc: Portland, OR, USA
Found something fun, when you're browsing topics with next/previous and you reach the end of the line, it's quite entertaining when you have it say "Please hold while we bring you back to your post"... Cas each time they click next/previous instead of seeing "There are no newer posts" they keep seeing "Please hold while we take you back to your post" lol...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#200962 - 10/27/03 06:31 PM Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] Quick Transition
Charles Capps Offline
Admin Emeritus
Resident Code Hacker

Registered: 01/09/00
Posts: 5438
Loc: Lynnwood, WA
WARNING: The pause between forwards is intentional to allow the server to catch up with itself. Installing this hack may cause unusual side effects and will cause a performance impact.
_________________________
UBB.classic: Love it or hate it, it was mine.

Top
#200963 - 10/27/03 07:04 PM Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] Quick Transition
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
*hands $5 to Gizzy*

Darn, I figured Charles would miss this one shocked tipsy
_________________________
Code monkey like Fritos

Top


Moderator:  Charles, Gizmo 
Top Posters Last 30 Days
AllenAyres 20
Gizmo 10
blaaskaak 2
S7ARBVCK 2
Iann128 1
Claus1 1
M4D 1
Who's Online
1 Registered (AllenAyres), 33 Guests and 7 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Security Patch released for all 7.x versions
by AllenAyres
Today at 08:00 PM
What do you use to edit the files
by AllenAyres
Today at 07:54 PM
Team UBBDev Rides Again!
by AllenAyres
Today at 07:32 PM
Here I am! Rock me like a Hurricane!
by AllenAyres
Today at 07:20 PM
BeyondCompare v3.00
by AllenAyres
Today at 07:16 PM
[7.3.1] add search to showmembers page
by AllenAyres
Today at 07:13 PM
Noob - need help, or a reality check!
by Gizmo
09/04/08 03:21 AM
New Mods
[7.3.1] add search to showmembers page
by blaaskaak
Today at 04:50 AM
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
[7.x] Generic Page Outside of forum directory
by
01/14/07 10:58 PM
Newest Members
veedubb8, twentyseven, Claus1, welcomeback1, Paug
13327 Registered Users

 

 

 
fusionbb message board php hacks