0
I have forum v bulletin I need to redirect a visitor to example.php page .. automatically after a short delay,countdown  when he clicks the download attachment already upload at my server or external link posted in my forum . Is there any possible way to do that in a .htaccess (JavaScript) code or any thing ..

my site :  shneler.com/vb
example attachment URL : http://shneler.com/vb/attachment.php?attachmentid=2063&d=1380201538

Thank you 
5
Contributors
11
Replies
69
Views
2 Years
Discussion Span
Last Post by diafol
Featured Replies
  • a somewhat backwards approach maybe, to goto the example page and continue from there current link to a particualar attachment may be `<a href='http://shneler.com/vb/attachment.php?attachmentid=2063&d=1380201538'>something to download</a>` different link `<a href='http://shneler.com/vb5test?attachmentid=2063&d=1380201538'>something to download</a>` and in /vb5test/index.php in the <head> somewhere <?php if(isset($_GET['attachmentid'])) { echo "<meta http-equiv='refresh' content='5; url=/vb/attachment.php?attachmentid=$_GET['attachmentid']&d=$_GET['d']'>"; } ?> Read More

  • 1
    diafol 3,720   2 Years Ago

    What are you trying to show with these screenshots? Read More

0

it is not working

    $('#element').click(function() {
    setTimeout(function() {
    window.location.href = 'http://shneler.com/vb5test';
    }, 3000);
    });

not working .... is there any thig should i change and is this java for external link , attachment file uploaded in my server ?

Edited by mohd_3

1

a somewhat backwards approach maybe, to goto the example page and continue from there
current link to a particualar attachment may be
<a href='http://shneler.com/vb/attachment.php?attachmentid=2063&d=1380201538'>something to download</a>

different link
<a href='http://shneler.com/vb5test?attachmentid=2063&d=1380201538'>something to download</a>

and in /vb5test/index.php in the <head> somewhere

<?php 
if(isset($_GET['attachmentid'])) { 
echo "<meta http-equiv='refresh' content='5; url=/vb/attachment.php?attachmentid=$_GET['attachmentid']&d=$_GET['d']'>"; 
} ?>

Edited by almostbob

0

plwase note
redirect to blank page see attached please

Edited by mohd_3: add attachement

Attachments Untitled2.png 150.97 KB Untitled1.png 96.41 KB
0

see attachment

Edited by mohd_3

Attachments Untitled1.png 96.41 KB Untitled2.png 150.97 KB
0

Hello
first of all i m not programmer i have some information in php but i can execut what you ask me to do
let me clarification
1: in my forum i m using hack vbAnonymizer , This product will make all outgoing URL's have no referrer
i dont have problem in external links it is working well
my issue when the member ask to download the attachment upload in my root ,
can yo add rules in the attached file (product) to redirect any member ask to download attachment to redirect to my waiting page i m already use at external link
please use user: test and password: 123456 to allow see the attachment

*example attachment
*example external link

the product

Edited by mohd_3

-1

You cannot edit VB files like that, thats why they create plugins and templates to create something as you want. try asking product maker to edit file as you want

0

You didn't think to write, in the original question,
that you were f_ing with a functional system with some 'hack',
(badly) coded by some f_wit, to hide your referer.
the hack f_s up the system,
get the fix from the f_wit that wrote the hack, or,
remove the hack

there is one reason to hide the referer; malice. are you? :)

edit: read the source: badly written?;bohze moi,
so much wrong
there are vb anonymizers, that do work, try another

Edited by almostbob

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.