Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Forum Goals with Animated Progress Bar Details »»
Forum Goals with Animated Progress Bar
Version: 1.00, by BirdOPrey5 (Senior Member) BirdOPrey5 is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.8.x Rating:
Released: 12-25-2010 Last Update: Never Installs: 40
Supported Uses Plugins Template Edits
Re-useable Code Additional Files 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 - https://vborg.vbsupport.ru/showthread.php?t=257689

Please Mark as Installed if you use this!

Download Now

File Type: zip Forum Goals by BOP5.zip (38.8 KB, 206 views)

Screenshots

File Type: jpg forumgoals0.jpg (173.9 KB, 0 views)
File Type: jpg forumgoals1.jpg (221.5 KB, 0 views)
File Type: jpg forumgoals2.jpg (157.6 KB, 0 views)
File Type: jpg forumgoals3.jpg (145.4 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 01-23-2011, 04:46 AM
FIM FIM is offline
 
Join Date: Aug 2006
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Install
Reply With Quote
  #23  
Old 01-23-2011, 02:30 PM
Dexperia Dexperia is offline
 
Join Date: Jul 2010
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #24  
Old 01-23-2011, 02:51 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #25  
Old 01-23-2011, 02:57 PM
Dexperia Dexperia is offline
 
Join Date: Jul 2010
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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, 6 views)
Reply With Quote
  #26  
Old 01-23-2011, 04:07 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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, 7 views)
Reply With Quote
  #27  
Old 01-23-2011, 06:59 PM
Dexperia Dexperia is offline
 
Join Date: Jul 2010
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks

Works like a charm
Reply With Quote
  #28  
Old 01-24-2011, 12:37 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

VB 4.x Version Released: https://vborg.vbsupport.ru/showthread.php?t=257689
Reply With Quote
  #29  
Old 02-06-2011, 02:02 PM
Wonksta Wonksta is offline
 
Join Date: Apr 2009
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #30  
Old 02-06-2011, 02:36 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #31  
Old 02-06-2011, 10:24 PM
Wonksta Wonksta is offline
 
Join Date: Apr 2009
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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


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

Forum Jump


All times are GMT. The time now is 05:09 PM.


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.04607 seconds
  • Memory Usage 2,344KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (7)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete