4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2018, 08:02:22 AM

Login with username, password and session length
Search:     Advanced search
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 ... 14 15 16 17 [18] 19 20 21 22 ... 34 » »» Print
Current Topic Rating: *****
Author Topic: [Mod] Memberlist / Mitgliederliste > for/für v 1.7.x  (Read 480679 times)
mawenzi
Moderator
4images Guru
*****
Offline Offline

Posts: 4500

Thank You
-Given: 36
-Receive: 121


View Profile
« Reply #255 on: December 09, 2005, 04:42:51 PM »


Findest du leider nicht mehr hier ... aber ... folgt demnächst ... !

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) ...
Olphi
Full Member
***
Offline Offline

Posts: 101

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #256 on: December 09, 2005, 06:29:31 PM »

 Very Happy Ok, dann wartet schon jemand  Razz
Logged
Stoleti
Hero Member
*****
Offline Offline

Posts: 574

Thank You
-Given: 0
-Receive: 1


View Profile
« Reply #257 on: December 11, 2005, 02:15:40 AM »

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)  Shocked

Logged
Stoleti
Hero Member
*****
Offline Offline

Posts: 574

Thank You
-Given: 0
-Receive: 1


View Profile
« Reply #258 on: December 11, 2005, 02:26:31 AM »

image:

* memberlist.jpg (120.32 KB - downloaded 868 times.)
Logged
TIMT
Hero Member
*****
Offline Offline

Posts: 505

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #259 on: December 13, 2005, 10:40:26 PM »

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
Logged
mawenzi
Moderator
4images Guru
*****
Offline Offline

Posts: 4500

Thank You
-Given: 36
-Receive: 121


View Profile
« Reply #260 on: December 14, 2005, 04:36:58 PM »

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 von V@no auf deiner 4images Website voraus !

1.Schritt
finde in memberlist.php (oder ähnlich bei Modifizierung ...) :
1
$userlist .="\n<td width=\"7%\" class=\"head2\" valign=\"top\" align=\"center\"><small>&nbsp;".$lang['email']."&nbsp;</small></td>";
füge danach folgendes ein :
1
$userlist .="\n<td width=\"7%\" class=\"head2\" valign=\"top\" align=\"center\"><small>&nbsp;".$lang['user_pm']."&nbsp;</small></td>";

2.Schritt
finde in memberlist.php (oder ähnlich bei Modifizierung ...) :
1
2
3
if ($count == 0) {
      $row_bg_number = ($bgcounter++ % 2 == 0) ? 1 : 2;
      $userlist .= "<tr class=\"imagerow".$row_bg_number."\">\n";
füge davor folgendes ein :
1
2
$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 ...) :
1
$userlist .= "<td valign=\"top\" align=\"center\">".$user_email_button."</td>\n";
füge dahinter folgendes ein :
1
$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 ...) :
1
$lang['lang_userlist_title'] = "Die Mitgliederliste";
füge dahinter folgendes ein :
1
2
$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 ...


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
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) ...
Loda
Sr. Member
****
Offline Offline

Posts: 353

Thank You
-Given: 32
-Receive: 9


View Profile WWW
« Reply #261 on: December 14, 2005, 05:16:47 PM »

hallo, mawenzi!
danke für die erweiterung..
leider funktioniert bei mir der link zur pm nicht
1
$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.
Logged
mawenzi
Moderator
4images Guru
*****
Offline Offline

Posts: 4500

Thank You
-Given: 36
-Receive: 121


View Profile
« Reply #262 on: December 14, 2005, 05:36:12 PM »

... Danke für den Report ... mir ist beim Rausfischen aus meiner Liste etwas Code verloren gegangen ...
... habe im 2.Schritt den Code aktualisiert !

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) ...
Loda
Sr. Member
****
Offline Offline

Posts: 353

Thank You
-Given: 32
-Receive: 9


View Profile WWW
« Reply #263 on: December 14, 2005, 05:40:32 PM »

danke!
nun geht es!
Logged
Olphi
Full Member
***
Offline Offline

Posts: 101

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #264 on: December 14, 2005, 06:20:43 PM »

... 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  Very Happy

Cheers
Logged
mawenzi
Moderator
4images Guru
*****
Offline Offline

Posts: 4500

Thank You
-Given: 36
-Receive: 121


View Profile
« Reply #265 on: December 14, 2005, 06:52:02 PM »

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 ...
1
$userlist .="\n</tr>\n";

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) ...
Darkness2001
Full Member
***
Offline Offline

Posts: 151

Thank You
-Given: 0
-Receive: 0


View Profile WWW
« Reply #266 on: December 15, 2005, 10:56:07 AM »

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  Mr. Green
Logged

TheOracle
Hero Member
*****
Offline Offline

Posts: 875

Thank You
-Given: 0
-Receive: 3


View Profile
« Reply #267 on: December 25, 2005, 09:55:29 PM »

It would seems there's a better modulation for the following line in memberlist.php file :

Quote  [Expand]

$user_profile_link = (!empty($url_show_profile)) ? preg_replace("/{user_id}/", $user_row['user_id'], $url_show_profile) : ROOT_PATH."member.php?action=showprofile&amp;".URL_USER_ID."=".$user_row['user_id'];


simply replace it with :

1
2
3

$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&amp;".URL_USER_ID."=".$user_row['user_id']);


Merry Christmas. Wink
Logged
TIMT
Hero Member
*****
Offline Offline

Posts: 505

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #268 on: December 25, 2005, 10:51:31 PM »

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...
Logged
TheOracle
Hero Member
*****
Offline Offline

Posts: 875

Thank You
-Given: 0
-Receive: 3


View Profile
« Reply #269 on: December 25, 2005, 11:06:31 PM »

I remember seeing this request as successful in the old forum. It hasn't been re-published on this topic since ?
Logged
Pages: «« « 1 ... 14 15 16 17 [18] 19 20 21 22 ... 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.056 seconds with 21 queries.