problems with user

Allgemeiner Support zum phpBB 2 Board und phpBB 2 Modifikationen
Forumsregeln
Auch wenn hier der Support für phpBB 2 weiterhin aufrecht erhalten bleibt, weisen wir darauf hin, dass das phpBB 2 nicht mehr offiziell unterstützt und weiterentwickelt wird!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

There is icon_email line, and this email icon dissapear only when user is absend and only for administrators.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Yes, just for Admins and Moderators, if they are able to send messages to absent users.
The line from includes/functions.php:

Code: Alles auswählen

		$email_img = str_replace($images['icon_email'], $absence_img, $email_img);
This line uses $images['icon_email'] to replace the email button.
The $absence_img will be used here instead, but only, if you have mod the .cfg File from every template like the mod will do for subSilver!

Shorten:
The icon is missing from this point for displaying.
This line and the function will use the image definition which you must insert in each template.cfg-file.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

Ok I checked includes/functions.php

Code: Alles auswählen

$email_img = ' '.str_replace($images['icon_email'], $absence_img, $email_img);
and found only this line

then I checked cfg file for all templates.

Code: Alles auswählen

$images['icon_email'] = "$current_template_images/{LANG}/icon_email.gif\" width=\"$topic_iw\" height=\"$topic_ih\" class=\"imgfade\" " . "$ifade";
os it should work or am I missing something'


And I trayed next, when i click on the properties of this missing icon I get this
http://www.povej.net/forum/templates/fi ... f%20class=

If I click on properties on icon next to this missing icon I get
http://www.povej.net/forum/templates/fi ... con_pm.gif
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

This is correct for icon_email.
But what's with this ones:
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/subSilver.cfg

#
#-----[ FIND ]------------------------------------------
#
?>

#
#-----[ BEFORE, ADD ]------------------------------------------
#
$images['On_holidays'] = "$current_template_images/{LANG}/icon_holiday.gif";
$images['User_ill'] = "$current_template_images/{LANG}/icon_ill.gif";
$images['Longer_absenct'] = "$current_template_images/{LANG}/icon_longer_absent.gif";
???
You MUST insert these lines in ALL Template-cfg Files to be able to catch these icons!
Please check this out...

And regard to copy the icons to each language folder under templates/yourtemplate/images/lang_.../!!!
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

I know that, so I checked that already 3 times before even post here a question.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Big erors with them!
Find

Code: Alles auswählen

$images['On_holidays'] = "$current_template_images/{LANG}/icon_holiday.gif class=\"imgfade\" " . "$ifade";
$images['User_ill'] = "$current_template_images/{LANG}/icon_ill.gif class=\"imgfade\" " . "$ifade";
$images['Longer_absenct'] = "$current_template_images/{LANG}/icon_longer_absent.gif class=\"imgfade\" " . "$ifade";
and replace these lines with

Code: Alles auswählen

$images['On_holidays'] = "$current_template_images/{LANG}/icon_holiday.gif\" class=\"imgfade\" " . "$ifade";
$images['User_ill'] = "$current_template_images/{LANG}/icon_ill.gif\" class=\"imgfade\" " . "$ifade";
$images['Longer_absenct'] = "$current_template_images/{LANG}/icon_longer_absent.gif\" class=\"imgfade\" " . "$ifade";
If you insert new images in a style, do it right!
You'd forgotten the \" behind the image names!
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

Thank you, now it work on the user post profile, and user profile.
Only here is not showen icon
Bild
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Will this be the message after sending a PN?
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

no this is message when i click on icon PM of the absent user!
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Can you please post the link from the missing image? (Mouse right click > attribute)
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

And now I'm confused:
Why this image will not be displayed, it it still exists and the link will be correct ...
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

don't know.
You can check by yourself on forum if you like
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Problem: I can't login on your forum (old password, new password, new generated password) to take a look!
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

Ok try now I have reset password age.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Okay, in this style the icon will be wrong:

Code: Alles auswählen

http://www.povej.net/forum/templates/fisubsilversh/images/lang_english/icon_ill.gif"
I'd fixed it for one style, but not for ALL!
Just us my fix (the \" fix!) for just the one template. The rest mustn't be fixed to display the icons...
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

Sorry, can you tell me in which file did you fixed that?
And I checked but icon is still missing.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

In the cfg-File from the template...
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

:eek:
did you notice what happends.
Now the icon is there, but the icon for email is gone from user post profile.
Bild
Zuletzt geändert von Blisk am Fr 17.Mär, 2006 13:11, insgesamt 1-mal geändert.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

I think, it's a template problem...
Not the template itself will be corrupt, but my method to replace the icon.
Please undo the latest change on the cfg file and attach the privmsg.php.
I'll try to fix the message display to get the image...
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

Ok I did undo changes in cfg files.
and here is file
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Try this:
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

no it doesn't work, it is lik before.
icon for email si lost.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Can you please post again the attribute from this image?
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

Sorry don't understand what do you mean with atributes?
Antworten