• [MOD] PMv2 Tutorial Republished here 5 0 5 1
Currently:  

Author Topic: [MOD] PMv2 Tutorial Republished here  (Read 624022 times)

0 Members and 1 Guest are viewing this topic.

Offline ascanio

  • Hero Member
  • *****
  • Posts: 569
    • View Profile
    • http://www.surfourspace.net
Re: [MOD] PMv2 Tutorial Republished here
« Reply #30 on: April 19, 2005, 07:09:08 AM »
Hi, is there any way to put by default the popup message on? and then if the user want to chage it they can go to control panel.

Offline michi-w.

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #31 on: April 19, 2005, 05:11:26 PM »
actualy the problem is in PHP itself...some PHP versions cant "see" value of the "submit" button - and that what preview button is based on...u'll have to use javascript in the preview button:
Code: [Select]
onClick="action.value='preview';"


What :?:

Where does that have purely, in the header HTML?

Offline martrix

  • Hero Member
  • *****
  • Posts: 755
    • View Profile
    • overlord.cz
Re: [MOD] PMv2 Tutorial Republished here
« Reply #32 on: April 19, 2005, 05:34:51 PM »
Where does that have purely, in the header HTML?

No. In the pm_new.html as described >>here<<

The easiest way for you is to re-download the PM2 package from V@no's page - he did include that into the package a few days ago...
and if you did download the PM2 package after the 13th April 2005, you don't have to change anything  :wink:
MAяTRIX


Offline michi-w.

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #33 on: April 19, 2005, 10:23:36 PM »
My last download was 17.04.05, the mod is inserted, I am finished?

There is a German translation (main.php)?

Offline martrix

  • Hero Member
  • *****
  • Posts: 755
    • View Profile
    • overlord.cz
Re: [MOD] PMv2 Tutorial Republished here
« Reply #34 on: April 19, 2005, 10:47:44 PM »
There is a German translation (main.php)?
Did you mean:
Is there a german translation of the main.php part?
?
 :wink:

Code: [Select]
//--- PM (Private Messaging) ---
$lang['pm'] = "Private Messaging";
$lang['pm_inbox'] = "Inbox";
$lang['pm_outbox'] = "Outbox";
$lang['pm_sentbox'] = "Sentbox";
$lang['pm_link'] = "&nbsp;&nbsp;&nbsp;du hast<br />&raquo&nbsp;<b>{msg_new_count}</b> neue Nachricht(en)<br />&nbsp;&nbsp;&nbsp;in deiner <b>{inbox}</b>.";
$lang['pm_short'] = "PM";
$lang['pm_error'] = "Error";
$lang['pm_error_to'] = "Du musst einen Empfänger wählen.";
$lang['pm_error_to_notfound'] = "Empfänger nicht gefunden.";
$lang['pm_error_subject'] = "Du musst einen Betreff eingeben.";
$lang['pm_error_message'] = "Du musst eine Nachricht eingeben.";
$lang['pm_error_folder'] = "Kein Ordner ausgewählt.";
$lang['pm_error_id'] = "Nichts zu zeigen.";
$lang['pm_error_delete'] = "Nichts zu löschen.";
$lang['pm_compose'] = "Erstellen";
$lang['pm_delete'] = "Löschen";
$lang['pm_delete_selected'] = "Markierte löschen";
$lang['pm_delete_all'] = "Alle löschen";
$lang['pm_delete_success'] = "Die Nachrichten wurden erfolgreich gelöscht";
$lang['pm_delete_confirm'] = "Sind Sie sicher die Nachricht von <b>".$lang['pm_'.$mode]."</b> zu löschen?";
$lang['pm_delete_confirm_select'] = "Sind Sie sicher die markierten Nachrichten von <b>".$lang['pm_'.$mode]."</b> zu löschen?";
$lang['pm_delete_confirm_all'] = "Sind Sie sicher alle Nachrichten von <b>".$lang['pm_'.$mode]."</b>? zu löschen?";
$lang['pm_new'] = "Neue Nachricht";
$lang['pm_new_messages'] = "Neue Nachrichten";
$lang['pm_new_is_one'] = "Du hast <b>{count}</b> neue Nachrichten"; //You have xx new message(s)
$lang['pm_ppm'] = "<b>{count}</b> Neue";
$lang['pm_message_single'] = "Nachricht";
$lang['pm_message_plural'] = "Nachrichten";
$lang['pm_select_user'] = "Wähle einen Benutzer";
$lang['pm_sent_success'] = "Die Nachricht wurde erfolgreich gesendet.";
$lang['pm_save_success'] = "Die Nachricht wurde erfolgreich bearbeitet.";
$lang['pm_redirect'] = "Bitte warte einen Moment";
$lang['pm_empty'] = "Keine neuen Nachrichten in diesem Ordner.";
$lang['pm_reply'] = "Antworten";
$lang['pm_view'] = "Nachricht anzeigen";
$lang['pm_mark'] = "Markieren";
$lang['pm_edit'] = "Bearbeiten";
$lang['pm_subject'] = "Betreff";
$lang['pm_message'] = "Nachricht";
$lang['pm_to'] = "An";
$lang['pm_date'] = "Datum";
$lang['pm_send'] = "Senden";
$lang['pm_preview'] = "Vorschau";
$lang['pm_status'] = "Status";
$lang['pm_from'] = "Von";
$lang['pm_html'] = "Aktiviere HTML-Code in dieser Nachricht.";
$lang['pm_bbcode'] = "Aktiviere BB-Code in dieser Nachricht.";
$lang['pm_smiles'] = "Aktiviere Smilies in dieser Nachricht.";
$lang['pm_perpage'] = "Nachrichten pro Seite.";
$lang['pm_user_pm'] = "PM";
$lang['pm_user_pm_alt'] = "Sende eine Private Nachricht";
$lang['pm_total'] = "Insgesamte Nachrichten";
$lang['pm_received'] = "Erhalten";
$lang['pm_quote'] = "Zitat";
$lang['pm_error_save'] = "Fehler beim Nachricht speichern.";
$lang['pm_error_notfound'] = "Konnte Nachricht nicht finden";
$lang['pm_paging_stats'] = "Du hast {total_cat_images} Nachricht(en) {new} auf {total_pages} Seite(n) im Ordner {box}.<br />Angezeigt: Nachricht {first_page} bis {last_page}.";
$lang['pm_email'] = "Email-Benachrichtigung bei neuer Nachricht.";
$lang['pm_popup'] = "PopUp Fenster bei neuer Nachricht";
$lang['pm_popup_confirm'] = "Du hast eine neue Nachricht. Klicke auf OK, um sie dir anzuschauen.";
$lang['pm_popup_newwindow'] = "In neuem Fenster öffnen?\\n\\n(Abbrechen, um in diesem Fenster zu öffnen.)";
$lang['pm_email_new'] = "Neue private Nachricht.";
$lang['pm_comment_quote'] = "Kommentar bei";
$lang['pm_mark_read'] = "Alle Nachrichten als gelesen markieren.";
$lang['pm_storage'] = "Der Ordner {box} ist zu {size}% voll";
$lang['pm_storage_unlimited'] = "Der Ordner {box} hat keine Begrenzung";
$lang['pm_user_limit_reached'] = "Sorry, {user}'s Inbox ist voll";
$lang['pm_inbox_limit'] = "Inbox Nachrichten Limit";
$lang['pm_sentbox_limit'] = "Sentbox Nachrichten Limit";
$lang['pm_finduser'] = "Nach Usernamen suchen";
$lang['pm_finduser_notfound'] = "Kein Username gefunden.";
$lang['pm_finduser_wildcards'] = "Benutze * als Platzhalter im Usernamen.";
$lang['pm_select'] = "Auswählen";
$lang['pm_finduser_many'] = "Mehr als ein Benutzer gefunden. Bitte einen asuwählen.";
$lang['pm_user_id_priority'] = "Username <b>Auswahl</b> hat eine höhere Priorität als das Username <b>Feld</b>.";
$lang['pm_user_inbox'] = "Inbox limit<span class=\"smalltext\"><br />set to <font color=red><b>0</b></font> to use global settings<br>or <font color=red><b>-1</b></font> for unlimited</span>";
$lang['pm_user_sentbox'] = "Sentbox limit<span class=\"smalltext\"><br />set to <font color=red><b>0</b></font> to use global settings<br>or <font color=red><b>-1</b></font> for unlimited</span>";
$lang['pm_toosoon'] = "Sorry, du kannst nicht so viele Nachrichten hinter einander vershcicken.";
$lang['pm_toosoon_user'] = "Sorry, du kannst nicht so oft hinter einander einem anderen User eine Nachricht schicken.";
$lang['pm_next'] = "Weiter &raquo;";
$lang['pm_prev'] = "&laquo; Zurück";

but also a czech one if you're interested  8)

Well... I know you aren't, but that won't prevent me from posting it >>here<<  :D

MAяTRIX


Offline universal

  • Full Member
  • ***
  • Posts: 213
    • View Profile
    • http://www.funny.lt
Re: [MOD] PMv2 Tutorial Republished here
« Reply #35 on: April 20, 2005, 08:33:28 AM »
Can I use "u.userpic" there?

$sql = "SELECT c.comment_id, c.image_id, c.user_id, c.user_name AS comment_user_name, c.comment_headline, c.comment_text, c.comment_ip, u.userpic, c.comment_date".get_user_table_field(", u.", "user_level").get_user_table_field(", u.", "user_name").get_user_table_field(", u.", "user_email").get_user_table_field(", u.", "user_showemail").get_user_table_field(", u.", "user_invisible").get_user_table_field(", u.", "user_joindate").get_user_table_field(", u.", "user_lastaction").get_user_table_field(", u.", "user_comments").get_user_table_field(", u.", "user_homepage").get_user_table_field(", u.", "user_icq").get_user_table_field(", u.", "user_id").$additional_sql."
Again this addres?!
http://www.funny.lt

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Administrator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] PMv2 Tutorial Republished here
« Reply #36 on: April 20, 2005, 08:43:47 AM »
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline michi-w.

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #37 on: April 21, 2005, 12:50:57 AM »
lang\english\email\ pm_notify.html
Code: [Select]
{site_url}
In der Email wird nichts angezeigt.
In the email nothing is indicated.

Kann ich eine andere Email Adresse für das versenden der Benachrichtigung einstellen?
Beispiel
message@domain.de für PM und email@domain.de für alles andere.

Can I dispatch another email address for that the notification to adjust? 
Example
message@domain.de for PM and email@domain.de for everything else.

Gruß
michi-w.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Administrator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] PMv2 Tutorial Republished here
« Reply #38 on: April 21, 2005, 01:07:13 AM »
sorry, I didnt quet understand your question...
where do u want use another email? to be notifyed of new PMs?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline michi-w.

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #39 on: April 21, 2005, 01:15:56 AM »
Oh, my English!

Email to receiver does not contains {site_url}, no text
and
the sender Email adress was my Administrator Email, I want a specially PM Email.


Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Administrator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] PMv2 Tutorial Republished here
« Reply #40 on: April 21, 2005, 01:45:50 AM »
ah, ok, lets try this: in pm.php find:
Code: [Select]
            $site_email->set_to($user_row['user_email']);insert below:
Code: [Select]
            $site_email->set_from("message@domain.de", "michi-w.");
            $site_url = ($site_url) ? $site_url : "http://<yoursite_url>";
replace <yoursite_url>
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline michi-w.

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #41 on: April 21, 2005, 02:19:54 AM »
Thank you!

insert below or replace?
Code: [Select]
$site_email->set_from("message@domain.de", "michi-w.");
            $site_url = ($site_url) ? $site_url : "http://<yoursite_url>";

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Administrator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] PMv2 Tutorial Republished here
« Reply #42 on: April 21, 2005, 02:23:39 AM »
insert below:
Code: [Select]
$site_email->set_from("message@domain.de", "michi-w.");
 $site_url = ($site_url) ? $site_url : "http://<yoursite_url>";
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline michi-w.

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #43 on: April 21, 2005, 02:33:17 AM »
Wow, fast answer,

again thank you and good night!
michi-w.

Offline michi-w.

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #44 on: April 22, 2005, 12:32:37 AM »
{lang_pm}, {comment_user_pm} and {lang_show_user_images} does not work in detials.html, what can I do?

Please!

Gruß
michi-w.

 

Post your comments here