The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Forum Goals with Animated Progress Bar Details »» | ||||||||||||||||||||||||||||||||
Forum Goals with Animated Progress Bar
Developer Last Online: Aug 2023
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."
4.x version - https://vborg.vbsupport.ru/showthread.php?t=257689 Please Mark as Installed if you use this! Download Now
Screenshots
Show Your Support
|
Comments |
#12
|
|||
|
|||
thx alot bro u r the best
|
#13
|
||||
|
||||
Quote:
|
#14
|
|||
|
|||
waiting for vB 4's version
|
#15
|
||||
|
||||
EddyMaxx- I uninstalled my mod, installed the mod you linked to, and reinstalled my mod without issue. If you want to use both you may try re-installing the Top Thread Starts mod and see what's happening.
Reviewing the code there is nothing that should conflict off-hand. Also I noticed the Top Thread Starter has 2 versions available, the newest one is V2, is that the one you were using? |
#16
|
|||
|
|||
Joe... I tried it again and still didn't work. If I have "Top Thread" enabled... "Forum Goals" doesn't work and vice versa. Could be also my custom template.
But either way... I'm happy with this mod. |
#17
|
||||
|
||||
Thank you. :up:
|
#18
|
|||
|
|||
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 |
#19
|
||||
|
||||
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: Code:
<table class="tborder" id="collapseobj_forumhome_goal" style=""> <tr> <td class="thead" colspan="2"> $vboptions[bbtitle] $vbphrase[bop5goals] </td> </tr> <tr> <td class="alt2"><img src="$stylevar[imgdir_misc]/$bop5goalimg" alt="$vbphrase[bop5goals]" border="0" /></td> <td class="alt1" width="100%"> <table align="center" width="100%"> <tr> <td width="120"><div align="center" class="smallfont" ><if condition="$bopgoalsport == 1">$vbphrase[threads]: $totalthreads<else /> </if></div></td> <td width="120"><div align="center" class="smallfont" ><if condition="$bopgoalsport == 0">$vbphrase[posts]: $totalposts<else /> </if></div></td> <td><div align="center" class="smallfont" ><span class="progressBar" id="element1"> $bopgoalper%</span></div></td> <td width="170"><div align="center" class="smallfont" >$vbphrase[bop5goal] $bop5goalposts <if condition="$bopgoalsport == 0">$vbphrase[bop5posts]<else />$vbphrase[bop5threads]</if></div></td> <td width="170"><div align="center" class="smallfont" > <if condition="$goalreached"> $vbphrase[bop5goalreached] <else /> <if condition="$bopgoalsport == 0"> $vbphrase[bop5poststogoal] $poststogo <else /> $vbphrase[bop5threadstogoal] $poststogo </if> </if> </td> </tr> <if condition="$vbulletin->options[bopgoalshowdate]"> <tr> <td colspan="2"><div align="center" class="smallfont" >$vbphrase[today]: $bop5todayF</div></td> <td><div align="center" class="smallfont" > <if condition="$goalreached">$bop5goalmess<else /><if condition="$bop5daysleft >= 0">$vbphrase[bopdaystogoal] <strong>$bop5daysleftF</strong><else />$vbphrase[bopovertime]</if></if></div></td> <td colspan="2"><div align="center" class="smallfont" >$vbphrase[bopgoaldate] $bop5goaldateF</div></td> </tr> </if> </table> </td> </tr> </table> <br /> 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. |
#20
|
|||
|
|||
Thanks Joe, I have tagged the mod.
The post per day stuff is already in vb, just look at admincp - statistics - new posts. Mike |
#21
|
||||
|
||||
Good to know, I never really checked statistics before... Will see what's available. :up:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|