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:	1797
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.
  #46  
Old 30 Jan 2007, 21:17
w1z4rd w1z4rd is offline
 
Join Date: Feb 2005
Location: MooseTown
Real name: Lance
This a great mod. Any chance this could have a BBcode like [timer]? That way you can use this great functionality with content besides attachments.
Reply With Quote
  #47  
Old 02 Feb 2007, 07:12
webgroup webgroup is offline
 
Join Date: May 2006
Originally Posted by webgroup View Post
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!

Any help?
Reply With Quote
  #48  
Old 02 Feb 2007, 10:25
Lizard306's Avatar
Lizard306 Lizard306 is offline
 
Join Date: May 2005
Originally Posted by webgroup View Post
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!
same problem with at www.chitchatters.net

there is a problem if there are more than one attachments

it would great if the above suggestion can be implemented otherwise it becomes quite unusable for forums where people attach more than 1 picture.
Reply With Quote
  #49  
Old 03 Feb 2007, 06:33
webgroup webgroup is offline
 
Join Date: May 2006
where is eric?
Reply With Quote
  #50  
Old 07 Feb 2007, 21:14
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
For now I have changed this mod to Beta until I can get this resloved. Thanks for the report guys, I will let you know when it's fixed.
Reply With Quote
  #51  
Old 11 Feb 2007, 08:57
webgroup webgroup is offline
 
Join Date: May 2006
Thank you eric!

We are ansiously waiting : )
Reply With Quote
  #52  
Old 12 Feb 2007, 02:53
Smiry Kin's's Avatar
Smiry Kin's Smiry Kin's is offline
 
Join Date: Dec 2005
just a suggestion, could there be a limit some where added,

e.g if they downloaded the attachment, there have to wait X days X hours X minutes before they can download again, saves people downloading when unnessary, and abusing it.

let me know. if possible.
Reply With Quote
  #53  
Old 07 Mar 2007, 23:45
webgroup webgroup is offline
 
Join Date: May 2006
still waiting for the update.
Reply With Quote
  #54  
Old 07 Mar 2007, 23:46
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Real name: Shawn
If you have more then 1 attachment per post, its a MAJOR problem
Reply With Quote
  #55  
Old 08 Mar 2007, 02:40
webgroup webgroup is offline
 
Join Date: May 2006
Originally Posted by Shazz View Post
If you have more then 1 attachment per post, its a MAJOR problem

Yep u are right!

I need this to be fixed so bad, I even could throw a few bucks to anyone who can fix this!!
Reply With Quote
  #56  
Old 08 Mar 2007, 03:04
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Real name: Shawn
Originally Posted by webgroup View Post
Yep u are right!

I need this to be fixed so bad, I even could throw a few bucks to anyone who can fix this!!
Mmm... Same
Don't have hours to spend on it =\
Reply With Quote
  #57  
Old 08 Mar 2007, 03:30
webgroup webgroup is offline
 
Join Date: May 2006
any coder needs $30.00?
Reply With Quote
  #58  
Old 08 Mar 2007, 03:55
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Real name: Shawn
Originally Posted by webgroup View Post
any coder needs $30.00?
Ill add on to that, name it
Reply With Quote
  #59  
Old 08 Mar 2007, 15:43
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Guys, I need to spend a little time with this and I will get it fixed for you. I will be out for the next week but I will make it a priority when I get back.
Reply With Quote
  #60  
Old 08 Mar 2007, 21:28
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Real name: Shawn
Originally Posted by ericgtr View Post
Guys, I need to spend a little time with this and I will get it fixed for you. I will be out for the next week but I will make it a priority when I get back.
Sounds good eric, thanx
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 10:05.

Layout Options | Width: Wide Color: