Author Topic: Small Credit "System" "MOD"  (Read 105112 times)

0 Members and 1 Guest are viewing this topic.

Offline Chicco

  • Full Member
  • ***
  • Posts: 211
    • View Profile
    • The Picture World
Re: Small Credit "System" "MOD"
« Reply #60 on: May 18, 2006, 09:57:36 AM »
Ach ja, habe etwas vergessen.

Es gibt in meiner Galerie eine bestimmte Kategorie noch, die nur bestimmten Mitgliedern zur Verfügung steht. Nur diese bestimmten Mitglieder können auch dort Bilder uploaden.Dort gibt es keine Bewertungen. Auch sollten die Kommentare nicht mitgezählt werden. Als Admin habe ich natürlich dort ebenfalls Bilder hochgeladen, die sonst kein Gast oder normales Mitglied sehen kann.

Jetzt habe ich aber das Problem, das enstprechend gering auch meine Punkteanzahl bei den Bewertungen ist. Hatte z.b. vor kurzem noch eine Bewertungsstand von 0.79 und somit 230 Punkte und als ich weitere Bewertungen erhielt, hatte ich 1.04 und plötzlich nur 213 Punkte dafür bekommen.Versteht ihr wie ich es meine?

Also hier ein ein Beispiel:
Ich habe insgesamt als Admin :
- 52 Kommentare und somit 260 Punkte.
- 161 Bilder hochgeladen und somit 805 Punkte (davon sind aber 69 Bilder in einer Kategorie, die nie eine Bewertung bekommen, weil sie nur bestimmte Mitglieder sehen können)
- 1.01 Bewertungen und somit 213 Punkte (zuvor hatte ich 0,79 Bewertungen und 230 Punkte! Also mehr!!!)

Ist es nun also möglich, bestimmte Kategorien von diesem Punktesystem auszuschließen? Oder das System bei den Gesamtbildern zuvor die Bilder aus der bestimmten Kategorie weglässt? Weil sonst stimmt einfach das Verhältnis nicht mehr.

ENGLISH ( Sorry for my English)
-------------------------------------------
Oh, something forgot.   
There is a certain category still, which is to only certain members at the disposal in my gallery. Only these certain members can uploaden also there pictures. There there are no evaluations. Also the comments should not be taken in account. As Admin I likewise high-loaded pictures naturally there, which otherwise no guest or normal member can see.   

Now I have however the problem, which is enstprechend small also my number of points with the evaluations. E.g. recently and as if I had evaluation conditions of 0.79 and thus 230 points further evaluations still received, I had 1,04 and suddenly only 213 points for it receive. Do you understand like I it my?   

Thus here an example: 
I have altogether as Admin: 
- 52 comments and thus 260 points. 
- 161 pictures high-loaded and thus 805 points (of it however 69 pictures are in a category, which never get an evaluation, because they can see only certain members) 
- 1,01 evaluations and thus 213 points (before I had 0.79 evaluations and 230 points! Thus more!!!)   

Is it now thus possible to exclude certain categories from this point system? Or the system with the overall views the pictures from the certain category omits before? Because otherwise simply the relationship is not correct any longer.


Wissen ist MACHT! Nix zu wissen macht aber auch nix! ;-)

Gruß
Ch¿cco

Offline Chicco

  • Full Member
  • ***
  • Posts: 211
    • View Profile
    • The Picture World
Re: Small Credit "System" "MOD"
« Reply #61 on: May 24, 2006, 11:00:29 AM »
MICHAEL:

Du hast folgendes mal hier geschrieben:
Quote
Der Mod funktioniert nun sauber und die User müssen nun auch entsprechend kommentieren um posten zu dürfen

Also habe ich das richtig verstanden? Wer entsprechend kommentare abgegeben hat, darf auch dann posten? Habe ich was übersehen in diesem Mod?
Wenn das auf Bezug von Kommentaren geht bzw. Einschränkung aufs Posten, müsste dies doch auch auf Kategorien gehen, oder? Also ab 50 Punkte kann man die Details sehen. Die BAfrage müsste zumindest fast gleich sein...


Wissen ist MACHT! Nix zu wissen macht aber auch nix! ;-)

Gruß
Ch¿cco

Michael

  • Guest
Re: Small Credit "System" "MOD"
« Reply #62 on: May 24, 2006, 11:07:47 AM »
Quote
Also habe ich das richtig verstanden? Wer entsprechend kommentare abgegeben hat, darf auch dann posten? Habe ich was übersehen in diesem Mod?

Mit "posten" meine ich Bilder hochladen, quasi als "Belohnung"

Quote
Wenn das auf Bezug von Kommentaren geht bzw. Einschränkung aufs Posten, müsste dies doch auch auf Kategorien gehen, oder?

keine Ahnung ob dieses dann noch funktionieren würde?

Offline Chicco

  • Full Member
  • ***
  • Posts: 211
    • View Profile
    • The Picture World
Re: Small Credit "System" "MOD"
« Reply #63 on: May 24, 2006, 11:10:12 AM »
 :lol:
Ach so.... Okay, mißverstanden.....Posten bezieht sich bei mir eben auf Kommentare usw.. nicht aufs uploaden..

Trotzdem Danke für die schnelle Antwort.
Nun, dann werde ich mal weitersuchen müssen....um sowas hinzubekommen....

Hat übirgens jemand schon mal das gnaze in der functions.php eingebaut und die credits.php entsprechend abgespeckt, so wie es Mawenzi vorgeschlagen hat? Wenn ja, wie erreiche ich sowas bzw. was muss ich wo dann einbauen?

« Last Edit: May 30, 2006, 01:26:26 PM by Chicco »


Wissen ist MACHT! Nix zu wissen macht aber auch nix! ;-)

Gruß
Ch¿cco

Offline lemccoy

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
    • DrunkIsland
Re: Small Credit "System" "MOD"
« Reply #64 on: June 01, 2006, 04:11:54 PM »
I can get this to show up when I log in and access credits.php:

Code: [Select]
Credits from DrunkIslander   
You have written 2 comments and get:  10 Points

--------------------------------------------------------------------------------
 
You have uploaded 225 Images and get for that: 1125 Points

--------------------------------------------------------------------------------
 
Your images are rated with an average of 5.00, and for this you get: 42 Points 

--------------------------------------------------------------------------------
 
Your Points: 1177 
Your have uploaded images:  225

What I would like to do is to be able to have something so when member_profile.html is used it shows the "Your Points".  How do I call credits.php from other users if not logged in?  I want to be able to see this:


Code: [Select]
Control Panel
--------------------------------------------------------------------------------
User profile of: DrunkIslander Display all images added by DrunkIslander
Join Date: 09.23.2005
Last Activity: 06.01.2006 10:09
Comments: Show user's comments (2 total)
Email: admin at drunkisland.com
Homepage: http://www.drunkisland.com
ICQ: 
Total Points:  1177
 

I added the total points: 1177 in there - how do I have that show up in the member_profile.html?  I have tried the {totalpoints} and the post by Trez.
« Last Edit: June 01, 2006, 04:33:01 PM by lemccoy »

Michael

  • Guest
Re: Small Credit "System" "MOD"
« Reply #65 on: June 14, 2006, 10:07:06 AM »
besteht die Möglichkeit die Punkte nach der Anzahl der Zeichen zu zählen,
z.B. 10 zeichen = 1 Punkt

So könnten die User belohnt werden die auch entsprechend lange Kommentare abgeben  :wink:

Gruß, Michael

Offline Chicco

  • Full Member
  • ***
  • Posts: 211
    • View Profile
    • The Picture World
Re: Small Credit "System" "MOD"
« Reply #66 on: June 23, 2006, 03:45:13 PM »
Ich würde gerne den Mod so betreiben, das bei der Bewertung nun die Anzahl der Bilder verwendet wird, die bewertet wurden und nicht die Gesamtanzahl (sprich auch Biolder ohne Bewertungen). Denn es gibt bei mir viele faule Mitglieder, die keine Bwertungen abgeben. Somit bekommt man ein sehr geringen Punktestand, obwohl z.b. zwie Bilder die Gesamtnote von 9 oder 10 haben....Man müsste also quasi nur duch die Anzahl der Bilder teilen, die auch bewertet wurden und nicht durch die Anzahl der Gesamtbilder.

Ist dies nicht möglich??


Wissen ist MACHT! Nix zu wissen macht aber auch nix! ;-)

Gruß
Ch¿cco

Offline timerex

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: Small Credit "System" "MOD"
« Reply #67 on: June 28, 2006, 02:50:35 PM »
i search for this:

if you upload images or write posts you get points to download other images?!

hmm ich und einige andere würden uns bestimmt sehr darüber freuen wenn das jemand hinbekommt. Eigentlich dürfte es ja nicht so schwer sein oder?

bitte:)


Offline troopers

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • weltimperator.de
Re: Small Credit "System" "MOD"
« Reply #68 on: January 19, 2007, 11:38:04 AM »
besteht die Möglichkeit die Punkte nach der Anzahl der Zeichen zu zählen,
z.B. 10 zeichen = 1 Punkt

So könnten die User belohnt werden die auch entsprechend lange Kommentare abgeben  :wink:

Gruß, Michael

Hier:

credits.php

einfach irgendwo zwischen den anderen einfügen:
Code: [Select]
$sql7 = "SELECT sum(length(comment_text)) AS totlaenge
         FROM ".COMMENTS_TABLE."
         WHERE  ".get_user_table_field("", "user_id")." = $user_id";
  $row7 = $site_db->query_firstrow($sql7);
$totlaenge = (isset($row7['totlaenge'])) ? $row7['totlaenge'] : 0;
  $user_pslaenge = "<B> ".$row7['totlaenge']."</B>\n";
  $site_template->register_vars("user_pslaenge", $user_pslaenge);

dann weiter unten, nämlich wo das hier steht:
Code: [Select]
$imagepoints= $row2['totimg'] * 5; //Change points for images here
$commentpoints= $row['comments'] * 5; //Change points for comments here

das einfügen: (er multipliziert alle Zeichen)
Code: [Select]
  $laengepoints = $row7['totlaenge'] * 20;
die 20 durch die Punkte ersetzen, die Ihr für ein Zeichen geben wollt!

Wenn er nur alle 'x' mit Punkten versehen soll, dann einfach das hier: wird durch 10 geteilt und dann mit 20 multipliziert.
Code: [Select]
  $laengepoints = $row7['totlaenge']/10 * 20;
und wieder ein Paar Zeilen tiefer,   nämlich hier drin:
Code: [Select]
$site_template->register_vars(array(
  "user_psname" => $user_name,

das einfügen:
Code: [Select]
"laengepoints" => $laengepoints,
und im template "credits.html" das benutzen
Code: [Select]
{laengepoints}.

somit zählt er nun alle Zeichen der Kommentare, die der einzelne User geschrieben hat. Habs vorsichtshalber auch ausprobiert [obwohl ich's nicht brauche.] und funktioniert.

Andere Frage, wo ist da der Sinn ? (reine Neugier von mir)

fertig & viel Spass :D
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
weltimperator.de

Offline drastx

  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: Small Credit "System" "MOD"
« Reply #69 on: February 09, 2007, 08:47:39 PM »
Could anybody re-edit this mod ?
I want to have credit system mod like this:
- users get points for uploading/commenting images
- and loose points for VIEWING images


Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Small Credit "System" "MOD"
« Reply #70 on: February 09, 2007, 08:54:11 PM »
- and loose points for VIEWING images

... what punishment in a gallery ...  :roll:
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline drastx

  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: Small Credit "System" "MOD"
« Reply #71 on: February 23, 2007, 07:13:18 AM »
- and loose points for VIEWING images

... what punishment in a gallery ...  :roll:

Heheh, yes - but i want users to comment more and upload more.

Offline BartAfterDark

  • Hero Member
  • *****
  • Posts: 520
    • View Profile
Re: Small Credit "System" "MOD"
« Reply #72 on: April 04, 2007, 09:45:42 PM »
I'm thinking about something where the users can win a price every month. Like more points you have, the bigger is your chance to win. Anything that thinks it could be done?

Offline SoftDux

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • SoftDux - The Leaders in Software & Networking
Re: Small Credit "System" "MOD"
« Reply #73 on: May 05, 2007, 03:44:34 PM »
Has anyone packaged this great MOD into a quick installable script yet?
Visit these Website:  SA WebHosting Talk || SoftDux

Offline Ba$im

  • Pre-Newbie
  • Posts: 6
  • منتديات
    • View Profile
    • منتديات
Re: Small Credit "System" "MOD"
« Reply #74 on: August 17, 2007, 04:09:51 PM »
thanks