![]() |
whats the code I use to place this mod on another page instead of forumhome?
For example, on another mod (Advance stats), its {vb:raw vsatopstats}. |
This mod doesn't work like that- it will only work on forumhome as it is coded, it would require major revision to work on other pages.
You'd need to find a new template hook... Plus add or edit two plugins and change them from forumhome hooks to other appropriate hooks depending on the page(s) you wanted it on. |
Any idea why the stats aren't updating?
|
Nope... Never heard of that issue before... link to forum?
|
I just pmed you the link to my forum.
|
OK All... had another bug fix today, if you set a goal over 1 Million you'd see this bug- posts (or whatever) wouldn't count towards the goal.
This was part of the comma's (and periods) separating large numbers issue. I recommend everyone upgrade to 1.9 whether or not you've noticed it. |
1 Attachment(s)
Thank you!
1) Are there any user permissions = I prefer to have only login user see the goals. 2) Any way to shorten the poll bar when using vB 4xx forum sidebar is open. It causes the an overlap into the side bar. |
I can try and work in usergroup permissions in the next update.
As for the width, it would be very difficult to alter the width of the animated progress bar because the images would also need to be edited. However if you use the non-animated bar it's easier, just some template edits. In the template forumgoals: 1) Find all instances of the number 360 and change it to 200 or whatever you want. (there should be 3 instances) 2)Find the line: Code:
<table border="0" width="400"><tr> |
Thanks for trying to work in usergroup permissions in the next update.
I see all the other bars but No bar appears for the non-animated bar (just the stats/numbers)?? vb 4.1.2 |
Quote:
https://vborg.vbsupport.ru/external/2011/03/7.jpg |
Hello!
Nice mod! I have a little bug which needs to be fixed! I have a transparent skin and the modification backrounds has a white similar color. Can sb please help me to change sth in the stylevars or templates of the skin? |
Quote:
Code:
background-color:#EEEEEE; |
Quote:
Thanks I will play around with the bar length and border:up: |
Updated to 1.92-
Added the ability to show the mod only to selected usergroups if you choose. Primary or Secondary will work. |
Excellent and the numbers in post #88 worked great !!!
Thank you for the usergroup permissions. :) |
Excellent MOD.
Question: Is it possible to pick just a single forum for this or forum by forum rather than the whole board. I have Forum 1, Forum 2, Forum 3 (I have arranged them in different tabs). Is it possible to Assign this MOD to a single forum 1 and/or Forum 2 and/or Forum3 |
Not as it's designed now, no. It wouldn't be a simple change either otherwise I'd tell you how to do it, you'd need to add at least 1 and probably several database queries to accomplish that since vBulletin doesn't keep counts of each forum, it gets them in a query as needed.
|
Could you add the option to move it to footer?
|
Well you can put it below the forums easily by editing the plugin Forum Goals in your Admin CP -> Plugin Manager.
Find the line: Code:
$template_hook[forumhome_above_forums] .= $templater->render(); Code:
$template_hook[forumhome_below_forums] .= $templater->render(); Code:
$template_hook[forumhome_wgo_pos5] .= $templater->render(); |
It didn't show on my forum, I'll have to dig around a bit.
|
Did anything show or just the progress bar didn't show?
If nothing showed at all I would first check to make sure the hook forumhome_above_forums exists in the FORUMHOME template... If so I'd look at any other plugins that might use that hook. |
|
Could be a few things... first if you are using a customized style some hooks might be missing or be in the wrong spot. I would look in the headinclude template for the hooks:
headinclude_javascript, custom_css_links, and custom_css_list. Make sure they exist in the template. If they both exist the lack of the Javascript bar is most likely to another instance of jquery being called. Look at the instructions in the top thread under "Known Conflicts." Also if the hooks are there and the non-animated version isn't working it could be your style has customized poll graphics. Some customized poll styles don't work with this mod since it tries to use the default poll css to show the non-animated progress bar. |
vbulletin style defoult dont work...
|
What version of vBulletin?
|
Quote:
|
Quote:
If it is the style if you post your poll.css template I may be able to suggest a work-around. |
Thank you,BirdOPrey5 for every effort you make to offer in τhe vBulletin community!
Thank you one more time.... ''Michael'' |
Quote:
|
I can only imagine then that there is some other mod, maybe a fairly popular one, conflicting. I have it running on a 4.1.2 test site without issue, If one of you could copy the HTML Source code on the page for me it might give some clues...
If you enable HTML comments in the general settings I need all code between the following comments: HTML Code:
<!-- BEGIN TEMPLATE: forumgoals --> |
1 Attachment(s)
Thanks Joe. I attached the entire HTML source code from my forum home page in a text doc. I don't see anything with "forumgoals"? That could be a clue LOL I also attached a screenshot of the home page.
|
Thanks beat...
I see the issue is the poll.css file isn't being added as a link in your header. The part of the product that does this is my plugin on forumhome_start called Forum Goals JavaScript and CSS Header. It uses hook: $template_hook[custom_css_links] And it adds the poll.css to the header so the pollbar styles can be used. The question is why isn't this working- My guess is another plugin is interfering with this mod, something else that uses the forumhome_start hook. To troubleshoot go to your admin cp -> plugin manager, find the plugin in Forum Goals JavaScript and CSS Header and edit it. Change the "Execution Order" from "5" to "6" - save it and see if it works. If not change it to "4" and see if that helps at all. Please let me know if either of these work. This would also be why the javascript bar isn't working, that is inserted in the same plugin. |
Thanks very much for your suggestions. I tried going from 5 to 6, no dice. Then tried 4, no dice.
|
Check in your headinclude template, do you have the template hook: custom_css_links?
|
Yes....it's at the bottom.
PHP Code:
|
I also have this same black bar issue on 4.1.1.
|
Quote:
Code:
{vb:cssfile poll.css} Quote:
|
It now works with poll styles but not the animated poll option.
Thanks for the help. I would still like to get the animated version working. I will check my java version and settings...could be that simple. |
Quote:
Code:
<vb:if condition="THIS_SCRIPT == 'index'"> |
Nope. Added to the very bottom and the animation does not work. Still works with the poll styles, but not the animation. Only gives the text of "89%"...no bar.
|
All times are GMT. The time now is 01:05 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|