vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Home Enhancements - Forum Goals with Animated Progress Bar for VB 4.x (https://vborg.vbsupport.ru/showthread.php?t=257689)

tdkmatt 01-25-2011 01:33 PM

This code is also in headinclude_bottom

{vb:cssfile additional.css}
{vb:raw template_hook.headinclude_bottom_css}
<!-- TW7S - New Way To Display Notifications (jQuery,CSS,jGrowl) -->
<script type="text/javascript" src="jscripts/tw7s_notifications/jquery-1.4.2.js"></script>
<script type="text/javascript" src="jscripts/tw7s_notifications/jquery.jgrowl.js"></script>
<link href="jscripts/tw7s_notifications/jquery.jgrowl.css" rel="stylesheet" type="text/css"/>
<!-- TW7S - New Way To Display Notifications (jQuery,CSS,jGrowl) -->

tdkmatt 01-25-2011 01:45 PM

Sorry to keep posting! but when i change the theme to default it works?!?!?!?!? maybe it is that hadinclude_bottom? :(

tdkmatt 01-25-2011 01:49 PM

dont worry i fixed it! for some reason it also put the code in the headerinclude_bottom, delete that and it works!!! cheers

tdkmatt 01-25-2011 01:52 PM

is there anyway for it to display more then the two bars? instead of either a blank bar and a hall full bar, have it go with the percentage? if you get what i mean

BirdOPrey5 01-25-2011 04:47 PM

Quote:

Originally Posted by tdkmatt (Post 2154342)
is there anyway for it to display more then the two bars? instead of either a blank bar and a hall full bar, have it go with the percentage? if you get what i mean

I don't understand what you mean- there's only 1 progress bar at any time. However I see you seem to have edited the graphics and they aren't working like they should- that is you are at 19% but it's showing 50%. I don't suggest people edit the built in images, if you try you MUST keep the exact dimensions.

BirdOPrey5 01-25-2011 04:50 PM

I have upgraded this mod to version 1.5.

New in this version you can choose a non-animated progress bar that doesn't use JavaScript at all. In addition even if you have the animated version selected, if any user browsing has JavaScript disabled they will see the non-animated version.

I also fixed a couple of phrases relating to "Users" and changed them to "Members" to be consistent.

https://vborg.vbsupport.ru/attachmen...1&d=1295981872

Taurus1 01-25-2011 09:51 PM

1 Attachment(s)
Thanks for the update. But it does not matter which poll option I choose, it only shows the following:

Attachment 126107

Thanks.

BirdOPrey5 01-25-2011 10:41 PM

Get a link to your site?

Taurus1 01-25-2011 11:00 PM

I had it disabled. It is enabled now again. Here is the link:

http://creativx.net/forums/

Thank you.

BirdOPrey5 01-25-2011 11:50 PM

It looks like you customized the template in the old version- the new version won't overwrite a customized template, you'll need to revert it and then make your edits to te new template.

Taurus1 01-26-2011 12:30 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2154630)
It looks like you customized the template in the old version- the new version won't overwrite a customized template, you'll need to revert it and then make your edits to te new template.

I did that, but it made no difference. It reverted the colors, but the bar is still not showing.

Thanks for the help!

BirdOPrey5 01-26-2011 01:23 AM

Quote:

Originally Posted by Taurus1 (Post 2154638)
I did that, but it made no difference. It reverted the colors, but the bar is still not showing.

Thanks for the help!

I see, you have css stored in the file system, I forgot to account for that.

Please download the new update version 1.6, it should fix the issue. :o

Taurus1 01-26-2011 02:50 AM

Sorry, but that also did not work. I reverted the template also. Same thing.

BirdOPrey5 01-26-2011 02:58 AM

Ugghh!!

OK do me a favor, look in your headinclude template... do you have either of these exact lines?
Code:

{vb:raw template_hook.custom_css_links}

{vb:raw template_hook.custom_css_list}

The last one is part of a larger line...

Also can you confirm if you CSS is stored in the file system or not? (This is a Yes/No setting in Options).

Taurus1 01-26-2011 03:11 AM

Both of those are in my headinclude. And yes, my CSS is stored in the file system.

BirdOPrey5 01-26-2011 03:29 AM

Then I really can't imagine why the call to poll.css isn't appearing in your source code... it uses the top hook and there isn't much that could go wrong other than another mod poorly programmed (with an = sign instead of .=) that "hijacks" the hook and doesn't let anything else on it.

You could try adding this line to your headinclude template...

Code:

<link rel="stylesheet" type="text/css" href="clientscript/vbulletin_css/style00090l/poll.css" />
That should manually include the poll.css file on this style for your board.

Taurus1 01-26-2011 04:04 AM

OK great. That worked for my default style. But I have 12 styles installed. And I just tried adding that code (With the style id changed) on another style, but it did not work.

Sorry for the hassle!

EDIT: Disregard that. Sorry. I forgot that I had to first revert the templates. Now it is working perfectly. Thanks again for your help!

BirdOPrey5 01-26-2011 04:31 AM

Awesome... Finally! :up:

ellinofatsa 01-26-2011 06:19 AM

thank you i insert the 2 lines in to the top of your headinclude template and now its ok!!!!!!!

if i change the : language from grecce in english its working fine and i see the blue bar.
In grecce language it look like not working its sey Goal: 50,000 P Posts to Goal: 49,966

can you see that please in my forum? if you can help my thank you again!!

http://www.ellinofatsa.gr/forums/forum.php?langid=1

BirdOPrey5 01-26-2011 01:17 PM

You need to provide translations for those phrases, obviously I can't include a translation for every possible language. This would be normal for any mod that includes phrases.

Go to Phrase Manager in Admin CP and in GLOBAL find the following phrases:

bop5goal
bop5goalreached
bop5goals
bop5posts
bop5poststogoal
bop5threads
bop5threadstogoal
bop5users
bop5userstogoal
bopdaystogoal
bopgoaldate
bopovertime

Click on them, and provide a translation for the Greek language. Alternately you, or anyone, could also provide English translations if you prefer to re-word any of the phrases. For example I use the abbreviation P, T, or M in one place to save space (meaning Posts, Threads, or Members) but if anyone wants they can edit those phrases to make them say anything they want.

A couple of phrases are built in vbulletin phrases so that's why it was partially working in Greek (or any other language a user might have installed.)

Brandon Sheley 01-26-2011 01:24 PM

nice idea :)
[high]* Brandon Sheley tags[/high]

ellinofatsa 01-26-2011 01:43 PM

you thing thats the problem?
can you take a look in to my forum?
you can see in the 2 language are diferent statics

in grecce its Goal: 50,000 T Threads to Goal: 49,983

and in english its Goal: 50,000 T Threads to Goal: 33,465

why that???

BirdOPrey5 01-26-2011 03:46 PM

Quote:

Originally Posted by ellinofatsa (Post 2154863)
you thing thats the problem?
can you take a look in to my forum?
you can see in the 2 language are diferent statics

in grecce its Goal: 50,000 T Threads to Goal: 49,983


and in english its Goal: 50,000 T Threads to Goal: 33,465

why that???

Oh I see... In Greek you guys use periods instead of commas in numbers...
Example:
English: 16,616 Threads
Greek: 16.616 Threads

My code only removes the commas from the number, it doesn't remove the periods before reading the number so it thought you had 16 and 616/1000th of a thread;

I will fix and release an update shortly.

Quite the international learning experience this has been.

ellinofatsa 01-26-2011 03:48 PM

ok thank you so mats i am wating for update

ok i have fix that , . in greek and now its ok thank you again !!!!!!!!!

BirdOPrey5 01-26-2011 03:58 PM

Thank You... Did you fix it yourself?

I just updated the new version please let me know if it works for you too.

Released version 1.7

ellinofatsa 01-26-2011 04:02 PM

ok i do that

version 1.7 works fine with no problems

BirdOPrey5 01-26-2011 04:11 PM

excellent. Thank You.

RichieBoy67 01-26-2011 04:23 PM

Very cool! great work.. I will try this soon for sure.. ]

Thanks!

hilfe-forum 01-27-2011 09:30 PM

dont work...:(

Themen: 363.989
Beitr?ge: 1.381.120
0%
Goal: 1,400,000 P
Posts to Goal: 1,399,999

BirdOPrey5 01-27-2011 10:08 PM

Are you sure you're using the latest version, 1.7? It was updated yesterday.

Edit- never mind I see the problem... will release a fix soon.

BirdOPrey5 01-27-2011 10:22 PM

OK, One more bug fix update, version 1.8. Again this only affects forums that use periods instead of commas for their large numbers.

I am confident this is the final bug fix release, because if any more are found I'm just going to delete it. ;)

COL NIL SATIS 02-04-2011 05:08 PM

tagged

SoloX 02-10-2011 02:18 AM

I already have say 200 posts and my goal is to make 500. I put in 300 as my goal. The graph shows 0 % at start. Can it not calculate the % from my already 200 posts made out of 500?

SoloX 02-10-2011 02:58 AM

not working for me.

Posts: 953,011 0% Goal: 47,043 P Posts to Goal: 47,036

I set the goal when 47043 was required for the 1 million. Now that I have 54 more posts, the posts to goal remain unchanged. Should now say 46,989.

?

BirdOPrey5 02-10-2011 01:11 PM

A link to your site? PM me if need be.

mohammad6006 02-12-2011 09:57 AM

can you upgrade mod for select goal time or date ?
mean no thread or post or member
custom goal

BirdOPrey5 02-12-2011 04:05 PM

Quote:

Originally Posted by mohammad6006 (Post 2161695)
can you upgrade mod for select goal time or date ?
mean no thread or post or member
custom goal

I don't intend to make any more changes to this mod for the foreseeable future. Further if there was no posts or threads or members there would be nothing to track and therefore no progress bar and no need for a mod.

tdkmatt 02-14-2011 10:47 AM

I just installed this and it kiils the progress bar!

https://vborg.vbsupport.ru/showthread.php?t=236480

when i disable the bar in the donate section it will decide to work again!

Rofo 03-06-2011 06:37 AM

Thanks for the hack.

I cant get any bar to show up, not sure why at the moment.

vb 4.1.1

BirdOPrey5 03-06-2011 11:16 AM

Have you tried if the non-animated bar works?


All times are GMT. The time now is 01:01 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.01589 seconds
  • Memory Usage 1,820KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete