Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Attachment countdown timer (like yousendit) Details »
Attachment countdown timer (like yousendit)
Mod Version: 2.0, by ericgtr (Coder/Designer) ericgtr is offline
Developer Last Online: Jun 2016 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.0 Rating: (4 votes - 5.00 average) Installs: 35
Released: 19 Sep 2006 Last Update: 27 Sep 2006 Downloads: 198
Not Supported Template Edits Additional Files Is in Beta Stage  

Show your attachments for guests (or any usergroup you like) in a javascript window with a niftly little progress bar, sort of like yousendit or rapidshare. You can also place ads in this window, it's perfect if you have a board with many attachments.

Preview it here as guests see them http://www.guitarblast.com/showthread.php?t=805 (registered users see attachments normally)

This is currently in beta until I can resolve the following issue
It will not show more than one attachment per thread, I am currently working on this and will update when I get it resolved.


NOTE: THIS WILL ONLY WORK WITH 3.6.0 FINAL AND WILL FAIL IN ALL EARLIER VERSIONS, BOTH RC'S AND BETAS!
^ Don't mean to yell but this is very important


Update: (Version 2.0) Due to reported bugs this needed a complete rewrite. To upgrade, re-import the product-attachment_window.xml and select overwrite. Then replace the postbit_attachment template.

vBseo fix, thanks hornstar1337 and the vbseo team for helping out with this.

Modified the display in the thread to appear just as it does for registered users, also applied this to the popup window.

To upgrade to this version, run the installer again and select overwrite. Then replace the postbit_attachment template.

vBseo Fix. 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

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and to ensure the vbseo config file is set to 1 (allow) for rel novbseo

Install time: 2 minutes

Product installer
4 New files
5 New templates (added by plugin)
1 Template edit

Upload showfile.php and showfile_redirect to your /forumroot and upload class_showfile.php and class_showfile_redirect.php to forumroot/includes/

Import product-attachment_window.xml by going to Plugins & Products > Manage Products [Add/Import Product]

Template edit

In postbit_attachment

replace all with this: (note that you can add any additional groups to the "$bbuserinfo['usergroupid'], array" that you want this to show up for)


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

In template SHOWTHREAD_FILE and showfile_redirect find this and change it to your site, or remove if you don't want to suggest that they register

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Tweak to your setup:

In template SHOWTHREAD_FILE and showfile_redirect find this and place your ads there (there are two instances)

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

To change the size of the popup window, in template postbit_attachment find this and change to your liking:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

To change the countdown time, look in the showfile_redirect template for:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

As always, enjoy and please click the install button if you use it

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	window.gif
Views:	1796
Size:	13.5 KB
ID:	53933  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #31  
Old 27 Sep 2006, 05:17
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
thanks for the update.

Okay the forum view looks good now. however it is not working for me. (probably something simple to fix.)

When I click on the download link, the pop-up window loads the site instead of the download.

I'll go over everything again, but here is a test link http://www.gamerzneeds.net/forums/gu...html?styleid=1

Only installed on the default skin. need to be reg to download on the site as well.

Thanks.
Reply With Quote
  #32  
Old 27 Sep 2006, 05:21
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
edit:

worked out that the new files are not in the attachement as stated here

Upload showfile.php and showfile_redirect to your /forumroot and upload class_showfile.php and class_showfile_redirect.php to forumroot/includes/

I also dont have template showfile_redirect so I guess the product is the old one as well.


Can you upload the attachment again.

Thanks.

Last edited by Hornstar; 27 Sep 2006 at 05:27.
Reply With Quote
  #33  
Old 27 Sep 2006, 14:09
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Originally Posted by hornstar1337
edit:

worked out that the new files are not in the attachement as stated here

Upload showfile.php and showfile_redirect to your /forumroot and upload class_showfile.php and class_showfile_redirect.php to forumroot/includes/

I also dont have template showfile_redirect so I guess the product is the old one as well.


Can you upload the attachment again.

Thanks.
Ouch, you were right. I have uploaded the proper distribution again, thanks for pointing that out. Try now
Reply With Quote
  #34  
Old 27 Sep 2006, 20:45
Barakat's Avatar
Barakat Barakat is offline
 
Join Date: Nov 2004
Real name: Barakat
Yes , thanks for fixing it i will check it 2nite
Reply With Quote
  #35  
Old 28 Sep 2006, 02:36
Barakat's Avatar
Barakat Barakat is offline
 
Join Date: Nov 2004
Real name: Barakat
i try it but i found that if u have more than one attachment file in ur post
and u want to download the 2nd or the 3rd one it will give u that file but in a name of the 1st file , and look how many messeges do u have all together in the attach window.

You have 20 seconds left before this link is active.You have 20 seconds left before this link is active.You have 20 seconds left before this link is active.You have 20 seconds left before this link is active.You have 20 seconds left before this link is active.You have 20 seconds left before this link is active.You have 20 seconds left before this link is active.You have 20 seconds left before this link is active.You have 20 seconds left before this link is active.You have 0 seconds left before this link is active.
Attached Images
File Type: jpg att.jpg (73.1 KB, 18 views)
File Type: jpg att1.jpg (70.4 KB, 43 views)

Last edited by Barakat; 28 Sep 2006 at 02:39.
Reply With Quote
  #36  
Old 28 Sep 2006, 05:48
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
Originally Posted by Barakat
i try it but i found that if u have more than one attachment file in ur post
and u want to download the 2nd or the 3rd one it will give u that file but in a name of the 1st file , and look how many messeges do u have all together in the attach window.

You have 20 seconds left before this link is active.You have 20 seconds left before this link is active.You have 20 seconds left before this link is active.You have 20 seconds left before this link is active.You have 20 seconds left before this link is active.You have 20 seconds left before this link is active.You have 20 seconds left before this link is active.You have 20 seconds left before this link is active.You have 20 seconds left before this link is active.You have 0 seconds left before this link is active.

you beat me to it. the same is happening to me.

I must say that it is looking alot better then last time, but this little bug is still occuring.

and im also getting some other weird things, that you will notice in the screen shot.

Thanks.
Attached Images
File Type: jpg status.JPG (87.8 KB, 41 views)
Reply With Quote
  #37  
Old 02 Oct 2006, 21:15
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
bump, just making sure this fantastic add on is not dying.
Reply With Quote
  #38  
Old 02 Oct 2006, 21:37
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Real name: Shawn
*Installed.
Reply With Quote
  #39  
Old 09 Oct 2006, 10:03
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
:/ hope your still alive and well am I the only one who is having problems still?
Reply With Quote
  #40  
Old 26 Oct 2006, 23:29
YLP1 YLP1 is offline
 
Join Date: Aug 2004
EricGTR, I am sorry to go off topic but I have to know where to find this awesome mod that you have on your site.

I don't know what to call it so I took screen shots of it.

I really need something this on my site and would really appreciate it knowing where I can get it.

Thanks in advance
Attached Images
File Type: gif contentlink.gif (3.0 KB, 17 views)
File Type: gif contentlink2.gif (16.8 KB, 25 views)
Reply With Quote
  #41  
Old 12 Nov 2006, 21:51
Milez Milez is offline
 
Join Date: Jan 2002
EricGTR, I am sorry to go off topic but I have to know where to find this awesome mod that you have on your site.
Good god dude, Google contentlink and don't hijack threads. Use a PM instead.

Anyone tested this on vb 3.6.2 or .3 yet?
Reply With Quote
  #42  
Old 12 Nov 2006, 22:43
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Real name: Shawn
/me confirms
Reply With Quote
  #43  
Old 24 Jan 2007, 05:29
webgroup webgroup is offline
 
Join Date: May 2006
Thumbs up

Thanks for this hack!!!

I was making 55 to 65 daily with adsense, now im making 85 to 95 daily!!
Just by adding this hack to my site.

One thing, I cant see this on my postbit_attachment template:

scrollbars=yes,resizable=yes,width=470,height=300
Reply With Quote
  #44  
Old 24 Jan 2007, 14:12
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Originally Posted by webgroup View Post
Thanks for this hack!!!

I was making 55 to 65 daily with adsense, now im making 85 to 95 daily!!
Just by adding this hack to my site.

One thing, I cant see this on my postbit_attachment template:

scrollbars=yes,resizable=yes,width=470,height=300
It will only apply if what you have in the page exceeds the width
Reply With Quote
  #45  
Old 28 Jan 2007, 01:44
webgroup webgroup is offline
 
Join Date: May 2006
I found one small glitch:

If there are more than 1 attachments on the post, when you wait for the timer and the time is up, all the atchments lisnk will show, but only 1, the one you clicked will be available.
This is confusing my users, they think that the other files are not availeble or something.

To fix this, only the attachment you clicked must be shown on the popoup window, then you hace to clcik and open a new window for each of the attachments on the post.

Fixing this will make the script perfect.

Thanks!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 18:58.

Layout Options | Width: Wide Color: