vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Attachment countdown timer (like yousendit) (https://vborg.vbsupport.ru/showthread.php?t=127041)

Arda MENDES 09-21-2006 12:26 PM

It's great.Thanx

Hornstar 09-21-2006 10:11 PM

Update
It is now working after getting the fix from vbseo. The problem was with the google analytics code. There was 2 ways to fix this, either disable the google analytics code, or replace this code from within postbit_attachment
Code:

<a href="javascript:history.go(0)"
to
Code:

<a rel="novbseo" href="javascript:history.go(0)"
and to ensure the vbseo config file is set to 1 (allow) for rel novbseo

So that takes care of the problems for anyone with vbseo thanks to Oleg Ignatiuk from vbseo for helping me.

---------------------------------------------------------------------------

Request/suggestions

Pictures tell a 1000 words so ill upload the pics i took which should explain what I mean best.

The old view pic is what the attachment window used to look like, I kinda want this to remain the same, so as you can see in the new view, how things have changed because of this hack, I feel it would be best for everyone if we kept this looking the same as before.

In request 1 and 2, they are actually happening in both pics.

The description should be on top instead of below, and I would like to see if the link to download the attachment could be added to the description like how it used to be.

They are probably really small edits, such as adding a <br> or < br/>
(forget which one is the standard now) to make them on seperate lines but i dont want to screw things up so I thought it would be best to leave it to someone more advanced like yourself :)

Thanks for the great hack, hopefully you will get some time to fulfil these requests.

Thanks.

ericgtr 09-22-2006 02:06 PM

Request complete, see the first post for updated instructions and thanks for the vbseo fix! :)

Hornstar 09-23-2006 06:54 AM

Okay thanks but there was 2 things you left out,

1. Attachments are still on 1 line. instead of on seperate lines.
2. In the popup window, the name should go before what, eg.

It should be like this:

[Skin.rar 541.5 KB], (483 views) <--- This
Then ---> You have 25 seconds left before this link is active.
Get File

As for one attachment you can understand it, but when you got more then 1 attachment it is confusing.

3. If you can make the name of the attachment linked to the download after 25 seconds as well.

4. There is seems to be another bug, this may be partially part of statement (2.) that i mentioned.

Here is what my window looks like

You have 25 seconds left before this link is active.
Get File (This link here is the only one that will download even tho it says 25 seconds above)

File Type: rar [CELiTE.rar 681.1 KB], (696 views)
You have 25 seconds left before this link is active.
Get File

File Type: rar [Rakion By Pass.rar 454.0 KB], (662 views)
You have 0 seconds left before this link is active.
Get File (This file is not able to be downloaded even tho it says 0 seconds)

File Type: rar [Skin.rar 541.5 KB], (483 views)



also once the 25 seconds is up, can the next attachment start timing down, instead of them having to close the window and then clicking on the next attachement, or even better, when they click get file, it starts timming down, but only 1 file can time down at a time.


If the above could be fixed up it would be really awesome, and then after those are done, I got another suggestion/request but ill wait until you can get these done.

Thanks :)

soletrader 09-23-2006 11:05 AM

hornstar, how do i change no rel novbseo to 1? Where do I go and what do I fix? thank you

Barakat 09-23-2006 11:27 AM

Quote:

Originally Posted by hornstar1337
As for one attachment you can understand it, but when you got more then 1 attachment it is confusing.

it u have more than one file in the post the download just only works on the below file even if you choose the file in above ....

Hornstar 09-23-2006 10:30 PM

Quote:

Originally Posted by soletrader
hornstar, how do i change no rel novbseo to 1? Where do I go and what do I fix? thank you

in your includes file you will find your vbseo config file, open that, then search for novbseo and you will need to make sure that is on 1. For better instructions head over to vbseo.com and you will find the thread that I made and the answer in there.

@ Barakat:
I'm not sure if your confirmming the bug I stated or not, but it is a problem either way. Just check the screeen shots in my post above, and my post below it will explain it as well.

Thanks.

ericgtr 09-23-2006 11:45 PM

Quote:

Originally Posted by Barakat
it u have more than one file in the post the download just only works on the below file even if you choose the file in above ....

I will get some time tomorrow to work on this and see if I can get that part working.

Hornstar 09-24-2006 08:58 AM

Hey ericgtr just trying to work out if you will be able to do some of the requests in my post/s https://vborg.vbsupport.ru/showpost....3&postcount=22 and https://vborg.vbsupport.ru/showpost....5&postcount=24

Thanks.

ericgtr 09-25-2006 09:14 PM

Updated, please see first post for new instructions and layout. It will now show all the attachments as they should be.


All times are GMT. The time now is 02:21 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.01048 seconds
  • Memory Usage 1,745KB
  • 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_code_printable
  • (3)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