Page Index Toggle Pages: 1 2 3 [4] 5  Send TopicPrint
Very Hot Topic (More than 25 Replies) Level and Popularity bars addon for YaMS 4+ (Read 33726 times)
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Level and Popularity bars addon for YaMS 4+
Reply #45 - Nov 27th, 2003 at 9:41pm
Print Post  
Carsten,

Any chance of including a setting which only allows members with x number of posts or more to be able to adjust people's popularity?

Would lessen the chance of somebody creating multiple accounts just to boost their status, so to speak. Just an option where the admin can say you must have made, say, 10 posts before you can adjust these.

And of course, not letting guests adjust popularity, which is probably already in it.
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
Carsten
God Member
*****
Offline


...to much YaMS

Posts: 3281
Location: Langå
Joined: Aug 2nd, 2002
Gender: Male
Re: Level and Popularity bars addon for YaMS 4+
Reply #46 - Nov 28th, 2003 at 12:03am
Print Post  
@batchman - should'nt be to hard  Wink

In LevelMeter.pl find:
Code
Select All
sub PopEdit { 


and add after:
Code
Select All
      if($settings[6] < 10 && $settings[7] ne 'Administrator') { &fatal_error("You must have made 10 posts before you can adjust these"); } 

  

If you knock your head against a brick wall and hear a hollow sound, it's not necessarily coming from the wall.
Back to top
 
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Level and Popularity bars addon for YaMS 4+
Reply #47 - Nov 28th, 2003 at 12:10am
Print Post  
Thanks, Carsten!

You know, its stuff like this that gets you my vote for mod author of the year! You rock at solving small problems for people!
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
yesforreal
Junior Member
**
Offline


Carsten is King

Posts: 79
Joined: Nov 25th, 2003
Gender: Male
Re: Level and Popularity bars addon for YaMS 4+
Reply #48 - Dec 9th, 2003 at 7:28pm
Print Post  
Awesome per usual.  Installed with 23 other mods already in place without a hitch.

Carsten is King
  
Back to top
WWW  
IP Logged
 
jmg4life
New Member
*
Offline


A wiseguy is always right.
Even when he's wrong...

Posts: 30
Location: Nijmegen
Joined: Apr 8th, 2003
Gender: Male
Re: Level and Popularity bars addon for YaMS 4+
Reply #49 - Dec 11th, 2003 at 2:38pm
Print Post  
And now a little hack for all of ya!

I've disabled your mod right away, when on of my users noticed this:

When you vote on someone... it's just a link, let's say http://www.server.com/cgi-bin/yabb/YaBB.pl?board=12;action=popedit;membname=[GEB...

Well... let's change [GEBRUIKER] to Admin for instance en let's change 1 (right after opin=) to let's say 250... and WOW! The user admin has 250 postiv votes at once...

Can you please fix this right away, Carsten?
  

I neva crappity smacked anybody over in my life, who didn't have it comin' to 'm, you got that? All I have in this world is my balls, and my word, and I don't break 'em for no one, you understand?
Back to top
WWW  
IP Logged
 
Carsten
God Member
*****
Offline


...to much YaMS

Posts: 3281
Location: Langå
Joined: Aug 2nd, 2002
Gender: Male
Re: Level and Popularity bars addon for YaMS 4+
Reply #50 - Dec 12th, 2003 at 6:53pm
Print Post  
@jmg4life - you dont miss much, do you?  Grin

You are right - fixed in the LevelMeter.pl in the zip package now.

The fix is in LevelMeter.pl - find:
Code
Select All
      $museropin[0] += $INFO{'opin'}; 


and replace it with:
Code
Select All
      if($INFO{'opin'} == 1) { $museropin[0]++ }
      else { $museropin[0]-- }
 

  

If you knock your head against a brick wall and hear a hollow sound, it's not necessarily coming from the wall.
Back to top
 
IP Logged
 
jmg4life
New Member
*
Offline


A wiseguy is always right.
Even when he's wrong...

Posts: 30
Location: Nijmegen
Joined: Apr 8th, 2003
Gender: Male
Re: Level and Popularity bars addon for YaMS 4+
Reply #51 - Dec 12th, 2003 at 7:10pm
Print Post  
Hehe, my users don't miss much!  Grin

I've just tested it... but is it true that whenever you try to "hack"... there is a decrease of one (no matter if you "hack" positive or negative?)...

Thanks for fixxing this minor "exploit"!  Smiley
  

I neva crappity smacked anybody over in my life, who didn't have it comin' to 'm, you got that? All I have in this world is my balls, and my word, and I don't break 'em for no one, you understand?
Back to top
WWW  
IP Logged
 
Carsten
God Member
*****
Offline


...to much YaMS

Posts: 3281
Location: Langå
Joined: Aug 2nd, 2002
Gender: Male
Re: Level and Popularity bars addon for YaMS 4+
Reply #52 - Dec 12th, 2003 at 8:41pm
Print Post  
jmg4life wrote on Dec 12th, 2003 at 7:10pm:
I've just tested it... but is it true that whenever you try to "hack"... there is a decrease of one (no matter if you "hack" positive or negative?)...

Njae - please download the zip package and upload the new LevelMeter.pl
  

If you knock your head against a brick wall and hear a hollow sound, it's not necessarily coming from the wall.
Back to top
 
IP Logged
 
tompocz
Full Member
***
Offline


The WORST day fishing
is better than the BEST
day

Posts: 124
Location: Adelaide
Joined: Dec 27th, 2002
Gender: Male
Re: Level and Popularity bars addon for YaMS 4+
Reply #53 - Jan 18th, 2004 at 9:38am
Print Post  
Is there a way to exclude Global Mods from having their stsas and post counts from showing - This is an option that I would like to see switchable maybe in Admin area. - just a thought if its quick and easy

cheers
Tom
  

The WORST day fishing is better than the BEST day working !
Back to top
WWW  
IP Logged
 
Glennsen
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 37
Location: Oslo
Joined: Jul 10th, 2003
Gender: Male
Re: Level and Popularity bars addon for YaMS 4+
Reply #54 - Feb 2nd, 2004 at 10:56pm
Print Post  
Kjære Carsten Smiley

is there a way to don't show popularity bar? I have some members who only fun is to vote a two/three members down... and well i don't think they deserve to have negative popularity,,, so is there a easy way to only show the levelbar?

  
Back to top
 
IP Logged
 
Carsten
God Member
*****
Offline


...to much YaMS

Posts: 3281
Location: Langå
Joined: Aug 2nd, 2002
Gender: Male
Re: Level and Popularity bars addon for YaMS 4+
Reply #55 - Feb 3rd, 2004 at 1:23am
Print Post  
Kjære Glennsen  Wink

Near the top of LevelMeter.pl you'll find this:
Code
Select All
$view_popbar = 1;            # Set to 0 to hide the Popularity bar in members posts
 


Change it to 0 and re-upload...
  

If you knock your head against a brick wall and hear a hollow sound, it's not necessarily coming from the wall.
Back to top
 
IP Logged
 
tompocz
Full Member
***
Offline


The WORST day fishing
is better than the BEST
day

Posts: 124
Location: Adelaide
Joined: Dec 27th, 2002
Gender: Male
Re: Level and Popularity bars addon for YaMS 4+
Reply #56 - Feb 3rd, 2004 at 1:57am
Print Post  
Carsten - any thoughts on excluding Mods and GlobMods for highlighting their post tallies. Or whether you can desigante specific groups to exclude this !!??

cheers
Tom
  

The WORST day fishing is better than the BEST day working !
Back to top
WWW  
IP Logged
 
Carsten
God Member
*****
Offline


...to much YaMS

Posts: 3281
Location: Langå
Joined: Aug 2nd, 2002
Gender: Male
Re: Level and Popularity bars addon for YaMS 4+
Reply #57 - Feb 3rd, 2004 at 2:26am
Print Post  
Oups Tom - how could i forget you  Embarrassed

Well, this mod was ment as a small, simple and easy to install extra-bonus for YaMS users. So i dont think i'll add admin-center set-ups - sorry...

But - an easy way to exclude groups would be:

In LevelMeter.pl find:
Code
Select All
if($musersettings[6] > 0) { 


and - if you want to exclude, say Administrators and Global Mods - change it to:
Code
Select All
if($musersettings[6] > 0 && $musersettings[7] ne 'Administrator' && $musersettings[7] ne 'Global Moderator') { 


  

If you knock your head against a brick wall and hear a hollow sound, it's not necessarily coming from the wall.
Back to top
 
IP Logged
 
tompocz
Full Member
***
Offline


The WORST day fishing
is better than the BEST
day

Posts: 124
Location: Adelaide
Joined: Dec 27th, 2002
Gender: Male
Re: Level and Popularity bars addon for YaMS 4+
Reply #58 - Feb 3rd, 2004 at 4:08am
Print Post  
Great stuff - I now know that the [7] referes to the position of the membergroup in the dat file of the user, and should have realised this myself - I simply needed a sanity check, which you so graciously provided - many thanks

Tom
  

The WORST day fishing is better than the BEST day working !
Back to top
WWW  
IP Logged
 
hitman
New Member
*
Offline


Assassin

Posts: 5
Location: Swansea
Joined: Jan 4th, 2004
Gender: Male
Re: Level and Popularity bars addon for YaMS 4+
Reply #59 - Feb 3rd, 2004 at 2:59pm
Print Post  
hey carsten, the mod works great, but one thing..
i dont want the post counter thing... but i like the popularity thing, that rocks...

check the attatched picture to see what i mean
  

hitmanaoa.JPG ( 39 KB | Downloads )
hitmanaoa.JPG

www.armyofassassins.com
Starsiege Tribes Clan Site
Back to top
WWWAIM  
IP Logged
 
Page Index Toggle Pages: 1 2 3 [4] 5 
Send TopicPrint