BETA - Mini Frequency Bars (v1.1 updated)

Started by karlbenson, May 31, 2007, 08:02:58 PM

Previous topic - Next topic

karlbenson

Based on steve in houston's frequency bar mods (created and posted with his permission)
Steve's Homepage: http://www.stucknut.com/jimrome/

For SMF 1.1.2

BETA: Meaning hasnt been tested in a working environment.

Install... enjoy




Contains no admin settings as yet.

Uses Steves images.
Code entirely re-written from scratch

Mini Frequency Bars for
- Activity
- Referrals (supporting my referrals mod) [which is optional to install pre or post install this mod]
- Karma
- Longevity

http://www.adrevenuesharing.info/Frequency Bars.zip

This is now v1.1
Fixed all the reported bugs

Longevity = 1px for every 5 days registered (upto 50)
karma = percentage (now tells you the negative if negative > positive)
activity = 2px for every 1 average post per day (upto 50)

If the bars don't show, ctrl & F5 to force the browser to get a fresh copy of the css.

N3lson

Nice but there is at least 3 bugs i think

One - » In posts appears 50">px ( go to )
($fb['activity_size'] == 50) ? 'colspan="2" width="50px"></td>' : 'width="'. $fb['activity_size'] ,'px"></td><td class="fb_white" title="', $fb['activity_stat'] .' ', $txt['fb_activityalt'] .'" width="', $fb['activity_diff'] ,'px"></td>';

And replace the , by a .

Two -» In posts says posts by day but that shows the total post count

Three - » The Longevitity do not take any effect (at least on mine)
I´m Portuguese Yeah

karlbenson

I'll try to fix them all now, thx for testing.

N3lson

I´m Portuguese Yeah

Yağız...

I can't see the images in Mozilla Firefox 2.0.4 :S

N3lson

Quote from: ghg on June 01, 2007, 02:34:38 PM
I can't see the images in Mozilla Firefox 2.0.4 :S

Do you put the images in image folder of your theme ?
I´m Portuguese Yeah

Yağız...

Yes.I see in Internet Explorer 6,7 but I can't see in Mozilla Firefox 2.0.4

N3lson

Quote from: ghg on June 01, 2007, 03:24:37 PM
Yes.I see in Internet Explorer 6,7 but I can't see in Mozilla Firefox 2.0.4

empty you cache 

in my forum the smileys after the update to mozilla 2.04 don´t show... i emptied the cahe and 100%
I´m Portuguese Yeah

Yağız...

#8
Ok.I will try this.
Edit:
It works :).Thanks N3lson.

karlbenson

ctrl and f5 to force clearing of the cached css file (which i believe it the cause)

Stirred

Quote from: N3lson on June 01, 2007, 01:18:42 PM
Nice but there is at least 3 bugs i think

One - » In posts appears 50">px ( go to )
($fb['activity_size'] == 50) ? 'colspan="2" width="50px"></td>' : 'width="'. $fb['activity_size'] ,'px"></td><td class="fb_white" title="', $fb['activity_stat'] .' ', $txt['fb_activityalt'] .'" width="', $fb['activity_diff'] ,'px"></td>';

And replace the , by a .

Two -» In posts says posts by day but that shows the total post count

Three - » The Longevitity do not take any effect (at least on mine)

First thanks for doing this incredible mod!!

After that i must say that i had those errors too.

I'm here to help on tests whenever i can...

Continue with the work, we appreciate! ;)
- eighteen seconds before sunrise -

kerrang!

#11
Quote from: Stirred on June 01, 2007, 08:14:03 PM
Quote from: N3lson on June 01, 2007, 01:18:42 PM
Nice but there is at least 3 bugs i think

One - » In posts appears 50">px ( go to )
($fb['activity_size'] == 50) ? 'colspan="2" width="50px"></td>' : 'width="'. $fb['activity_size'] ,'px"></td><td class="fb_white" title="', $fb['activity_stat'] .' ', $txt['fb_activityalt'] .'" width="', $fb['activity_diff'] ,'px"></td>';

And replace the , by a .

Two -» In posts says posts by day but that shows the total post count

Three - » The Longevitity do not take any effect (at least on mine)

First thanks for doing this incredible mod!!

After that i must say that i had those errors too.

I'm here to help on tests whenever i can...

Continue with the work, we appreciate! ;)
Same here... I previously used the posting frequency bar and I similar problems. (with the post amount)

I'm also unable to get the referral bar to work (which mod would this be?) I have one already installed, could this also be a bug or because i'm using the wrong mod?

To many questions, but like the above if you need any more testing feel free to ask. It's an awesome mod which i'd love to be using! so thanks for taking the time to code it for us :)

~Kerrang!

P.s I'm blind as hell, sorry I just noticed which referral mod it works with.
I'm my own worst enemy! :P

Css Help <--Having difficulty matching the look of the code function with the style of "quote".. =)

L.G.S

Just installed the mod and the images did not appear in any browser. Yes I also tried hard refresh. All I get are the words and "50px>" in the user area.
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


karlbenson

Sorry about that.

I've just uploaded version 1.1 will all these bugs fixed.

As above, it if doesnt show, ctrl & F5 to force the browser to get a fresh copy of the css.

nitins60

Is it possible to link to Thanks-O-matic mod, since many users are now using this mod instead of built in karma system. This s some thing really cool. 

SMdot™

can you help me figure out why I have text that says 50px">


I copied over the Modifications.english.php file to my current theme as well as copied over the bar images.

I've attached my MessageIndex.template.php file



MessageIndex.template.php (24.24 KB - downloaded 0 times.)



N3lson

I´m Portuguese Yeah

Tanks

#17
I manual installed this on 1.1 RC3 with TP.. only thing i cant get to work is the Longevity

It shows around 5 pixels for all users.. no matter how long they been member.. can u help me fix this issue and i will be in my happy spot :)

Nice mod btw ;)

Also is there any way to change the activity to count for 1 post instead of 2 ?

Actually i rather if i could change it to 0.1 because 99% of my users has a posting average of 0.x post per day  :( can it be done without too much hasle ?  :)

SMdot™

Quote from: N3lson on June 04, 2007, 12:27:20 AM
Quote from: SMdot™ on June 04, 2007, 12:09:59 AM
can you help me figure out why I have text that says 50px">


Look 2nd post

what file do I edit? I checked my default MessageIndex.template.php file as well as the Post.template.php files.

N3lson

Quote from: SMdot™ on June 05, 2007, 02:46:51 PM
Quote from: N3lson on June 04, 2007, 12:27:20 AM
Quote from: SMdot™ on June 04, 2007, 12:09:59 AM
can you help me figure out why I have text that says 50px">


Look 2nd post

what file do I edit? I checked my default MessageIndex.template.php file as well as the Post.template.php files.

Display.template
I´m Portuguese Yeah

Advertisement: