Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Forum Goals with Animated Progress Bar Details »
Forum Goals with Animated Progress Bar
Mod Version: 1.00, by BirdOPrey5 (IB Staff) BirdOPrey5 is offline
Developer Last Online: Jun 2019 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (5 votes - 5.00 average) Installs: 38
Released: 25 Dec 2010 Last Update: Never Downloads: 153
Supported Uses Plugins Template Edits Additional Files Re-usable Code Translations  

This mod will display an animated progress bar on your forum index (FORUMHOME) showing your progress as your forum approaches a "goal" you set, either a number of posts or threads.

Demo: http://www.juot.net/forums/forum.php

Optionally you can set a date for the goal and it will display a countdown of days to reach the goal.

All text output is fully phrased so you can easily change the wording to your needs.

In addition the table is its own template, forumgoals, which you can further customize as needed.

You can also easily select a custom icon without needing to edit any templates.

Finally you can turn off the auto template injection and manually place the $forumgoals template variable anywhere on your FORUMHOME template.

Full instructions are included in the zip file.

This should work on 3.7.x and 3.8.x and possibly earlier versions as well.

The progress par requires JavaScript to display. If JS is off only a percentage will show.

The progress bar uses a freely distributed JavaScript library available here:
http://www.bram.us/projects/js_bramu...essbarhandler/
"The [JavaScrpt] is now released under a creative commons Attribution-ShareAlike 2.5 license."
  • 2 JavaScript and 2 images to upload
  • 1 custom template
  • 3 plugins
  • 10 phrases

4.x version - http://www.vbulletin.org/forum/showthread.php?t=257689

Please Mark as Installed if you use this!

Download Now

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

Screenshots

Click image for larger version

Name:	forumgoals0.jpg
Views:	196
Size:	173.9 KB
ID:	124810   Click image for larger version

Name:	forumgoals1.jpg
Views:	712
Size:	221.5 KB
ID:	124811   Click image for larger version

Name:	forumgoals2.jpg
Views:	314
Size:	157.6 KB
ID:	124812   Click image for larger version

Name:	forumgoals3.jpg
Views:	320
Size:	145.4 KB
ID:	124813  

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.
  #16  
Old 26 Dec 2010, 16:33
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Thank you.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #17  
Old 28 Dec 2010, 20:33
ctrlbrk ctrlbrk is offline
 
Join Date: Nov 2008
Thank you for your work. Can I make some suggestions?

1) If the goal is a Post goal, don't show # of threads (and vice versa)
2) If the goal has a date, please show not only the # remaining but what that works out to per day (ie: 500 posts/day to meet goal)

3) If you are feeling real generous, you could do something like a 7-day average of how many posts per day the forum is running and then display something like "On target" or "Falling behind" or "Ahead of schedule" based on how the post per day average compares to the goal figure.

Thx!
Mike
Reply With Quote
  #18  
Old 28 Dec 2010, 22:56
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Suggestion 1)
Small changes like this can be made via template edits to customize it to your needs. The template to edit is: forumgoals

You can erase all the code in your existing template and replace it with the code below and it will only display threads or posts depending on your goal type:

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

You are encouraged to experiment to make further edits, if you get something that looks better feel free to even share the code in this thread if you're willing.

If you ever mess things up too much you can always go back by clicking the "revert template" button in style manager or at worst re-install the mod.

2) Yes that sounds like a good idea, I will include it in the next release.

3) I'm pretty sure keeping an average would require editing the database which will add a whole new level of complexity to the mod so I will probably be passing on this option for the time being, but I will keep it in mind should things change.

Just a reminder to anyone this is marked as "re-usable code" if anyone wants to take a shot and add more features they are free to do so and re-release their own version.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #19  
Old 28 Dec 2010, 23:05
ctrlbrk ctrlbrk is offline
 
Join Date: Nov 2008
Thanks Joe, I have tagged the mod.

The post per day stuff is already in vb, just look at admincp - statistics - new posts.

Mike
Reply With Quote
  #20  
Old 29 Dec 2010, 02:33
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by ctrlbrk View Post
Thanks Joe, I have tagged the mod.

The post per day stuff is already in vb, just look at admincp - statistics - new posts.

Mike
Good to know, I never really checked statistics before... Will see what's available.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #21  
Old 23 Jan 2011, 05:46
FIM's Avatar
FIM FIM is offline
 
Join Date: Aug 2006
Install
Reply With Quote
  #22  
Old 23 Jan 2011, 15:30
Dexperia Dexperia is offline
 
Join Date: Jul 2010
Real name: Dan
Pretty cool, installed.

However, I'm trying to modify it so it allows me to set goals for the number of users registered.

I'm not sure if I have it done correctly though.

Is it ok if I send to you in a PM what I have so far? Because I may need a little bit of help with it.

I've never really tried to make any changes to any addon, but I thought I'd give it a try with this just to see if it works.
Reply With Quote
  #23  
Old 23 Jan 2011, 15:51
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Please post what you have here for everyone's benefit, I will help best I can... thinking about this just about everything will need to be changed to make this user # based, it's not a quick edit.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #24  
Old 23 Jan 2011, 15:57
Dexperia Dexperia is offline
 
Join Date: Jul 2010
Real name: Dan
Originally Posted by BirdOPrey5 View Post
Please post what you have here for everyone's benefit, I will help best I can... thinking about this just about everything will need to be changed to make this user # based, it's not a quick edit.
Ohhhh right, I see

Anyway, here's what I got so far.

I've got it working to select the goal for members in the admincp, but when it comes to displaying on the forum page, that's where the problems start.

I'll attach the file to this post.

Because I wasn't sure how it would work, I just gave it a guess and obviously it didn't turn out according to plan

But hey, everyone has to start somewhere, so why not guess
Attached Files
File Type: xml product-bopgoals.xml (12.1 KB, 2 views)
Reply With Quote
  #25  
Old 23 Jan 2011, 17:07
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
OK... here's a "beta" version I haven't tested much but seems to work...

I added "users" as a goal type in options you can select...
I added logic to the plugin to handle users...
I added logic and code to the template to handle user goal type...
I added 2 phrases related to users.

The forumgoal template could probably be nicer for # of member goals but it's a real good start if nothing else.

Import this product, allow overwrite set to "Yes."
Attached Files
File Type: xml product-bopgoals (15beta).xml (12.4 KB, 3 views)
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #26  
Old 23 Jan 2011, 19:59
Dexperia Dexperia is offline
 
Join Date: Jul 2010
Real name: Dan
Thanks

Works like a charm
Reply With Quote
  #27  
Old 24 Jan 2011, 01:37
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
VB 4.x Version Released: http://www.vbulletin.org/forum/showthread.php?t=257689
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #28  
Old 06 Feb 2011, 15:02
Wonksta Wonksta is offline
 
Join Date: Apr 2009
Big Big Issue when uninstalling.

I had to uninstall it but it removed almost every image from my forum home. I had to install it again but when I uninstall it my forum is completely white with just hyperlinks and text no images showing.

Please help.
Reply With Quote
  #29  
Old 06 Feb 2011, 15:36
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
This mod doesn't change your database or contain any custom install code at all, it's highly unlikely this mod caused your issues. You might have had a sever error in the middle of the uninstall unrelated to this mod, hard to know for sure.

To manually Uninstall go to the Admin CP, Plugin Manager... Find the section Forum Goals by BOP5 there should be 3 plugins listed, delete each one manually.

Then go to your styles and template manager, find the template forumgoals and
delete that too.

There are several phrases too but they won't hurt anything... If you really want to delete go to your Phrase Manager, find and delete the following phrases:
  • bop5goal
  • bop5goalreached
  • bop5goals
  • bop5posts
  • bop5poststogoal
  • bop5threads
  • bop5threadstogoal
  • bopdaystogoal
  • bopgoaldate
  • bopovertime


That's it... that will remove all traces of this mod. You can also try to uninstall it again if it's still listed in your product manager.

If you can't get to your admin cp follow the instructions to disable hooks first:
http://www.vbulletin.com/forum/showt...ystem-globally

That should get you back in the system.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #30  
Old 06 Feb 2011, 23:24
Wonksta Wonksta is offline
 
Join Date: Apr 2009
Thanks before doing what you said I tried to do the normal uninstall thinking it was just a once off but yeah the issue happened again so I had to import the XML and then do it manually very strange.
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 03:54.

Layout Options | Width: Wide Color: