Author Topic: [MOD] Private Message System (PMS) not supported anymore!  (Read 107483 times)

0 Members and 1 Guest are viewing this topic.

Offline LoOpP

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
[MOD] Private Message System (PMS)
« Reply #45 on: May 09, 2003, 07:23:40 AM »
nein, ich hab nur die große ein wenig verändert!

Offline Gabi

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • http://www.gabis-traum.de
[MOD] Private Message System (PMS)
« Reply #46 on: May 09, 2003, 04:16:44 PM »
Ok i will try to explain my problem with this Mod in english :oops:  :oops:

I have installd the PMS Mod in my homepage everything seams to work but i can´t selekt a user. I think the problem is the inclusion from phpbb in my 4images homepage. The gallerie is now using user table fom the phpbord, so i think the skript cant read userstable. I build manuel the pms table in my forums table so the prefix is not 4images_pms it is now fotopl_pms what changes must i do in the script, that the pms.php can read user id etc. from forums table?

Code wieder rausgenommen !!!

Here is the pms.php meby somon can help me to fix this site. I hope somone could undarstand my problem...

lg
Gabi

Offline Gabi

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • http://www.gabis-traum.de
[MOD] Private Message System (PMS)
« Reply #47 on: May 09, 2003, 05:27:00 PM »
Quote from: Cr@zy Sash
also ich würde mir das ja gerne nochmal anschauen, aber dazu musst du den TEstaccount wieder aktivieren, damit kannich mich nimma einloggen...


Hy Crazy,

hast ja recht..war n bissel viel  :oops: Der Account besteht aber noch
User: Test
PW: Test
Wichtig! Achte auf groß / kleinschreibung !!!!

lg
Gabi

Nachtrag:

Ich glaub ich werde irre !!!!! Ich habe mir gerade den Spaß gemacht und noch das ZusatzMOD Massen PM versenden installiert. Das funzt zu 100% absolut Fehlerfrei !!!!!
Ich gehe davon aus da ich ja das Mod mit dem "erweiterten bbcode verwende das der Text im Feld "user auswählen" einfach nur in weiß ist und ich deshalb keinen Namen sehe. Vom Adminbereich aus sind alle Namen sichtbar die angemeldet sind. Also funzt das Mod auch mit der Integration. Wo kann ich denn die Hintergrundfarbe von diesem Feld ändern ???? bzw. die Textfarbe ?????

Offline Gabi

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • http://www.gabis-traum.de
[MOD] Private Message System (PMS)
« Reply #48 on: May 10, 2003, 09:21:44 AM »
Quote from: Cr@zy Sash
Also das kannst du in er pms_new.html anpassen, oder wie die Datei gleich heißt...


Hy Cr@zy Sash,

danke für den Tip. Habe mal dort nachgesehen. Ausgerechnet die (Userbox) ist ein javaskript. Habe keinen Plan wie ich was ändern kann. Wenn ich dir den Code der pms_new.html per e-mail zuschicke, wüdest du da vieleicht mal reinschauen ???
lg
Gabi

Offline Apollo13

  • Addicted member
  • ******
  • Posts: 1.093
    • View Profile
[MOD] Private Message System (PMS)
« Reply #49 on: May 10, 2003, 11:46:46 AM »
brauchst du nicht ich weiß wie der ausschaut hab ja mitgearbeitet am script... :lol:  :lol:

Öhm ja, also am besten fügst du dort einfach in the tag class="categoryselect" so und dann müsste das eigentlich gehen...

Offline Gabi

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • http://www.gabis-traum.de
[MOD] Private Message System (PMS)
« Reply #50 on: May 10, 2003, 12:00:24 PM »
Öhm ja, also am besten fügst du dort einfach in the tag class="categoryselect" so und dann müsste das eigentlich gehen...[/quote]

Ja, ok....aber wo genau....ich habs an 2 Sellen ausprobiert und nix passiert  :oops:

Offline Gabi

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • http://www.gabis-traum.de
My last Chance :-(
« Reply #51 on: May 11, 2003, 02:13:19 PM »
Inklusion of Mod works fine. Last Problem i have to fix is color of Useres in selectbox. in pms_new.html here are my changes in java skrip at the beginning of code. Everything works but ony the users i can´t see because bg colour is altways the same like text colour. Only default text is in FFFF00. Here are my changes in Java Script. Can someone please help me to fix it ???

Code: [Select]
<script language="JavaScript" src="bbcode2.js" type="text/javascript"class="categoryselect" style="color: #FFFF00"></script>
<script language="JavaScript"class="categoryselect" style="color: #FFFF00">
function emoticon2(text,space,area,popup) {
if (!proba) {
proba = document.commentform.comment_text;
}
emoticon2(text,space,area,popup);
}
</script>
<script language="JavaScript"class="categoryselect" style="color: #FFFF00">
var reply = "{reply}";
var user_list = "{user_list}";
var list = user_list.split(",");
var user_list = new Array();
var user_list_id = new Array();
var ii=0;
for (var i=0; i < (list.length/2); i++){
user_list[i] = list[ii+1];
user_list_id[i] = list[ii];
ii=ii+2;
}
function print_list(recipient){
if (reply != "") {
return reply+"<input type='hidden' name='user_id' class='categoryselect' style='color: #FFFF00'  value='"+recipient+"'>";
}
result="<select name='user_id' class='categoryselect' style='color: #FFFF00' >";
result +="<option value='0' class='categoryselect' style='color: #FFFF00'>{lang_select_user}</option>\n";
result +="<option value='0' class='categoryselect' style='color: #FFFF00'>---------------------------------------</option>\n";
for (var i=0; i<user_list_id.length; i++){
if (recipient == user_list_id[i]) {
mark = " selected='selected'";
}else{
mark = "";
}
result +="<option value='"+user_list_id[i]+"'"+mark+"class='categoryselect' style='color: #FFFF00' >"+user_list[i]+"</option>\n";
}
result +="</select>\n";
return result;
}
</script>


lg
Gabi

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: My last Chance :-(
« Reply #52 on: May 11, 2003, 02:47:25 PM »
Quote from: Gabi
Inklusion of Mod works fine. Last Problem i have to fix is color of Useres in selectbox. in pms_new.html here are my changes in java skrip at the beginning of code. Everything works but ony the users i can´t see because bg colour is altways the same like text colour. Only default text is in FFFF00. Here are my changes in Java Script. Can someone please help me to fix it ???

first delete all changes u made  style="color: #FFFF00"
then, open style.css and create new class, with background and text color settings, name it for example "categoryselect_users" and then change the class name in the code u showed ;)
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 Gabi

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • http://www.gabis-traum.de
Re: My last Chance :-(
« Reply #53 on: May 11, 2003, 03:18:07 PM »
Quote from: V@no
Quote from: Gabi

first delete all changes u made  style="color: #FFFF00"
then, open style.css and create new class, with background and text color settings, name it for example "categoryselect_users" and then change the class name in the code u showed ;)


THX V@no,
oki i have build an new claas change code, but there is same problem like bevore. only default text is in colour FFFFOO the users are bg colour black and text too. Did i forgot something to change ??? Here is my fixt code:

Code: [Select]
<script language="JavaScript">
var reply = "{reply}";
var user_list = "{user_list}";
var list = user_list.split(",");
var user_list = new Array();
var user_list_id = new Array();
var ii=0;
for (var i=0; i < (list.length/2); i++){
user_list[i] = list[ii+1];
user_list_id[i] = list[ii];
ii=ii+2;
}
function print_list(recipient){
if (reply != "") {
return reply+"<input type='hidden' name='user_id' class='categoryselect_users' value='"+recipient+"'>";
}
result="<select name='user_id' class='categoryselect_users'>";
result +="<option value='0' class='categoryselect_users'>{lang_select_user}</option>\n";
result +="<option value='0' class='categoryselect_users'>---------------------------------------</option>\n";
for (var i=0; i<user_list_id.length; i++){
if (recipient == user_list_id[i]) {
mark = " selected='selected'";
}else{
mark = "";
}
result +="<option value='"+user_list_id[i]+"'"+mark+"class='categoryselect_users'>"+user_list[i]+"</option>\n";
}
result +="</select>\n";
return result;
}
</script>


regrets from germany
Gabi

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
[MOD] Private Message System (PMS)
« Reply #54 on: May 11, 2003, 03:32:20 PM »
make sure u specifyed both colors for font and backround:

Quote
.categoryselect_users {
background-color: red;
color: #ffff00;
}
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 Gabi

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • http://www.gabis-traum.de
[MOD] Private Message System (PMS)
« Reply #55 on: May 11, 2003, 03:43:09 PM »
Changed code once more like your exampel bg colour red.... same prob like before.... :oops:

you can see that in my page http://www.foto-place.de
User: Test
PW: Test

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
[MOD] Private Message System (PMS)
« Reply #56 on: May 11, 2003, 03:55:56 PM »
seems just perfecly working for me...
the problem that u can not see users is because u have board integration, and this mod doesnt support any integrations...
sorry, I cant help u with that, but try do same thing what this guy/girl did for another mod:
http://4homepages.de/forum/viewtopic.php?p=23758#23758
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 Gabi

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • http://www.gabis-traum.de
[MOD] Private Message System (PMS)
« Reply #57 on: May 11, 2003, 04:16:32 PM »
Quote from: V@no
seems just perfecly working for me...
the problem that u can not see users is because u have board integration, and this mod doesnt support any integrations...
sorry, I cant help u with that, but try do same thing what this guy/girl did for another mod:
http://4homepages.de/forum/viewtopic.php?p=23758#23758


V@no,
i dont think that integation is the problem because send mass pm from admin panel with same mod works to 100%

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
[MOD] Private Message System (PMS)
« Reply #58 on: May 11, 2003, 05:00:52 PM »
the mass send doesnt use user names it uses only user ids ;)
so, if read the posts I showed above, u can see what I'm talking about: in phpbb users database table has different name that stores names, that's the problem in your case. u'll need replace all user_name in the mod to username, in the same way as in the thread above
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 Gabi

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • http://www.gabis-traum.de
[MOD] Private Message System (PMS)
« Reply #59 on: May 11, 2003, 06:08:55 PM »
oki,

i changed all user_name to username in pms.php but now i get this errormassage, and unserselektbox is empty(only defaulttext is still there):

>DB Error Bad SQL Query SELECT user_id, user_level
          FROM fotopl_users
          WHERE user_level  -1 AND user_id 81
          ORDER BY  ASC You have an error in your SQL syntax near 'ASC' at line 4

You have an idea where i can serch for error ???
lg
Gabi