No account yet?
 

Subscriptions

ImageWhen you sign up as a premium subscriber, you get more than access to a host of fantastic features. You become a member of a flourishing community that continuously improves the very projects that run your website. Why not sign up today?

Subscriber Benefits

  • Subscriber only addons and plugins!
  • Latest beta code and SVN builds!
  • Access new versions before anyone else!
  • Premium Priority Support!
  • User Manuals for our components!
Read On!
Pragmatic Utopia
Welcome, Guest
Please Login or Register.    Lost Password?
New Leaderboard "Plus" (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: New Leaderboard "Plus"
#5993
miro912 (Moderator)
Moderator
Posts: 790
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Arcade4Fun Location: Germany Birthdate: 1965-12-09
Re:New Leaderboard 9 Months, 3 Weeks ago Karma: 33  
Haupsächlich liegt wohl daran das bei Dir das Standart-Avatar nicht angezeigt wird. Ist das Absicht?
Eine leaderboard.html.php gibts nicht bei mir
Änderungen werden manchmal deswegen nicht sofort angezeigt weil Dein Browser sich aus den Browser-Cache bedient, genau so wenn Du eine Caching-Komponente für Joomla benutzt.
 
Logged Logged  
 
  The administrator has disabled public write access.


#5994
idefix100 (User)
Newb Sauce
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Re:New Leaderboard "Plus" 9 Months, 3 Weeks ago Karma: 0  
Hi miro,
jep. du hast recht. Hab mich verschrieben: puarcade.html.php war gemeint.

Weiter oben im thread hast du beschrieben wie man den Link auf das leaderpoardplus lenkt:

and the other way is you change the complete function ShowLeaderboard with my code in the attachment
File Attachment:
File Name: functionleaderboard.txt

Das hab ich gemacht.

Wo kann man einen Standard-Avatar einstellen ? Das Problem scheint wirklich zu sein, dass wenn kein Avatar-Grafik da ist greift "alt=avatar".
Kann man nicht mit "line-hight" oder was ähnlichem arbeiten ?

Grüße
Kai

PS: Sorry für meine Unwissenheit bez. der Syntax . Bewege mich normalerweise eher in der Visual-Basic-Ecke
 
Logged Logged  
  The administrator has disabled public write access.
#5997
miro912 (Moderator)
Moderator
Posts: 790
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Arcade4Fun Location: Germany Birthdate: 1965-12-09
Re:New Leaderboard "Plus" 9 Months, 3 Weeks ago Karma: 33  
Ist bei Dir überhaupt der Community-Builder mit den deutschen Sprachpaket (ich gehe mal davon aus das Du eine deutsche Seite hast) installiert.
Das Standart-Avatar würde dann hier gesucht:
components/com_comprofiler/plugin/language/german/images/tnnophoto.jpg
Für die Zeilen Höhe kannst Du auch die < td > Anweisung um die Höhe ergänzen, also z.B. <td hight=100px> alledings wird das überflüssig wenn das Standart-Avatar angezeigt wird und ist auf möglich das das nicht funktioniert da die CSS-Einstellung des Templates das verhindern..
 
Logged Logged  
 
  The administrator has disabled public write access.
#6006
idefix100 (User)
Newb Sauce
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Re:New Leaderboard "Plus" 9 Months, 3 Weeks ago Karma: 0  
Jep. Danke für den Hinweis mit dem CB. Nach langem Kampf hab ich das Teil endlich dazu gebracht die germani.php. Und plötzlich waren auch die Standard-Bilder da und schwupps ... alle Zeilen gleich hoch *freu*.
Aber: Die Zeile des gerade eingeloggten Users wird hell hinterlegt und ist schmaler:


Hast du noch ne Idee wo und wie man verbessern könnte ?

Das mit dem "highlight" hab ich (vermutlich) gefunden:

Code:

if ($usernames[$key] == $my->username){
$leaderboard .= "<tr align='center' class=highlight><td>"; 



Aber warum wird hier die Höhe kleiner ? Am Bild liegt es nicht, da es bei jedem User auftritt.

Danke und Grüße sendet
Kai

PS: Nochmal 100000 Dank für das Component. Es hat gleich etwas mehr Bewegung in die User gebracht.
 
Logged Logged  
 
Last Edit: 2008/03/18 09:56 By idefix100.
  The administrator has disabled public write access.
#6009
Vanama (User)
Geek
Posts: 274
graphgraph
User Offline Click here to see the profile of this user
Zábava-online.cz
Re:New Leaderboard "Plus" 9 Months, 3 Weeks ago Karma: 18  
Miro: I Can´t use this component for small memory.
 
Logged Logged  
 
  The administrator has disabled public write access.
#6013
miro912 (Moderator)
Moderator
Posts: 790
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Arcade4Fun Location: Germany Birthdate: 1965-12-09
Re:New Leaderboard "Plus" 9 Months, 3 Weeks ago Karma: 33  
@Kai
dafür ist die Klasse .highlight in der CSS Datei Deines Templates zuständig.
Durchsuche mal die CSS Datei nach highlight ob die überhaupt vorhanden ist, wenn ja kannst Du Sie anpassen oder sonst hinzufügen z.B.

Code:

.highlight { 

background-color: #009900;
color:#F9E5BB;
}



@Vanama
Youre right Vanama, on site with small memory or with much players/games/scores the leaderboard don´t work.
 
Logged Logged  
 
  The administrator has disabled public write access.
#6028
Vanama (User)
Geek
Posts: 274
graphgraph
User Offline Click here to see the profile of this user
Zábava-online.cz
Re:New Leaderboard "Plus" 9 Months, 3 Weeks ago Karma: 18  
Leaderboard work, but leaderboard plus not work
 
Logged Logged  
 
  The administrator has disabled public write access.
#6031
miro912 (Moderator)
Moderator
Posts: 790
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Arcade4Fun Location: Germany Birthdate: 1965-12-09
Re:New Leaderboard "Plus" 9 Months, 3 Weeks ago Karma: 33  
Yes and Not, some user with very much games can not use the original leaderboard to.
one user wrote me the original leaderboard use on his side 96 MB memory.
But the leaderboardplus are 4 leaderboards, so it use 4x the memory from leaderboard.
 
Logged Logged  
 
  The administrator has disabled public write access.
#6531
jim777 (User)
Newb Sauce
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Re:New Leaderboard "Plus" 8 Months, 3 Weeks ago Karma: 0  
ok i have an idea. all i wanted is to make it work for me too. but it seems that this hole topic is a big mess. can anyone create a few lines .txt guide so i can finally make it work too?.

Thanks,
Jim
 
Logged Logged  
  The administrator has disabled public write access.
#6534
steveometer (User)
Steve Alan Thought Of That
Modder
Posts: 483
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: St Louis, MO Birthdate: 1977-08-08
Re:New Leaderboard "Plus" 8 Months, 3 Weeks ago Karma: 29  
i finally found out that it WAS puarcade all the time that was causing my out of memmory errors on my apache server

i took the leaderboard off and its fine

basically im just gonna try to write some advanced sql to tabulate the data a few fun ways

i will make a post for low mem usage leaderboard AND im going to write a cache for this mega tabulated data

SoM
 
Logged Logged  
 
  The administrator has disabled public write access.
#6535
miro912 (Moderator)
Moderator
Posts: 790
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Arcade4Fun Location: Germany Birthdate: 1965-12-09
Re:New Leaderboard "Plus" 8 Months, 3 Weeks ago Karma: 33  
Yes, the memory is big problem with the leaderboatd(plus). there are some posts around this problem.
Pragma found a way to cache to cache the leaderboard in the current svn, but 2 guys says to me to me the caching dont work for them.
 
Logged Logged  
 
  The administrator has disabled public write access.
#6580
frez (User)
User
Posts: 21
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: France
Re:New Leaderboard "Plus" 8 Months, 3 Weeks ago Karma: 0  
It's very cool!

Thanks Miro!

Here is the french!
File Attachment:
File Name: leaderboardplus-69ff014fe4d0b75b5392e9ce72b40905.zip
File Size: 3037
 
Logged Logged  
  The administrator has disabled public write access.
#6585
frez (User)
User
Posts: 21
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: France
Re:New Leaderboard "Plus" 8 Months, 3 Weeks ago Karma: 0  
It's very cool!

Thanks Miro!

Here is the french!
File Attachment:
File Name: leaderboardplus-dfc37c63bdafa866e5d967a9ced27861.zip
File Size: 3037
 
Logged Logged  
  The administrator has disabled public write access.
#6586
frez (User)
User
Posts: 21
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: France
Re:New Leaderboard "Plus" 8 Months, 3 Weeks ago Karma: 0  
It's very cool!

Thanks Miro!

Here is the french!
File Attachment:
File Name: leaderboardplus-cb18546f812c592f7045b2f54f471d95.zip
File Size: 3037
 
Logged Logged  
  The administrator has disabled public write access.
#6594
miro912 (Moderator)
Moderator
Posts: 790
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Arcade4Fun Location: Germany Birthdate: 1965-12-09
Re:New Leaderboard "Plus" 8 Months, 3 Weeks ago Karma: 33  
Thank you very much for translating!
But here is a new version (german) with fixed reverse-score-problem and looks better with smaller templates.
 
Logged Logged  
 
Last Edit: 2008/04/18 06:58 By miro912.
 
  The administrator has disabled public write access.
Go to top

My Amazon.com Wish List