4images Forum & Community
4images Modifications / Modifikationen => Mods & Plugins (Releases & Support) => Topic started by: Nicky on September 22, 2002, 06:30:46 PM
-
UPDATE 28.02.2003
hi @all,
this mod will intergrate a memberlist that can be viewed by ENDuser's.
Installinstruction you will find in Readme.txt
it's for 4images v 1.7.x
*****
diese modifikation erlaubt es endusern die mitgliederliste einzusehen.
Installationsinstruktion befinden sich in der Readme.txt
ist für 4images v 1.7.x
Download: http://www.nicky.net/4images/memberlist_1_7.zip
Demo: removed :) (Nicky)
have fun
*****
viel spass
Here a video tutorial for this mod:
Part 1: http://www.asian-lady.org/tutors/memberlist01/memberlist01.html
Part 2: http://www.asian-lady.org/tutors/memberlist02/memberlist02.html
Part 3: http://www.asian-lady.org/tutors/memberlist03/memberlist03.html
Erweiterungen Mitgliederliste / Extensions Memberlist
Die folgenden Erweiterungen wurden bereits auf den nächsten Seiten veröffentlicht :
*****
The following extensions were already published on the next pages :
- Letter Select (http://www.4homepages.de/forum/index.php?topic=1954.msg18810#msg18810) by V@no
- English language (http://www.4homepages.de/forum/index.php?topic=1954.msg21249#msg21249) by V@no
- User online/offline with text (http://www.4homepages.de/forum/index.php?topic=1954.msg27085#msg27085) by brandkanne
- User Sex/Gender (http://www.4homepages.de/forum/index.php?topic=1954.msg34856#msg34856) by excitex2
- Sort by Sex/Gender (http://www.4homepages.de/forum/index.php?topic=1954.msg35705#msg35705) by ascanio
- Adding Border (http://www.4homepages.de/forum/index.php?topic=1954.msg35870#msg35870) by martrix
- User online in red (http://www.4homepages.de/forum/index.php?topic=1954.msg39263#msg39263) by Flatermann
- Usergroups (http://www.4homepages.de/forum/index.php?topic=1954.msg41102#msg41102) by Jan
- Join Date / Last action (http://www.4homepages.de/forum/index.php?topic=1954.msg49379#msg49379) by urmasmuld
- Edit- and Delete-Links only for Admins (http://www.4homepages.de/forum/index.php?topic=1954.msg50498#msg50498) by mawenzi
- Extended-Assortment-Options (http://www.4homepages.de/forum/index.php?topic=1954.msg51748#msg51748) by mawenzi
- PM-Button (http://www.4homepages.de/forum/index.php?topic=1954.msg54648#msg54648) by mawenzi
- Member Search Field (http://www.4homepages.de/forum/index.php?topic=1954.msg55461#msg55461) by mawenzi / v@no?
- Online- / Offline-Button (http://www.4homepages.de/forum/index.php?topic=1954.msg56808#msg56808) by Darkness2001
- Lightbox-Count (http://www.4homepages.de/forum/index.php?topic=1954.msg72660#msg72660) by mawenzi
- Lightbox-Count as Admin Link (http://www.4homepages.de/forum/index.php?topic=1954.msg72665#msg72665) by mawenzi
- Sortable by click on column header (http://www.4homepages.de/forum/index.php?topic=1954.msg134283#msg134283) by ch-alex
have more fun - mawenzi
*****
habt noch mehr spass - mawenzi
-
Hallo Nicky,
super Mod.
Nun habe ich bei mir die 4images/phpBB Integration installiert und würde dieses MOD gerne bei mir installieren.
Da gibt es bestimmt Änderungen und was zu beachten.
Danke & Gruß
Daniel
-
bin gerade dabei bei mir selber es umzusetzten...
***url removed***
gebe bescheid, wenns fertig ist, da derzeit ohne sortierungsmöglichkeit.
-
Wunderbar, danke für die schnelle Antwort. :)
Gruß Daniel
-
okay hier ist es für 4images v 1.7 und phpBB 2.0.2
:arrow: http://www.nicky.net/4images/memberlist_1_7_w_phpBB.zip
-
Tolles Mod :)
Ich hätte da aber noch eine kleine Anfrage: Wie kann ich den Usernamen (oder die Bildanzahl) mit der Suchfunktion verbinden? (also link = "search.php?search_user=USERNAME")
(Ps.: Ich habe 4I in VBulletin integriert)
-
Hallo Nicki,
sehr schöne Funktion, habe ich direkt integriert.
Hat alles prima geklappt.
Gruss Peter
www.digicamfotos.de
-
Tolles Mod :)
Ich hätte da aber noch eine kleine Anfrage: Wie kann ich den Usernamen (oder die Bildanzahl) mit der Suchfunktion verbinden? (also link = "search.php?search_user=USERNAME")
(Ps.: Ich habe 4I in VBulletin integriert)
danke ;)
also
unter:
$total_user_images = $row['total_user_images'];
füge dies ein
if ($total_user_images > 0) {
$total_images_link = $site_sess->url(ROOT_PATH."search.php?search_user=".$user_row['user_name']);
$total_user_images_link = "<a href=\"".$total_images_link."\">".$total_user_images."</a>";
} else {
$total_user_images_link = $total_user_images;
}
und ändere
$userlist .= "<td valign=\"top\" align=\"center\">".$total_user_images."</td>";
auf
$userlist .= "<td valign=\"top\" align=\"center\">".$total_user_images_link."</td>";
aber achtung, beim VB sind user felder anders definiert.
wie z.b.:
user_name = username
müsstest halt die queries anpassen...
@penum,
vielen dank ..
-
Klasse!! Funktioniert einwandfrei. Vielen Dank auch =)
-
Das kann ich gut gebrauchen =)))
greetz from flashingflo
-
steiles teil nicky ...
habe mir heute auch mal erlaubt ein bisschen an den templates herumzufummeln weil die memberlist.html ein bisschen komisch aufgebaut ist und nicht in meinen style gepasst hat aber jetzt schaut es recht brauchbar aus ... :wink: :wink:
-
was meinst du mit komisch ?
ist ja standard template von 4images ;)
4.
new templates
*****
neue templates
memberlist.html (standard design)
also bis dann...
-
was meinst du mit komisch ?
ist ja standard template von 4images ;)
4.
new templates
*****
neue templates
memberlist.html (standard design)
also bis dann...
da ich eben nicht die standard templates verwendet habe hat der ganze kopf total anders ausgeschaut das war alles nur mehr gut 70% von der anzeige gross und total verzerrt ich habe dann einfach in grundzügen die tabelle von der lightbox übernommen und die wesentlichen dinge der memberlist da integriert und da hat das auch wieder gepasst so wie ich das wollte ... :D
-
soda ich muss leider ein 2tes mal posten aber ich habe eine frage kann man das nicht irgendwie einbauen das man auch nach den geuppten bilder sortieren kann ... des geht ma noch ein bisschen ab dann habe ich nemlich eine statistik auch in einem dabei ... danke ... +g+
-
Hallo Nicky,
dein Mitgliederliste-Script ist cool.
Mir fehlt aber noch eine sehr wichtige Spalte wie Kommentare.
Dort mussen Anzahl von Kommentaren vom jedem Mitglieder angezeigt.
So kann man Mitglieder-Aktivität sehen.
Und Sortierungsmethode: nach Bilder und Kommentaren auch.
Anzahl von Bilder und Kommentaren sind sehr wichtig!
Ist es machbar zu programmieren ???
balapan
-
die spalte kommentare wäre kein problem...
sortierung nach anzahl der bilder bzw. kommentaren wird leider nicht gehen.
-
sortierung nach anzahl der bilder bzw. kommentaren wird leider nicht gehen.
ist das zu umständlich zu machen ??!!
-
hmm...
habs gerade gesehen,
nach kommentaren würde es gehen...
nach bildern leider nicht
-
wäre aber irgendwie cool gewesen denn wenn man mehr user hat so könnte man dann sehen wer die meisten bilder geupped hat ...
-
na oida,
@xtase,
was zahlst dafür ¿ ;)
okay ich hätte da was, hat aber einen hacken...
es wird ein neues feld in der 4images_users benötigt...
und 2 varianten:
1. server belastend: bilderstand immer aktuell
2. server schonend: bilderstand nach dem aktualisieren vom admin...
sprich ...
und was dir das wert wäre :lol:
demo: http://www.nicky.net/4images/gallery/memberlist.php
variante 1
-
was kann so ein kleines ding wie ich dir nur bieten ... ??!! +gg+
voerst brauche ich es eh noch nicht habe eh erst gut 10 user ... :)
-
sehr gut Nicky!
wo kann man Memberlist variante 1 downloaden?
-
ist noch nicht zum haben ;)
muss zuerst wieder alles aufschreiben ..
-
:roll: gut so ... :D
-
Hallo Nicky,
Kompliment - schönes MOD !
Würde gern in der Memberlist noch die "letzte Aktion" der User
anzeigen bzw. auch danach sortieren können, - gleiche Sortierungsfunktion wie im Admin Bereich / User bearbeiten.
Vielen Dank
Andy
-
die spalte kommentare wäre kein problem...
sortierung nach anzahl der bilder bzw. kommentaren wird leider nicht gehen.
Hallo Nicky, habe dein tolles Module "Mitgliederliste" integriert. Weiß aber nicht ob ich hier was verpasst habe, ich hätte nämlich auch gern die Spalte mit den Kommentaren. Übrigens sind deine Ausführungen super und leicht umzusetzen.
-
okay leutz,
war einige zeit abwesend...
der update des memberlist mods kommt heute bzw. spätestens morgen am abend..
keep it watching .
-
okay leutz,
war einige zeit abwesend...
der update des memberlist mods kommt heute bzw. spätestens morgen am abend..
keep it watching .
Hi Nicky
Update ? Gibts da was neues ?
-
exelent mod!
how can I change sort by join date by default?
-
Hallo Nicky,
du hast geschrieben das Update kommt! Wo finde ich es denn nun ??
Danke sagt Michael
-
jo nur die Anzhal der Kommentare wäre mir wichtig!
Kann mri jemand sagen wie ich des so reinbekomme?
-
I cant get the Memberlist to show the link to it in my main page but when i go to my memberlist.php it shows it in the userinfo section
(http://www.jasondavis.ws/photogallery/login.jpg)(http://www.jasondavis.ws/photogallery/logout.jpg)(http://www.jasondavis.ws/photogallery/memberpage.jpg)
-
u need register it in /includes/page_header.php
search for: "lang_lightbox" => $lang['lightbox'],
add after:
"lang_userlist_title" => $lang['lang_userlist_title'],
-
Hi, that worked to show the » Memberlist but it links to the gallery homepage instead of the memberlist.php file
-
...at last I got it fixed must have been a typo, thanks for the help....I have 1 more question though, is there a way to get rid of the part i have in red? (http://www.jasondavis.ws/photogallery/member.jpg)
-
Anyone? it looks easy but im dumb @ this stuff
-
SOLVED
-
SOLVED
-
http://www.nicky.net/4images/gallery/member.php?action=showprofile&user_id=1&l=english
How do you do this part nicky?
Display all images added by nicky
I want to put it in my phpBB userprofile list.
-
just make a link to this:
/search.php?search_user=USERNAME
-
HTML link ? Must i do a absolute link to my 4images directory ?
-
Sorry still dun quite understand that ... If I use USERNAME how would PHP know which username do I want to search for? I want to put it in PHPBB member profile page so that they can search for all images posted by that user.
-
Anyone can help on this? All I want to do is to create a lonk at my PHPBB member Profile page to let them search for All the Pictures that the user posted.
-
hmmm...actualy if u are using v1.7 it has this link by default.
if u have v1.7 and it doesnt show this link, then u can try add in your template this:<A href="{url_show_user_images}">{lang_show_user_images}</A>
-
Does it have this link by default? I do not see it ... MAybe because I intergrated with phpBB and the memberlist has become phpBB's memberslist... Do you use phpBB? Do you know how I can add this link into phpBB's member profile ?
-
sorry, I dont use phpBB and dont have an answer for that question.
maybe somebody else?
-
How about putting it on a webpage? A normal HTML webpage? How can I do that?
Anyone can help on PHPBB ?
-
hmmm...actualy if u are using v1.7 it has this link by default.
if u have v1.7 and it doesnt show this link, then u can try add in your template this:<A href="{url_show_user_images}">{lang_show_user_images}</A>
Do you have an example of this? I dunno where to put it at ... Can I put this on a normal HTML page?
-
No one can help on this? Please assist .. need help badly.
-
hmmm...actualy if u are using v1.7 it has this link by default.
if u have v1.7 and it doesnt show this link, then u can try add in your template this:<A href="{url_show_user_images}">{lang_show_user_images}</A>
Do you have an example of this? I dunno where to put it at ... Can I put this on a normal HTML page?
no, u can not put a link like this on normal html that is not 4images template, I mean, {url_show_user_images} is not actualy a link, its a 'tag' that will be changed to actual URL after 4images finished generate the page from templates.
so, the only way to put a link to search all images by a specific user is to make compleate, full link with that user name on in.
for example if your gallery address is www.mysite.com/gallery and u want find all images of user POPA, then u can create a link to it:<a href="http://www.mysite.com/gallery/search.php?search_user=POPA">POPA's images</a>
-
I tried adding the mod, when I finished, I got this on the main page: "Parse error: parse error, expecting `')'' in /home/virtual/site79/fst/var/www/html/4images/includes/page_header.php on line 82
I checked page_header and this is what is on line 82:
"url_control_panel" => (!empty($url_control_panel)) ? $site_sess->url($url_control_panel) : $site_sess->url(ROOT_PATH."member.php?action=editprofile"),
http://www.britneyconnection.com/
Someone please help. :(
-
hmmm...actualy if u are using v1.7 it has this link by default.
if u have v1.7 and it doesnt show this link, then u can try add in your template this:<A href="{url_show_user_images}">{lang_show_user_images}</A>
Do you have an example of this? I dunno where to put it at ... Can I put this on a normal HTML page?
no, u can not put a link like this on normal html that is not 4images template, I mean, {url_show_user_images} is not actualy a link, its a 'tag' that will be changed to actual URL after 4images finished generate the page from templates.
so, the only way to put a link to search all images by a specific user is to make compleate, full link with that user name on in.
for example if your gallery address is www.mysite.com/gallery and u want find all images of user POPA, then u can create a link to it:<a href="http://www.mysite.com/gallery/search.php?search_user=POPA">POPA's images</a>
Can I put it on a php page then?
-
Hallo,
ich würde gerne eine Mitgliederliste pro Usergruppe erstellen. Gibt es da eine Möglichkeit, hat da jemand eine Idee?
Hello,
i would like to produce one user list for each user group. Is that possible, has anyone an idea?
Gruesse/Regards
-
in 4images only 2.5 ( :D ) user groups: ADMIN, REGISTRED and NOT ACTIVATED...is that what u need?
-
no i mean the user groups in the user registration. I have different groups of users (artists, galerist, museum) and i want to have several user lists for all visitors.
-
In my memberlist everything is aligned in the center....I would like to have the usernames aligned left....is this possible?
-
Hallo,
ich würde gerne wissen, wo ich Änderungen vornehmen muß, wenn ich standardmäßig die Mitglieder nach "Registriert seit" aufgelistet haben möchte und nicht nach den Benutzernamen, wie es momentan der Fall ist.
Ich würde mich über jede Antwort freuen.
helluvaguy
-
Habe die Datenbank manuell geändert - neue User eingetragen.
die Benutzer-id hat 8 Stellen (Bsp: 20031802) - ursprüngliche
Benutzer habe ich belassen (Guest = -1 und admin = 1)
jetzt kriege ich folgende Fehlermeldung:
DB Error: Bad SQL Query: SELECT * FROM cscb_photo_users WHERE user_id NOT IN ('-1') ORDER BY username ASC LIMIT 0, 10
Unknown column 'username' in 'order clause'
HAT JEMAND EINEN TIPP?
Danke und Gruss marcel
-
Hi is there a way to have it when I go to a users profile the clickstream path will be like home/memberlist/jason instead of home/jason ?
-
Habe die Datenbank manuell geändert - neue User eingetragen.
die Benutzer-id hat 8 Stellen (Bsp: 20031802) - ursprüngliche
Benutzer habe ich belassen (Guest = -1 und admin = 1)
jetzt kriege ich folgende Fehlermeldung:
DB Error: Bad SQL Query: SELECT * FROM cscb_photo_users WHERE user_id NOT IN ('-1') ORDER BY username ASC LIMIT 0, 10
Unknown column 'username' in 'order clause'
HAT JEMAND EINEN TIPP?
Danke und Gruss marcel
maybe u should try change username to user_name?
Hi is there a way to have it when I go to a users profile the clickstream path will be like home/memberlist/jason instead of home/jason ?
I'm not quet understand what do u mean by "home/memberlist/jason"? there is not such a thing. it shows "home/memberlist/page 1"
-
I mean right now when you look at the memberlst, then click on a username it will be like
Home / User profile
instead of like
Home / Memberlist / Page 1/ Jason
something like that...do you understand?
-
well, see, when u click on a user from memberlist, its open "user profile" page, that doesnt have anything to do with memberlist page.
but :wink: u can try this:
in member.php find:if ($action == "showprofile") {
$txt_clickstream = $lang['profile'];
change to this:
if ($action == "showprofile") {
$txt_clickstream = ((isset($HTTP_GET_VARS['clickstream_text']) || isset($HTTP_POST_VARS['clickstream_text'])) ? ((isset($HTTP_GET_VARS['clickstream_text'])) ? $HTTP_GET_VARS['clickstream_text'] : $HTTP_POST_VARS['clickstream_text']) : $lang['profile']);
and in memberlist.php find: $user_profile_link = (!empty($url_show_profile)) ? preg_replace("/{user_id}/", $user_row['user_id'], $url_show_profile) : ROOT_PATH."member.php?action=showprofile&".URL_USER_ID."=".$user_row['user_id'];
change to this: $user_profile_link = (!empty($url_show_profile)) ? preg_replace("/{user_id}/", $user_row['user_id'], $url_show_profile) : ROOT_PATH."member.php?action=showprofile&".URL_USER_ID."=".$user_row['user_id']."&clickstream_text=".$user_row['user_name'];
-
Yeah, i didn't want to start a new thread, either way do you think it would be possible to change something to make it be like that?
sorry didnt see the bottom of your post im gonna try it, thannks
-
Hi V@no did you try doin this? When I did it, everything appeared to be the same as before.
-
then, I guess, I missunderstud u... :?
-
I'm not sure, it seems like the code you changed above would do something though doesn't it?
-
Thanks i have found the error
Thanks Marcel
-
Thanks i have found the error
Thanks Marcel
What do you mean you found the error?
-
I just want a simple members list..visible to admin of course and all users..how can this be done?
-
is it possible to had a search field in this mod? where users can write the username that they want to find
is this possible?
-
or maybe add this additional field in the gallery search form
is any of these options possible?
-
is any of these options possible?
I'd say: "almost anything could be possible, exept pizza delivery through internet 8O :wink:"
but, hey, keep giving ideas ;)
-
I'd say: "almost anything could be possible, exept pizza delivery through internet "
lol, i guess you have a point there
but if it's possible, can u tell me how please :)
-
but if it's possible, can u tell me how please :)
I didnt say I can do it... :wink:
-
Hi,
I can´t order by "total_user_images" because in the USERS_TABLE don´t exist this row.
In your Web http://www.nicky.net/4images/gallery/memberlist.php you can order the memberlist by Bilder (images). How?? 8O
I need help....
Your Mod is excelent :)
-
hi all,
now after about 3 months, i'm back for finish that mod !
sorry for the delay ..
keep watching this thread :wink:
-
hi all,
now after about 3 months, i'm back for finish that mod !
sorry for the delay ..
keep watching this thread :wink:
Really, what else is there to do to it?
-
i don't know.. ^^
did you read all the previous post's ?
-
Update
just follow the to the 1st page of this thread and get it ...
possible order, like on the demo page !
have phun
-
it works well :D
Good Work Nicky...
Now someone must do this;
Select user like this (#.A. B. C. D. E. F. G. H. I. J. K. L. M. N. O. P. Q. R. S. T. U. V. W. X. Y. Z) because with many users if you want to find someone it´s very hard... :?
or search form :wink:
-
hinzufüge ein neues feld in deiner PREFIX_users mysql tabelle
Sorry aber ich weiß nicht wie das geht bitte Hilfe
danke tobi
-
Now someone must do this;
Select user like this (#.A. B. C. D. E. F. G. H. I. J. K. L. M. N. O. P. Q. R. S. T. U. V. W. X. Y. Z) because with many users if you want to find someone it´s very hard... :?
Here u go ;)
1.
in memberlist.php find:
//----------------------------
//---- Sort ------------------
//----------------------------
Add before (above)://--------------------------------
//------ Letter Select ----------
//--------------------------------
$condition = "";
$ltr = "";
$letter = "num";
$user_search = "";
$letterbits = "<TABLE width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"1\" class=\"bordercolor\">\n<tr>\n<TD>\n<TABLE width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"3\">\n<TR align=\"center\"><td class=\"row1\">";
if (isset($HTTP_GET_VARS['ltr']) || isset($HTTP_POST_VARS['ltr'])) {
$ltr = (isset($HTTP_POST_VARS['ltr'])) ? $HTTP_POST_VARS['ltr'] : $HTTP_GET_VARS['ltr'];
}
if ($ltr) {
$letterbits .= "<normalfont><a href=\"".$site_sess->url(ROOT_PATH."memberlist.php")."\">".$lang['lang_all']."</a></normalfont>";
if ($ltr == "num") {
$condition = " AND ".get_user_table_field("", "user_name")." NOT REGEXP(\"^[a-zA-Z]\")";
}else{
$ltr = chr(intval(ord($ltr)));
$condition = ($ltr) ? " AND ".get_user_table_field("", "user_name")." LIKE '".addslashes($ltr)."%'" : "";
}
$user_search = "ltr=".$ltr;
}else{
$letterbits .= "<normalfont>[<b>".$lang['lang_all']."</b>]</normalfont>";
}
if ($ltr == $letter) {
$letterbits .= " . <normalfont>[<b>#</b>]</normalfont>";
} else {
$letterbits .= " . <normalfont><a href=\"".$site_sess->url(ROOT_PATH."memberlist.php?ltr=$letter")."\">#</a></normalfont>";
}
for ($i = 65; $i < 91; $i++) {
$letter = chr($i); $linkletter = $letter;
if ($ltr == $letter) {
$letterbits .= " . <normalfont>[<b>$letter</b>]</normalfont>";
} else {
$letterbits .= " . <normalfont><a href=\"".$site_sess->url(ROOT_PATH."memberlist.php?ltr=$letter")."\">$letter</a></normalfont>";
}
}
$letterbits .= "</td></TR>\n</TABLE>\n</TD>\n</TR>\n</TABLE>";
//---- End Letter Select ----
1.2.
Find: 'mode_action' => $site_sess->url(ROOT_PATH."memberlist.php"))
Replace with: 'letterbits' => $letterbits,
'mode_action' => $site_sess->url(ROOT_PATH."memberlist.php".(($user_search) ? "?$user_search" : "")))
1.3.
Find:$link_arg = $site_sess->url(ROOT_PATH."memberlist.php?mode=$mode&order=$sort_order");
Replace with:
$link_arg = $site_sess->url(ROOT_PATH."memberlist.php?mode=$mode&order=$sort_order".(($user_search) ? "&$user_search" : ""));
1.4.
Find: WHERE user_id <> ".GUEST;
Replace with: WHERE user_id <> ".GUEST.$condition;
1.5.
Find: WHERE user_id <> ".GUEST."
Replace with: WHERE user_id <> ".GUEST.$condition."
2.
Open /templates/<yourtemplate>/memberlist.html
Insert this tag, in place u want it be displayed:{letterbits}
for example, in my template it looks like this:
{if userlist}
{userlist_dropdown}
<BR />
{letterbits}
<BR />
{endif userlist}
See it in action here (http://come.no-ip.com/memberlist.php)
[EDITED]
Almost forgot one more step 8O
3.
Open /lang/<yourlanguage>/main.php
Find:$lang['lang_select_sort_order'] = "Order";
Add after:$lang['lang_all'] = "All";
-
//--------------------------------
//------ Letter Select ----------
//--------------------------------
$condition = "";
$ltr = "";
$letter = "num";
$linkletter = "all";
$user_search = "";
$letterbits = "<TABLE width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"1\" class=\"bordercolor\">\n<tr>\n<TD>\n<TABLE width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"3\">\n<TR align=\"center\">";
if (isset($HTTP_GET_VARS['ltr']) || isset($HTTP_POST_VARS['ltr'])) {
$ltr = (isset($HTTP_POST_VARS['ltr'])) ? $HTTP_POST_VARS['ltr'] : $HTTP_GET_VARS['ltr'];
if ($ltr == $linkletter) {
$letterbits .= "<td class=\"row1\"><normalfont>[<b>".$lang['lang_all']."</b>]</normalfont></td>\n";
$condition = "";
}else{
$letterbits .= "<td class=\"row1\"><normalfont><a href=\"".$site_sess->url(ROOT_PATH."memberlist.php?ltr=$linkletter")."\">".$lang['lang_all']."</a></normalfont></td>\n";
if ($ltr == "num") {
$condition = " AND ".get_user_table_field("", "user_name")." NOT REGEXP(\"^[a-zA-Z]\")";
}else{
$ltr = chr(intval(ord($ltr)));
$condition = ($ltr) ? " AND ".get_user_table_field("", "user_name")." LIKE '".addslashes($ltr)."%'" : "";
$user_search = "ltr=".$ltr;
}
}
}else{
$letterbits .= "<td class=\"row1\"><normalfont>[<b>$linkletter</b>]</normalfont></td>\n";
}
if ($ltr == $letter) {
$letterbits .= "<td class=\"row1\"><normalfont>[<b>#</b>]</normalfont></td>\n";
} else {
$letterbits .= "<td class=\"row1\"><normalfont><a href=\"".$site_sess->url(ROOT_PATH."memberlist.php?ltr=$letter")."\">#</a></normalfont></td>\n";
}
for ($i = 65; $i < 91; $i++) {
$letter = chr($i); $linkletter = $letter;
if ($ltr == $letter) {
$letterbits .= "<td class=\"row1\"><normalfont>[<b>$letter</b>]</normalfont></td>\n";
} else {
$letterbits .= "<td class=\"row1\"><normalfont><a href=\"".$site_sess->url(ROOT_PATH."memberlist.php?ltr=$letter")."\">$letter</a></normalfont></td>\n";
}
}
$letterbits .= "</TR>\n</TABLE>\n</TD>\n</TR>\n</TABLE>";
//---- End Letter Select ----
what do we do with this code?
-
ops, sry about that... :?
After I edited my post, I guess I deleted something...
I just fixed my post. check it again.
P.S. u dont have to post again the code u dont understand, u could just ask about a step u r having problem with ;)
-
@Vano: It works! Great job!
CU
Markus
-
"hinzufüge ein neues feld in deiner PREFIX_users mysql tabelle"
Sorry aber ich weiß nicht wie das geht bitte Hilfe
danke tobi
-
LoOpP:
ALTER TABLE PREFIX_users ADD user_t_images SMALLINT( 6 ) DEFAULT '0' NOT NULL ;
prefix, ist das was du damals bei der installation angegeben hast..
guck mal in die config.php am server
$table_prefix = "DEINPREFIX_";
feld zufügen kannst es mit diesen programm: http://www.phpmyadmin.net/
-
Great job! :D
-
Ich sehe bei meinem phpMyAdmin Bereich
diese Felder is dass das richtige feld zur eingabe?
Neue Tabelle in Datenbank xxxx erstellen :
Name :
Felder :
was sol ich nun genau machen???
auch diesen code versteh ich nicht
ALTER TABLE PREFIX_users ADD user_t_images SMALLINT( 6 ) DEFAULT '0' NOT NULL ;
wass muss man mit dieser zeile machen??
danke tobi
sorry dass ich so blöd frage aber ich verstehs einfach nicht
-
sorry aber ich hab kein bock dir jetzt die welt des mysql und php zu erklären ;)
aber dafür hier was anderes
http://www.nicky.net/4images/table_update.zip
uploade die table_update.php dorthin wo sich deine config.php befindet, und rufe die selbe aus http://ww.deinedomain.com/4images/table_update.php
das wars ^^
-
vielen Dank merci merci merci
-
i've seen on the demo memberlist that there is a new cell showing user comments, how can i add this?
and also how can i make the number of images of each user showed on the memberlist work has link to that user gallery? (same way as demo does)
thanks
-
@Bomba,
just download the new ZIP on the 1st page..
and it will be working for you...
read the Readme.txt !
-
sorry aber ich hab kein bock dir jetzt die welt des mysql und php zu erklären ;)
aber dafür hier was anderes
http://www.nicky.net/4images/table_update.zip
uploade die table_update.php dorthin wo sich deine config.php befindet, und rufe die selbe aus http://ww.deinedomain.com/4images/table_update.php
das wars ^^
Funktioniert auch diese 'table_update', wenn ich schon vorher Deine ältere version von 'Mitgliederliste' benutzt habe? :?:
-
O.K. ich habe es schon benutzt, es hat ganz gut geklappt. Vielen Dank.
-
Nicky,
ich habe bei mir 14 users, da ist dann insgesamt 2 Seiten von Memberlist.
Wenn ich versuche von Seite 2 einzuloggen, bekomme ich immer folgende Fehlermeldung:
You don't have permission to access /memberlist.php&order=ASC&page=2 on this server
Woran liegt das?
boti
-
Hallo Nicky,
kann man die Liste "Kommentare" auch klickbar machen? Also ein Klick auf die Kommentare öffnet diese von dem ausgewähltem User dann.
Gruß Ingo.
-
Es müsste klappen, wenn man diesen Mod mit einbaut:
http://www.4homepages.de/forum/viewtopic.php?t=4131
Habe aber leider zu wenig php-Erfahrung, um die Veränderung vorzunehmen. :(
Gruß
Markus
-
Nicky,
ich habe bei mir 14 users, da ist dann insgesamt 2 Seiten von Memberlist.
Wenn ich versuche von Seite 2 einzuloggen, bekomme ich immer folgende Fehlermeldung:
You don't have permission to access /memberlist.php&order=ASC&page=2 on this server
Woran liegt das?
boti
sorry for english respond, but the problem is:You don't have permission to access /memberlist.php&order=ASC&page=2 on this server
there must be either ? or ?mode=user_name
in memberlist.php make sure this is correct:
$num_rows_all = (isset($user_cache[$user_id]['total_user'])) ? $user_cache[$user_id]['total_user'] : 0;
$link_arg = $site_sess->url(ROOT_PATH."memberlist.php?mode=$mode&order=$sort_order".(($user_search) ? "&$user_search" : ""));
include(ROOT_PATH.'includes/user_paging.php');
-
ther is a little mistake in the code:
$total_user_images = $user_row['user_t_images'];
if u open memberlist.php page first time, it will show u 0 for users pics.
because $user_row['user_t_images'] contens information from not updated user_t_images column yet.
after u do page refresh it will show u the correct numbers.
so, to fix it, change that line to this:
$total_user_images = $count_t_images['t_images'];
-
sorry for english respond, but the problem is:You don't have permission to access /memberlist.php&order=ASC&page=2 on this server
there must be either ? or ?mode=user_name
in memberlist.php make sure this is correct:
$num_rows_all = (isset($user_cache[$user_id]['total_user'])) ? $user_cache[$user_id]['total_user'] : 0;
$link_arg = $site_sess->url(ROOT_PATH."memberlist.php?mode=$mode&order=$sort_order".(($user_search) ? "&$user_search" : ""));
include(ROOT_PATH.'includes/user_paging.php');
V@no, my memberlist.php is correct, it is exactly like yours.
The problem is, i have 14 users, that means 2 pages of memberlist.
But i can't log in, in page 2. If i try to log in (in page 2) then come this error message:
You don't have permission to access /memberlist.php&order=ASC&page=2 on this server
(sorry for my english :D )
-
then where ?mode=$mode dissapiered?
-
then where ?mode=$mode dissapiered?
I don't know, but it's not a big problem. It's O.K. :D
-
okay hier ist es für 4images v 1.7 und phpBB 2.0.2
:arrow: http://www.nicky.net/4images/memberlist_1_7_w_phpBB.zip
Maybe somebody can help me hier.
I need memberlist for 4Image with Invasionsboard.
Thank You, and sorry for my english. :D
-
Na toll, jetzt muss ich meinen ersten Post auch gleich korrigieren...
das hatte ich eigentlich gefragt :
Sorry wenn ich jetzt mal blöd frage:
Gibts irgendwo eine Übersicht was man jetzt wirklich alles verändern muss?
Weil der Thread ist jetzt 7 Seiten lang, bis man das alles durch hat... :wink:
Wäre ideal wenn mir da jemand was zeigen könnt...
Aber es iss eh alles in dem Link im ersten Posting enthalten!
Wie heissts so schön: wer lesen kann iss schwer im Vorteil... :oops:
Funzt auch soweit ich das auf den ersten Blick gesehen habe recht sauber, danke an den Macher! :D :!: 8)
-
I cannot get past the first hurdle here!!
trying to add the new field "ALTER TABLE PREFIX ETC"
All I get is an error in the mysql table.
Can someone add it for me?
-
what are u trying to do?
-
I am trying to add the member list mod to my gallery, but adding the new field "ALTER TABLE PREFIX_users" seems to be a problem.
I can happily give you my login if u would be able to test it for me!
-
did u do any message board integration?
if u know how to add new fields to a table in the database, then u can try do it manualy.
-
I have been trying to add manually, only way I know how, but recieve errors!
-
new language set for lang/english/main.php
Please can u advise me what to do with these files as they are not included in a folder for upload in anywher in particular?
I have followed the instructions up till this point but so far the memberlist is not showing on my test gallery (http://members.lycos.co.uk/swifteruk/Photos) and I guess it wont until these files are added, or have I missed something.
Please help a "dumbster" :cry:
-
in /lang/english/main.php at the end of the file, just before closing ?> add this:
//-----------------------------------------------------
//--- Memberlist -------------------------------------
//-----------------------------------------------------
$lang['lang_userlist_title'] = "Memberlist";
$lang['lang_userlist_page'] = "Page ";
$lang['lang_total_user_images'] = "Pic's:";
$lang['lang_total_user_comments'] = "Comments:";
$lang['paging_user_stats'] = "Found: {total_cat_images} user(s) on {total_pages} page(s). Displayed: user {first_page} to {last_page}.";
$lang['lang_sort_homepage'] = "Homepage";
$lang['lang_sort_username'] = "Username";
$lang['lang_sort_useremail'] = "Email";
$lang['lang_sort_comments'] = "Comments";
$lang['lang_sort_pictures'] = "Pics";
$lang['lang_sort_joindate'] = "Joined Date";
$lang['lang_sort_asc'] = "Ascending";
$lang['lang_sort_desc'] = "Descending";
$lang['lang_select_sort_method'] = "Sort method";
$lang['lang_select_sort_order'] = "Order";
-
Still doesn't work for me, guess I am just too dumb :oops:
-
Thanks to V@NO I have got this working properly now.
One more query, viewing the memberlist & hovering over the email link, shows the email address of each member, is there some way i can stop this, since not everybody likes to have it shown in public.
As the emails are sent via the board, the sender does not know where he/she is sending unless a user replies, so I would think it makes sense to be able to switch this off?
TIA
Mike.
-
from memberlist.php remove
<td class=\"head2\" align=\"center\">".$lang['homepage']."</td>\n
and
$userlist .= "<td valign=\"top\" align=\"center\">".$user_email_button."</td>\n";
-
Thanks v@no,
will this still allow the email link to show? It is only the address I wish not to show.
Mike.
-
ah...no...I think I missunderstud u...
do u want it show the button and link to 4images email form, but u dont want it show email address in the tooltip (when u move cursor over the button) ?
if so, then replace: $user_email_save = str_replace("@", " at ", $user_row['user_email']);
with: $user_email_save = "";
-
Fabulous!! That is just what I need!!
Many Thanks........Once again :wink:
-
Ich benutze die morestats und versuche seit 2 tagen die memberlist zu integrieren - mit dem ergebnis, dass die memberlist folgendes zu beginn aussagt:
Gefunden 0 Benutzer auf 0 Seite(n) Angezeigt 0 von 0 Benutzern
Habe alles nach anleitung gemacht!
Sortieren tut er, Mitglieder zeigt er auch an - aber keine 2 Seite!!!! 300 Mitglieder, da sollte doch was zu sehen sein....
Auch das Paging wird nicht angezeigt!
Wer kann helfen????
I am using morestats and try to integrate the memberlist. Following message I get: Found 0 Visitors on 0 Pages View 0 of 0 Users
Sorting is ok but I can´t see a 2. page - I have about 300 members!
What´s the mistake?
Please can you help?!
-
I was trying to put in comments row, link, that show user's commets from his profile (http://www.4homepages.de/forum/viewforum.php?f=15). The same as when you see how many photos has user uploaded, you click on it, and check them. I want to do the same with comments.
I edited members.php file and try to insert this in it:
before:$total_user_images = $user_row['user_t_images'];
i added
$total_user_comments = $user_row['user_comments'];
if ($total_user_comments > 0) {
$total_comments_link = $site_sess->url(ROOT_PATH."member.php?action=showcomments&user_id=".$user_row['user_id']);
$total_user_comments_link = "<a href=\"".$total_comments_link."\">".$total_user_comments."</a>";
} else {
$total_user_comments_link = $total_user_comments;
}
if ($count == 0) {
$row_bg_number = ($bgcounter++ % 2 == 0) ? 1 : 2;
$userlist .= "<tr class=\"imagerow".$row_bg_number."\">\n";
}
Where did i make mistake?
-
would be usefull info if u tell us what didnt work...;)
-
ups i didnt tell :oops:
well it just didn't! It was the same as it was without that code.
-
i add a user online/offline notice...
it shows like that:
Testname online
open memberlist.php
Step 1
find:
$total_user_comments = "";
add after:
$user_status_ml = REPLACE_EMPTY;
Step 2
find:
$user_profile_link = (!empty($url_show_profile)) ? preg_replace("/{user_id}/", $user_row['user_id'], $url_show_profile) : ROOT_PATH."member.php?action=showprofile&".URL_USER_ID."=".$user_row['user_id'];
add below:
$user_status_ml = ($user_row['user_lastaction'] >= (time() - 300) && ((isset($user_row['user_invisible']) && $user_row['user_invisible'] == 0) || $user_info['user_level'] == ADMIN)) ? " <font color=\"#339933\" size=-2>online</font>" : "<img src=\"".get_gallery_image("spacer.gif")."\" border=\"0\" alt=\"Offline\" />";
Step 3
find:
$userlist .= "<td valign=\"top\" align=\"left\">".$user_name."</td>\n";
replace with:
$userlist .= "<td valign=\"top\" align=\"left\">".$user_name." ".$user_status_ml."</td>\n";
-
hello i ve installed the [MOD MemberPhoto] (after the hack i could´nt find it) and the memberlist. I ask me, how can i show up in the memberlist, if the user had an own photo? not the default.jpg??
is this posselbile??
-
no ideas???
8) 8) :lol: 8) 8)
-
Hi I would like to show the user gender next to the user name on the memberlist i have tried this but it does not work...
$userlist .= "<td valign=\"top\" align=\"center\">".$user_name."</td><img src=\"".TEMPLATE_PATH."/images/{user_gender}.gif">\n";
Any ideas?
-
Regards / Saludos,,,
locate in / localiza en memberlist.php
$user_name = "<a href=\"".$site_sess->url($user_profile_link)."\">".htmlspecialchars($user_row['user_name'])."</a>";
add below / Añade debajo :
$user_sex = " <img src=\"".TEMPLATE_PATH."/images/gender".htmlspecialchars($user_row['user_gender']).".gif\">".$var_name." ";
Locate / Localiza :
$userlist .= "<td valign=\"middle\" align=\"center\">".$user_name."</td>\n";
add below / Añade debajo :
$userlist .= "<td valign=\"middle\" align=\"center\"> ".$user_sex."</td>\n";
excitex2
-
Gracias por contestar :) / Thanks :)
Pero tuve que cambiar dos cosas para que funcionara/ But I had to chang to thing to get it to work
1
$user_sex = " <img src=\"".TEMPLATE_PATH."/images/gender".htmlspecialchars($user_row['user_gender']).".gif\">".$var_name." ";
changed/cambiado
$user_sex = " <img src=\"".TEMPLATE_PATH."/images/".htmlspecialchars($user_row['user_gender']).".gif\">".$var_name." ";
2
This line
$userlist .= "<td valign=\"middle\" align=\"center\"> ".$user_sex."</td>\n";
make a new colum and goes below of the time of registration so is not good so what i did was this:
$userlist .= "<td valign=\"top\" align=\"center\">".$user_name."".$user_sex."</td>\n";
Thanks a lot!!! Muchas Gracias :)
-
Saludos,,
Bueno ,,,, yo lo he puesto de la manera que lo tengo instalado,, es solo cambiar el directorio y la posición,, cada uno lo adapta como mejor le convenga :twisted: :twisted: :twisted:
Pero estás seguro que esta modificación es correcta ? :
$user_sex = " <img src=\"".TEMPLATE_PATH."/images/gender".htmlspecialchars($user_row['user_gender']).".gif\">".$var_name." ";changed/cambiado
changed/cambiado
$user_sex = " <img src=\"".TEMPLATE_PATH."/images/".htmlspecialchars($user_row['user_gender']).".gif\">".$var_name." ";
Crero que le falta el '$'
excitex2
-
ups me lo comi al ponerlo aqui, pero en el cambio real si esta el cambio que hize fue /images/gender por /images/ ya qe mis gifs se llaman m.gif, w.gif, b.gif Gracias :)
-
hallo,
wie und wo kann man die background-farben der einzelnen rows ändern? (siehe fragezeichen)
-----------
how and where can i change the background colours of the rows? (look for "?")
(http://img17.paintedover.com/uploads/17/new2_1.jpg)
greetings from germany,
michinator.
-
wie und wo kann man die background-farben der einzelnen rows ändern? (siehe fragezeichen)
-----------
how and where can i change the background colours of the rows? (look for "?")
in your *.css file (in your templates directory) - - look for
".head2" & ".imagerow" and change the colors there.
some online CSS hex color charts are here: (can use either the 6-character number/letters or the named colors like "crimson", etc.):
http://www.mandarindesign.com/color.html
or create a whole new color scheme here:
Graffi's color schemer place (http://www.graficalicus.com/index.php?module=PostWrap&page=colormatch)
-
thank you very much master! ;-).
nice greetings from germany,
your michinator.
-
und noch eine frage: ;-)
wie und wo lässt sich eine headline (class="head1") für die userlist-tabelle erstellen? (siehe gelber pfeil)
-------
is it possible to create a headline (class="head1") for this userlist table? (look for yellow arrow)
(http://img17.paintedover.com/uploads/17/new3.jpg)
thanx in advance from germany,
your michinator.
-
should be under ".bordercolor" in the CSS file -
-
should be under ".bordercolor" in the CSS file -
no, i mean, i want a completely new line with << class="head1 >> above the table.
thanx in advance,
michinator.
-
Hi is there any way to sort the memberlist by gender? I have done this to show the gender:
$userlist .= "<td valign=\"top\" align=\"center\">".$user_name."".$user_sex."</td>\n";
$user_sex = " <img src=\"".TEMPLATE_PATH."/images/".htmlspecialchars($user_row['user_gender']).".gif\">".$var_name." ";
-
ORDER BY user_gender
-
ORDER BY user_gender
I have done this but i don't know if its correct:
case 'user_t_images':
$order_by = "user_t_images $sort_order";
break;
case 'user_gender':
$order_by = "user_gender $sort_order";
break;
I don't see any change V@no if I have to put this ORDER BY user_gender where i should put it
-
no, i mean, i want a completely new line with << class="head1 >> above the table.
Oh - OK, do this:
in memberlist.php, find
$userlist .="\n<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">\n<tr>\n<td class=\"bordercolor\">\n";
$userlist .="<table width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"1\">\n";
$userlist .="<tr>\n<td class=\"head2\" align=\"center\">".$lang['user_name']."</td>\n<td class=\"head2\" align=\"center\">".$lang['join_date']."</td>\n<td class=\"head2\" align=\"center\">".$lang['email']."</td>\n<td class=\"head2\" align=\"center\">".$lang['homepage']."</td>\n<td class=\"head2\" align=\"center\">".$lang['lang_total_user_comments']."</td>\n<td class=\"head2\" align=\"center\">".$lang['lang_total_user_images']."</td>\n</tr>\n";
and replace it with
$userlist .="\n<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">\n<tr>\n<td class=\"bordercolor\">\n";
$userlist .="<table width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"1\">\n";
$userlist .="<tr>\n<td colspan=\"6\" class=\"head1\" align=\"center\">".$lang['memberlist_text']."</td>\n</tr>\n";
$userlist .="<tr>\n<td class=\"head2\" align=\"center\">".$lang['user_name']."</td>\n<td class=\"head2\" align=\"center\">".$lang['join_date']."</td>\n<td class=\"head2\" align=\"center\">".$lang['email']."</td>\n<td class=\"head2\" align=\"center\">".$lang['homepage']."</td>\n<td class=\"head2\" align=\"center\">".$lang['lang_total_user_comments']."</td>\n<td class=\"head2\" align=\"center\">".$lang['lang_total_user_images']."</td>\n</tr>\n";
Next, open lang/<your_lang>/main.php, and down with all the other memberlist stuff you added, put this additional line:
$lang['memberlist_text'] = "This is our memberlist";
(change the part inside the " " to whatever you want it to say in the new "head1" row just added.)
:arrow:*NOTE: in the first part of the code, the "colspan=\"6\"" part tells the new row to span over 6 columns - - if you've added or removed columns from the table below it, make this number the same as the number of columns in the table, or else it will look screwy...
-
great! thank you for your help! you guys are really excellent! ;-)
greetings,
michinator.
-
I don't see any change V@no if I have to put this ORDER BY user_gender where i should put it
u also need added in the sort dropdown form
-
Thank you V@no, and thanks for no put at the first time the solution :) i don't know php but you are teaching me in some way :P thanks, i got it and it is so cool ;)
To sort the member list by gender this is what u have to do:
You need to have installed this mod ---> http://www.4homepages.de/forum/index.php?topic=7385.0
In memberlist.php:
Find:
$mode_types_text = array($lang['lang_sort_username'], $lang['lang_sort_joindate'], $lang['lang_sort_useremail'], $lang['lang_sort_homepage'], $lang['lang_sort_comments'], $lang['lang_sort_pictures']);
$mode_types = array('user_name', 'user_joindate', 'user_email', 'user_homepage', 'user_comments', 'user_t_images');
Replace:
$mode_types_text = array($lang['lang_sort_username'], $lang['lang_sort_gender'], $lang['lang_sort_joindate'], $lang['lang_sort_useremail'], $lang['lang_sort_homepage'], $lang['lang_sort_comments'], $lang['lang_sort_pictures']);
$mode_types = array('user_name', 'user_gender', 'user_joindate', 'user_email', 'user_homepage', 'user_comments', 'user_t_images');
Find:
case 'user_t_images':
$order_by = "user_t_images $sort_order";
break;
Add after:
case 'user_gender':
$order_by = "user_gender $sort_order";
break;
Save and close.
In lang/<your language>/main.php
Find:
$lang['lang_sort_homepage'] = "Homepage";
Add:
$lang['lang_sort_gender'] = "Gender";
Save and close.
-
hi how can I make a table on the memberlist like in the V@no site
-
hi how can I make a table on the memberlist like in the V@no site
I dont have neither tables, nor chairs on my site...
what are u talking about?
-
ok i will try to explain it better, in my memberlist the table of user is without borders and and the cells are align to the center, how can I make my memberlist with a table of border 1 and the cells align to the left. I thought that it was call a table. :oops: :oops:
MY site memberlist:
(http://members.cox.net/jaimeascanio/memme.png)
V@no Memberlist with borders looking so nice
(http://members.cox.net/jaimeascanio/memV@no.png)
-
well, even if Nicky writes "Don't change anything from here ;) I guess, you might be successful by changing the forbidden part of memberlist.php :D
1) adding border
find:
$userlist .="<table width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"1\">\n";
change to
$userlist .="<table width=\"100%\" border=\"1\" cellpadding=\"2\" cellspacing=\"1\">\n";
2) changing alignment
find
$userlist .="<tr>\n<td class=\"head2\" align=\"center\">".$lang['user_name']."</td>\n<td class=\"head2\"
change to
$userlist .="<tr>\n<td class=\"head2\" align=\"left\">".$lang['user_name']."</td>\n<td class=\"head2\"
or something like that...
-
Thank man!
-
and also he used row1 and row2 how can include that too?
-
well, the alignment "thing" seems to need more changes...
try to find all
align=\"center\"
and change these to
align=\"left\"
-
$userlist .="<tr>\n<td class=\"head2\" align=\"left\">".$lang['user_name']."</td>\n<td class=\"head2\"
i got it, is here where i have to put left
$userlist .= "<td align=\"left\">".$user_name."</td>\n";
-
and also he used row1 and row2 how can include that too?
here is a little tip for u:
try use the template from the package of this mod ;)
-
NVM I solved the problem
-
Hi,
I have three usergroups:
- photographers
- customers
- partner
Now I'd like to show only the usergroup "photographer" in the memberlist.
How can I do that?
TIMT
-
Anybody here who can help me :?:
Where can I change the color of the links and the color of the text in the member list?
-
Where can I change the color of the links and the color of the text in the member list?
in templates/(your_template)/style.css
-
for the links, ok, but where do I have to define the "class" in the member list?
and where in the "member-list-scripts" do I have to define "font color"?
I tried different places, but the color doen't change.
-
perhaps u should look for <a href=
-
that was a good hint :)
in memberlist.php
old:
$user_name = "<a href=\"".$site_sess->url($user_profile_link)."\">".htmlspecialchars($user_row['user_name'])."</a>";
new:
$user_name = "<a href=\"".$site_sess->url($user_profile_link)."\" class=\"schwarz\">".htmlspecialchars($user_row['user_name'])."</a>";
now I'm looking for the code I have to change vor the text color (join date, total user image)
I think, it must be somewhere here....
$sql = "SELECT COUNT(*) AS total_user
FROM ".USERS_TABLE."
WHERE user_id <> ".GUEST;
$result = $site_db->query($sql);
while ($row = $site_db->fetch_array($result)) {
$user_cache[$row['user_id']]['total_user'] = $row['total_user'];
}
$site_db->free_result();
$num_rows_all = (isset($user_cache[$user_id]['total_user'])) ? $user_cache[$user_id]['total_user'] : 0;
$link_arg = $site_sess->url(ROOT_PATH."memberlist.php?mode=$mode&order=$sort_order");
include(ROOT_PATH.'includes/user_paging.php');
$getpaging = new Paging($page, $user_per_page, $num_rows_all, $link_arg);
$offset = $getpaging->get_offset();
$site_template->register_vars(array(
"paging" => $getpaging->get_paging(),
"paging_stats" => $getpaging->get_paging_stats()
));
$sql = "SELECT *
FROM ".USERS_TABLE."
WHERE user_id <> ".GUEST."
ORDER BY $order_by
LIMIT $offset, $user_per_page";
$result = $site_db->query($sql);
$userlist .="\n<table width=\"100%\" border=\"0\" bordercolor=\"FFFFFF\" cellspacing=\"0\" cellpadding=\"0\" align=\"left\">\n<tr>\n<td height=\"5\">\n</td>\n</tr>\n<tr>\n<td>\n";
$userlist .="<table width=\"100%\" bordercolor=\"000000\" border=\"1\" cellpadding=\"7\" cellspacing=\"0\">\n";
$userlist .="<tr>\n<td class=\"head2\" align=\"left\">".$lang['user_name']."</td>\n<td class=\"head2\" align=\"left\">".$lang['join_date']."</td>\n</td>\n<td class=\"head2\" align=\"left\">".$lang['lang_total_user_images']."</td>\n</tr>\n";
// $userlist .="<tr>\n<td class=\"head2\" align=\"left\">".$lang['user_name']."</td>\n<td class=\"head2\" align=\"left\">".$lang['join_date']."</td>\n<td class=\"head2\" align=\"left\">".$lang['email']."</td>\n<td class=\"head2\" align=\"left\">".$lang['homepage']."</td>\n<td class=\"head2\" align=\"left\">".$lang['lang_total_user_comments']."</td>\n<td class=\"head2\" align=\"left\">".$lang['lang_total_user_images']."</td>\n</tr>\n";
$count = 0;
$bgcolor = 0;
while ($user_row = $site_db->fetch_array($result)){
$user_id = "";
$user_name = "";
$user_join_date = "";
$user_email = "";
$user_email_save = "";
$user_mailform_link = "";
$user_email_button = "";
$total_user_images = "";
$total_user_comments = "";
$user_id = $user_row['user_id'];
// --------------------------
// COUNT users pics
// --------------------------
$sql = "SELECT COUNT(image_id) AS t_images
FROM ".IMAGES_TABLE."
WHERE user_id = $user_id";
$count_t_images = $site_db->query_firstrow($sql);
// --------------------------
// UPDATE user_t_images field
// --------------------------
$sql = "UPDATE ".USERS_TABLE."
SET user_t_images = ".$count_t_images['t_images']."
WHERE user_id = $user_id";
// --------------------------
$site_db->query($sql);
$user_profile_link = (!empty($url_show_profile)) ? preg_replace("/{user_id}/", $user_row['user_id'], $url_show_profile) : ROOT_PATH."member.php?action=showprofile&".URL_USER_ID."=".$user_row['user_id'];
$user_name = "<a href=\"".$site_sess->url($user_profile_link)."\" class=\"schwarz\">".htmlspecialchars($user_row['user_name'])."</a>";
$user_homepage = (isset($user_row['user_homepage'])) ? format_url($user_row['user_homepage']) : REPLACE_EMPTY;
if (!empty($user_homepage) && $user_homepage != REPLACE_EMPTY) {
$user_homepage_button = "<a href=\"".$user_homepage."\" target=\"_blank\"><img src=\"".get_gallery_image("homepage.gif")."\" border=\"0\" alt=\"".$user_homepage."\" /></a>";
}
else {
$user_homepage_button = REPLACE_EMPTY;
}
if (!empty($user_row['user_email']) && (!isset($user_row['user_showemail']) || (isset($user_row['user_showemail']) && $user_row['user_showemail'] == 1))) {
$user_email = $user_row['user_email'];
$user_email_save = str_replace("@", " at ", $user_row['user_email']);
if (!empty($url_mailform)) {
$user_mailform_link = $site_sess->url(preg_replace("/{user_id}/", $user_row['user_id'], $url_mailform));
}
else {
$user_mailform_link = $site_sess->url(ROOT_PATH."member.php?action=mailform&".URL_USER_ID."=".$user_row['user_id']);
}
$user_email_button = "<a href=\"".$user_mailform_link."\"><img src=\"".get_gallery_image("email.gif")."\" border=\"0\" alt=\"".$user_email_save."\" /></a>";
}
$user_join_date = (isset($user_row['user_joindate'])) ? format_date($config['date_format'], $user_row['user_joindate']) : REPLACE_EMPTY;
$total_user_comments = $user_row['user_comments'];
$total_user_images = $user_row['user_t_images'];
if ($total_user_images > 0) {
$total_images_link = $site_sess->url(ROOT_PATH."search.php?search_user=".$user_row['user_name']);
$total_user_images_link = "<a href=\"".$total_images_link."\">".$total_user_images."</a>";
} else {
$total_user_images_link = $total_user_images;
}
if ($count == 0) {
$row_bg_number = ($bgcounter++ % 2 == 0) ? 1 : 2;
$userlist .= "<tr class=\"imagerow".$row_bg_number."\">\n";
}
$userlist .= "<td class=\"schwarz\" bgcolor=\"#elelel\" valign=\"top\" align=\"left\"><color=\"#000000\">".$user_name."</td>\n";
$userlist .= "<td bgcolor=\"#elelel\" valign=\"top\" align=\"left\">".$user_join_date."</td>\n";
// $userlist .= "<td bgcolor=\"#elelel\" valign=\"top\" align=\"left\">".$user_email_button."</td>\n";
// $userlist .= "<td bgcolor=\"#elelel\" valign=\"top\" align=\"left\">".$user_homepage_button."</td>\n";
// $userlist .= "<td bgcolor=\"#elelel\" valign=\"top\" align=\"left\">".$total_user_comments."</td>\n";
$userlist .= "<td bgcolor=\"#elelel\" valign=\"top\" align=\"left\">".$total_user_images_link."</td>";
$userlist .= "\n</tr>\n";
}
$userlist .= "</table>\n";
$userlist .= "</td>\n</tr>\n</table>\n";
$site_template->register_vars("userlist", $userlist);
unset($userlist);[hr]
thanks
-
in style.css, take a look at ".head2" - you can change it from there (make it bold, make it italic, make it pink or green or purple!)
If you log in to my site, you'll see that you have the option to choose different templates from your user control panel - all templates are the same with just different style.css attached. Makes it W-A-Y E-A-S-Y to add new templates and/or colors very fast.
-
I also have my own templates and a style.css. But the mode "Memberlist" has HTML-Code in the PHP-Script. And I can't finde the common style-definitions like head2 or row1. That's my problem :(
-
sure it does - in the code above, you posted this snippet:
[code$userlist .="\n<table width=\"100%\" border=\"0\" bordercolor=\"FFFFFF\" cellspacing=\"0\" cellpadding=\"0\" align=\"left\">\n<tr>\n<td height=\"5\">\n</td>\n</tr>\n<tr>\n<td>\n";
$userlist .="<table width=\"100%\" bordercolor=\"000000\" border=\"1\" cellpadding=\"7\" cellspacing=\"0\">\n";
$userlist .="<tr>\n<td class=\"head2\" align=\"left\">".$lang['user_name']."</td>\n<td class=\"head2\" align=\"left\">".$lang['join_date']."</td>\n</td>\n<td class=\"head2\" align=\"left\">".$lang['lang_total_user_images']."</td>\n</tr>\n";
// $userlist .="<tr>\n<td class=\"head2\" align=\"left\">".$lang['user_name']."</td>\n<td class=\"head2\" align=\"left\">".$lang['join_date']."</td>\n<td class=\"head2\" align=\"left\">".$lang['email']."</td>\n<td class=\"head2\" align=\"left\">".$lang['homepage']."</td>\n<td class=\"head2\" align=\"left\">".$lang['lang_total_user_comments']."</td>\n<td class=\"head2\" align=\"left\">".$lang['lang_total_user_images']."</td>\n</tr>\n";
you can change the stylesheet and it will change this part of the code, no matter where it is - :wink:
-
Hi graficalicus
Thank you, the desing ist OK now! :D
May be you also have a solution for me regarding the other posted question....
I have three usergroups:
* photographers
* customers
* partner
Now I'd like to show only the usergroup "photographer" in the memberlist.
Would be greate if you (other somebody else) could help me.
-
can't help you there - sounds like it will require some serious code change-
you'll have to modify which user table field to sort from - it should be easy enough, but I don't know how to help you with that. :(
-
I did a liitle modifacation on this member list. hope the mod maker doent mind. :(
The loggedin user is showed red in the list so he doest havto look for him so long to see his total comments an pics
hiere the changes i did
find in memberlist.php the line
$user_profile_link = (!empty($url_show_profile)) ? preg_replace("/{user_id}/", $user_row['user_id'], $url_show_profile) : ROOT_PATH."member.php?action=showprofile&".URL_USER_ID."=".$user_row['user_id'];
add befor it
if($user_row['user_name'] == $user_info['user_name'])
{
$color = "#FF0000";
}
else
{
$color = "";
}
then find the line
$user_name = "<a href=\"".$site_sess->url($user_profile_link)."\">".htmlspecialchars($user_row['user_name'])."</a>";
replace it with
$user_name = "<a href=\"".$site_sess->url($user_profile_link)."\"><font color=".$color." >".htmlspecialchars($user_row['user_name'])."</font></a>";
Greats to all
-
Also erstmal guter mod hab ihn gerade installiert habe aber noch eine Frage, ich möchte in der Navigation einen Link "Meine Bilder" für die eingeloggten User haben aber ich weiss nicht was in href="" rein muss ??? Das gleiche möchte ich auch für die Kommentare??
Dank im Voraus
Gruß Marquis
-
das ist ja eine Frage, die mit der Mitgliederlist nix zu tun hat ;)
ich komme jetzt nicht zu dem Code, also bin ich mir nicht sicher, aber versuch's doch mal mit
http://www.deinegalerie.de/search.php?search_user={user_name}
in der Template-Datei user_logininfo.html
Falls du mehrere Sprachen auf deiner Seite benutzt, wäre es komplizierter...
-
Danke funktioniert ;) allerdings ist in dem link einmal "search.php?" zuviel!!
-
Achso, gehört zwr auch nicht direkt zu dem MOD aber wie geht dann der LInk für die Kommentare des jeweiligen Users??
-
allerdings ist in dem link einmal "search.php?" zuviel!!
:D yep... so was passiert, wenn die Finger schneller sind, als das Gesetz erlaubt :lol:
wie geht dann der LInk für die Kommentare des jeweiligen Users??
Kannst du die Frage bitte etwas genauer schreiben?
Zu den Kommentaren des jeweilig angemeldeten Users?
Zu den Kommentaren des in der Mitgliederliste angezeigten Users?
:|
-
Ich meine zu den Kommentaren zu dem jeweiligem User der grad eingeloggt ist!!??!
-
Hi everybody,
I have three usergroups:
* photographers
* customers
* partner
Now I'd like to show only the usergroup "photographer" in the memberlist.
I believe, that would be a very useful features. Means this request a lot of work?
Thank you for feedback.
TIMT
-
Try the following (untested)...
Open memberlist.php and search for
$user_per_page = 10;
and add below
$show_group_id = "1";
Add the group id you want to show the users from in there. Multiple groups are possible, separate the IDs by comma:
$show_group_id = "1,3,8";
Then search for
$sql = "SELECT COUNT(*) AS total_user
FROM ".USERS_TABLE."
WHERE user_id <> ".GUEST;
$result = $site_db->query($sql);
while ($row = $site_db->fetch_array($result)) {
$user_cache[$row['user_id']]['total_user'] = $row['total_user'];
}
$site_db->free_result();
$num_rows_all = (isset($user_cache[$user_id]['total_user'])) ? $user_cache[$user_id]['total_user'] : 0;
and replace it with
$user_cache = array();
$sql = "SELECT user_id
FROM ".GROUP_MATCH_TABLE."
WHERE group_id IN (".$show_group_id.")";
$result = $site_db->query($sql);
while ($row = $site_db->fetch_array($result)) {
$user_cache[$row['user_id']] = $row['user_id'];
}
$site_db->free_result();
$num_rows_all = count($user_cache);
Then search for
$sql = "SELECT *
FROM ".USERS_TABLE."
WHERE user_id <> ".GUEST."
ORDER BY $order_by
LIMIT $offset, $user_per_page";
and replace it with
$sql = "SELECT *
FROM ".USERS_TABLE."
WHERE user_id IN (".implode(',', $user_cache).")
ORDER BY $order_by
LIMIT $offset, $user_per_page";
-
Thank you for the Code.
Unfortunately I get the following error message:
DB Error: Bad SQL Query: SELECT * FROM 4images_users WHERE user_id IN 7,1,8,3 ORDER BY user_name ASC LIMIT 0, 10
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '7,1,8,3 ORDER BY user_name ASC LIMIT 0, 10' a
What do I have to change?
-
Error in last part. I've updated my previous post:
$sql = "SELECT *
FROM ".USERS_TABLE."
WHERE user_id IN (".implode(',', $user_cache).")
ORDER BY $order_by
LIMIT $offset, $user_per_page";
-
Hi Jan
First tests were OK! I thank you very much for the great help. :D
TIMT
-
Jan... it's me again...
I tried to implement the code from V@no for the following features:
Now someone must do this;
Select user like this (#.A. B. C. D. E. F. G. H. I. J. K. L. M. N. O. P. Q. R. S. T. U. V. W. X. Y. Z)
Now I get stuck with point 1.4. and 1.5.
Find:
WHERE user_id <> ".GUEST;
Replace with:
WHERE user_id <> ".GUEST.$condition;
and the same Code for 1.5.
This code has changed because of the "usergroup-features".
What do I have to do for point 1.4. and 1.5.?
-
WHERE user_id IN (".implode(',', $user_cache).")$condition
-
Thanks V@no
There is still a little problem.
Once I have click on a character, I get all users beginning with this character. That is fine. Now I want to see all users again, not only users beginning with a specific character.
But the link "ALL" doesn't work. I can see the text "all", but it is not al link.
In the new code, I found only one
WHERE user_id IN (".implode(',', $user_cache).")$condition
There were two
WHERE user_id <> ".GUEST.")$condition
in the old code to change.
That is may be the reason for the problem... I dont know.
What do I have to do for displaying all users again?
-
Hi V@no
Can you help me? Do you have a solution?
-
1) did it work before?
2) the code I've posted did not include "all" link, so I have no clue what could be wrong.
-
I take the original memberlist.php. Everything is fine.
Then I modify the code for the following feature:
Select user like this (#.A. B. C. D. E. F. G. H. I. J. K. L. M. N. O. P. Q. R. S. T. U. V. W. X. Y. Z)
Still everything is fine.
Now I like to show only users with usergroup "photographer" (ID=1).
So I modify the code regarding the instruction of Jan (Page 12).
The only thing I can not change is the following code:
Then search for
$sql = "SELECT COUNT(*) AS total_user
FROM ".USERS_TABLE."
WHERE user_id <> ".GUEST;
$result = $site_db->query($sql);
while ($row = $site_db->fetch_array($result)) {
$user_cache[$row['user_id']]['total_user'] = $row['total_user'];
}
$site_db->free_result();
$num_rows_all = (isset($user_cache[$user_id]['total_user'])) ? $user_cache[$user_id]['total_user'] : 0;
and replace it with
$user_cache = array();
$sql = "SELECT user_id
FROM ".GROUP_MATCH_TABLE."
WHERE group_id IN (".$show_group_id.")";
$result = $site_db->query($sql);
while ($row = $site_db->fetch_array($result)) {
$user_cache[$row['user_id']] = $row['user_id'];
}
$site_db->free_result();
$num_rows_all = count($user_cache);
The following code has already been changed in your modification.
WHERE user_id <> ".GUEST;
to
WHERE user_id <> ".GUEST.$condition;
The problem is, that I don't habe a link "ALL". I can see the text "ALL", but it is not a link.
It seams, that the two modifications does not work properly together.
-
there is no "all" thingie in either of the modifications U've mentioned! what "all" link are u talking about? Unless u are trying to do something on your own, but then u are the only one knows what u did/didnt do...
-
In the following modification, there is a link "all".
[all] . # . A . B . C . D . E . F . G . H . I . J . K . L . M . N . O . P . Q . R . S . T . U . V . W . X . Y . Z
Once you have click on a character, it must be possible to select all users again.
The text for this link is mentioned on step 3 in your explication.
I see this text, but I can't select all users.
Do you know, what I mean? :?
-
Ok.
1) the modification I've provided would not work, sorry.
2) I just installed the mod on a fresh 4images, added my modification from page 6, added Jan's modification, then fixed a few lines after Jan modification and everything was working. I can not see anything in Jan's or in my "wrong" modification that would affect your "all" link, there is not even remotely close to it.
So, here is what I'd suggest u to do:
1) replace memberlist.php with the fresh one (thats the only file needs to be adjusted)
2) add the code for alphabetic selection
3) add Jan's groups code
4) replace the following:
find: $condition = " AND ".get_user_table_field("", "user_name")." NOT REGEXP(\"^[a-zA-Z]\")";
replace it with: $condition = " AND ".get_user_table_field("u.", "user_name")." NOT REGEXP(\"^[a-zA-Z]\")";
find: $condition = ($ltr) ? " AND ".get_user_table_field("", "user_name")." LIKE '".addslashes($ltr)."%'" : "";
replace it with: $condition = ($ltr) ? " AND ".get_user_table_field("u.", "user_name")." LIKE '".addslashes($ltr)."%'" : "";
find:$user_cache = array();
replace it with:$user_cache = array(0);
find:$sql = "SELECT user_id
FROM ".GROUP_MATCH_TABLE."
WHERE group_id IN (".$show_group_id.")";
replace it with:$sql = "SELECT g.user_id
FROM ".GROUP_MATCH_TABLE." g
LEFT JOIN ".USERS_TABLE." u ON (u.user_id = g.user_id)
WHERE g.group_id IN (".$show_group_id.") ".$condition;
find: FROM ".USERS_TABLE."
WHERE user_id IN (".implode(',', $user_cache).")
ORDER BY $order_by
replace it with: FROM ".USERS_TABLE." u
WHERE u.user_id IN (".implode(',', $user_cache).")$condition
ORDER BY u.$order_by
-
Hi V@no
I did what you said... and it works!
Thank you for this great service. I appreciate that. :D
Now I have an other problem.
When I'm logged in and want to log out, the following Page can't be found:
http://www.photofrontal.ch/memberlist.php&order=ASC&page=2
Message: Not Found - The requested document was not found on this server.
I believe there is a "?mode=" missing in the URL.
With "http://www.photofront.ch/memberlist.php?mode=&order=ASC&page=1"
it works.
PS: I added the user online/offline notice... (from brandkanne, page 9)
Thank you for helping me.
-
will it break it if u replace
$link_arg = $site_sess->url(ROOT_PATH."memberlist.php?mode=$mode&order=$sort_order".(($user_search) ? "&$user_search" : ""));
with:$link_arg = $site_sess->url(ROOT_PATH."memberlist.php");
(?)
-
Great!
Now it works!
Thank you very much.
:D
-
Hallo,
hab zwar nicht viel ahnung von PHP aber ich habs einigermaßen hinbekommen bis auf dieses ERROR im page header:
DB Error: Bad SQL Query: UPDATE 4images_users SET user_t_images = 0 WHERE user_id = 2
Unknown column 'user_t_images' in 'field list'
DB Error: Bad SQL Query: UPDATE 4images_users SET user_t_images = 3 WHERE user_id = 1
Unknown column 'user_t_images' in 'field list'
kann mir jemand helfen? Vielen dank im voraus !
-
Lies Dir nochmal Punkt 2 in der Readme.txt durch.
-
danke! :D
-
Hi everybody
I have seen some memberlists with a search field. So you can enter a username and klick on a button "go". The search result is shown in the memberlist. How can I implement this features?
Thank you for your help
TIMT
-
Hi everybody
In my memberlist I have 3 pages. When I sort the list e.g. "number of pictures" it is ok on the first page.
But when I click on "next page", the sort is not OK anymore. It is sorted after username, which is activ per deafault.
I have implemented the code from Jan, which allows you to show only the members of a specific usergroup.
When I shall post the code, let me know.
Thanks for helping me.
TIMT
SOLVED, was my fault
-
Can anybody tell me, how I can implement this searchfield? I couldn't find a hint in this MOD. V@no mentioned this features in this MOD, but I couldn't find the code. But I have seen this serachfield in memberlists of some of the users in this forum.
-
i've installed some mods , "Select country and gender with gif when register " , "memberlist" .... and how can i show on memberlist for example (after) username , a user gender(image) ??
=> Username (gender image) | date of.... etc etc etc
-
For users who installed this MOD :
http://www.4homepages.de/forum/index.php?topic=9567.new#new
and wish to combine it within their memberlist, follow these steps below.
In memberlist.php file,
find :
$lang['lang_sort_comments'], $lang['lang_sort_pictures']);
replace with :
$lang['lang_sort_comments'], $lang['lang_sort_pictures'], $lang['profile_hits']);
Then, find :
'user_comments', 'user_t_images');
replace with :
'user_comments', 'user_t_images', 'profile_hits');
Then, find :
case 'user_t_images':
$order_by = "user_t_images $sort_order";
break;
add right below :
case 'profile_hits':
$order_by = "profile_hits $sort_order";
break;
Then, find this line :
$userlist .="<tr>\n<td class=\"head2\" align=\"center\">".$lang['user_name']."</td>\n<td class=\"head2\" align=\"center\">".$lang['join_date']."</td>\n<td class=\"head2\" align=\"center\">".$lang['email']."</td>\n<td class=\"head2\" align=\"center\">".$lang['homepage']."</td>\n<td class=\"head2\" align=\"center\">".$lang['lang_total_user_comments']."</td>\n<td class=\"head2\" align=\"center\">".$lang['lang_total_user_images']."</td>\n</tr>\n";
replace with :
$userlist .="<tr>\n<td class=\"head2\" align=\"center\">".$lang['user_name']."</td>\n<td class=\"head2\" align=\"center\">".$lang['join_date']."</td>\n<td class=\"head2\" align=\"center\">".$lang['email']."</td>\n<td class=\"head2\" align=\"center\">".$lang['homepage']."</td>\n<td class=\"head2\" align=\"center\">".$lang['lang_total_user_comments']."</td>\n<td class=\"head2\" align=\"center\">".$lang['lang_total_user_images']."</td>\n<td class=\"head2\" align=\"center\">".$lang['profile_hits']."</td>\n</tr>\n";
Then, find :
while ($user_row = $site_db->fetch_array($result)){
$user_id = "";
$user_name = "";
$user_join_date = "";
$user_email = "";
$user_email_save = "";
$user_mailform_link = "";
$user_email_button = "";
$total_user_images = "";
$total_user_comments = "";
add right below :
$profile_hits = "";
Then, find :
$total_user_comments = $user_row['user_comments'];
add right below :
$profile_hits = ($config['profile_hits_activation'] == 1) ? $user_row['profile_hits'] : $lang['profile_hits_na'];
Then, find :
$userlist .= "<td valign=\"top\" align=\"center\">".$total_user_images_link."</td>";
add right below :
$userlist .= "<td valign=\"top\" align=\"center\">".$profile_hits."</td>\n";
Then, try your memberlist page. That should be all. ;)
-
its possible show flags of countries in memberlist, cuz i've country flags.. [MOD] installed , so if this show on ACP and in Who's Online , maybe this can be possible in memberlist ???????
any ideia ?
-
Ich benutze die morestats und versuche seit 2 tagen die memberlist zu integrieren - mit dem ergebnis, dass die memberlist folgendes zu beginn aussagt:
Gefunden 0 Benutzer auf 0 Seite(n) Angezeigt 0 von 0 Benutzern
Habe alles nach anleitung gemacht!
Sortieren tut er, Mitglieder zeigt er auch an - aber keine 2 Seite!!!! 300 Mitglieder, da sollte doch was zu sehen sein....
Auch das Paging wird nicht angezeigt!
Wer kann helfen????
I am using morestats and try to integrate the memberlist. Following message I get: Found 0 Visitors on 0 Pages View 0 of 0 Users
Sorting is ok but I can´t see a 2. page - I have about 300 members!
What´s the mistake?
Please can you help?!
I have installed this great mod this week, but I have the same problem with an normal 1.7 installation of 4 Image without some board integration!!!!
The memberlist shows so many user as here definied:
//----------------------------
//---- Set user per page -----
//----------------------------
$user_per_page = 10;
and I have over 700 User...
All other works fine!
It is possible there are problems with the [MOD] Universal Paging Class v1.1 from VANO????
I check all my steps really and cannot find an mistake from me....
Have anybody a solution?
---------------------------------------------------------------------------------------------------------------------------------------------
Another question:
It ist possible to integrate the {userpic} from the [MOD] Members pesonal photo from Vano in the memberlist?
Thank you for all solutions... and sorry for my bad english...
Greeting Hein
-
It ist possible to integrate the {userpic} from the [MOD] Members pesonal photo from Vano in the memberlist?
I was sure to read this question today. I'm currently planning to integrate this elsewhere in 4images. I will have to make some tests first. It if works, I will published it.
Note: There will be no recall for this particular MOD.
-
Dear Oracle,
thanks again for your good support, I will wait of your great feature with {userpic} ;-)).
Do you have an idear about my problems with the Memberlist paging? It can´t be an big problem but I can´t find the mistake byself.
Greatings again to you
Hein
-
Sorry. I do not have enough experience with the paging class yet.
-
Sorry. I do not have enough experience with the paging class yet.
Thank you Oracle!
Know some other what my problem can be?
Greeting Hein
-
Hi all,
o.k. after a lot of day´s without help here, now I have found a solution for myself for showing the Member Personal Photo (v1.1.1 MOD by VANO) in the memberlist:
for instance - after this line in memberlist.php:
$user_name = "";
add this:
$userpic = "";
after this:
$user_name = "<a href=\"".$site_sess->url($user_profile_link)."\">".htmlspecialchars($user_row['user_name'])."</a>";
add this:
$userpic = "<a href=\"".$site_sess->url($user_profile_link)."\"><img src=\"".ROOT_PATH."data/userpic/".$user_row['userpic']."\" width=\"60\" height=\"60\" border=\"0\" /></a>";
(The red part you can change or delete, whatever you want)
after this:
$userlist .= "<td valign=\"top\" align=\"center\">".$user_name."</td>\n";
add this:
$userlist .= "<td valign=\"top\" align=\"center\">".$userpic."</td>\n";
With my solution you get an second line in your memberlist.php with an Userpic with 60 pixel hig and wight.
Sorry for my bad english. For me it´s running without errors, but I don´t a PHP crack and some mistakes in my code are possible :wink:
Greetings from germany to all
Hein
-
o.k. after a lot of day´s without help here
Please keep in mind that you aren't the only user who requests assistance.
As for the rest, thanks for posting this as I'm sure this might be useful for others. ;)
-
Dear Oracle,
sorry I don´t mean your great support here. :P
On all 14 sites (i read all sites again and again) by this MOD I read a lot of questions about the UserPic in the memberlist but nobody answer to this.
My mistake with the memberlist paging are gone byself by install the usergroup add from Jan and the helping answer from Vano to TIMT :lol:
Now I hope i can give back a little bit, from all the received help here, for instance from you :lol:
Hein
-
Point taken. 8)
Thanks again for posting these updates. ;)
-
Hi :)
Habe alle 14 seiten gelesen aber nicht gefunden was ich brauche. bei mir funz die mitgliederliste wunderbar, nun möchte ich dass nur die registrierte mitglieder die liste sehen können. auf die readme.txt stand es ja auf der memberlist.php . habe eigentlich nix geändert da ja es so gewollt ist. aber funz leider net. jede kann in die mitgliederliste reinschauen.
muss ich eigentlic doch was ändern?
memberlist.php
//-----------------------------------------------------------
//---- Uncomment to show memberlist only to registered users
//-----------------------------------------------------------
/*
if ($user_info['user_level'] == GUEST || $user_info['user_level'] == USER_AWAITING) {
show_error_page($lang['no_permission']);
exit;
}
*/
vielen dank für die antwort :)
-
hi ungu,
//---- Uncomment to show memberlist only to registered users
... das ist die Antwort ... :wink:
entferne also aus dem Code ... /* ... und ... */ ... und es sollte wie gewünscht funktionieren ... :wink:
mawenzi
-
Danke Mawenzi,
also nochmal für mich zum mitschreiben ;) wenn noch /* ... und ... */ davor und danach ist...dann ist es generell noch nicht funktionsfähig ...richtig? :)
-
/* */ hat in php die selbe Funktion wie <!-- --> in HTML
Damit kommentiert man die Teile aus...
-
Ok :oops: ... danke und ein schönes wochende :)
-
Hi all,
o.k. after a lot of day´s without help here, now I have found a solution for myself for showing the Member Personal Photo (v1.1.1 MOD by VANO) in the memberlist:
for instance - after this line in memberlist.php:
$user_name = "";
add this:
$userpic = "";
after this:
$user_name = "<a href=\"".$site_sess->url($user_profile_link)."\">".htmlspecialchars($user_row['user_name'])."</a>";
add this:
$userpic = "<a href=\"".$site_sess->url($user_profile_link)."\"><img src=\"".ROOT_PATH."data/userpic/".$user_row['userpic']."\" width=\"60\" height=\"60\" border=\"0\" /></a>";
(The red part you can change or delete, whatever you want)
after this:
$userlist .= "<td valign=\"top\" align=\"center\">".$user_name."</td>\n";
add this:
$userlist .= "<td valign=\"top\" align=\"center\">".$userpic."</td>\n";
With my solution you get an second line in your memberlist.php with an Userpic with 60 pixel hig and wight.
Sorry for my bad english. For me it´s running without errors, but I don´t a PHP crack and some mistakes in my code are possible :wink:
Greetings from germany to all
Hein
Hey Hein,
funktioniert schon sehr gut, aber was ist wenn der User kein Userbild hochgeladen hat? Ich habe dafür ein Standardbild "member.jpg". Dies wird aber leider nicht angezeigt. Kannst du mir helfen?
Danke :mrgreen:
-
Hi TOSO,
ich mache das nur für eine bestimmte Usergroup mit den User-Bildern und die sollten alle ein Bild drin haben, deshalb habe ich Alternativen noch nicht ausprobiert. In den Templates würde ich Deine Frage mit
{if userpic}{userpic}{endif userpic}
beantworten aber das funktioniert direkt in der memberlist.php nicht.
Es muß aber irgendwie mit der If-Funktion funktionieren. Leider bin ich auch nicht so bewandert mit PHP und probiere eher immer viel rum.
Ich habe eben schon ein paar Sachen ausprobiert, hatte aber bisher noch kein Erfolg. Ich mache heute abend weiter und versuche Dir eine Lösung zu posten, wenn ich es hinbekomme und kein anderer schneller ist ;-)) Ich muß jetzt leider ersteinmal zum Zug.
Also bis später
Hein
-
Hi Tosco,
ich probiere seit Stunden rum und bekomme es leider nicht hin.
Vielleicht hat Oracle eine Lösung???
Ansonsten kann ich Dir fürs erste nur raten bei allen Usern ohne Userpic im ACP bei User ändern Dein ""member.jpg" einzutragen...
Sorry und ich hoffe Dir hilft jemand anderes...
Hein
-
Hi,
Try the following (untested)...
Open memberlist.php and search for
$user_per_page = 10;
...
...
and replace it with
$sql = "SELECT *
FROM ".USERS_TABLE."
WHERE user_id IN (".implode(',', $user_cache).")
ORDER BY $order_by
LIMIT $offset, $user_per_page";
This worked perfect but what if i want only one usergroup (this with the robots-users) not to show in the memberslist.
How can i change the code that only 4example group 8 does not appear?
greets
honschi
-
Hi Hein,
danke für deine Mühe.
Bei jedem "member.jpg" einzutragen, hab ich mir auch schon überlegt. Doch leider wird die Datei gelöscht, wenn jemand ein eigenes Bild hochlädt. Dann fehlt jedem die Datei. :cry:
Was ist denn hier mit:
$userpic = "<a href=\"".$site_sess->url($user_profile_link)."\"><img src=\"".ROOT_PATH."data/userpic/".((empty($row['userpic'])) ? "member.jpg" :$user_row['userpic']."\" width=\"60\" height=\"60\" border=\"0\" /></a>";
Funktioniert aber auch irgendwie nicht...
Gruß Toso
-
Hi Toso,
ja hast recht,hab nicht dran gedacht, dass das Userpic dann gelöscht wird. So bliebe alternativ zur Script-Lösung nur noch, dass Du für jeden User das gleiche Bild "member.php" so: user_id.jpg (z.B. 1.jpg, 2.jpg) usw. hochlädst. Dann müßte man aber auch bei jedem User im Admin-Controll-Panel den Dateinamen eintragen (oder per PHPMyAdmin direkt in die Tabelle schreiben). Das ist zwar ganz schön müßig aber ich habs bei meinen Usern auch so manuell gemacht, nur dass ich dann die echten Fotos jeweils hochgeladen habe.
Deine Zeile habe ich auch probiert. Habs leider so auch nicht zum laufen gebracht. Mein letzter Versuch sieht so aus:
$userpic = "<a href=\"".$site_sess->url($user_profile_link)."\"><img src=\"".ROOT_PATH."data/userpic/".(empty($user_row['userpic'])) ? "member.jpg" : $user_row['userpic']."\" width=\"60\" height=\"60\" border=\"0\" /></a>";
funktioniert aber auch nicht. Es wird dann aber in die Tabelle wenigstens member.jpg geschrieben. Da scheint mit der Adressierung noch irgendwas nicht zu stimmen. Außerdem werden anscheinend die vorhandenen UserPic´s auch ausser Kraft gesetzt ;-( Ich bin wohl mit meinem Latein am Ende...
Vielleicht hilft Dir das ja ein bischen... oder
Maybe can The Oracle help???
Toso need a little bit help... Did you know a way to show by User witout Userpic a pic, for instance member.jpg ?
Greetings und Gruß
Hein
-
Hi,
Try the following (untested)...
Open memberlist.php and search for
$user_per_page = 10;
...
...
and replace it with
$sql = "SELECT *
FROM ".USERS_TABLE."
WHERE user_id IN (".implode(',', $user_cache).")
ORDER BY $order_by
LIMIT $offset, $user_per_page";
This worked perfect but what if i want only one usergroup (this with the robots-users) not to show in the memberslist.
How can i change the code that only 4example group 8 does not appear?
greets
honschi
Dear Honshi,
search the instruction for this usergroup ad on from Jan. I think you must only use NOTIN not the WHERE user_id IN code, the other code must be the same.
I hope this will help.
Greetings from germany and sorry for my bad english
Hein
-
Maybe can The Oracle help???
Toso need a little bit help... Did you know a way to show by User witout Userpic a pic, for instance member.jpg ?
Greetings und Gruß
Hein
I think Oracle is guest now... :cry:
-
8O Yes you are right, but i don´t realyze this fact before today morning :cry:
In last weeks he was the none one people who answers and help to me with my problems and I have a lot of it :P! Today morning i make a voting to his poll here:
http://www.4homepages.de/forum/index.php?topic=9723.0
For your needing solution with the member.jpg (oracle helps me :lol:) now exist two solutions.
The first show your member.jpg or the Userpic:
$userpic = (empty($user_row['userpic'])) ? "<a
href=\"".$site_sess->url($user_profile_link)."\"><img
src=\"".get_gallery_image(ROOT_PATH."data/userpic/member.jpg")."\"
width=\"60\" height=\"60\" border=\"0\" /></a>" : "<img
src=\"".ROOT_PATH."data/userpic/".$user_row['userpic']."\" width=\"".$width."60\" height=\"60".$height."\" border=\"0\" />";
or show a text "no image" or the userpic:
$userpic = (empty($user_row['userpic'])) ? "no image" : "<a
href=\"".$site_sess->url($user_profile_link)."\"><img
src=\"".ROOT_PATH."data/userpic/".$user_row['userpic']."\" width=\"".$width."60\" height=\"60".$height."\" border=\"0\" /></a>";
i hope this will help you!!!
-
Wonderful! That it!!!!!!! :mrgreen: :mrgreen:
Thanks a lot...
-
The thanks go to TheOracle :lol: not to me! :P
-
...search the instruction for this usergroup ad on from Jan. I think you must only use NOTIN not the WHERE user_id IN code, the other code must be the same.
I hope this will help...
Thanks i've found another solution.
Greetings from germany and sorry for my bad english
Greetings zurück aus Bremen :mrgreen:
lg
honschi
-
Hallo Honschi,
dann hätten wir ja gleich auf deutsch schreiben können, was mir viel leichter gefallen wäre :P Freut mich, dass Dir noch eine Löung eingefallen ist.
Gruß zurück nach Bremen
Hein
-
hello,
where can i edit the colums in the userlist ? ( remove some, make some new )
can't find it.... :?
-
i have 2 little problem :
1 - how can we make the list friendly list in google
instead of : /memberlist.php?mode=&order=DESC&page=4
have something like : memberlist/4/...
2 - my member list show strange caracters for user name something like :
#1602;#1605;#1585; #1575;#1604;#1593;#1585;#1576;
an & be4 each # ..
how can i fix this issue ?
-
with the download limit V1 mod you can see how much a user has downloaded ( not in a list )
in the memberlist mod you can see how much a user has uploaded ( in a list )
Could it be possible to combine both ?
So u could see the number of downloads of each member in the memberlist.
thx
-
i have 2 little problem :
1 - how can we make the list friendly list in google
instead of : /memberlist.php?mode=&order=DESC&page=4
have something like : memberlist/4/...
2 - my member list show strange caracters for user name something like :
#1602;#1605;#1585; #1575;#1604;#1593;#1585;#1576;
an & be4 each # ..
how can i fix this issue ?
-
Hi
How can I integrate a search field in the memberliste? It should be possible to enter a username. As searchresult should only be shown the specific users in the memberlist.
-
If tou have installed this [Mod] Letze aktive User / Last active users (http://www.4homepages.de/forum/index.php?topic=5911.0) you can change this:
in memberlist.php find this:
$userlist .="<tr>\n<td class=\"head2\" align=\"center\">".$lang['user_name']."</td>\n<td class=\"head2\" align=\"center\">".$lang['join_date']."</td>\n<td class=\"head2\" align=\"center\">".$lang['email']."</td>\n<td class=\"head2\" align=\"center\">".$lang['homepage']."</td>\n<td class=\"head2\" align=\"center\">".$lang['lang_total_user_comments']."</td>\n<td class=\"head2\" align=\"center\">".$lang['lang_total_user_images']."</td>\n<td class=\"head2\" align=\"center\">".$lang['profile_hits']."</td>\n</tr>\n";
replace:
$userlist .="<tr>\n<td class=\"head2\" align=\"center\">".$lang['user_name']."</td>\n<td class=\"head2\" align=\"center\">".$lang['join_date']."</td>\n<td class=\"head2\" align=\"center\">".$lang['user_lastaction']."</td>\n<td class=\"head2\" align=\"center\">".$lang['email']."</td>\n<td class=\"head2\" align=\"center\">".$lang['homepage']."</td>\n<td class=\"head2\" align=\"center\">".$lang['lang_total_user_comments']."</td>\n<td class=\"head2\" align=\"center\">".$lang['lang_total_user_images']."</td>\n<td class=\"head2\" align=\"center\">".$lang['profile_hits']."</td>\n</tr>\n";
find:
$user_join_date = "";
add after:
$user_user_lastaction = "";
find:
$user_join_date = (isset($user_row['user_joindate'])) ? format_date($config['date_format'], $user_row['user_joindate']) : REPLACE_EMPTY;
add after:
$user_lastaction = (isset($user_row['user_lastaction'])) ? format_date($config['date_format'], $user_row['user_lastaction']) : REPLACE_EMPTY;
find:
$userlist .= "<td valign=\"top\" align=\"center\">".$user_join_date."</td>\n";
add after:
$userlist .= "<td valign=\"top\" align=\"center\">".$user_lastaction."</td>\n";
in lang/main.php find:
$lang['lang_sort_joindate'] = "Joined Date";
add after:
$lang['user_lastaction'] = "Last active";
don't know if this code is correct, but for me it works.
-
I have a problem here ..
I'm prowsing the internet using a proxy filter and the page that contains the zip file of the MOD is BLOCKED
so can you give me an other link to download the MOD please
thanks
-
Does this MOD also work for 1.7.1 :?:
-
@Flo
Bei mir läuft sie nter 1.7.1...
-
Alles klar, danke für die schnelle Antwort!
Edit: Ja, läuft auch bei mir unter 1.7.1 :P I´t runs also for 1.7.1
Is it possible to add an Icon like email also for pm :?:
-
Hi there,
is there a way to have a delete and a edit link to the User in the memberlist??? Now to see for admins....
This where great...
-
Hallo Jens,
habe deine Idee aufgegriffen und sie in meiner Mitgliederliste wie folgt umgesetzt :
Edit- and Delete-Links in Memberlist only for Admins
1.Schritt
finde in memberlist.php (oder ähnlich bei Modifizierung ...) :
$userlist .="\n<td class=\"head2\" valign=\"top\" align=\"center\"><small>".$lang['user_name'</small></td>";
füge danach folgendes ein :
// --- User edit and delete ---
$userlist .=($user_info['user_level'] != ADMIN) ? "" : "\n<td width=\"10%\" class=\"head2\" valign=\"top\" align=\"center\"><small>".$lang['user_edit']."</small></td>";
$userlist .=($user_info['user_level'] != ADMIN) ? "" : "\n<td width=\"10%\" class=\"head2\" valign=\"top\" align=\"center\"><small>".$lang['user_delete']."</small></td>";
// --- User edit and delete ---
2.Schritt
finde in memberlist.php (oder ähnlich bei Modifizierung ...) :
if ($count == 0) {
$row_bg_number = ($bgcounter++ % 2 == 0) ? 1 : 2;
$userlist .= "<tr class=\"imagerow".$row_bg_number."\">\n";
füge davor folgendes ein :
// --- User edit and delete ---
$url_edit_user = $site_sess->url(ROOT_PATH."admin/users.php?action=edituser&user_id=".$user_row['user_id']."");
$url_remove_user = $site_sess->url(ROOT_PATH."admin/users.php?action=removeuser&user_id=".$user_row['user_id']."");
// --- User edit and delete ---
3.Schritt
finde in memberlist.php (oder ähnlich bei Modifizierung ...) :
$userlist .= "\n<td valign=\"top\" align=\"center\">".$user_name."</td>\n";
füge dahinter folgendes ein :
// --- User edit and delete ---
$userlist .=($user_info['user_level'] != ADMIN) ? "" : "\n<td valign=\"top\" align=\"center\"><a href=\"".$url_edit_user."\" target=\"_blank\">".$lang['user_edit_link']."</a></td>\n";
$userlist .=($user_info['user_level'] != ADMIN) ? "" : "\n<td valign=\"top\" align=\"center\"><a href=\"".$url_remove_user."\" target=\"_blank\">".$lang['user_delete_link']."</a></td>\n";
// --- User edit and delete ---
alternativ : Um Platz in der Tabell zu sparen kann der jeweilige Link auch mit einer Grafik hinterlegt werden.
Dann ist der folgende Code alternativ zu verwenden ...
// --- User edit and delete ---
$userlist .=($user_info['user_level'] != ADMIN) ? "" : "\n<td valign=\"top\" align=\"center\"><a href=\"".$url_edit_user."\" target=\"_blank\"><img src=\"".get_gallery_image("edit.png")."\" border=\"0\" alt=\"".$lang['user_edit_link']."\"></a></td>\n";
$userlist .=($user_info['user_level'] != ADMIN) ? "" : "\n<td valign=\"top\" align=\"center\"><a href=\"".$url_remove_user."\" target=\"_blank\"><img src=\"".get_gallery_image("delete.png")."\" border=\"0\" alt=\"".$lang['user_delete_link']."\"></a></td>\n";
// --- User edit and delete ---
... und die folgenden Grafiken sind dann im Ordner /templates/<your_template>/images zu speichern ...
(http://img27.imageshack.us/img27/7088/edit1ct.png) ... als edit.png
(http://img27.imageshack.us/img27/6391/delete1zc.png) ... als delete.png
4.Schritt
finde in /lang/<your_lang>/main.php unter " --- Admin Links --- " (oder ähnlich bei Modifizierung ...) :
$lang['delete'] = "[Löschen]";
füge dahinter folgendes ein :
$lang['user_edit'] = "User<br>bearbeiten";
$lang['user_delete'] = "User<br>löschen";
$lang['user_edit_link'] = "edit";
$lang['user_delete_link'] = "delete";
Der Bearbeiten-Link und der Löschen-Link (incl. der jeweiligen Spalte) wird jetzt jeweils hinter der Spalte Name für jedes in der Liste aufgeführte Mitglied, natürlich nur für eingeloggte Administratoren, angezeigt. Die Links öffnen die entsprechende Mitglieder-Seite aus dem APC in einem neuen Fenster, das nach dem Bearbeiten wieder geschlossen werden kann.
Ich hoffe das ist nun die Lösung für deine inaktiven User ... :wink:
mawenzi
-
Ich hoffe das ist nun die Lösung für deine inaktiven User ...
Genau das ist es :) Ich bedanke mich...
-
Edit- and Delete-Links in Memberlist only for Admins
habe den o.g. Beitrag um die Alternative von Grafik-Links erweitert, um in der Mitgliederliste Platz zu sparen ... :wink:
mawenzi
-
loool... kennt sich hier noch einer aus? ;)
-
loool... kennt sich hier noch einer aus? ;)
... wenn man alles aus den mittlerweile 16 Seiten (und denen die mit dem Hack verlorengegangen sind [Mod: Track User action, Search-Field] ... ?) zusammenkramt, dann bekommt man eine ziemlich umfangreiche und aussagekräftige Mitgliederliste ... man könnte daraus zumindest eine Version 2.0 posten ... ich glaube es ist dein MOD ... :mrgreen:
mawenzi
-
Is it possible to add an Icon like email also for pm :?:
... noch an einer Lösung interessiert ?
-
Hi,
it must be in this Thread or in the PM Thread. I have this :)
(http://www.terraristik-galerie.de/templates/4grey2/images/pm.gif)
-
Ive just tried to figure this out myself but I cant get it to work.
I would like to have the option to Sort By Downloads.
Ive tried 'dn_images' and 'user_dl_image_ids' and some other fields found in teh db but for some reason it isnt working. anyone know how to get this to work?
-
If you are refering to Chris's mod that stores what images a member has downloaded - then its not possible sort by number of downloads, simply because of the method the information is being stored.
-
... I would like to have the option to Sort By Downloads. ...
here we go ...
Extended-Assortment-Options for Memberlist
( my insignificant solution for my memberlist ... )
The Extended-Assortment-Options presupposes the following fields in table '4images_users' and of course in your memberlist :
- user_t_images ... (users total images)
- user_h_images ... (users hit images)
- user_p_images ... (users postcard images)
- user_dn_images ... (users downloaded images)
- user_dz_images ... (users zip-downloaded images)
- user_v_images ... (users voted images)
1. Step
in memberlist.php find (or similarly by modification) :
$mode_types_text = array($lang['lang_sort_username'], ... );
$mode_types = array('user_name', ... );
replace with :
$mode_types_text = array($lang['lang_sort_username'], $lang['lang_sort_joindate'],$lang['lang_sort_user_lastaction'], $lang['lang_sort_useremail'], $lang['lang_sort_comments'], $lang['lang_sort_user_t_images'], $lang['lang_sort_user_h_images'], $lang['lang_sort_user_p_images'], $lang['lang_sort_user_dn_images'], $lang['lang_sort_user_dz_images'], $lang['lang_sort_user_v_images']);
$mode_types = array('user_name', 'user_joindate', 'user_lastaction','user_email','user_comments', 'user_t_images', 'user_h_images', 'user_p_images', 'user_dn_images', 'user_dz_images', 'user_v_images' );
2. Step
in memberlist.php find (or similarly by modification) :
case 'user_comments':
$order_by = "user_comments $sort_order";
break;
add after :
//--- Extended Assortment Options -----------------
case 'user_t_images':
$order_by = "user_t_images $sort_order";
break;
case 'user_h_images':
$order_by = "user_h_images $sort_order";
break;
case 'user_p_images':
$order_by = "user_p_images $sort_order";
break;
case 'user_dn_images':
$order_by = "user_dn_images $sort_order";
break;
case 'user_dz_images':
$order_by = "user_dz_images $sort_order";
break;
case 'user_v_images':
$order_by = "user_v_images $sort_order";
break;
//--- Extended Assortment Options -----------------
3. Step
in lang/<your_lang>/main.php find (or similarly by modification) * :
$lang['lang_userlist_title'] = "Die Mitgliederliste";
add after * :
//--- Extended Assortment Options -----------------
$lang['lang_sort_user_t_images'] = "Bilder veröffentlicht";
$lang['lang_sort_user_h_images'] = "Bilder gesehen";
$lang['lang_sort_user_p_images'] = "eCards gesendet";
$lang['lang_sort_user_dn_images'] = "Bilder Download";
$lang['lang_sort_user_dz_images'] = "Bilder Zip-Download";
$lang['lang_sort_user_v_images'] = "Bilder abgestimmt";
//--- Extended Assortment Options -----------------
* of course in your language .
- in my memberlist the Extended-Assortment-Options works prefekt in this way ... :wink:
- if only some options should are desired, then is to be proceeded similarly.
mawenzi
-
Works!
Thanks mawenzi
-
Works!
... nice to know ... :D
-
Hi,
ich habe ein kleines Problem mit den user_t_images. Die gibt es bei mir irgendwie nicht. Hatte das Problem bei irgendeiner Sache schonmal aber ich weiß nicht bei welcher :(
Bekomme beim sortieren nach Bilder Uploads immer den Fehler
DB Error: Bad SQL Query: SELECT * FROM bildergalerie_users WHERE user_id <> -1 ORDER BY user_t_images DESC LIMIT 0, 50
Unknown column 'user_t_images' in 'order clause'
Bei mir heißt das ganze total_user_images aber wenn ich das einsetze kommt auch der Fehler :(
Habe da nochmal ne andere Frage. Gibt es die Möglichkeit bestimmte User aus der Mitgliederliste nicht anzuzeigen??? Habe diesen Search Bot Mod drin und mein google und search bot stehen immer an erster Stelle :) Die möchte ich gar nicht anzeigen in der Liste.
-
... Hatte das Problem bei irgendeiner Sache schonmal aber ich weiß nicht bei welcher ...
... na hier ... http://www.4homepages.de/forum/index.php?topic=10097.msg50201#msg50201
... Bekomme beim sortieren nach Bilder Uploads immer den Fehler ...
dazu siehe oben :
... presupposes the following fields in table '4images_users' ...
... if only some options should are desired, then is to be proceeded similarly ...
Dir fehlt das Feld 'user_t_images' und nach dem Bild-Upload soll dieses Feld ja wieder aktualisiert (Update) werden. Daher die Probleme ... . Es sieht danach aus, als ob du einen MOD mal nicht komplett installiert hast. Leg das Feld doch einfach an ... analog deinem total_user_images - Feld.
... Gibt es die Möglichkeit bestimmte User aus der Mitgliederliste nicht anzuzeigen ...
... willst du deine aktivsten Mitglieder ignorieren ... :mrgreen: ... ?
... aber das kannst du wie folgt erledigen. In der memberlist.php in jedem SQL-Befehl ...
...
FROM ".USERS_TABLE."
WHERE user_id <> ".GUEST.$condition."
...
die ungewünschten User (deine Bots) wie folgt auflisten ...
...
FROM ".USERS_TABLE."
WHERE user_id <> ".GUEST.$condition." AND user_id NOT IN (100,200,300)
...
wobei die Nummern die User-Ids deiner ungewünschten User (deine Bots) sind ...
mawenzi
-
Hi,
ja bei der Sache hatte ich auch das Problem aber es gab schonmal was wo ich damit Sorgen hatte. Ist schon ewig her. War ziemlich zum Anfang wo ich 4 images installiert hatte (im Jahr 2002). Damals konnte man das ändern bzw. das total_user_images nutzen. Ich weiß aber nicht mehr genau wo das war und das anlegen einer user_t_images hatte da nichts gebracht weil diese nicht gefüllt wurde.
Naja, ist auch egal. Habe diese Sortierungmethode bei mir rausgenommen.
Die Sache mit dem ausschließen bestimmter User (bots) klappt wunderbar. Danke dafür!!!
-
I Have this Problem :(
Undefined index: user_id in www\fulltest\memberlist.php on line 145
Undefined variable: user_id in www\fulltest\memberlist.php on line 149
Undefined variable: user_id in www\fulltest\memberlist.php on line 149
Undefined variable: bgcounter in www\fulltest\memberlist.php on line 228
Can Anyone Help Me? :cry:
-
kleines problem,
zu anfang hat die memberlist super funktioniert doch seit kurzem steht nur noch da
Gefunden: 0 Benutzer auf 0 Seite(n). Angezeigt: Benutzer 0 bis 0.
und das paging fehlt.
die user werden aber aufgelistet. hat jemand ne ahnung woran das liegen könnte hab nämlich nichts mehr verändert, kam einfach so...
-
Hallo,
nette Geschichte, doch unter 1.7.1 heißen die einzelnen Felder "hits, vote etc. anders in der DB"
Es reicht doch wenn ich die user_joindate usw. in der memberlist.php dem entsprechend umbenenne oder?
Grüße Darkness :mrgreen:
-
kleines problem,
zu anfang hat die memberlist super funktioniert doch seit kurzem steht nur noch da
Gefunden: 0 Benutzer auf 0 Seite(n). Angezeigt: Benutzer 0 bis 0.
und das paging fehlt.
die user werden aber aufgelistet. hat jemand ne ahnung woran das liegen könnte hab nämlich nichts mehr verändert, kam einfach so...
Also, das muss an der folgende Zeile liegen
$num_rows_all = (isset($user_cache[$user_id]['total_user'])) ? $user_cache[$user_id]['total_user'] : 0;
Egal durch was ich die 0 austausche das wird angezeigt. gibts da nicht einen code damit statt der 0 die userzahl angezeigt wird?
-
PM in the Memberlist...
Hi,
it must be in this Thread or in the PM Thread. I have this :)
(http://www.terraristik-galerie.de/templates/4grey2/images/pm.gif)
Hi @all
I need help, I can't find it :?:
Greets
-
PM in the Memberlist...
Findest du leider nicht mehr hier ... aber ... folgt demnächst ... !
mawenzi
-
:D Ok, dann wartet schon jemand :P
-
Hi all,
o.k. after a lot of day´s without help here, now I have found a solution for myself for showing the Member Personal Photo (v1.1.1 MOD by VANO) in the memberlist:
for instance - after this line in memberlist.php:
$user_name = "";
add this:
$userpic = "";
after this:
$user_name = "<a href=\"".$site_sess->url($user_profile_link)."\">".htmlspecialchars($user_row['user_name'])."</a>";
add this:
$userpic = "<a href=\"".$site_sess->url($user_profile_link)."\"><img src=\"".ROOT_PATH."data/userpic/".$user_row['userpic']."\" width=\"60\" height=\"60\" border=\"0\" /></a>";
(The red part you can change or delete, whatever you want)
after this:
$userlist .= "<td valign=\"top\" align=\"center\">".$user_name."</td>\n";
add this:
$userlist .= "<td valign=\"top\" align=\"center\">".$userpic."</td>\n";
With my solution you get an second line in your memberlist.php with an Userpic with 60 pixel hig and wight.
Sorry for my bad english. For me it´s running without errors, but I don´t a PHP crack and some mistakes in my code are possible :wink:
Greetings from germany to all
Hein
i've tried and this really work (show the pic) but this change all order and show info in wrong place !!
the homepage column (show e-mails) in e-mail show (homepages), in comments show (nº of pic's) 8O
-
image:
-
Hi mawenzi
May be you can help me...
I have seen a memberlist with a search field. So you can enter a username and click on a button "go". The search result is shown in the memberlist. As searchresult should only be shown the specific users in the memberlist. How can I implement this features?
Thank you for your help
TIMT
-
:D Ok, dann wartet schon jemand :P
dann wollen wir das mal schnell nachholen ... :wink:
PM-Button in Memberlist ...
Diese Erweiterung der Mitgliederliste setzt natürlich den genialen MOD Private Messaging V.2.0 (http://www.4homepages.de/forum/index.php?topic=6692.0) von V@no auf deiner 4images Website voraus !
1.Schritt
finde in memberlist.php (oder ähnlich bei Modifizierung ...) :
$userlist .="\n<td width=\"7%\" class=\"head2\" valign=\"top\" align=\"center\"><small> ".$lang['email']." </small></td>";
füge danach folgendes ein :
$userlist .="\n<td width=\"7%\" class=\"head2\" valign=\"top\" align=\"center\"><small> ".$lang['user_pm']." </small></td>";
2.Schritt
finde in memberlist.php (oder ähnlich bei Modifizierung ...) :
if ($count == 0) {
$row_bg_number = ($bgcounter++ % 2 == 0) ? 1 : 2;
$userlist .= "<tr class=\"imagerow".$row_bg_number."\">\n";
füge davor folgendes ein :
$url_pm_user = $site_sess->url(ROOT_PATH."pm.php?action=new&user_id=".$user_row['user_id']."");
$user_pm_button = "<a href=\"".$url_pm_user."\"><img src=\"".get_gallery_image("pm.gif")."\" border=\"0\" alt=\"".$lang['pm_to_user']."\"></a>";
3.Schritt
finde in memberlist.php (oder ähnlich bei Modifizierung ...) :
$userlist .= "<td valign=\"top\" align=\"center\">".$user_email_button."</td>\n";
füge dahinter folgendes ein :
$userlist .= "<td valign=\"top\" align=\"center\">".$user_pm_button."</td>\n";
4.Schritt
finde in /lang/<your_lang>/main.php unter " --- Memberlist --- " (oder ähnlich bei Modifizierung ...) :
$lang['lang_userlist_title'] = "Die Mitgliederliste";
füge dahinter folgendes ein :
$lang['user_pm'] = "Nachricht:";
$lang['pm_to_user'] = "Private Nachricht an User schreiben";
5.Schritt
die folgende Grafik (oder eine Grafik deiner Wahl) ist im Ordner /templates/<your_template>/images als pm.gif zu speichern ...
(http://www.terraristik-galerie.de/templates/4grey2/images/pm.gif)
Hinweis :
ggf. ist die Tabellen-Spalten-Breite noch etwas für das Template anzupassen.
Das sollte dann hier ... td width=\"7%\" ... erfolgen .
So, das wars ...
mawenzi
-
hallo, mawenzi!
danke für die erweiterung..
leider funktioniert bei mir der link zur pm nicht
$user_pm_button = "<a href=\"".$url_pm_user."\"><img src=\"".get_gallery_image("pm.gif")."\" border=\"0\" alt=\"".$lang['pm_to_user']."\"></a>";
bei mir wird http://www.deinedomain/4images/
angezeigt.
-
... Danke für den Report ... mir ist beim Rausfischen aus meiner Liste etwas Code verloren gegangen ...
... habe im 2.Schritt den Code aktualisiert !
mawenzi
-
danke!
nun geht es!
-
... Danke für den Report ... mir ist beim Rausfischen aus meiner Liste etwas Code verloren gegangen ...
... habe im 2.Schritt den Code aktualisiert !
mawenzi
Hi mawenzi
Hat alles prima geklappt! Vielen Dank für die Arbeit, dachte nicht, dass das so schnell geht :D
Cheers
-
i've tried and this really work (show the pic) but this change all order and show info in wrong place !!
1. proceed with inserting of userpic in the tables lines similar as with PM-Button (to see above)
2. consider the last $userlist ...
$userlist .="\n</tr>\n";
mawenzi
-
Hallo,
mir ist grad aufgefallen, dass meine "sort" funktion nicht korrekt funktioniert.
Das Alphabet wird zwar angezeigt aber es wird nicht nach abc geordnet.
Tipp woran das liegen könnte ?
http://www.galerie.huebner-2.de/memberlist.php?ltr=N
Grüße Darkness :mrgreen:
-
It would seems there's a better modulation for the following line in memberlist.php file :
$user_profile_link = (!empty($url_show_profile)) ? preg_replace("/{user_id}/", $user_row['user_id'], $url_show_profile) : ROOT_PATH."member.php?action=showprofile&".URL_USER_ID."=".$user_row['user_id'];
simply replace it with :
$user_profile_link = (!empty($url_show_profile)) ? str_replace("{user_id}", $user_row['user_id'], $url_show_profile) : $site_sess->url(ROOT_PATH."member.php?action=showprofile&".URL_USER_ID."=".$user_row['user_id']);
Merry Christmas. ;)
-
Hi Oracle
Good to have you back!
May be you can give me a hint. I have seen a memberlist with a search field. So you can enter a username and click on a button "go". The search result is shown in the memberlist. As searchresult should only be shown the specific users in the memberlist. How can I implement this features?
Merry Christmass...
-
I remember seeing this request as successful in the old forum. It hasn't been re-published on this topic since ?
-
Hi mawenzi
...
I have seen a memberlist with a search field. So you can enter a username and click on a button "go".
...
... sorry TIMT for waiting ... :oops: ... but today is christmas ... :wink:
... from the old forum ... and tanks to JensF for this ... !
Member Search Field in Memberlist
find in memberlist.php the following :
$sql = "SELECT COUNT(*) AS total_user
FROM ".USERS_TABLE."
WHERE user_id <> ".GUEST.$condition."";
and add above the following code :
//--------------------------------
//------ User Search -------------
//--------------------------------
$filter = "";
if ((isset($HTTP_GET_VARS['search']) && $HTTP_GET_VARS['search']) || (isset($HTTP_POST_VARS['search']) && $HTTP_POST_VARS['search']))
{
$filter = $site_sess->get_session_var("memberlistfilter");
}
else
{
$site_sess->drop_session_var("memberlistfilter");
}
if (isset($HTTP_GET_VARS['filter']) || isset($HTTP_POST_VARS['filter']))
{
$filter = (isset($HTTP_POST_VARS['filter'])) ? $HTTP_POST_VARS['filter'] : $HTTP_GET_VARS['filter'];
}
if ($filter)
{
$filter_db = str_replace("*", "%", str_replace("**", "*", $filter));
if ($filter_db && $filter_db != "%")
{
$condition = " AND ".get_user_table_field("", "user_name")." LIKE '".addslashes($filter_db)."'";
$ltr = "";
$user_search = "search=1";
$site_sess->set_session_var("memberlistfilter", $filter);
}
}
$site_template->register_vars(array(
"filter" => $filter,
"filter_url" => $site_sess->url(ROOT_PATH."memberlist.php"),
"lang_filter" => $lang['search']
));
//--------------------------------
//------ End User Search ---------
//--------------------------------
and add in memberlist.html where you want ... this :
<form method="post" action="{filter_url}">
<input name="filter" value="{filter}" class="searchinput"> <input type="submit" name="submit" value="{lang_go}" class="button" />
</form>
mawenzi
-
Ah ! here we go. Thanks for posting this. ;)
-
Hallo,
ich habe einwenig gebastelt und da kam das bei raus für die Memberliste.
Userstatus in der memberlist.php
----------------------------------------------------------------------------------------------
I have in little tinkered and there came with raus for the Memberliste. User status in memberlist.php
----------------------------------------------------------------------------------------------
(http://www.huebner-2.de/aa-me.jpg)
open memberlist.php
finde / find:
user_name = "";
danach einfügen / insert afterwards:
$user_status = "";
find:
$user_joindate = (isset($user_row['user_joindate'])) ? ....
danach einfügen / insert afterwards::
$user_status = ($user_row['user_lastaction'] >= (time() - 300) && ((isset($user_row['user_invisible']) && $user_row['user_invisible'] == 0) || $user_info['user_level'] == ADMIN)) ? " <img src=\"".get_gallery_image("user_online.gif")."\" border=\"0\" alt=\"online\" />" : "<img src=\"".get_gallery_image("user_offline.gif")."\" border=\"0\" alt=\"Offline\" />";
find:
$userlist .= "<td valign=\"top\" align=\"center\">".$user_name."</td>\n";
danach einfügen / insert afterwards::
$userlist .= "<td valign=\"top\" align=\"center\">".$user_status."</td>\n";
Meine Liste habe ich dann unter / I have my list then under:
$result = $site_db->query($sql);
$userlist .="\n<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">\n<tr>\n<td class=\"row2\">\n";
$userlist .="<table width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"1\">
<td class=\"kbalken\" colspan=\"9\" width=\"100%\"height=\"1\"></td></tr>\n";
$userlist .="<tr>\n<td class=\"kbalken\" align=\"center\">".$lang['user_name']."</td>\n<td class=\"kbalken\" align=\"center\">Status:</td>\n<td class=\"kbalken\" align=\"center\">".$lang['join_date']."</td>\n<td class=\"kbalken\" align=\"center\">".$lang['email']."</td>\n<td class=\"kbalken\" align=\"center\">".$lang['homepage']."</td>\n<td class=\"kbalken\" align=\"center\">Kommentare:</td>\n<td class=\"kbalken\" align=\"center\">".$lang['lang_total_user_images']."</td>\n";
// --- User edit and delete ---
$userlist .=($user_info['user_level'] != ADMIN) ? "" : "\n<td width=\"10%\" class=\"kbalken\" valign=\"top\" align=\"center\"><small>".$lang['user_edit']."</small></td>";
$userlist .=($user_info['user_level'] != ADMIN) ? "" : "\n<td width=\"10%\" class=\"kbalken\" valign=\"top\" align=\"center\"><small>".$lang['user_delete']."</small></td></tr>
<tr>
<td class=\"kbalken\" colspan=\"9\" width=\"100%\"height=\"1\"></td></tr>\n";
und die Tabelle / and the table::
if ($count == 0) {
$row_bg_number = ($bgcounter++ % 2 == 0) ? 1 : 2;
$userlist .= "<tr class=\"row2".$row_bg_number."\">\n";
sieht so aus / looks in such a way:
$userlist .= "<td valign=\"top\" align=\"center\">".$user_name."</td>\n";
$userlist .= "<td valign=\"top\" align=\"center\">".$user_status."</td>\n";
$userlist .= "<td valign=\"top\" align=\"center\">".$user_joindate."</td>\n";
$userlist .= "<td valign=\"top\" align=\"center\">".$user_email_button."</td>\n";
$userlist .= "<td valign=\"top\" align=\"center\">".$user_homepage_button."</td>";
$userlist .= "<td valign=\"top\" align=\"center\">".$user_com."</td>";
$userlist .= "<td valign=\"top\" align=\"center\">".$total_user_images."</td>";
thats all :mrgreen:
Greez Darkness
-
@ Darkness2001,
danke für deine Erweiterung der Memberlist, doch wenn du "Code" postest, dann solltest du dafür auch die entsprechende BB-Formatierung verwenden, so dass er auch sofort als solcher in deinem Beitrag sichtbar wird. Bitte editiere deinen Beitrag diesbezüglich noch einmal nach .
Danke ... mawenzi
-
Sowas in der Richtung gab es aber schonmal. Das sieht aber ein wenig besser aus :)
-
Before i go for all the changing stuff,
Can someoen tell me if it works well with v 1.7.1 ??
The title says its for v 1.7
-
Before i go for all the changing stuff,
Can someoen tell me if it works well with v 1.7.1 ??
The title says its for v 1.7
Hi,
its works under 1.7.1 (is my version)
Greez darkness :mrgreen:
-
@Darkness2001:
I looked forward for this moment myself. Would it be possible to instruct these steps in english as well ? ;)
-
Hi Darkness
I have seen on your example of memberlist, that you can search for username. Since a long time I'm looking for this code. Could you post the code for this search-features? That would be great!
Thanks!
TIMT
______________
Hallo Darkness
In deinem Screen-Beispiel gibt es eine Suchfunktion, welches es erlaubt, nach Users zu suchen. Schon seit einer halben Ewigkeit bin ich auf der Suche nach diesem Code. Könntest du den Code für diese Suchfunktion auch posten? Das wäre supertoll.
Vielen Dank!
TIMT
-
Hi Darkness
I have seen on your example of memberlist, that you can search for username. Since a long time I'm looking for this code. Could you post the code for this search-features? That would be great!
mawenzi has already replyed to you with the working code...you should read the replys after your last reply :P ;)
-
wow.... thank you v@no and thank you mawenzi and thank you JensF! What a teamwork. It seems to be to early in the morning for me... :oops:
-
Kann mir jemand den Mod nochmal komplett zum download einstellen. Die Version auf der ersten Seite funktioniert bei mir nicht.
Vielen Dank
-
Hi,
Ich habe Probeleme beim 2. Schritt, der in der README Datei von Nicky beschrieben ist. Wenn ich die table_update.php öffne kommt bei mir folgendes:
DB Error: Bad SQL Query: ALTER TABLE 4images_users ADD user_t_images SMALLINT( 6 ) DEFAULT '0' NOT NULL
Duplicate column name 'user_t_images'
ADDED FIELD user_t_images TO TABLE: 4images_users
Wenn ich das richtig verstehe soll ich in 4images_users die Zeile user_t_images hinzufügen. Diese existiert bei mir aber schon. Bitte helft mir ich komm damit nicht klar.
Englisch:
Rear one,
I have Probeleme with 2. Step, in the README file by Nicky is described. If I the table_update.php open comes with me the following:
DB Error: Bad SQL Query: ALTER TABLE 4images_users ADD user_t_images SMALLINT( 6 ) DEFAULT '0' NOT NULL
Duplicate column name 'user_t_images'
ADDED FIELD user_t_images TO TABLE: 4images_users
If I that understand am I in 4images_users the line user_t_images correctly to add. This exists with me however already.
Please help me.
-
Hallo Leute,
helft mir bitte. Ist wirklich dringend.
Danke
english:
Help me, please. It´s very important.
-
If the field is already existent, it shouldn't be that big of a deal actually. Does it cause you problems when using the memberlist MOD during the actions from memberlist.php file ?
-
Can you tell me what this mean?
DB Error: Bad SQL Query: SELECT * FROM 4images_users WHERE user_id NOT IN ('-1') ORDER BY username ASC LIMIT 0, 30
Unknown column 'username' in 'order clause'
Thank you
-
It means you're probably using mySQL 5 and you need to apply some patches from this forum in order to get rid of this error message.
Simply search for : mySQL 5 and results should be returned to you. ;)
-
Can you tell me what this mean?
DB Error: Bad SQL Query: SELECT * FROM 4images_users WHERE user_id NOT IN ('-1') ORDER BY username ASC LIMIT 0, 30
Unknown column 'username' in 'order clause'
Thank you
That means that either you've modifyed memberlist.php and made a misstake - with that nobody can help you, since nobody could possible know what modifications you've made, or you have an intgration with a forum, which causing this error.
And since you've provided no usefull information, the answer to your question is:
You are trying to sort members list by 'username' field, but there is no such field in default 4images.
It means you're probably using mySQL 5 and you need to apply some patches from this forum in order to get rid of this error message.
Simply search for : mySQL 5 and results should be returned to you. ;)
maybe you should just be quiet, if you want to stay here :roll:
-
Perhaps my response was a little bit too pushed ... what I meant is since there are many topics regarding the ' where clause ' issue and that many of your answers refers to mySQL 5 (based on this error), then it was clairly that patches needed to be installed.
-
And that related to the topic/problem anderitor has HOW?
STOP THE SPAM!
-
after fixing mysql5 the same problem are to.it dosent change anything,i get the error message
DB Error: Bad SQL Query: SELECT * FROM 4images_users WHERE user_id NOT IN ('-1') ORDER BY username ASC LIMIT 0, 30
Unknown column 'username' in 'order clause'
-
I don't think this error has shown since you installed the memberlist MOD ... I have just searched for many relations for : ORDER BY username and hasn't come up with anything ...
Could you show the actual codings on where exacly this has been coded (if so, which file was it ?) ?
-
That means that either you've modifyed memberlist.php and made a misstake - with that nobody can help you, since nobody could possible know what modifications you've made, or you have an intgration with a forum, which causing this error.
And since you've provided no usefull information, the answer to your question is:
You are trying to sort members list by 'username' field, but there is no such field in default 4images.
-
the only thing that workswell are show members email,other parts dont work.
so there,if needful i want open memberlist code,possible some one can help me please?
<?php
/**************************************************************************
* *
* 4images - A Web Based Image Gallery Management System *
* ---------------------------------------------------------------- *
* *
* File: memberlist.php (MOD) *
* Copyright: (C) 2002 Jan Sorgalla *
* Email: jan@4homepages.de *
* Web: http://www.4homepages.de *
* Scriptversion: 1.0 for 4images 1.7 & phpBB 2.0.2 *
* *
* Never released without support from: Nicky (http://www.nicky.net) *
* *
**************************************************************************
* *
* Dieses Script ist KEINE Freeware. Bitte lesen Sie die Lizenz- *
* bedingungen (http://www.4homepages.de/4images/lizenz.php) fr *
* weitere Informationen. *
* --------------------------------------------------------------- *
* This script is NOT freeware! Please read the Copyright Notice *
* (http://www.4homepages.de/4images/lizenz_e.php) for further *
* information. *
* *
*************************************************************************/
$templates_used = 'memberlist,memberlist_sort';
$main_template = 'memberlist';
define('GET_CACHES', 1);
define('ROOT_PATH', './');
include(ROOT_PATH.'global.php');
require(ROOT_PATH.'includes/sessions.php');
$user_access = get_permission();
include(ROOT_PATH.'includes/page_header.php');
//----------------------------
//---- Set user per page -----
//----------------------------
$user_per_page = 10;
//----------------------------
//---- Uncomment -------------
//----------------------------
/*
if ($user_info['user_level'] == GUEST || $user_info['user_level'] == USER_AWAITING) {
show_error_page($lang['no_permission']);
exit;
}
*/
//----------------------------
//---- Sort ------------------
//----------------------------
if(isset($HTTP_POST_VARS['order']))
{
$sort_order = ($HTTP_POST_VARS['order'] == 'ASC') ? 'ASC' : 'DESC';
}
else if(isset($HTTP_GET_VARS['order']))
{
$sort_order = ($HTTP_GET_VARS['order'] == 'ASC') ? 'ASC' : 'DESC';
}
else
{
$sort_order = 'ASC';
}
$mode_types_text = array($lang['lang_sort_username'], $lang['lang_sort_joindate'], $lang['lang_sort_useremail'], $lang['lang_sort_homepage']);
$mode_types = array('username', 'user_regdate', 'user_email', 'user_website');
$select_sort_mode = '<select class="select" name="mode">';
for($i = 0; $i < count($mode_types_text); $i++)
{
$selected = ( $mode == $mode_types[$i] ) ? ' selected="selected"' : '';
$select_sort_mode .= '<option value="' . $mode_types[$i] . '"' . $selected . '>' . $mode_types_text[$i] . '</option>';
}
$select_sort_mode .= '</select>';
$select_sort_order = '<select class="select" name="order">';
if($sort_order == 'ASC')
{
$select_sort_order .= '<option value="ASC" selected="selected">' . $lang['lang_sort_asc'] . '</option><option value="DESC">' . $lang['lang_sort_desc'] . '</option>';
}
else
{
$select_sort_order .= '<option value="ASC">' . $lang['lang_sort_asc'] . '</option><option value="DESC" selected="selected">' . $lang['lang_sort_desc'] . '</option>';
}
$select_sort_order .= '</select>';
$site_template->register_vars(array(
'lang_select_sort_method' => $lang['lang_select_sort_method'],
'lang_select_sort_order' => $lang['lang_select_sort_order'],
'select_sort_method' => $select_sort_mode,
'select_sort_order_form' => $select_sort_order,
'mode_action' => $site_sess->url(ROOT_PATH."memberlist.php"))
);
$userlist = $site_template->parse_template(memberlist_sort);
if ( isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']) )
{
$mode = ( isset($HTTP_POST_VARS['mode']) ) ? $HTTP_POST_VARS['mode'] : $HTTP_GET_VARS['mode'];
switch( $mode )
{
case 'user_regdate':
$order_by = "user_regdate $sort_order";
break;
case 'username':
$order_by = "username $sort_order";
break;
case 'user_email':
$order_by = "user_email $sort_order";
break;
case 'user_website':
$order_by = "user_website $sort_order";
break;
default:
$order_by = "username $sort_order";
break;
}
}
else
{
$order_by = "username $sort_order";
}
$sql = "SELECT COUNT(*) AS total_user
FROM ".USERS_TABLE."
WHERE user_id NOT IN ('-1')";
//--------------------------------
//------ User Search -------------
//--------------------------------
$filter = "";
if ((isset($HTTP_GET_VARS['search']) && $HTTP_GET_VARS['search']) || (isset($HTTP_POST_VARS['search']) && $HTTP_POST_VARS['search']))
{
$filter = $site_sess->get_session_var("memberlistfilter");
}
else
{
$site_sess->drop_session_var("memberlistfilter");
}
if (isset($HTTP_GET_VARS['filter']) || isset($HTTP_POST_VARS['filter']))
{
$filter = (isset($HTTP_POST_VARS['filter'])) ? $HTTP_POST_VARS['filter'] : $HTTP_GET_VARS['filter'];
}
if ($filter)
{
$filter_db = str_replace("*", "%", str_replace("**", "*", $filter));
if ($filter_db && $filter_db != "%")
{
$condition = " AND ".get_user_table_field("", "user_name")." LIKE '".addslashes($filter_db)."'";
$ltr = "";
$user_search = "search=1";
$site_sess->set_session_var("memberlistfilter", $filter);
}
}
$site_template->register_vars(array(
"filter" => $filter,
"filter_url" => $site_sess->url(ROOT_PATH."memberlist.php"),
"lang_filter" => $lang['search']
));
//--------------------------------
//------ End User Search ---------
//--------------------------------
$result = $site_db->query($sql);
while ($row = $site_db->fetch_array($result)) {
$user_cache[$row['user_id']]['total_user'] = $row['total_user'];
}
$site_db->free_result();
$num_rows_all = (isset($user_cache[$user_id]['total_user'])) ? $user_cache[$user_id]['total_user'] : 0;
$link_arg = $site_sess->url(ROOT_PATH."memberlist.php?mode=$mode&order=$sort_order");
include(ROOT_PATH.'includes/user_paging.php');
$getpaging = new Paging($page, $user_per_page, $num_rows_all, $link_arg);
$offset = $getpaging->get_offset();
$site_template->register_vars(array(
"paging" => $getpaging->get_paging(),
"paging_stats" => $getpaging->get_paging_stats()
));
$sql = "SELECT *
FROM ".USERS_TABLE."
WHERE user_id NOT IN ('-1')
ORDER BY $order_by
LIMIT $offset, $user_per_page";
$result = $site_db->query($sql);
$userlist .="\n<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">\n<tr>\n<td class=\"bordercolor\">\n";
$userlist .="<table width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"1\">\n";
$userlist .="<tr>\n<td class=\"head2\" align=\"center\">".$lang['user_name']."</td>\n<td class=\"head2\" align=\"center\">".$lang['join_date']."</td>\n<td class=\"head2\" align=\"center\">".$lang['email']."</td>\n<td class=\"head2\" align=\"center\">".$lang['homepage']."</td>\n<td class=\"head2\" align=\"center\">".$lang['lang_total_user_images']."</td>\n</tr>\n";
$count = 0;
$bgcolor = 0;
while ($user_row = $site_db->fetch_array($result)){
$username = "";
$user_regdate = "";
$user_email = "";
$user_email_save = "";
$user_mailform_link = "";
$user_email_button = "";
$total_user_images = "";
$user_profile_link = (!empty($url_show_profile)) ? preg_replace("/{user_id}/", $user_row['user_id'], $url_show_profile) : ROOT_PATH."member.php?action=showprofile&".URL_USER_ID."=".$user_row['user_id'];
$username = "<a href=\"".$site_sess->url($user_profile_link)."\">".htmlspecialchars($user_row['username'])."</a>";
$user_website = (isset($user_row['user_website'])) ? format_url($user_row['user_website']) : REPLACE_EMPTY;
if (!empty($user_website) && $user_website != REPLACE_EMPTY) {
$user_website_button = "<a href=\"".$user_website."\" target=\"_blank\"><img src=\"".get_gallery_image("homepage.gif")."\" border=\"0\" alt=\"".$user_website."\" /></a>";
}
else {
$user_website_button = REPLACE_EMPTY;
}
if (!empty($user_row['user_email']) && (!isset($user_row['user_viewemail']) || (isset($user_row['user_viewemail']) && $user_row['user_viewemail'] == '1'))) {
$user_email = $user_row['user_email'];
$user_email_save = str_replace("@", " at ", $user_row['user_email']);
if (!empty($url_mailform)) {
$user_mailform_link = $site_sess->url(preg_replace("/{user_id}/", $user_row['user_id'], $url_mailform));
}
else {
$user_mailform_link = $site_sess->url(ROOT_PATH."member.php?action=mailform&".URL_USER_ID."=".$user_row['user_id']);
}
$user_email_button = "<a href=\"".$user_mailform_link."\"><img src=\"".get_gallery_image("email.gif")."\" border=\"0\" alt=\"".$user_email_save."\" /></a>";
}
$user_regdate = (isset($user_row['user_regdate'])) ? format_date($config['date_format'], $user_row['user_regdate']) : REPLACE_EMPTY;
$sql = "SELECT COUNT(*) AS total_user_images
FROM ".USERS_TABLE." u, ".IMAGES_TABLE." i
WHERE u.user_id = i.user_id
AND i.user_id=".$user_row['user_id']."";
$row = $site_db->query_firstrow($sql);
$total_user_images = $row['total_user_images'];
if ($count == 0) {
$row_bg_number = ($bgcounter++ % 2 == 0) ? 1 : 2;
$userlist .= "<tr class=\"imagerow".$row_bg_number."\">\n";
}
$userlist .= "<td valign=\"top\" align=\"center\">".$username."</td>\n";
$userlist .= "<td valign=\"top\" align=\"center\">".$user_regdate."</td>\n";
$userlist .= "<td valign=\"top\" align=\"center\">".$user_email_button."</td>\n";
$userlist .= "<td valign=\"top\" align=\"center\">".$user_website_button."</td>";
$userlist .= "<td valign=\"top\" align=\"center\">".$total_user_images."</td>";
$userlist .= "\n</tr>\n";
}
$userlist .= "</table>\n";
$userlist .= "</td>\n</tr>\n</table>\n";
$site_template->register_vars("userlist", $userlist);
unset($userlist);
//-----------------------------------------------------
//--- Clickstream -------------------------------------
//-----------------------------------------------------
$clickstream = "<span class=\"clickstream\"><a href=\"".$site_sess->url(ROOT_PATH."index.php")."\" class=\"clickstream\">".$lang['home']."</a>".$config['category_separator'];
$clickstream .= $lang['lang_userlist_title'];
$clickstream .= $config['category_separator'].$lang['lang_userlist_page'].$page."</span>";
//-----------------------------------------------------
//--- Print Out ---------------------------------------
//-----------------------------------------------------
$site_template->register_vars(array(
"msg" => $msg,
"clickstream" => $clickstream,
"lang_userlist_title" => $lang['lang_userlist_title']
));
$site_template->print_template($site_template->parse_template($main_template));
include(ROOT_PATH.'includes/page_footer.php');
?>
-
Are you using some sort of integration? Or maybe you used to use one? have you tryed to change the sorting, like sort by date, etc?
P.S. just replace username with user_name
-
..just use copy`n paste :mrgreen:
what ever,after tra-la-laing 10 hours and following some mods im very pisst off but happy to be finish :twisted:
problem was defently by memberlist,cause using 4image 1.7.1 there change some words,much more as only username.
sorry to say. :?
donty worry,seach is now bloody working,yipeah
damed errors allready contained,possible someone could check?
http://beepnclub.fo.funpic.de/4images/memberlist.php?sessionid=11f0abe195697049b2ef72d5ae3d07c8
-
what ever,after tra-la-laing 10 hours and following some mods im very pisst of but happy to be finish
I didn't had to take 10 hours actually. A little tip: Make the replacements with a batch process from a software like : Advanced Find & Replace software. Your 10 hours will only become a matter of seconds in the end (for the exact same results). ;)
-
http://p4ddy-online.de.vu/4images/
acc: test pw: test
i think there where the "»" is shown (upper left), there should be the link to the memberlist.php - but it isn't
how can i fix this?
-
Die Main.php müsste korrekt sein.
Ich weiß ehrlich gesagt nicht wie ich den Code in die user_logininfo richtig einbringen soll, im moment sieht sie so aus:
<table width="100%" border="0" cellpadding="4" cellspacing="0">
<tr>
<td valign="top" align="left">
{lang_loggedin_msg}<br /><br />
» <a href="{url_lightbox}">{lang_lightbox}</a><br />
» <a href="{url_control_panel}">{lang_control_panel}</a><br />
» <a href="{url_logout}">{lang_logout}</a><br />
» <a href="{url_userlist}">{lang_userlist_title}</a>
» <a href="{url_sitemap}">{lang_sitemap}</a></td>
</tr>
</table>
Der Aufruf über den Link direkt zur memberlist.php funktioniert auch einwandfrei
-
Oh ok die Änderung is irgendwie flöten gegangen, hätte ich auch vorher ma nachschauen können :(
Danke dir!
-
Hallo!
Ich habe eine kleine Probleme. ich gebe diese Mod zu meinem Homepage und es funkzt, aber...
Ich mache nicht die original default Template, aber wenn ich schau Memberlist, meine Page wechseln auf default.
Kann mir helfen?
(sorry, ich finde es nicht hier oder ich bin ganz einfach müde :oops:
Meine site ist hier http://xechinopsis.kaktus.hu/
-
-------
post deleted ;)
-
------
post deleted ;)
-
Hallo,
wie kann ich den online-status, den avatar (als extraspalte) sowie die Anzahl der Kommentare in der member list anzeigen?
Vielen Dank
english:
Hello,
how can I show the online-status, the avatars of my users (as extra col) and all comments of a user in the memberlist?
Much Thanks
Sorry for my bad English
-
Hello
how can I show the online-status, the avatars of my users (as extra col) and all comments of a user in the memberlist?
Much Thanks
Sorry for my bad English
read the pages on this topic. It was discussed many times.
Anyone willing to help me with my request on the last 2 answers??
-
I can´t find any code!!
Please, can you give me a link.
Much Thanks
-
i have the same problem as a user who was mentioning his argues earlyer in this topic but no one helped him. i have the same problems
Notice: Use of undefined constant memberlist_sort - assumed 'memberlist_sort' in /home/k/kilu.de/public_html/user_web/party/memberlist.php on line 104
Notice: Undefined index: user_id in /home/k/kilu.de/public_html/user_web/party/memberlist.php on line 145
Notice: Undefined variable: user_id in /home/k/kilu.de/public_html/user_web/party/memberlist.php on line 149
Notice: Undefined variable: user_id in /home/k/kilu.de/public_html/user_web/party/memberlist.php on line 149
Notice: Undefined variable: bgcounter in /home/k/kilu.de/public_html/user_web/party/memberlist.php on line 228
with total standart memberlist.php
tried to define variables as '' but don't know how to do this properly
-
Hi Nicky
great Mod Memberlist , it works fine.
thanks steffen
-
All stats in my memberlist (comments, votes etc.) are working except, the image hits for each user are not counted anymore.
Does anyone know where I can fix the problem?
In meiner Memberlist werden die image hits eines jeden Benutzers nicht mehr gezählt. Die Kommentare, Stimmababen usw. funktionieren nach wie vor nur die image hits haben irgendwann das Zählen aufgehört.
Habt ihre eine Idee, wo ich den Fehler finde?
viele Grüße
Matthias
-
@Matthias70
... aufgehört zu zählen, also gleichbleibend ... oder werden nicht mehr angezeigt ... ?
-
Der Zähler hat einfach zu zählen aufgehört. Leider weiß ich nicht genau wann. Kann also nicht sagen nach welcher modifikation :-(
-
@Matthias70
... die image_hits werden über die details.php gezählt ...
... also prüfe ob folgender query am Ende der Datei unmittelbar vor ---Clickstream--- noch vorhanden ist ...
// Update Hits
if ($user_info['user_level'] != ADMIN) {
$sql = "UPDATE ".IMAGES_TABLE."
SET image_hits = image_hits + 1
WHERE image_id = $image_id";
$site_db->query($sql);
}
... wenn nicht, dann einfach einfügen ... und die user_image_hits sollten wieder gezählt werden ... :wink:
-
... die image_hits werden über die details.php gezählt ...
... also prüfe ob folgender query am Ende der Datei unmittelbar vor ---Clickstream--- noch vorhanden ist ...
// Update Hits
if ($user_info['user_level'] != ADMIN) {
$sql = "UPDATE ".IMAGES_TABLE."
SET image_hits = image_hits + 1
WHERE image_id = $image_id";
$site_db->query($sql);
}
Hallo Mawenzi,
dieser query ist in meiner details.php unmittelbar vor dem Clickstream vorhanden? Daran kann es nicht liegen :-(
Fällt dir vielleicht noch eine Möglichkeit ein?
viele Grüße
Matthias
-
@ Matthias
... da hab ich aber den falschen query rausgepickt ... sorry ...
... es muss ja der sein aus dem [Mod] Keep Track Of Each action ... !
... und der sieht so aus ... unmittelbar vor ---Clickstream---
//-------------------------------------------[ [Mod] Keep Track Of Each action ]
if ($user_info['user_level'] >= USER)
add_to_stats_user_ids($image_id, "h"); // Mod: Track User action (images hits)
//-------------------------------------------[/[Mod] Keep Track Of Each action ]
-
Hallo Mawenzi,
super, das war ein Volltreffer. Aus welchem Grund auch immer hat der Teil in meiner details.php gefehlt.
vielen Dank für deine Hilfe
Matthias
-
Is it possible, to integrate the "[Mod] Show user's lightbox to admin. " into the memberlist?
http://www.4homepages.de/forum/index.php?topic=4107.msg16752#msg16752
I have already a link in the userprofile, which shows the number of images in the lightbox.
http://www.4homepages.de/forum/index.php?topic=9283.0
But I don't know how to integrate this link in the memberlist.
Not easy, I know, but perhaps someone has a solution.
Matthias
Ist es möglich das "[Mod] Show user's lightbox to admin. " in die memberlist zu integrieren.
http://www.4homepages.de/forum/index.php?topic=4107.msg16752#msg16752
Ich habe das Mod bereits im User-Profil und dort wird mir mit folgdener Erweiterung ein Link zur Userlightbox angezeigt und in Klammern die Anzahl der Bilder in der Lightbox.
http://www.4homepages.de/forum/index.php?topic=9283.0
Genau diesen Link mit Anzahl der Bilder pro Lightbox würde ich gerne in die Memberlist integrieren?
Ich weiß ich verlange viel. Aber vielleicht hats ja bereits jemand geschafft.
viele Grüße
Matthias
-
Hallo Matthias
... Glück gehabt ... :wink:
Lightbox-Count in Memberlist
Den prinzipiellen Einbau einzelner Spalten für die Memberlist habe ich bereits mehrfach beschrieben
-> PM-Button (http://www.4homepages.de/forum/index.php?topic=1954.msg54648#msg54648)
-> Edit- and Delete-Links (http://www.4homepages.de/forum/index.php?topic=1954.msg50498#msg50498)
Nach diesen Schritten ist analog vorzugehen ... da ich nicht nochmals alles wiederholen möchte !
0.Schritt
finde :
while ($user_row = $site_db->fetch_array($result)) {
und füge folgendes danach ein :
$user_lightbox_count = "";
1.Schritt
$userlist .="\n<td width=\"6%\" class=\"head2\" valign=\"top\" align=\"center\"><small>".$lang['lb_count']."</small></td>";
2.Schritt
//---Lightbox-Count 28.06.2006---
$sql = "SELECT lightbox_image_ids
FROM ".LIGHTBOXES_TABLE."
WHERE user_id=".$user_row['user_id']."";
$row = $site_db->query_firstrow($sql);
$lightbox_image_ids = $row['lightbox_image_ids'];
$user_lightbox_count = (trim($lightbox_image_ids)) ? count(explode(" ",trim($lightbox_image_ids))) : 0;
//---Lightbox-Count 28.06.2006---
3.Schritt
$userlist .= "<td align=\"center\"><small>".$user_lightbox_count."</small></td>\n";
4.Schritt
$lang['lb_count'] = "Lightbox-Count";
Sicher ist dann noch das Layout an deine Tabelle anzupassen ( Spaltenbreite [td_width], css [class], Schriftgröße [small] ), aber das ist dann natürlich wie immer deine / eure sache. Habe es halt nur aus meiner Memberlist übernommen.
-
Hallo Mawenzi,
die Erweiterung zeigt mir nun die Anzahl der Bilder in der jeweiligen Lightbox an, allerdings ist die Anzahl nicht mit der jeweiligen Lightbox verlinkt.
In meiner member.php habe ich dafür folgenden Code
"url_show_user_lightbox" => ($user_info['user_level'] == ADMIN) ? $site_sess->url(ROOT_PATH."search.php?search_lightbox=".$user_row['user_id']) : "",
Ist es möglich diesen Code auch in die memberlist einzubauen?
viele Grüße
Matthias
-
Hallo Matthias,
Lightbox-Count in Memberlist as Admin-Link
... natürlich ist es möglich den Lightbox-Count entsprechend zu verlinken ...
... aber davon war bis jetzt noch nicht die Rede ...
... Voraussetzung ist aber die Installation von diesem MOD: [Mod] Show user's lightbox to admin. (http://www.4homepages.de/forum/index.php?topic=4107.msg16752#msg16752)
2. Schritt
//---Lightbox-Count mit Bild-Link 28.06.2006---
$sql = "SELECT lightbox_image_ids
FROM ".LIGHTBOXES_TABLE."
WHERE user_id=".$user_row['user_id']."";
$row = $site_db->query_firstrow($sql);
$lightbox_image_ids = $row['lightbox_image_ids'];
$user_lightbox_count = (trim($lightbox_image_ids)) ? count(explode(" ",trim($lightbox_image_ids))) : 0;
$url_user_lightbox = $site_sess->url(ROOT_PATH."search.php?search_lightbox=".$user_row['user_id']);
if ($user_lightbox_count == 0){
$link_user_lightbox_count = "0";
} else {
if ($user_info['user_level'] == ADMIN){
$link_user_lightbox_count = "<a href=\"".$url_user_lightbox."\">$user_lightbox_count</a>";
} else {
$link_user_lightbox_count = $user_lightbox_count;
}
}
//---Lightbox-Count mit Bild-Link 28.06.2006---
3.Schritt
$userlist .= "<td align=\"center\"><small>".$link_user_lightbox_count."</small></td>\n";
-
Hallo Mawenzi,
genial, läuft super :-)
Beneidenswert, wie du selbst bei komplexen Anfragen den Überblick behälst.
viele Grüße
Matthias
-
Beneidenswert, wie du selbst bei komplexen Anfragen den Überblick behälst.
... :mrgreen: ... danke für die Blumen ...
-
Hallo
Ist es möglich das Skype MOD (http://www.4homepages.de/forum/index.php?topic=11851.0/) in die memberlist zu integrieren?
Vielleicht hat das ja bereits jemand
Danke im Voraus
-
Would be nice if we had a option in memberlist for "View New (users) " :mrgreen:
-
@ Icemann71
... ist möglich ... :wink:
... habe ich aber nicht in meiner Liste zum copy_and_paste ...
... muss also erst einmal in den Skype MOD schauen ...
@ Stoleti
... "View New (users) " ...
... we have a sort_option ... sort by reg. date desc ...
... and the newest users are first listed ... :wink:
... works very well in the memberlist ...
-
hallo
bei mir laufen die zusätze vie ecards nicht, also es zeigt nichts an, es müsste ja eine 0 stehen, wenn nichts gesendet wurde oder?
-
@ amordeo
... Code der nicht funktioniert, den sollte man hier im Forum nicht so demonstrativ breittreten ...
... sondern lieber als txt-Datei seinem Beitag anhängen ...
... ich bin bestimmt nicht der Einzige, der nicht immer wieder endlos durch falschen Code scrollen will ...
-
was ist den da der unterschied, ob ich ihn als txt anhänge, oder so zeige? verstehe ich nicht und wie kann ich ihn dann anhängen?
-
also ist gemacht, aber wieso ihr das so wollt, keine ahnung.... :?:
nun ja ist schon spät und habe auch keine lust mehr, den nichts läuft :cry:
hier habe ich auch noch ein fehler http://www.4homepages.de/forum/index.php?topic=13524.0
habe jetzt schon 3 mal alles neu installiert und ich will doch so schnell als möglich die gallerie aufschalten mit einiges mod und features, hat jemand lust mir zu helfen? möchte eben eine seit eerstellen, inder alle ihre nbilder der fussball wm aufschlaten, welche sie selber gemacht haben, natürlich schweizer :-)
-
... regarding this -> http://www.4homepages.de/forum/index.php?topic=1954.msg51458#msg51458 ...
... I arranged a complete list of all available extensions for the memberlist ...
... here -> http://www.4homepages.de/forum/index.php?topic=1954.msg8325#msg8325 ...
Thanks Nicky
-
ja die habe ich ja auch gefunden, aber dieser http://www.4homepages.de/forum/index.php?topic=1954.msg51748#msg51748 ist doch unvollständig erklärt oder? die müssen ja noch hier:
$userlist .= "<td valign=\"top\" align=\"center\">".$total_user_p_images."</td>";
definiert werden?
-
... dafür gibt es einen Extra-MOD ...
... und die Erweiterung für die Mitgliederliste ist mit einem Forum-Hack leider verloren gegangen ...
... dennoch gibt es Leute die diese Erweiterung installiert haben ...
... und vielleicht veröffentlicht ja jemand diese Erweiterung wieder ... ist halt mit etwas Arbeit verbunden ...
-
Was genau möchtest du anpassen?
Wie sieht das bei dir im Moment aus?
Falls der erwähnte Text irgendwie geändert werden soll, dann
ändere doch bitte in der
lang/deinesprache/main.php
den Eintrag
$lang['paging_user_stats']
-
Hallo
Ich habe folgendes Problem beim Aufruf der "memberlist.php":
Notice: Use of undefined constant memberlist_sort - assumed 'memberlist_sort' in /www/htdocs/w0064f50/4images/memberlist.php on line 104
Notice: Undefined index: user_id in /www/htdocs/w0064f50/4images/memberlist.php on line 145
Notice: Undefined variable: user_id in /www/htdocs/w0064f50/4images/memberlist.php on line 149
Notice: Undefined variable: user_id in /www/htdocs/w0064f50/4images/memberlist.php on line 149
Notice: Undefined variable: bgcounter in /www/htdocs/w0064f50/4images/memberlist.php on line 228
http://www.offroad-mta4.de/4images/memberlist.php
Danke für eure Hilfe
-
Hallo,
wie kann ich den Geburtstag in der Userlise anzeigen? Habe den Birthday mod installiert(http://www.4homepages.de/forum/index.php?topic=11558.0).
Danke und Grüße
Chull
-
... auch das Geburtstagsdatum ist möglich ... :wink:
... ist eigentlich nur analog dem "Join_Date" zu istallieren ...
... und das findest du hier -> http://www.4homepages.de/forum/index.php?topic=1954.msg49379#msg49379
-
Hallo,
danke für die schnelle Antwort. Hab leider nicht viel Ahnung von PHP. :( Was meinst du mit analog?
Danke und Grüße
Chull
-
Kann mir jemand sagen was mit meiner Mitgliederlsite nicht stimmt?
Can anyone tell me what's wrong with my memberlist?
http://tobi2801.to.funpic.de/4images/memberlist.php
-
@ tobuz
1. Der Clickstream ...
2. Die Sortierungsoptionen für die Mitgliederliste ...
3. Du musst wohl noch deinen /lang/deutsch/main.php mit den Sprachvariablen bearbeiten ...
-
Works great thanks!
-
... I would like to have the option to Sort By Downloads. ...
here we go ...
Extended-Assortment-Options for Memberlist
( my insignificant solution for my memberlist ... )
The Extended-Assortment-Options presupposes the following fields in table '4images_users' and of course in your memberlist :
- user_t_images ... (users total images)
- user_h_images ... (users hit images)
- user_p_images ... (users postcard images)
- user_dn_images ... (users downloaded images)
- user_dz_images ... (users zip-downloaded images)
- user_v_images ... (users voted images)
.................
.........
.....
[/color]
Moin Moin, das steht hier auf Seite 17- hab angefangen den etwas davon einzubauen (sprich Download sollte angezeigt und sortiert werden).
Problem is nur, daß hier wohl die Hälfte fehlt... 8O
Kann mir jemand verraten, wie man die "user_dn_images ... (users downloaded images)" aus der Datenbank auslesen kann, wenn vorhanden, falls nicht, wie man die vorher reinbekommt???
Ansonsten ein RICHTIG GEILER MOD!!!
Danke an alle, die sich da mal richtig den Kopf zerbrochen haben....
Blöde Frage: wie krieg ich den Link auf "all comments from user" in der "memberlist" hin??
-
This mod is really great without any problem in 1.7.3 :D!! Thanks!!
Now someone must do this;
Select user like this (#.A. B. C. D. E. F. G. H. I. J. K. L. M. N. O. P. Q. R. S. T. U. V. W. X. Y. Z) because with many users if you want to find someone it´s very hard... :?
Here u go ;)
Hi V@no I have a problem wth your addon.. it is that the table from the letters is deforming my site.. how can i change the size to 460px?? I tried to modified memberlist.php with the next line, I modified /100%/ to /460px/ but it is wrong :(:
$letterbits = "<TABLE width=\"460px\" border=\"0\" cellpadding=\"0\" cellspacing=\"1\" class=\"bordercolor\">\n<tr>\n<TD>\n<TABLE width=\"460px\" border=\"0\" cellspacing=\"0\" cellpadding=\"3\">\n<TR align=\"center\"><td class=\"row1\">";
-
This mod is really great without any problem in 1.7.3 :D!! Thanks!!
Now someone must do this;
Select user like this (#.A. B. C. D. E. F. G. H. I. J. K. L. M. N. O. P. Q. R. S. T. U. V. W. X. Y. Z) because with many users if you want to find someone it´s very hard... :?
Here u go ;)
Hi V@no I have a problem wth your addon.. it is that the table from the letters is deforming my site.. how can i change the size to 460px?? I tried to modified memberlist.php with the next line, I modified /100%/ to /460px/ but it is wrong :(:
$letterbits = "<TABLE width=\"460px\" border=\"0\" cellpadding=\"0\" cellspacing=\"1\" class=\"bordercolor\">\n<tr>\n<TD>\n<TABLE width=\"460px\" border=\"0\" cellspacing=\"0\" cellpadding=\"3\">\n<TR align=\"center\"><td class=\"row1\">";
for mi your code is wrong!
is not ....<TABLE width=\"460px\" border=\"0\" ....
nut ....<TABLE width=\"460\" border=\"0\" ....
lock this one...
by.
-
LOL...
guys/girls you're creazy.. 24 pages..
-
for mi your code is wrong!
is not ....<TABLE width=\"460px\" border=\"0\" ....
nut ....<TABLE width=\"460\" border=\"0\" ....
lock this one...
by.
.. -.- nothing .. I have the same problem..
-
Hello,
I've installed the avatar mod.(http://www.4homepages.de/forum/index.php?topic=6797.0) I would like to show the Photo in the Memberlist. How can I do that?
Thanks and Greetz
Chull
-
Hallo,
know somebady a additional solution for more fields to this memberlist ADDON: additional Member Search Field here:
http://www.4homepages.de/forum/index.php?topic=1954.msg55461#msg55461
I have a additional user_filed user_lastname and will be happy if i can search for user_name and user_lastname with the same search field.
Will al else.. - function do this?
Thank you
Hein
-
Ich möchte zunächst nicht den gesamten Mod installieren, sondern lediglich die Zeile: "Anzahl der Mitglieder:xx" einfügen.
Wie kann ich das machen? Dürfte eigentlich doch kein großes Problem sein?
-
Ich möchte zunächst nicht den gesamten Mod installieren, sondern lediglich die Zeile: "Anzahl der Mitglieder:xx" einfügen.
Wie kann ich das machen? Dürfte eigentlich doch kein großes Problem sein?
Da biste hier falsch!
Guckst du hier: http://www.4homepages.de/forum/index.php?topic=3303.0
-
Hello,
I've installed the avatar mod.(http://www.4homepages.de/forum/index.php?topic=6797.0) I would like to show the Photo in the Memberlist. How can I do that?
Thanks and Greetz
Chull
Hallo, ich hab den avatar mod installiert.(http://www.4homepages.de/forum/index.php?topic=6797.0) ICh würde gerne das Foto in der Memberlist anzeigen lassen. Wie geht das?
Danke und Grüße
Chull
-
@ chull,
Ein Beispiel für die Erweiterung der Mitgliederliste, nach dem du vergleichsweise deine Avatar-Änderung vornehmen kannst, findest du hier :
http://www.4homepages.de/forum/index.php?topic=1954.msg54648#msg54648
Statt dem Code für "$user_pm_button" musst du eigentlich nur deinen Code für "$user_avatar" verwenden und dann noch die Sprach-Tags anpassen ... :wink:
-
hallo,
danke für die schnelle antwort. habe leidern keine ahnung von php. krieg das leider nicht hin, gibts es das nicht schon irgendwo? also ich hab den personal member photo - mod von v@no installiert.
Danke und Grüße
Chull
-
hum i limited 5 user to show on page
but y have more users, and dont appear nothing to go to next page or show more!
anyone?
http://fgabriel.freehostia.com/memberlist.php
//----------------------------
//---- Set user per page -----
//----------------------------
$user_per_page = 5;
-
hum i limited 5 user to show on page
but y have more users, and dont appear nothing to go to next page or show more!
anyone?
http://fgabriel.freehostia.com/memberlist.php
//----------------------------
//---- Set user per page -----
//----------------------------
$user_per_page = 5;
hum found it i delete paging
:?
:)
-
http://www.nedeni.com/memberlist.php
It's not using my template, how can i fix it?
-
... of course you must use your own template ...
... how can you do that ...
... make a copy of error.html from your template ...
... rename it to memberlist.html ...
... than find in ...
<p>{error_msg}</p>
... and replace it by your meberlist tags and html-table-code from your current memberlist.html ...
... e.g. ...
{if userlist}
... <your html-table-code> ...
{if paging}{paging}{endif paging}
... <your html-table-code> ...
{letterbits}
... <your html-table-code> ...
{userlist}
... <your html-table-code> ...
{endif userlist}
... the rest of designing for memberlist is your part ...
-
Habe den Mod installiert, funktioniert wunderbar. Aber man ist ja Bastler! Bei mir wird bei jedem Mitglied das www für die Homepage angezeigt. Bein Anklicken gehen viele Links ins Leere, weil im Kontrollzentrum keine Homepage eingetragen wurde. Kann man eine Änderung vornehmen, das nur www angezeigt wird, wenn eine Homepage eingetragen wurde. Bei eMail scheint das auch zu gehen, da werden nicht alle angezeigt.
-
In regards to the member search, is there a way to search by user_town as well?
-
This is a great mod.....thanks Nicky
I would like to also use a graphic like the one used in the memberlist mod in the member's profile instead of showing their email. I tried to do it myself but no luck.
Would anyone be so kind to show me how to display the clickable graphic in place of the email in the member's profile similar to the graphic in the memberlist mod?
thanks
-
Hier nochmal die Frage: Hat keiner das Problem, dass immer www angezeigt wird, ohne das eine Homepage existent ist? Und wenn schon keiner das Problem hat, dann vielleicht ein Lösungvorschlag???
-
Hier nochmal die Frage: Hat keiner das Problem, dass immer www angezeigt wird, ohne das eine Homepage existent ist? Und wenn schon keiner das Problem hat, dann vielleicht ein Lösungvorschlag???
dann überprüfe mal, ob das hier so in deiner memberlist.php auch steht:
$user_homepage = (isset($user_row['user_homepage'])) ? format_url($user_row['user_homepage']) : REPLACE_EMPTY;
if (!empty($user_homepage) && $user_homepage != REPLACE_EMPTY) {
$user_homepage_button = "<a href=\"".$user_homepage."\" target=\"_blank\"><img src=\"".get_gallery_image("homepage.gif")."\" border=\"0\" alt=\"".$user_homepage."\" /></a>";
}
else {
$user_homepage_button = REPLACE_EMPTY;
}
-
dann überprüfe mal, ob das hier so in deiner memberlist.php auch steht:
Ja, steht genauso drin!
-
Klasse Mod! Hab's jetzt auch eingebaut:
http://www.picspack.de
:thumbup:
-
Hat wirklich keiner eine Idee, warum bei allen Mitgliedern das www für Homepage angezeigt wird, obwohl die Hälfte keine angegeben haben?
Really no one does an idea have, why with all members the www for homepage is indicated? Some have no homepage.
Die memberlist.php sieht im relevanten Bereich so aus:
My part of memberlist.php:
$user_homepage = (isset($user_row['user_homepage'])) ? format_url($user_row['user_homepage']) : REPLACE_EMPTY;
if (!empty($user_homepage) && $user_homepage != REPLACE_EMPTY) {
$user_homepage_button = "<a href=\"".$user_homepage."\" target=\"_blank\"><img src=\"".get_gallery_image("homepage.gif")."\" border=\"0\" alt=\"".$user_homepage."\" /></a>";
}
else {
$user_homepage_button = REPLACE_EMPTY;
-
Hey Nicky, sehr geiler Mod...
Ich hätte da mal nee Frage... ist es möglich... oder gibt es schon einen Mod... bzw eine Erweiterung...
wenn man in der Mitgliederliste über einen Namen fährt, das dann das Userfoto angezeigt wird... sozusagen als Minipopup....
oder was auch nett wäre das vor dem Usernamen in der Mitgliederliste das Foto angezeigt wird... als Thumbnail...
merci
UFOSWORLD
p.s. wenn das foto vor dem Usernamen als 20x20 pixel thumb angezeigt wird... dann könnte man wegen Platzbedarf die Bilderspalte und die Angemeldet seit Spalte entfernen... :-D
-
Hi Nicky
Is there a way to hide users who have chosen to hide their online status. I am getting a few complaints that their user names are showing up on the members list when they want to stay hidden.
Many thanks
-
@getcom
... try this for the query ...
WHERE user_level < '".ADMIN."'".(($user_info['user_level'] == ADMIN) ? "" : " AND user_invisible = 0")." OR user_id = ".$user_info['user_id']."
-
Thank you. But not too sure where to place this code. there looks like there are a few queries in the memberlist.php.
Thank you for your help on this
-
Hi mawenzi, can you tell me where this code should be placed please, i'm having a little trouble
Many thanks
-
hat jmd vielleciht ein bsp von der mitgliederliste auf seiner seite? sg
-
@zellcell
... ja ... ;)
-
Hallo Nicky,
danke für diesen tollen Mod. Er ließ sich entsprechend der Anleitung problemlos in die Version 1.74 einbauen.
VG Frank.
-
Wie bekomme ich in der Mitgliederliste vor dem Usernamen ein Landesflagge? Ein Mod, welcher die gerade aktiven Besucher in Form von Landesflaggen anzeigt, besteht bei mir schon.
-
was genau meint man denn mit diesen punkten?
4.
new templates
*****
neue templates
memberlist.html (standard design)
memberlist_sort.html
5.
changed templates
*****
geänderte templates
user_loginform.html
user_logininfo.html
ich weiß net was man da machen muss
beschäftige mich erst seit gestern mit dem ganzen hier
-
Hoping someone can help.
I installed this MOD (love it by the way), and the Birthday MOD. Is there a way I can add users birthday in the memberlist? I tried it myself, but it just shifted everything over, and put the join date under the header of Birthday.
Thanks
-
What you wish with birthday and memberlist ? Check birthday, calculate age or calculate countdown from memberlist ?
-
Just want it to show the birthdate itself. So like:
Username: Birth Date: Join Date: Email: Homepage: Comments: Pic's:
Right now, it's just:
Username: Join Date: Email: Homepage: Comments: Pic's:
When I tried putting it into the memberlist page, it showed the header, but the info below it was the join date.
Thanks
-
@jimpike
... here is an example for inserting of a new col into the memberlist ...
... do it in the same way ...
... http://www.4homepages.de/forum/index.php?topic=1954.msg54648#msg54648 ...
-
When I tried putting it into the memberlist page, it showed the header, but the info below it was the join date.
You need set correct align from birthday and join date. Both place must be changed. Not just one. ;)
-
Hey Nicky, sehr geiler Mod...
Ich hätte da mal nee Frage... ist es möglich... oder gibt es schon einen Mod... bzw eine Erweiterung...
wenn man in der Mitgliederliste über einen Namen fährt, das dann das Userfoto angezeigt wird... sozusagen als Minipopup....
oder was auch nett wäre das vor dem Usernamen in der Mitgliederliste das Foto angezeigt wird... als Thumbnail...
merci
UFOSWORLD
p.s. wenn das foto vor dem Usernamen als 20x20 pixel thumb angezeigt wird... dann könnte man wegen Platzbedarf die Bilderspalte und die Angemeldet seit Spalte entfernen... :-D
Hat hierfür keiner einen TIP?
Denke das muss mit Javascript realisiert werden... hab das mal bei ner Community gesehn.... und fand das ganz nett...
Falls Userfoto existiert... mit der Maus über den Usernamen in der Mitgliederliste fahren und das Userfoto poppt als Thumbnail auf....
gruss UFO
-
Hi,
wenn ich das richtig sehe, dann ist der Tabellenkopf in der memberlist.php, aber nicht in der memberlist.html. Kann man den Tabellenkopf irgendwie ändern, so dass der nur in einem bestimmten Style anders aussieht?
Die Zeile, wo man auswählen kann, wie man es sortiert haben möchte, konnte ich ändern. Das ist eine Grafik. So hätte ich auch gerne den Tabellenkopf von der Mitgliederliste. Aber der soll nur in dem blauen Style so aussehen, für den Standardstyle muss es dunkelblau bleiben.
Hier ist mal der Link zur Galerie, damit ihr euch das anschauen könnt.
http://www.verkehrsgigant.info/memberlist.php
-
Hallo Eschy5,
der blaue Tabellenkopf wird über die style.css gesteuert
Hier suche die class:
bordercolor
Aber Achtung.... kenne dein Style nicht, die class könnte auch noch wo anders dein style steuern.
Gruß
Kurt
-
Hi, I have tried loading this mod onto my gallery and I couldn't get it to work properly so I then took all the files back out again and now I am locked out of my Gallery and can't sign in as admin or a user. Is there anyway that I can fix this so I can sign in again please.
Thanks
-
... Is there anyway that I can fix this so I can sign in again please.
... restore your backup or original files and try it again ...
-
I have tried doing that but it still won't let me log in so not really sure what to do next.
Thanks
-
what is the error?
if password issue, try this > http://www.4homepages.de/forum/index.php?topic=1858.msg106009#msg106009
-
ist 1.7 die aktuelle verison mit den aenderungen die hier vorher besprochen wurden sind ?
grüße
www.datenplatz.de
-
ist 1.7 die aktuelle verison mit den aenderungen die hier vorher besprochen wurden sind ?
grüße
www.datenplatz.de
1.7.4 ist die aktuelle Version.
Die MOD's (Modifikationen) die hier Angeboten werden kann man sich zusätzlich installieren.
Diese sind in 4images nicht Eingebaut.
Aber vor Installationen der MOD's immer an die DATENSICHERUNG denken :!:
nobby
-
great script . thank you
-
to all comments of the user (show table)?
I have just intalled [Mod] Show user's comments from his profile (http://www.4homepages.de/forum/index.php?topic=4131.msg16839#msg16839)
Perhaps it is useful. If is it in memberprofil possible, must be in memberlist too? ;-)
Best,
Chris.
-
in der memberlist.php
$total_user_comments = $user_row['user_comments'];
ersetze mit
$total_user_comments = $user_row['user_comments'];
if ($total_user_comments > 0) {
$total_user_comments_link = $site_sess->url(ROOT_PATH."member.php?action=showcomments&".URL_USER_ID."=".$user_row['user_id']);
$total_user_comments_link = "<a href=\"".$total_user_comments_link."\">".$total_user_comments."</a>";
} else {
$total_user_comments_link = $total_user_comments;
}
und
$userlist .= "<td valign=\"top\" align=\"center\">".$total_user_comments."</td>\n";
mit
$userlist .= "<td valign=\"top\" align=\"center\">".$total_user_comments_link."</td>\n";
-
Genial! Genauso! Danke, Nicky! ;-)
Gruß Chris.
-
hi
i have this problem with memberlist.php, install clean not modify nothing
Parse error: syntax error, unexpected $end in C:\AppServ\www\encantojuvenil\includes\template.php(101) : eval()'d code on line 149
line 149 /153
$num_rows_all = (isset($user_cache[$user_id]['total_user'])) ? $user_cache[$user_id]['total_user'] : 0;
$link_arg = $site_sess->url(ROOT_PATH."memberlist.php?mode=$mode&order=$sort_order");
include(ROOT_PATH.'includes/user_paging.php');
$getpaging = new Paging($page, $user_per_page, $num_rows_all, $link_arg);
$offset = $getpaging->get_offset();
what is the problem, remember the install is clean and new
thanks
-
hi
i have this problem with memberlist.php, install clean not modify nothing
Parse error: syntax error, unexpected $end in C:\AppServ\www\encantojuvenil\includes\template.php(101) : eval()'d code on line 149
line 149 /153
$num_rows_all = (isset($user_cache[$user_id]['total_user'])) ? $user_cache[$user_id]['total_user'] : 0;
$link_arg = $site_sess->url(ROOT_PATH."memberlist.php?mode=$mode&order=$sort_order");
include(ROOT_PATH.'includes/user_paging.php');
$getpaging = new Paging($page, $user_per_page, $num_rows_all, $link_arg);
$offset = $getpaging->get_offset();
what is the problem, remember the install is clean and new
thanks
install this MOD i have this problem, install other MOD in spanish work fine not problem
http://www.4homepages.de/forum/index.php?topic=4420.msg19821#msg19821 (http://www.4homepages.de/forum/index.php?topic=4420.msg19821#msg19821)
****problem solved*****
-
Hallo!
Ist es irgendwie möglich, dass man die Rubrik "Lightbox-Count in Memberlist as Admin-Link" (http://www.4homepages.de/forum/index.php?topic=1954.msg72665#msg72665 ) auch in der Memberlist sortieren könnte (ohne oder nur mit einen Eintrag in die Datenbank ?) ?
Wie würde dies am Besten gehen?
Vielen Dank für Antworten!
Gruss Jones
-
hi Jones,
sorry 4 delay.
ich schau es mir an, kann aber nicht versprechen ob dies gleich wird oder erst in paar tagen...
-
ähm...
schau mal hier... da hat schon detlef was gemacht
http://www.4homepages.de/forum/index.php?topic=1954.msg72660#msg72660
hast das schon probiert?
-
Hallo Nicky
Vielen Dank für deine Mühe... Kein Problem wegen der Verspätung.
schau mal hier... da hat schon detlef was gemacht
Dieser Code habe ich in meiner Memberlist schon integriert. Genauer gesagt die erweiterte Variante: http://www.4homepages.de/forum/index.php?topic=1954.msg72665#msg72665
Aber dieser Code dient nur dazu, die Zahlen von der Lightbox anzuzeigen.
Da ich die Verlinkung der Lightbox auch für alle Members ermöglicht habe (dh in der Memberlist ersichtlich sind mit dem [Mod] Show user's lightbox to admin.), wäre es noch eine gute Option, dass man dieses auch Sortieren könnte.
Ich nehme doch an, dass es ohne zusätzlichen Eintrag in der DB nicht möglich ist (vielleicht müsst man eine Spalte mit zB user_l_images machen).
Jedenfalls komme ich da nicht mehr weiter mit dem SQL etc...
Haben auch noch andere daran Interessen? Es wäre doch noch eine gute Erweiterung in der Memberlist?!
Danke! Schönen Abend! Gruss Jones
-
... da die Anzahl der Lightboxbilder nicht (zumindest nicht standartmäßig) in der "user_tabelle" hinterlegt sind, wird es schwierig ...
... für den "Memberlist-Lightbox-Count" wird die Anzahl der Bilder pro User erst mit meiner Erweiterung "ausgezählt" ...
... wenn du nun meine "Extended-Assortment-Options for Memberlist" auch für den "Lightbox-Count" verwenden willst ...
... so brauchst du, wie bereits richtig festgestellt, eine neue Spalte "user_l_images" in der "user_tabelle" ...
...
... soweit die Theorie ...
...
... wollte man das nun umsetzen, so könnte man z.B. folgendes machen ...
... der "Lightbox-Count" wird ja nun mit jedem Aufruf der Memberlist neu bestimmt wird ...
... und so könnte man ihn dann gleich in einer neu anzulegenden DB-Spalte "user_l_images" wieder abspeichern ...
... und danach könnte man die "Extended-Assortment-Options for Memberlist" zum Sortieren nach "Lightbox-Count" erweitern ...
...
... und ich glaube das hast du vor ... ;)
... ob andere daran Interesse haben ...?... ich denke, das ist sehr spezifisch auf deine Wünsche zugeschnitten ...
... aber doch realisierbar ...
-
Hallo!
Genau so habe ich es versucht & es hat bei mir erfolgreich funktioniert. Habe den Code doch noch hingebracht... ;)
SQL-Befehl:
ALTER TABLE `4images_users` ADD `user_l_images` SMALLINT( 6 ) UNSIGNED DEFAULT '0' AFTER `user_t_images` ;
Neuer Code:
(Abgeändert mit "UPDATE user_l_images field" mit Hilfe von dem bestehendem Code: http://www.4homepages.de/forum/index.php?topic=1954.msg72665#msg72665 )
//---Lightbox-Count mit Bild-Link 28.06.2006---
$sql = "SELECT lightbox_image_ids
FROM ".LIGHTBOXES_TABLE."
WHERE user_id=".$user_row['user_id']."";
$row = $site_db->query_firstrow($sql);
$lightbox_image_ids = $row['lightbox_image_ids'];
$user_lightbox_count = (trim($lightbox_image_ids)) ? count(explode(" ",trim($lightbox_image_ids))) : 0;
$url_user_lightbox = $site_sess->url(ROOT_PATH."search.php?search_lightbox=".$user_row['user_id']);
if ($user_lightbox_count == 0){
$link_user_lightbox_count = "0";
} else {
if ($user_info['user_level'] != GUEST){
$link_user_lightbox_count = "<a href=\"".$url_user_lightbox."\" alt=\"Persönliches User-Foto-Album ansehen\" title=\"Persönliches User-Foto-Album ansehen\" /><b>$user_lightbox_count</b></a> <a href=\"".$url_user_lightbox."\" /><img src=\"".get_gallery_image("icon_slideshow_pic.gif")."\" border=\"0\" height=\"9\" /></a>";
} else {
$link_user_lightbox_count = $user_lightbox_count;
}
}
// UPDATE user_l_images field
$sql = "UPDATE ".USERS_TABLE."
SET user_l_images = ".$user_lightbox_count."
WHERE user_id = ".$user_row['user_id']."";
$site_db->query($sql);
//---END Lightbox-Count mit Bild-Link 28.06.2006---
Zusätzlich muss man noch den "Extended-Assortment-Options for Memberlist" machen.
Danach sollte es funktionieren (zumindest hat es bei mir)!
Ist bei diesem Code alles in Ordnung? Kann man es so machen?
Danke! Grüsse Jones
-
... genauso war es zu machen ... manchmal ist eben nur ein kleiner Denkanstoß notwendig ...
... die Erweiterung für "Extended-Assortment-Options for Memberlist" sollte ja nun kein Problem mehr sein ...
... habe das auch mal in meine Memberlist integriert, wobei mein "Lightbox-Counter" schon wo anders am laufen war ...
... na dann viel Erfolg beim "Lightbox-Counter"-Sortieren ... ;)
-
Hallo, :) geht soweit aber gibts eine möglichkeit das der Admin oder die admins nicht angezeigt werden?
-
Hallo,
ich habe in mein 4Images 1.7.6 Mobile Server zu Testen die MOD Mitgliederliste von Nicky installiert.
Das hat prima geklappt,nun fehlen mir aber auf der gasamten Website die Umlaute.
Woran kann das liegen?
Gruße Dirk_K
-
Danke hat sich erledigt.
Ich muß wohl oder übel in der main.php alle ? suchen und bearbeiten.
Auweia das ist viel Arbeit.
Wer es schön haben will muß leiden :wink:
-
Hallo,ich habe die Mtgliederliste von Nicky installiert.
Hat prima geklappt.
Wie bekomme ich diese Liste jetzt auf 100% in die Breite.
Ich habe schon einige Tabelleneinträge in der memberlist.html geändert.
Aber nicht den richtigen gefunden.Danke und Grüße Dirk_K
-
Here a video tutorial for this mod:
Part 1: http://www.asian-lady.org/tutors/memberlist01/memberlist01.html
Part 2: http://www.asian-lady.org/tutors/memberlist02/memberlist02.html
Part 3: http://www.asian-lady.org/tutors/memberlist03/memberlist03.html
-
The memberlist_1_7.zip download link?
First message link die
help
-
This link is the Adobe Flash Player.
http://www.macromedia.com/go/getflashplayer
-
Download: http://www.nicky.net/4images/memberlist_1_7.zip
the link off
-
That is correct.
I thought you meintest the links at the Post: # 412
Sorry, my mistake :wink:
edit
The link works.
It will be very quickly downloaded.
edit ende
-
Hallo,
ich habe in mein 4Images 1.7.6 Mobile Server zu Testen die MOD Mitgliederliste von Nicky installiert.
Das hat prima geklappt,nun fehlen mir aber auf der gasamten Website die Umlaute.
Woran kann das liegen?
Gruße Dirk_K
Hab ich auch gerade gemacht, keine Probleme, voll 1.7.6 tauglich (in der Standart Version)
-
Hallo sehr gut die memberliste ich hab auch den mod gender und country und den plz mod installiert und würde gerne die memberliste in text form sortieren können und zwar nach:
Bsp. Deutsch - Männer - Frauen - Plz 0 1 3 4 5 6 7 8 9 bereich.
gibts da ne möglichkeit?
-
Kann man die bestimmten Userlevel eines User auch im Profil und in der Mitgliederliste ausgeben?
-
@Tobi.L
... ja, kann man ... ;)
-
Ja, dass ist ja schön ^^.
Und wie geht das hihi
-
Sag mal, baust Du das alles in deine Galerie ein, fehlt praktisch nur noch ein Duden, dann hast alles drin :wink:
Du weist ja, das sich einige Mods nicht leiden können, und darum schon mal ihren Dienst verweigern :twisted:
Warum schreibst Du nicht mal alles zusammen was Du gerne hättest, und postest das den hier rein
http://www.4homepages.de/forum/index.php?board=26.0
Bin mir sicher das sich jemand findet, und dir das so zusammenstellt, das alles klappt :o
-
@ Jan-Lukas
... danke für dein Statement ...
@ Tobi.L
1. ... hier (http://www.4homepages.de/forum/index.php?topic=21801.msg118958#msg118958) ...
2. ... hier (http://www.4homepages.de/forum/index.php?topic=7385.msg119008#msg119008) ...
-
Download: http://www.nicky.net/4images/memberlist_1_7.zip
the link off
link is not off.... seams that your hoster has banned my domain.. i attached the file to my 1st post in this thread
-
@ Matthias
... da hab ich aber den falschen query rausgepickt ... sorry ...
... es muss ja der sein aus dem [Mod] Keep Track Of Each action ... !
... und der sieht so aus ... unmittelbar vor ---Clickstream---
//-------------------------------------------[ [Mod] Keep Track Of Each action ]
if ($user_info['user_level'] >= USER)
add_to_stats_user_ids($image_id, "h"); // Mod: Track User action (images hits)
//-------------------------------------------[/[Mod] Keep Track Of Each action ]
Does this MOD still exsist on the forum somewhere? I had it installed on my 1.7.1 but need to reinstall. Cant find it anywhere.
http://www.4homepages.de/forum/index.php?topic=1954.msg72627#msg72627
-
Hallo Nicky,
Danke für das Super Mitgliederliste Mod, habe es bei mir eingebaut Ver.1.7.6 und es funktioniert einwandfrei.
Lg,
Rewolve44
-
Good to hear it works for 1.7.6. I have it working to a point. I'm running into this error with one of the modifications applied to this mod. Can some one tell me what it means and how I can fix it?
Fatal error: Call to undefined function add_to_stats_user_ids() in /home/cydonian/public_html/photos/details.php on line 636
It only happens when I try to uncomment the following in my details.php
if ($user_info['user_level'] >= USER)
add_to_stats_user_ids($image_id, "h"); // Mod: Track User action (images hits)
When theres an undefined function how can I track down where the problem is? I'm running out of places to look.
-
Mod "Track User action" is no more exists on our forum, so don't uncomment these two lines ;)
-
Dam. I'll keep trying to get it to work. Anyone have it working with 1.7.6 ?
-
:flag-de:
Kann man diese Modifikation um dieses Script erweitern?
Ich würde das gerne selber machen, doch dieses english ist zu hoch für mich und auch das anpassen in php Dateien ist sehr schwer! Dort ist der html-code auch anders.
http://www.danvk.org/wp/dragtable/
:flag-en:
Can one extend this modification by this script?
I would like to make this same, but this English is too high for me and files also adapt this in php is very heavy! The HTML code is also different there.
http://www.danvk.org/wp/dragtable/
-
... ist ein nettes Java Script ... ;)
... doch eine Sortierfunktion ist bereits in der Mitgliederliste enthalten ... DropDownMenü ...
... und das DropDownMenü kann für jede Listenerweiterung angepasst werden ...
... hier : http://www.4homepages.de/forum/index.php?topic=1954.msg51748#msg51748 ...
btw. ... ich werde das Script mal testen ...
-
Aber man kann die tabellen ja nicht von rechts nach links verschieben oder? Dropdown hat doch immer mit "nach unten sortieren" zu tun oder nicht?
-
... also ich sehe mit dem Java Script nur eine vertikale Sortierung ...
-
Die Erweiterung funktioniert auch :-)
Wichtig, das dort wie der Tabellenkopf geschrieben wird müssen die td's durch th's und /th's ersetzt werden.
Hier am Beispiel der Originaldatei:
$sql = "SELECT *
FROM ".USERS_TABLE."
WHERE user_id <> ".GUEST."
ORDER BY $order_by
LIMIT $offset, $user_per_page";
$result = $site_db->query($sql);
$userlist .="\n<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\" >\n<tr>\n<td class=\"bordercolor\">\n";
$userlist .="<table width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"1\"class=\"draggable\">\n";
$userlist .="<tr>\n<th class=\"head2\" align=\"center\">".$lang['user_name']."</th>\n<th class=\"head2\" align=\"center\">".$lang['join_date']."</th>\n<th class=\"head2\" align=\"center\">".$lang['email']."</th>\n<th class=\"head2\" align=\"center\">".$lang['homepage']."</th>\n<th class=\"head2\" align=\"center\">".$lang['lang_total_user_comments']."</th>\n<th class=\"head2\" align=\"center\">".$lang['lang_total_user_images']."</th>\n</tr>\n";
dann nur noch im header.html
<script type="text/javascript" src="dragtable.js"></script>
und das Javascript im 4images Hauptverzeichnis speichern.
Nur leider klappt es nicht, wenn ich die Spalten sortieren will. Das hin und herschieben der Spalten funktioniert wie auf der Webseite beschrieben.
Gruß
Ingo
-
Ich habe version 1.7.6.
Ich habe alles nach anleitung gemacht. Wenn ich auf die Mitgliederliste gehe öffnet sich bei mir nichts. Im eingeloggtem Zustand auch. Muss ich noch was verlinken?
-
Muss ich noch was verlinken?
... als Link zu deiner Mitgliederliste kannst in deiner /templates/<dein_template>/user_logininfo.html folgendes hinzufügen ...
» <a href="./memberlist.php">Mitgliederliste</a>
... dann erscheint der Link im Menü für alle eingeloggten User ...
... die Mitgliederliste arbeitet unabhängig von der 4images Version ( sagen wir mal Version 1.7.0 bis 1.7.6 ) ...
-
vielen Dank !
läuft jetzt.
-
noch eine Frage .
Was muß ich Wo eingeben, wenn ich nur als registrierter User die Mitglieder sehen kann.
Im Moment können alle die Mitglieder sehen.
-
hi,
in der memberlist.php selbst
//-----------------------------------------------------------
//---- Uncomment to show memberlist only to registered users
//-----------------------------------------------------------
/*
if ($user_info['user_level'] == GUEST || $user_info['user_level'] == USER_AWAITING) {
show_error_page($lang['no_permission']);
exit;
}
*/
-
Hi,
so steht steht es bei mir auch, muß ich Guest ersetzen oder was much ich da eingeben. Bitte noch einen kleine Tip für einen Newbie.
-
... so wie bei Nicky steht ... "Uncomment to show memberlist only to registered users" ...
... d.h. zu deutsch ...
... entferne /* und */ aus dem von Nicky geposteten Codeabschnitt ... :wink:
-
:wink:
Vielen Dank Euch Beiden, durch Euch werde ich jeden Tag ein wenig schlauer.
Thanks
-
Hallo, tolle Mod!
Wollte nur noch nachfragen, wie ich die Standard Sortierungsmethode ändern kann?
Standard wird ja nach Benutzername sortiert wenn man es nicht ändert, würde aber sehr gerne nach Bilder standardmäßig sortieren.
Mit freundlichen Grüßen
-
hi,
in der memberlist.php
else
{
$order_by = "user_name $sort_order";
}
z.b. auf
else
{
$order_by = "user_t_images DESC";
}
ändern..
-
Hallo!
Ich hab eine Frage. Und zwar ob es möglich ist, quasi eine Top 5 der User anzuzeigen, die die meisten Kommentare geschrieben haben?!
Also in etwa so ->
1. Peter Lustig - 5 Kommentare
2. Isolde Baden - 4 Kommentare
3. Axel Schweiß - 2 Kommentare
... usw.
Kann mir da jemand helfen?
Danke schonmal!
Grüße! :)
-
Hallo und willkommen im 4images Forum ...
... das einfachste wäre dazu die Installation der Mitgliederliste von Nicky ...
... dann kannst du dir Mitglieder nach sämtlich erdenklichen Kriterien sortieren lassen ...
... wieviel Kommentare, wieviele Bilder, seit wann Mitglied, wann zuletzt online, ... usw. ... usw. ...
... [Mod] Memberlist / Mitgliederliste ...
... http://www.4homepages.de/forum/index.php?topic=1954.0 ...
-
Vielen Dank!
Ich werde es gleich mal ausprobieren!
-
Hat alles geklappt!
Leider gibt es nur ein Problem.
Bevor meine Seite im Explorer erscheint, kommt zuerst das hier:
DB Error: Bad SQL Query: UPDATE 4images_Galerieusers SET user_t_images = 0 WHERE user_id = 12
Unknown column 'user_t_images' in 'field list'
DB Error: Bad SQL Query: UPDATE 4images_Galerieusers SET user_t_images = 0 WHERE user_id = 8
Unknown column 'user_t_images' in 'field list'
DB Error: Bad SQL Query: UPDATE 4images_Galerieusers SET user_t_images = 0 WHERE user_id = 9
Unknown column 'user_t_images' in 'field list'
Was ist da schief gegangen?
:?:
Ich habe aus der page_header.php usw. weiter alles so gekürzt, dass nur noch die 5 User mit den meisten Kommentaren sichtbar sind.
Aber dann gibt es Probleme mit der Sortierung.
Wie kann man die memberliste nun so ändern, dass mein Vorhaben klappt?
-
bitte fragen immer zum mod in seinem thread stellen.. thx 8)
"Unknown column 'user_t_images' in 'field list'"
weil du die table_update.php nicht ausgeführt hast
hmm.....
das mit der page_header.php hab ich nicht verstanden..
kann mich nicht errinern das in der page_header.php was zu ändern war ausser dem punkt 3 aus meiner Readme.txt.
-
Hey there,
thank you for the mod!
I installed it, and the memberlist works (http://www.wowscreenshots.de/memberlist.php)
but there is no link on the mainpage wowscreenshots.de
Can you tell me where my mistake is?
thank you :)
-
missed step 3, the changes in includes/page_header.php
-
everything works noch. thank you!!
-
Hi,
habe auch die Mitgliederliste installiert. Läuft auch soweit.
Wie muss ich denn den Code ändern, wenn ich anstatt der Liste, für jeden Username das Profilbild haben möchte?
dachte das nur das Profilbild und der Name darunter zu sehen ist und wenn man auf das Blid klickt, das man dann direkt zum profil des Users gelangt.
Wollte das dann so machen, das ich 5 Bilder nebeneinander in zwei Reihen habe. Also 10 je Seite.
Ist das überhaupt möglich?
-
Hallo,
bei mir wird die Liste nicht richtig angezeigt.
Wo könnte der Fehler liegen?
---Fehler behoben in der Sprachdatei--------
-
Kann man die Sortiervorgabe ändern? Statt user_ name -> user_t_images (Absteigend)?
----------Google---------
Can you change the default sort? Instead user_ name -> user_t_images (Descending)?
-
Die Erweiterung funktioniert auch
Wichtig, das dort wie der Tabellenkopf geschrieben wird müssen die td's durch th's und /th's ersetzt werden.
Hier am Beispiel der Originaldatei:
$sql = "SELECT *
FROM ".USERS_TABLE."
WHERE user_id <> ".GUEST."
ORDER BY $order_by
LIMIT $offset, $user_per_page";
$result = $site_db->query($sql);
$userlist .="\n<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\" >\n<tr>\n<td class=\"bordercolor\">\n";
$userlist .="<table width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"1\"class=\"draggable\">\n";
$userlist .="<tr>\n<th class=\"head2\" align=\"center\">".$lang['user_name']."</th>\n<th class=\"head2\" align=\"center\">".$lang['join_date']."</th>\n<th class=\"head2\" align=\"center\">".$lang['email']."</th>\n<th class=\"head2\" align=\"center\">".$lang['homepage']."</th>\n<th class=\"head2\" align=\"center\">".$lang['lang_total_user_comments']."</th>\n<th class=\"head2\" align=\"center\">".$lang['lang_total_user_images']."</th>\n</tr>\n";
dann nur noch im header.html
<script type="text/javascript" src="dragtable.js"></script>
und das Javascript im 4images Hauptverzeichnis speichern.
Nur leider klappt es nicht, wenn ich die Spalten sortieren will. Das hin und herschieben der Spalten funktioniert wie auf der Webseite beschrieben.
Hi rinaldos and all others,
all you need to do to make the dragable and sortable classes work is to do the following in addition to rinaldos post:
1.) Download sortable.js from http://www.kryogenix.org/code/browser/sorttable/ (http://www.kryogenix.org/code/browser/sorttable/).
2.) Save sortable.js to your js directory, e.g. "/templates/js".
3.) In your header.html add the following reference:
<script language="javascript" type="text/javascript" src="./templates/js/sortable.js"></script>
.
4.) In /templates/yourtemplate/memberlist.html the original code must be replaced by this one (" sortable" added behind "draggable"):
$sql = "SELECT *
FROM ".USERS_TABLE."
WHERE user_id <> ".GUEST."
ORDER BY $order_by
LIMIT $offset, $user_per_page";
$result = $site_db->query($sql);
$userlist .="\n<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\" >\n<tr>\n<td class=\"bordercolor\">\n";
$userlist .="<table width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"1\"class=\"draggable sortable\">\n";
$userlist .="<tr>\n<th class=\"head2\" align=\"center\">".$lang['user_name']."</th>\n<th class=\"head2\" align=\"center\">".$lang['join_date']."</th>\n<th class=\"head2\" align=\"center\">".$lang['email']."</th>\n<th class=\"head2\" align=\"center\">".$lang['homepage']."</th>\n<th class=\"head2\" align=\"center\">".$lang['lang_total_user_comments']."</th>\n<th class=\"head2\" align=\"center\">".$lang['lang_total_user_images']."</th>\n</tr>\n";
And it works perfectly well for small lists. I have not tested it with huge member lists where paging may be applied. I guess, you'll still need the original /templates/memberlist_sort.html because you might want to apply sorting for all existing members and not for the ones only that are currently shown in the table...
Cheers,
ch-alex
-
Have created , works perfectly and looks wonderful , thanks a lot Nicky , I have put your little logo with your web on the bottom too , Daniel
-
ch-alex,
thank you for your addon! even i didn't tested it!
4ella,
what should i say? thank you for that. :)
btw. your site is looking great! keep the good work. thx again.
-
@ ch-alex,
very NICE!
@ Nicky,
wäre toll wenn das Addon mit im ersten Post aufgenommen werden würde!
-
@Nicky
Thanks , I'm very glad that you like it
and You re welcome , this is the smallest thing I can do to say and show that I appreciate all programmers here effort, I will never be able to create nothing , to help with some advice neither, so I decided to put the little logos on the footer of everybody I use the Mods , it helps you (and them) and me too , and we don't lose another Kurt. Hope that the other newbies will follow.
-
Benny,
gerade gemacht.. du musst es noch testen ob es auch funktioniert.. erwarte ein feedback :mrgreen:
4ella,
your idea is very good.. hope that another users will follow your meanings how this linksback are imported for some coders.
-
Werde ich machen 8)!
-
Now someone must do this;
Select user like this (#.A. B. C. D. E. F. G. H. I. J. K. L. M. N. O. P. Q. R. S. T. U. V. W. X. Y. Z) because with many users if you want to find someone it´s very hard... :?
Here u go ;)
1.
in memberlist.php find://----------------------------
//---- Sort ------------------
//----------------------------
Add before (above)://--------------------------------
//------ Letter Select ----------
//--------------------------------
$condition = "";
$ltr = "";
$letter = "num";
$user_search = "";
$letterbits = "<TABLE width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"1\" class=\"bordercolor\">\n<tr>\n<TD>\n<TABLE width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"3\">\n<TR align=\"center\"><td class=\"row1\">";
if (isset($HTTP_GET_VARS['ltr']) || isset($HTTP_POST_VARS['ltr'])) {
$ltr = (isset($HTTP_POST_VARS['ltr'])) ? $HTTP_POST_VARS['ltr'] : $HTTP_GET_VARS['ltr'];
}
if ($ltr) {
$letterbits .= "<normalfont><a href=\"".$site_sess->url(ROOT_PATH."memberlist.php")."\">".$lang['lang_all']."</a></normalfont>";
if ($ltr == "num") {
$condition = " AND ".get_user_table_field("", "user_name")." NOT REGEXP(\"^[a-zA-Z]\")";
}else{
$ltr = chr(intval(ord($ltr)));
$condition = ($ltr) ? " AND ".get_user_table_field("", "user_name")." LIKE '".addslashes($ltr)."%'" : "";
}
$user_search = "ltr=".$ltr;
}else{
$letterbits .= "<normalfont>[<b>".$lang['lang_all']."</b>]</normalfont>";
}
if ($ltr == $letter) {
$letterbits .= " . <normalfont>[<b>#</b>]</normalfont>";
} else {
$letterbits .= " . <normalfont><a href=\"".$site_sess->url(ROOT_PATH."memberlist.php?ltr=$letter")."\">#</a></normalfont>";
}
for ($i = 65; $i < 91; $i++) {
$letter = chr($i); $linkletter = $letter;
if ($ltr == $letter) {
$letterbits .= " . <normalfont>[<b>$letter</b>]</normalfont>";
} else {
$letterbits .= " . <normalfont><a href=\"".$site_sess->url(ROOT_PATH."memberlist.php?ltr=$letter")."\">$letter</a></normalfont>";
}
}
$letterbits .= "</td></TR>\n</TABLE>\n</TD>\n</TR>\n</TABLE>";
//---- End Letter Select ----
1.2.
Find: 'mode_action' => $site_sess->url(ROOT_PATH."memberlist.php"))
Replace with: 'letterbits' => $letterbits,
'mode_action' => $site_sess->url(ROOT_PATH."memberlist.php".(($user_search) ? "?$user_search" : "")))
1.3.
Find:$link_arg = $site_sess->url(ROOT_PATH."memberlist.php?mode=$mode&order=$sort_order");
Replace with:
$link_arg = $site_sess->url(ROOT_PATH."memberlist.php?mode=$mode&order=$sort_order".(($user_search) ? "&$user_search" : ""));
1.4.
Find: WHERE user_id <> ".GUEST;
Replace with: WHERE user_id <> ".GUEST.$condition;
1.5.
Find: WHERE user_id <> ".GUEST."
Replace with: WHERE user_id <> ".GUEST.$condition."
2.
Open /templates/<yourtemplate>/memberlist.html
Insert this tag, in place u want it be displayed:{letterbits}
for example, in my template it looks like this:
{if userlist}
{userlist_dropdown}
<BR />
{letterbits}
<BR />
{endif userlist}
See it in action here (http://come.no-ip.com/memberlist.php)
[EDITED]
Almost forgot one more step 8O
3.
Open /lang/<yourlanguage>/main.php
Find:$lang['lang_select_sort_order'] = "Order";
Add after:$lang['lang_all'] = "All";
Can you Made this for this Mod: http://www.4homepages.de/forum/index.php?topic=19586.msg137187#msg137187
-
Thx
How to display user_firstname user_lastname without user_name
http://www.4homepages.de/forum/index.php?topic=18257.0
-
Puh !
Vielen Dank @nicky. Habs ein bisschen an das default 960px Template angepasst.
Und dann wollt ich noch wissen ob das so mit dem Copyright gemacht hab ?
Kleines Bild mit alt="Memberlist MOD powered by Nicky" und title="Memberlist MOD powered by Nicky"
Schaus dir doch einfach selber an und dann einfach PM an mich obs ok ist. Merse!!
Ist für alle einsichtbar !
www.damebi.at/4images (http://www.damebi.at/4images)
-
hi Damebi und willkommen im 4images forum..
was soll ich sagen als .. VIELEN DANK !
Grüsse aus Wien 8)
-
[ENG]
How to add the user's age [via the birthday mod]?
[DEU]
Wie kann man das jeweilige Alter [mittels der birthday mod] einfügen?
-
hi,
hast du folgendes schon ausprobiert wennst den [MOD] Birthday Mod v1.0 (http://www.4homepages.de/forum/index.php?topic=11558.0) im einsatz hast
$age = calc_age($user_row['birthday']);
ich hab das jetzt nicht getestet, deshalb weiss ich es auch nicht obs funktioniert
-
hast du folgendes schon ausprobiert wennst den [MOD] Birthday Mod v1.0 (http://www.4homepages.de/forum/index.php?topic=11558.0) im einsatz hast
$age = calc_age($user_row['birthday']);
Super, das ist es. Danke! :)
-
das freut mich :)
hab mich geregt, weil ich es unbedingt sehen wollte...
kannst "Nicky" wieder löschen..
LG
-
Allet klar... danke nochmal! 8)
-
Die Erweiterung funktioniert auch
Wichtig, das dort wie der Tabellenkopf geschrieben wird müssen die td's durch th's und /th's ersetzt werden.
Hier am Beispiel der Originaldatei:
$sql = "SELECT *
FROM ".USERS_TABLE."
WHERE user_id <> ".GUEST."
ORDER BY $order_by
LIMIT $offset, $user_per_page";
$result = $site_db->query($sql);
$userlist .="\n<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\" >\n<tr>\n<td class=\"bordercolor\">\n";
$userlist .="<table width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"1\"class=\"draggable\">\n";
$userlist .="<tr>\n<th class=\"head2\" align=\"center\">".$lang['user_name']."</th>\n<th class=\"head2\" align=\"center\">".$lang['join_date']."</th>\n<th class=\"head2\" align=\"center\">".$lang['email']."</th>\n<th class=\"head2\" align=\"center\">".$lang['homepage']."</th>\n<th class=\"head2\" align=\"center\">".$lang['lang_total_user_comments']."</th>\n<th class=\"head2\" align=\"center\">".$lang['lang_total_user_images']."</th>\n</tr>\n";
dann nur noch im header.html
<script type="text/javascript" src="dragtable.js"></script>
und das Javascript im 4images Hauptverzeichnis speichern.
Nur leider klappt es nicht, wenn ich die Spalten sortieren will. Das hin und herschieben der Spalten funktioniert wie auf der Webseite beschrieben.
Hi rinaldos and all others,
all you need to do to make the dragable and sortable classes work is to do the following in addition to rinaldos post:
1.) Download sortable.js from http://www.kryogenix.org/code/browser/sorttable/ (http://www.kryogenix.org/code/browser/sorttable/).
2.) Save sortable.js to your js directory, e.g. "/templates/js".
3.) In your header.html add the following reference:
<script language="javascript" type="text/javascript" src="./templates/js/sortable.js"></script>
.
4.) In /templates/yourtemplate/memberlist.html the original code must be replaced by this one (" sortable" added behind "draggable"):
$sql = "SELECT *
FROM ".USERS_TABLE."
WHERE user_id <> ".GUEST."
ORDER BY $order_by
LIMIT $offset, $user_per_page";
$result = $site_db->query($sql);
$userlist .="\n<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\" >\n<tr>\n<td class=\"bordercolor\">\n";
$userlist .="<table width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"1\"class=\"draggable sortable\">\n";
$userlist .="<tr>\n<th class=\"head2\" align=\"center\">".$lang['user_name']."</th>\n<th class=\"head2\" align=\"center\">".$lang['join_date']."</th>\n<th class=\"head2\" align=\"center\">".$lang['email']."</th>\n<th class=\"head2\" align=\"center\">".$lang['homepage']."</th>\n<th class=\"head2\" align=\"center\">".$lang['lang_total_user_comments']."</th>\n<th class=\"head2\" align=\"center\">".$lang['lang_total_user_images']."</th>\n</tr>\n";
And it works perfectly well for small lists. I have not tested it with huge member lists where paging may be applied. I guess, you'll still need the original /templates/memberlist_sort.html because you might want to apply sorting for all existing members and not for the ones only that are currently shown in the table...
Cheers,
ch-alex
Funktioniert!!!
-
Nochmal eine Frage:
Warum verzeiht sich das Design bei der Mitgliederliste?
http://4images-aio.benny-boehnke.info/memberlist.php
Aber in der Detailsansicht nicht?
-
... weil dein eigentliches Template ein neuses Standard-Template der Version 1.7.7 ist ...
... und du bei der Mitgliederliste ein altes Template (von Nicky) verwendest ...
... du solltest nur die Mitgliederliste in dein neues Template einsetzen ...
... verwende dazu einfach die error.html ...
... und tausche ...
<b class="title">{lang_error}</b>
<hr size="1" />
<p>{error_msg}</p>
... gegen ...
<b class="title">Mitgliederliste</b>
<hr size="1" />
<p>{userlist}</p>
PS. das weitere Design ist dann natürlich deine Sache ... ;)
-
klingt logisch!
Werde ich dann mal machen!
memberlist.html 1.7.7
{header}
<table width="640" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tablehead">
<tr>
<td width="100%" colspan="4"><table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="6"><img src="{template_url}/images/header_top_left.gif" width="6" height="6" alt="" /></td>
<td width="100%"><img src="{template_url}/images/header_top.gif" width="100%" height="6" alt="" /></td>
<td width="6"><img src="{template_url}/images/header_top_right.gif" width="6" height="6" alt="" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="6"><img src="{template_url}/images/header_left.gif" width="6" height="60" alt="" /></td>
<td width="100%"><img src="{template_url}/images/header_logo.gif" width="405" height="60" alt="" /></td>
<td width="225" align="right">
<form method="post" action="{url_search}">
<table border="0" cellspacing="0" cellpadding="1">
<tr>
<td>
<input type="text" name="search_keywords" size="15" class="searchinput" />
</td>
<td>
<input type="submit" value="{lang_search}" class="button" name="submit" />
</td>
</tr>
<tr valign="top">
<td colspan="2"><a href="{url_search}" class="smalltext">{lang_advanced_search}</a></td>
</tr>
</table>
</form>
</td>
<td align="right" width="6"><img src="{template_url}/images/header_right.gif" width="6" height="60" alt="" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="bordercolor">
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td class="tablebgcolor">
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td class="navbar" height="23">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="{template_url}/images/spacer.gif" width="4" height="4" alt="" />{clickstream}</td>
<td align="right">
<a href="{url_top_images}"><b>{lang_top_images}</b></a>
<a href="{url_new_images}"><b>{lang_new_images}</b></a>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="638" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="150" valign="top" class="row2">
<table width="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="head2" height="20"><img src="{template_url}/images/spacer.gif" alt="" width="4" height="4" />{lang_registered_user}</td>
</tr>
<tr>
<td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
</tr>
<tr>
<td align="center" class="row1">{user_box} </td>
</tr>
<tr>
<td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
</tr>
</table>
{if random_image}
<table width="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="head2" height="20"> <img src="{template_url}/images/spacer.gif" alt="" width="4" height="4" />{lang_random_image}</td>
</tr>
<tr>
<td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
</tr>
<tr>
<td align="center" class="row1">
<br />
{random_image}
<br />
<br />
</td>
</tr>
<tr>
<td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
</tr>
</table>
{endif random_image}
</td>
<td width="1" class="bordercolor" valign="top"><img src="{template_url}/images/spacer.gif" width="1" height="1" alt="" /></td>
<td width="18" valign="top"><img src="{template_url}/images/spacer.gif" width="18" height="18" alt="" /></td>
<td width="450" valign="top"><br />
<b class="title">{lang_userlist_title}</b>
<hr size="1" />
<p>{paging_stats}</p>
{if userlist}
{letterbits}
<br />
<table width="450" border="0" cellspacing="0" cellpadding="1">
<tr>
<td class="head1">
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="row1" valign="top">{userlist}</td>
</tr>
</table>
</td>
</tr>
</table>
{endif userlist}
<p>{paging}</p>
</td>
<td width="20" valign="top"><img src="{template_url}/images/spacer.gif" width="19" height="19" alt="" /></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tablebottom">
<tr>
<td width="6" nowrap><img src="{template_url}/images/footer_left.gif" width="6" height="19" alt="" /></td>
<td width="100%"></td>
<td width="6" nowrap><img src="{template_url}/images/footer_right.gif" width="6" height="19" alt="" /></td>
</tr>
</table>
</td>
</tr>
</table>
{footer}
-
Hallo allerseits,
ich habe versucht, diesen Mod einzubinden. Ist bis zu einem Punkt auch gut gelaufen. Mein Problem ist, dass einige Spaltenbezeichnungen nicht angezeigt werden. Genauso ist auch das Dropdown-Menü zum Sortieren leer. Das Sortieren funktioniert aber. Die Bezeichnungen "Sortierungsmethode" und "Reihenfolge" habe ich manuell hinzugefügt. Wird also nicht über Variable angezeigt.
Wenn ich als Newbie das richtig verstanden habe, dann liegt das Problem wohl irgendwie bei den Beschreibungszuordnungen. Doch ich komme nicht weiter. Ich benutze das Iceberg-Template und 4Images v1.7.7. Anbei noch ein Screenshot. Wo liegt hier das Problem?
Gruß Bommel
Nachtrag: OK, das Problem hat sich irgendwie in Luft aufgelöst. Jetzt wird alles korrekt angezeigt. :)
-
@ zakaria666 ...
... which post- / answer translation # make not sense for you ...
-
thanks for the mod..im going to try it soon..
-
Now someone must do this;
Select user like this (#.A. B. C. D. E. F. G. H. I. J. K. L. M. N. O. P. Q. R. S. T. U. V. W. X. Y. Z) because with many users if you want to find someone it´s very hard... :?
Here u go ;)
Many thanks..its working great...
============================================
Hi..My member list is really in bad shape.. and i dont know why it is not showing images of male and female??
here you can see my memberlist page..
http://cusitonline.com/memberlist.php
i need to work on it..
but please first tell me how to make gender images to show.?
i have this mod installed for gender..
http://www.4homepages.de/forum/index.php?topic=7385.0
please looking forward for help..
-
i have installed this mod..its a nice mod..but im having little problems fixing it..
Well i have almost installed the mod.. but in gender column how to set the name "Gender" on top.. also how to arrange them so they come on top of their responding data..
Also im trying to show "Avatar" Name above avatars..
but now all i know i have to something in memberlist.php and memberlist.html... but dont know what should i do make it happen...
Looking for help..
Please help me with this.. i attached the screen shot..please see it..
i know its looking terrible now..lolz..
please help.
gosh spent all day in figuring out how to do that..
but any how now did it.. now avatar and gender both coming on top.
just added 1 line in main.php
$lang['user_avatar'] = Avatar;
and gender one was also there in main..
and then i did called that $lang['user_avatar'] in memberlist.php. also did same for gender..
Regards
Haider
-
Hi everyone.
im trying to put that drop down sorting thing in the bar above it.. how is it possible to that ...
please see the screenshot. scrn shot explains it..
-\-\-\-OFF TOPIC -/-/-/-/-/
My fellow members and admin..i know i am asking many questions about mod and enhancements and asking for help again and again.
but i dont know what else to do when i am stuked.. this the only place where i look for solutions..
i hope that all of you dont mind for my so many help questions and topics..
i also will like to help all community here with whatever i can to grow more..
i have seen many helpers who are very nice..like v@no, x23piracy etc and i m very greatful to them..
God Bless 4images..
i will put a link of 4images on my friends list of my site..
its an awesome engine..
Many thanks for this free engine..
-\-\-\-\-\ End OFF TOPIC -/-/-/-/-/
Also please help with this problem..Im stucked..i saw the coding of memberlist.html and yes i found the coding of sorting
//----------------------------
//---- Sort ------------------
//----------------------------
if(isset($HTTP_POST_VARS['order']))
{
$sort_order = ($HTTP_POST_VARS['order'] == 'ASC') ? 'ASC' : 'DESC';
}
else if(isset($HTTP_GET_VARS['order']))
{
$sort_order = ($HTTP_GET_VARS['order'] == 'ASC') ? 'ASC' : 'DESC';
}
else
{
$sort_order = 'ASC';
}
$mode_types_text = array($lang['lang_sort_avatar'], $lang['lang_sort_username'], $lang['lang_sort_gender'], $lang['lang_sort_joindate'], $lang['lang_sort_useremail'], $lang['lang_sort_homepage'], $lang['lang_sort_comments'], $lang['lang_sort_pictures']);
$mode_types = array('user_avatar', 'user_name', 'user_gender', 'user_joindate', 'user_email', 'user_homepage', 'user_comments', 'user_t_images');
$select_sort_mode = '<select class="select" name="mode">';
for($i = 0; $i < count($mode_types_text); $i++)
{
$selected = ( $mode == $mode_types[$i] ) ? ' selected="selected"' : '';
$select_sort_mode .= '<option value="' . $mode_types[$i] . '"' . $selected . '>' . $mode_types_text[$i] . '</option>';
}
$select_sort_mode .= '</select>';
$select_sort_order = '<select class="select" name="order">';
if($sort_order == 'ASC')
{
$select_sort_order .= '<option value="ASC" selected="selected">' . $lang['lang_sort_asc'] . '</option><option value="DESC">' . $lang['lang_sort_desc'] . '</option>';
}
else
{
$select_sort_order .= '<option value="ASC">' . $lang['lang_sort_asc'] . '</option><option value="DESC" selected="selected">' . $lang['lang_sort_desc'] . '</option>';
}
$select_sort_order .= '</select>';
$site_template->register_vars(array(
'lang_select_sort_method' => $lang['lang_select_sort_method'],
'lang_select_sort_order' => $lang['lang_select_sort_order'],
'select_sort_method' => $select_sort_mode,
'select_sort_order_form' => $select_sort_order,
'letterbits' => $letterbits,
'mode_action' => $site_sess->url(ROOT_PATH."memberlist.php".(($user_search) ? "?$user_search" : "")))
);
$userlist = $site_template->parse_template(memberlist_sort);
if ( isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']) )
{
$mode = ( isset($HTTP_POST_VARS['mode']) ) ? $HTTP_POST_VARS['mode'] : $HTTP_GET_VARS['mode'];
switch( $mode )
{
case 'user_joindate':
$order_by = "user_joindate $sort_order";
break;
case 'user_name':
$order_by = "user_name $sort_order";
break;
case 'user_email':
$order_by = "user_email $sort_order";
break;
case 'user_homepage':
$order_by = "user_homepage $sort_order";
break;
case 'user_comments':
$order_by = "user_comments $sort_order";
break;
case 'user_t_images':
$order_by = "user_t_images $sort_order";
break;
case 'user_gender':
$order_by = "user_gender $sort_order";
break;
default:
$order_by = "user_name $sort_order";
break;
}
}
else
{
$order_by = "user_name $sort_order";
}
//--------------------------------------------
//--------------------------------------------
but how to put that sort menu in that black bar? as all the tables comes with just one code calling in html..
{userlist}
what to do??
-
Replace
$userlist = $site_template->parse_template(memberlist_sort);
with:
$site_template->register_vars("memberlist_sort", $site_template->parse_template("memberlist_sort"));
$userlist = "";
Then use {memberlist_sort} tag in the template.
-
Replace
$userlist = $site_template->parse_template(memberlist_sort);
with:
$site_template->register_vars("memberlist_sort", $site_template->parse_template("memberlist_sort"));
$userlist = "";
Then use {memberlist_sort} tag in the template.
Wow awesome man..you are great genius..
dont know have some one told you before or not...you should also do projects online on freelancer etc...you can earn alot..
you coding is awesome..
i banged my head against these coding all day yesterday..and all i could figure out to do changes in memberlist_sort..
but this one is awesome..put anywhere in template..thats great..
Many Thanks..
Long live 4images..
-
How can i count total views of photos of the member?
And a how can i change birthday date to ages? See attache.
-
How can i count total views of photos of the member?
Find:
$sql = "SELECT COUNT(image_id) AS t_images
FROM ".IMAGES_TABLE."
WHERE user_id = $user_id";
$count_t_images = $site_db->query_firstrow($sql);
Replace it with:
$sql = "SELECT COUNT(image_id) AS t_images, SUM(image_hits) AS t_hits
FROM ".IMAGES_TABLE."
WHERE user_id = $user_id";
$count = $site_db->query_firstrow($sql);
$count_t_images = $count['t_images'];
$count_t_hits = $count['t_hits'];
After that use $count_t_hits to display total image hits
And a how can i change birthday date to ages? See attache.
http://www.4homepages.de/forum/index.php?topic=1954.msg138808#msg138808
-
I did it but i've got blue table (((
What is wrong?
How can i count total views of photos of the member?
Find:
$sql = "SELECT COUNT(image_id) AS t_images
FROM ".IMAGES_TABLE."
WHERE user_id = $user_id";
$count_t_images = $site_db->query_firstrow($sql);
Replace it with:
$sql = "SELECT COUNT(image_id) AS t_images, SUM(image_hits) AS t_hits
FROM ".IMAGES_TABLE."
WHERE user_id = $user_id";
$count = $site_db->query_firstrow($sql);
$count_t_images = $count['t_images'];
$count_t_hits = $count['t_hits'];
After that use $count_t_hits to display total image hits
-
try this:
WHERE user_id = ".$user_info['user_id']."";
-
press CTRL+A on the page.
-
try this:
WHERE user_id = ".$user_info['user_id']."";
All users have the same number of photos. It's not good.
After Ctrl+A
-
WHERE user_id = ".$user_row['user_id']."";
:?:
-
WHERE user_id = ".$user_row['user_id']."";
:?:
This is better but table is blue still and no number of view of photos.
-
UPDATE 28.02.2003
hi @all,
this mod will intergrate a memberlist that can be viewed by ENDuser's.
Installinstruction you will find in Readme.txt
it's for 4images v 1.7.x
*****
diese modifikation erlaubt es endusern die mitgliederliste einzusehen.
Installationsinstruktion befinden sich in der Readme.txt
ist für 4images v 1.7.x
Download: http://www.nicky.net/4images/memberlist_1_7.zip
Demo: removed :) (Nicky)
have fun
*****
viel spass
Here a video tutorial for this mod:
Part 1: http://www.asian-lady.org/tutors/memberlist01/memberlist01.html
Part 2: http://www.asian-lady.org/tutors/memberlist02/memberlist02.html
Part 3: http://www.asian-lady.org/tutors/memberlist03/memberlist03.html
hi, ist dise MOD aktuel für 1.7.8?
Erweiterungen Mitgliederliste / Extensions Memberlist
Die folgenden Erweiterungen wurden bereits auf den nächsten Seiten veröffentlicht :
*****
The following extensions were already published on the next pages :
- Letter Select (http://www.4homepages.de/forum/index.php?topic=1954.msg18810#msg18810) by V@no
- English language (http://www.4homepages.de/forum/index.php?topic=1954.msg21249#msg21249) by V@no
- User online/offline with text (http://www.4homepages.de/forum/index.php?topic=1954.msg27085#msg27085) by brandkanne
- User Sex/Gender (http://www.4homepages.de/forum/index.php?topic=1954.msg34856#msg34856) by excitex2
- Sort by Sex/Gender (http://www.4homepages.de/forum/index.php?topic=1954.msg35705#msg35705) by ascanio
- Adding Border (http://www.4homepages.de/forum/index.php?topic=1954.msg35870#msg35870) by martrix
- User online in red (http://www.4homepages.de/forum/index.php?topic=1954.msg39263#msg39263) by Flatermann
- Usergroups (http://www.4homepages.de/forum/index.php?topic=1954.msg41102#msg41102) by Jan
- Join Date / Last action (http://www.4homepages.de/forum/index.php?topic=1954.msg49379#msg49379) by urmasmuld
- Edit- and Delete-Links only for Admins (http://www.4homepages.de/forum/index.php?topic=1954.msg50498#msg50498) by mawenzi
- Extended-Assortment-Options (http://www.4homepages.de/forum/index.php?topic=1954.msg51748#msg51748) by mawenzi
- PM-Button (http://www.4homepages.de/forum/index.php?topic=1954.msg54648#msg54648) by mawenzi
- Member Search Field (http://www.4homepages.de/forum/index.php?topic=1954.msg55461#msg55461) by mawenzi / v@no?
- Online- / Offline-Button (http://www.4homepages.de/forum/index.php?topic=1954.msg56808#msg56808) by Darkness2001
- Lightbox-Count (http://www.4homepages.de/forum/index.php?topic=1954.msg72660#msg72660) by mawenzi
- Lightbox-Count as Admin Link (http://www.4homepages.de/forum/index.php?topic=1954.msg72665#msg72665) by mawenzi
- Sortable by click on column header (http://www.4homepages.de/forum/index.php?topic=1954.msg134283#msg134283) by ch-alex
have more fun - mawenzi
*****
habt noch mehr spass - mawenzi
und brauche ich das dazu oder ist es auf wunsch?
Danke
-
Danke für ihr antvort! :thumbup:
-
......
und brauche ich das dazu oder ist es auf wunsch?
....
nein, steht doch dort das es erweiterungen sind.
-
hi,
wen ich füge das an ---> 4images_users ADD user_t_images SMALLINT( 6 ) DEFAULT '0' NOT NULL ;
4images <---- prefix
komt fehla:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '4images_users ADD user_t_images SMALLINT( 6 ) DEFAULT '0' NOT NULL' at line 1
kann mir niemand helfen?
danke
-
ALTER TABLE `4images_users` ADD `user_t_images` SMALLINT(6) DEFAULT '0' NOT NULL
-
Question is open still.
I want to add hits to memberlist.
I changed
// --------------------------
// COUNT users pics
// --------------------------
$sql = "SELECT COUNT(image_id) AS t_images, SUM(image_hits) AS t_hits
FROM ".IMAGES_TABLE."
WHERE user_id = ".$user_row['user_id']."";
$count = $site_db->query_firstrow($sql);
$count_t_images = $count['t_images'];
$count_t_hits = $count['t_hits'];
// --------------------------
but i've got blue table.
Could you help me?
Maybe i need to show all my memberlist.php file?
-
Moin Leute
die Benutzer liste die hier gepostet wurde ( http://www.4homepages.de/forum/index.php?topic=1954.0)
gilt diese auch für 1.7.10 ? wäre Dankbar für eine Antwort.LG Achim
-
Moin Leute
die Benutzer liste die hier gepostet wurde ( http://www.4homepages.de/forum/index.php?topic=1954.0)
gilt diese auch für 1.7.10 ? wäre Dankbar für eine Antwort.LG Achim
Würde mich auch mal interessieren...
-
bei mir schon
-
Hallo zusammen,
ich nutze 4images 1.7.11 und habe den tollen Mod installiert.
3 1 kleine Problemchen habe ich allerdings noch:
1.) Ich habe zusätzlich den [Mod] Letze aktive User / Last active users (http://www.4homepages.de/forum/index.php?topic=5911.0) eingebaut (so wie hier (http://www.4homepages.de/forum/index.php?topic=1954.msg49379#msg49379) beschrieben) und lasse mir das Ergebnis in der memberlist anzeigen.
Das funktioniert auch wunderprächtig, aber:
Die Sortierfunktion macht was sie will (siehe Anhang im Bild). Das Ergebnis der Sortierung stimmt einfach nicht.
Hier mal der relevante Teil der memberlist.php
2.) Ich lasse mir den online-Status in der memberlist anzeigen (siehe Bild im Anhang)...funktioniert auch prima, aber:
Die Spaltenüberschrift erscheint nicht.
Wo habe ich da was übersehen???
Hier meine main.php dazu:
3.) Ja, ich habe die Verweise auf verschiedene hinweise zu der folgenden Frage gelesen und mich auch daran versucht. Aber ich bin kläglich gescheitert, weil ich einfach nicht durchblicke.
Daher traue ich mich trotz alledem nochmal zu fragen:
Ich habe den [MOD] Avatar 2.01 (http://www.4homepages.de/forum/index.php?topic=3978.0) installiert und möchte mir nun das Avatar (sofern eins vorhanden ist) ganz links in einer neuen Spalte anzeigen lassen.
Würde einer von euch über seinen Schatten springen und mir die nötigen Schritte verständlich mitteilen?
Vielen Dank schonmal im voraus.
Gruß von Teddy