4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
February 19, 2018, 04:35:57 AM

Login with username, password and session length
Search:     Advanced search
Follow 4images on twitter: Click here to follow!
Togle to toolbar
Translate this page with =>
Translate this page >
* Home Help Search Login Register
 
+  4images Forum & Community
|-+  4images Modifications / Modifikationen
| |-+  Mods & Plugins (Releases & Support) (Moderators: mawenzi, Rembrandt)
| | |-+  [Mod] Memberlist / Mitgliederliste > for/für v 1.7.x
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: «« « 1 ... 10 11 12 13 [14] 15 16 17 18 ... 34 » »» Print
Current Topic Rating: *****
Author Topic: [Mod] Memberlist / Mitgliederliste > for/für v 1.7.x  (Read 468875 times)
TheOracle
Guest
« 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  [Expand]

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


replace with :

1
2
3

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


Then, find :

Quote  [Expand]

'user_comments', 'user_t_images');


replace with :

1
2
3

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


Then, find :

Quote  [Expand]

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


add right below :

1
2
3
4
5

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


Then, find this line :

Quote  [Expand]

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

1
2
3

$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  [Expand]

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 :

1
2
3

$profile_hits = "";


Then, find :

Quote  [Expand]

$total_user_comments = $user_row['user_comments'];


add right below :

1
2
3

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


Then, find :

Quote  [Expand]

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


add right below :

1
2
3

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


Then, try your memberlist page. That should be all. Wink
Logged
beseech
Full Member
***
Offline Offline

Posts: 150

Thank You
-Given: 0
-Receive: 0


View Profile
« 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 ?
Logged
Hein
Jr. Member
**
Offline Offline

Posts: 99

Thank You
-Given: 0
-Receive: 0


View Profile
« 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
Logged
TheOracle
Guest
« Reply #198 on: September 07, 2005, 11:59:43 PM »

Quote  [Expand]

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.
Logged
Hein
Jr. Member
**
Offline Offline

Posts: 99

Thank You
-Given: 0
-Receive: 0


View Profile
« 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} Wink).

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
Logged
TheOracle
Guest
« Reply #200 on: September 08, 2005, 11:14:09 AM »

Sorry. I do not have enough experience with the paging class yet.
Logged
Hein
Jr. Member
**
Offline Offline

Posts: 99

Thank You
-Given: 0
-Receive: 0


View Profile
« 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
Logged
Hein
Jr. Member
**
Offline Offline

Posts: 99

Thank You
-Given: 0
-Receive: 0


View Profile
« 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



Logged
TheOracle
Guest
« Reply #203 on: September 18, 2005, 10:24:46 PM »

Quote  [Expand]

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. Wink
Logged
Hein
Jr. Member
**
Offline Offline

Posts: 99

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #204 on: September 18, 2005, 10:34:11 PM »

Dear Oracle,

sorry I don´t mean your great support here.  Razz

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  Laughing

Now I hope i can give back a little bit, from all the received help here, for instance from you   Laughing

Hein
Logged
TheOracle
Guest
« Reply #205 on: September 18, 2005, 10:50:33 PM »

Point taken.  Cool

Thanks again for posting these updates. Wink
Logged
ungu
Pre-Newbie

Offline Offline

Posts: 9

Thank You
-Given: 0
-Receive: 0


View Profile WWW
« Reply #206 on: September 24, 2005, 02:33:12 PM »

Hi Smile
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 Smile
Logged

mawenzi
Moderator
4images Guru
*****
Offline Offline

Posts: 4500

Thank You
-Given: 36
-Receive: 121


View Profile
« 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
Logged

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) ...
ungu
Pre-Newbie

Offline Offline

Posts: 9

Thank You
-Given: 0
-Receive: 0


View Profile WWW
« Reply #208 on: September 24, 2005, 04:14:16 PM »

Danke Mawenzi,

also nochmal für mich zum mitschreiben Wink wenn noch /* ... und ... */ davor und danach ist...dann ist es generell noch nicht funktionsfähig ...richtig? Smile
Logged

Acidgod
4images Moderator
4images Guru
*****
Offline Offline

Posts: 2420

Thank You
-Given: 0
-Receive: 1

It's me?


View Profile WWW
« 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...
Logged

Pages: «« « 1 ... 10 11 12 13 [14] 15 16 17 18 ... 34 » »» Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.227 seconds with 21 queries.
Post your comments here