• [Mod] Memberlist / Mitgliederliste > for/für v 1.7.x 5 0 5 1
Currently:  

Author Topic: [Mod] Memberlist / Mitgliederliste > for/für v 1.7.x  (Read 618905 times)

0 Members and 1 Guest are viewing this topic.

TheOracle

  • Guest
Re: [Mod] Memberlist / Mitgliederliste > for/für v 1.7.x
« Reply #195 on: September 03, 2005, 10:02:16 PM »
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 :

Quote

$lang['lang_sort_comments'], $lang['lang_sort_pictures']);


replace with :

Code: [Select]

$lang['lang_sort_comments'], $lang['lang_sort_pictures'], $lang['profile_hits']);


Then, find :

Quote

'user_comments', 'user_t_images');


replace with :

Code: [Select]

'user_comments', 'user_t_images', 'profile_hits');


Then, find :

Quote

case 'user_t_images':
         $order_by = "user_t_images $sort_order";
         break;


add right below :

Code: [Select]

case 'profile_hits':
            $order_by = "profile_hits $sort_order";
            break;


Then, find this line :

Quote

$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 :

Code: [Select]

$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 :

Quote

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 :

Code: [Select]

$profile_hits = "";


Then, find :

Quote

$total_user_comments = $user_row['user_comments'];


add right below :

Code: [Select]

$profile_hits = ($config['profile_hits_activation'] == 1) ? $user_row['profile_hits'] : $lang['profile_hits_na'];


Then, find :

Quote

$userlist .= "<td valign=\"top\" align=\"center\">".$total_user_images_link."</td>";


add right below :

Code: [Select]

$userlist .= "<td valign=\"top\" align=\"center\">".$profile_hits."</td>\n";


Then, try your memberlist page. That should be all. ;)

Offline beseech

  • Full Member
  • ***
  • Posts: 150
    • View Profile
Re: [Mod] Memberlist / Mitgliederliste > for/für v 1.7.x
« Reply #196 on: September 07, 2005, 05:08:59 PM »
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 ?

Offline Hein

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
Re: [Mod] Memberlist / Mitgliederliste > for/für v 1.7.x
« Reply #197 on: September 07, 2005, 11:16:01 PM »
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

TheOracle

  • Guest
Re: [Mod] Memberlist / Mitgliederliste > for/für v 1.7.x
« Reply #198 on: September 07, 2005, 11:59:43 PM »
Quote

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.

Offline Hein

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
Re: [Mod] Memberlist / Mitgliederliste > for/für v 1.7.x
« Reply #199 on: September 08, 2005, 08:33:05 AM »
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

TheOracle

  • Guest
Re: [Mod] Memberlist / Mitgliederliste > for/für v 1.7.x
« Reply #200 on: September 08, 2005, 11:14:09 AM »
Sorry. I do not have enough experience with the paging class yet.

Offline Hein

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
Re: [Mod] Memberlist / Mitgliederliste > for/für v 1.7.x
« Reply #201 on: September 08, 2005, 11:25:54 AM »
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

Offline Hein

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
Re: [Mod] Memberlist / Mitgliederliste > for/für v 1.7.x
« Reply #202 on: September 18, 2005, 10:20:39 PM »
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




TheOracle

  • Guest
Re: [Mod] Memberlist / Mitgliederliste > for/für v 1.7.x
« Reply #203 on: September 18, 2005, 10:24:46 PM »
Quote

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. ;)

Offline Hein

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
Re: [Mod] Memberlist / Mitgliederliste > for/für v 1.7.x
« Reply #204 on: September 18, 2005, 10:34:11 PM »
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

TheOracle

  • Guest
Re: [Mod] Memberlist / Mitgliederliste > for/für v 1.7.x
« Reply #205 on: September 18, 2005, 10:50:33 PM »
Point taken.  8)

Thanks again for posting these updates. ;)

Offline ungu

  • Pre-Newbie
  • Posts: 9
    • View Profile
    • http://weinandy.net
Re: [Mod] Memberlist / Mitgliederliste > for/für v 1.7.x
« Reply #206 on: September 24, 2005, 02:33:12 PM »
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 :)

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [Mod] Memberlist / Mitgliederliste > for/für v 1.7.x
« Reply #207 on: September 24, 2005, 03:29:54 PM »
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
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

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

Offline ungu

  • Pre-Newbie
  • Posts: 9
    • View Profile
    • http://weinandy.net
Re: [Mod] Memberlist / Mitgliederliste > for/für v 1.7.x
« Reply #208 on: September 24, 2005, 04:14:16 PM »
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? :)

Offline Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: [Mod] Memberlist / Mitgliederliste > for/für v 1.7.x
« Reply #209 on: September 24, 2005, 04:58:51 PM »
/* */ hat in php die selbe Funktion wie <!-- --> in HTML

Damit kommentiert man die Teile aus...