Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - PartyPix

Pages: [1] 2 3
1
Discussion & Troubleshooting / Re: whos_online in jede seite einfügen
« on: November 19, 2006, 03:22:13 PM »
du must die php datei öffnen die für die seite zuständig ist ( z.B für die profil seite ist die member.php seite zuständig) und da must du das hier ersetzen:

das
Code: [Select]
define('GET_USER_ONLINE', 0);

mit dem
Code: [Select]
define('GET_USER_ONLINE', 1);

also einfach 1 statt 0

2
Ja ich weiß aber konnte in dem Forum kein neues Thema eröffnen
keine Ahnung warum deshalb hab ich es hier hin geschrieben ;)

3
Hi
this is my first MOD and I hope you will like this. I dont know whetter its perfect but on my page it gone. You can help me and make this code better or so.

Description / Beschreibung

Eng:
In this MOD you can allow your users to display the ZIP Code on the member_profile on the GERMAN map.

Ger:
In diesem MOD ist es möglich die PLZ (die der User bei der Registrierung eingibt) auf der deutschen Karte anzuzeigen.


Change files:

member.php
includes/db_field_definitions.php
includes/page_header.php
lang/deutsch/main.php
templates/default/register_form.html
templates/default/member_profile

New Folder:

templates/default/images/plz

1.)

open includes/db_field_definitions.php

add in the end just before ?> this code
Code: [Select]
$additional_user_fields['plz'] = array($lang['plz'], "text", 1);

2.)

open member.php

and after
Code: [Select]
if (!empty($user_row['user_email']) && (!isset($user_row['user_showemail']) || (isset($user_row['user_showemail']) && $user_row['user_showemail'] == 1))) {
      $user_email = $user_row['user_email'];
      $user_email_save = str_replace("@", " at ", $user_row['user_email']);
      if (!empty($url_mailform)) {
        $user_mailform_link = $site_sess->url(preg_replace("/{user_id}/", $user_row['user_id'], $url_mailform));
      }
      else {
        $user_mailform_link = $site_sess->url(ROOT_PATH."member.php?action=mailform&".URL_USER_ID."=".$user_row['user_id']);
      }
      $user_email_button = "<a href=\"".$user_mailform_link."\"><img src=\"".get_gallery_image("email.gif")."\" border=\"0\" alt=\"".$user_email_save."\" /></a>";
    }
    else {
      $user_email = REPLACE_EMPTY;
      $user_email_save = REPLACE_EMPTY;
      $user_mailform_link = REPLACE_EMPTY;
      $user_email_button = REPLACE_EMPTY;
    }

add this
Code: [Select]
// PLZ 2 Stellen
$max_string_laenge = 3;
if(strlen($user_row['plz'])>$max_string_laenge) $postleitzahl = substr($user_row['plz'],0,($max_string_laenge-1))."...";
else $postleitzahl = $user_row['plz'];


// PLZ 1 Stelle
$max_string_laenge = 2;
if(strlen($user_row['plz'])>$max_string_laenge) $postleitzahl_1 = substr($user_row['plz'],0,($max_string_laenge-1));
else $postleitzahl_1 = $user_row['plz'];


// PLZ Ende

find
Code: [Select]
$site_template->register_vars(array(
      "user_id" => $user_row['user_id'],
      "user_name" => (isset($user_row['user_name'])) ? format_text($user_row['user_name'], 2) : REPLACE_EMPTY,

and insert below
Code: [Select]
"postleitzahl" => $postleitzahl,
"postleitzahl_1" => $postleitzahl_1,


3.)
open templates/default/register_form.html

after
Code: [Select]
<tr>
            <td class="row1"><b>{lang_email}</b></td>
            <td class="row1">
              <input type="text" name="user_email" size="30" class="input" value="{user_email}" />
            </td>
          </tr>
add this
Code: [Select]
<tr>
            <td class="row1"><b>{lang_plz}</b></td>
            <td class="row1">
              <input type="text"  maxlength="5" name="plz" class="input_register_plz" value="{plz}">
            </td>
          </tr>


4.)
open includes/page_header.php

find
Code: [Select]
$site_template->register_vars(array(
  "lang_site_stats" => $lang['site_stats'],

and insert below
Code: [Select]
  "lang_plz" => $lang[plz],


5.)
open lang/deutsch/main.php

add at the end just before ?> this
Code: [Select]
$lang['plz'] = "PLZ";

6.)

open templates/member_profile.html

add after
Code: [Select]
<tr>
          <td class="row2"><b>{lang_icq}</b></td>
          <td class="row2">{if user_icq}<a href="http://www.icq.com/people/about_me.php?uin={user_icq}" target="_blank">{user_icq}</a> (<b>{user_icq_status}</b>){endif user_icq}</td>
        </tr>

this
Code: [Select]
<tr>
          <td class="row1"><b>{lang_plz}</b></td>
          <td class="row1">{postleitzahl}</td>
        </tr>
 <tr>
          <td class="row1">&nbsp;</td>
          <td class="row1"><img src="{template_url}/images/plz/{postleitzahl_1}.png"></td>
        </tr>


7.)
Download the files , extract it in templates/default/images/plz


8.)
Upload all files you change and upload the new files,too.


9.)
go to your phpmyAdmin to the _user table and add 1 new field:

Name: plz
Typ: Varchar
Länge: 5
Standart: D

10.) Now finish. Register a new user and test it out.

I dont know whetter i have all here but i think so. I have test it on 4images 1.7.3 width a lot of MOD's like photo, bday, guestbook, pm, gender ....

Please help to make this better or something other. ;)

Greetz

4
Discussion & Troubleshooting / Additional Select
« on: October 29, 2006, 05:04:32 PM »
German:

Hi ich habe ein Problem. Undzwar habe ich mehrere Select's im register_form.html und member_editprofile.html. Speichern und so alles kein Problem. Aber wenn ich dann auf die editprofile seite gehe steht in der option immer das erste und nicht das gespeicherte. Wenn man dann zB irgendwas anderes ändert wird natürlich auch die Select neu geändert. Habe das dann versucht wie bei dem Birthday Mod ging zum speichern dann auch alles wunderbar nun aber im showprofile nicht. Helft mir bitte wie kann ich das lösen oder besser machen.

English:

Hi. I have many select's in register_form and editprofile. I can save the Select's but when i go on my editprofile site there is always the first option from the select and when i change anything others so automaticaly the first option from the select will change,too. I have try it in the way like the birthday mod and it gone but  only save and when i look in my showprofile there display not the right. Help me please or help me to make it better/other.

Grüße
/
Greetz

5
Hi all

I have try all and all to make it so and now it gone but only the sex.

The useronlinelist looks like so at the moment:

m Partypix

My Question !

How i become the age from the Birthday Mod in this list ?

Please help me I wait a long time for this

6
Discussion & Troubleshooting / What code ...
« on: May 30, 2006, 08:35:19 PM »
Hi
i have this code line in my session.php
Code: [Select]
$user_online_list .= "<option value=\"".$site_sess->url($user_profile_link)."\">".$username."".$invisibleuser."</option>";

Where must thís code:
Code: [Select]
<img src="templates/default/images/{sex}.gif" height="14">
place in the code to show the pic after the name ? And how must i change the code to make this possible ?

////////////

Hallo
ich habe folgende Codezeile in meiner session.php für die whos_online liste
Code: [Select]
$user_online_list .= "<option value=\"".$site_sess->url($user_profile_link)."\">".$username."".$invisibleuser."</option>";
Wo muss ich diesen Code (zum Anzeigen des Geschlechtes) 
Code: [Select]
<img src="templates/default/images/{sex}.gif" height="14">platzieren damit diese hinter dem Usernamen steht? Und wie muss das ganze dann aussehen ? Wäre um Hilfe echt dankbar !


7
Discussion & Troubleshooting / wrap ? automaticaly
« on: May 29, 2006, 06:06:32 PM »
Hi
i have one problem. In my profile I show the informations that in the DB save. I show it normaly so..

email:  maaaaaaaail@mail.de


My table has a width but dont make a automaticaly <br> when the entry is to long. Through that my design are destroyed. How can i make this better ? I háve allready look for wrap and so one in goofle and here but dont found a good information.




Hi.
Ich habe mal wieder ein Problem. Im Profil gebe ich ganz normal die Informationen aus. Nun habe ich einfach mal getestet was passiert wenn die mail sehr lang sein sollte. Er zeigt diese natürlich an aber dadurch wird mein ganzes Design zerstört. Den Tabellen habe ich auch eine Breite zugewiesen aber trotzdem kommt kein automatischer Umbruch. Habe schon überall nachgeschaut aber kam bisher zu keiner Lösung.


Here a little bit code of my member_profile.html / Hier ein kleiner Auszug aus meiner member_profile.html

Code: [Select]
<table cellspacing="2" cellpadding="8" border="0" width="390">
.
.
.
<table cellspacing="0" cellpadding="8" border="0" width="100%" >
<tr>
<td class=box_list_f><strong>e-Mail:</strong></td>
<td class=box_list>{user_email_save}&nbsp;</td>
</tr>
</table>

.
.
.
</rable>



8

Is it possible to show the list like so

sex age photo nick

???

exemple:

m 18 P test

or

w 16  test 

(without Photo)

and it were super if this can be sort like so

m 15 P test
m 18 P test3
m 18    test4
-----------------
w 16 P test5
w 17    test6
w 18 P test7


Is it possible ? Anyone a idee ? Please Help me ! It is very important !

9
Hi
The List allready run, but how can i make it so that after the Nickname stay the age and the sex ?

/// Select Box ///

Nick  sex   age

/// Select Box ///

Any Idee ?

10
Will the MOD go in Version 1.7.2,too ???

Funktioniert dieser MOD auch in Version 1.7.2 ????


11
Hi @ all

will be go this MOD in V 1.7.2 ,too ?? Please reply me!

///////////////////////////////////////////////////////////////

Hi @ alle

funktioniert dieser Mod auch in Version 1.7.2 ?? Bitte sagt mir bescheit damit ich weiß ob ich diesen installieren kann!

MFG

12
Mods & Plugins (Releases & Support) / Re: Mini MOD: User GIS
« on: May 26, 2006, 10:52:02 AM »
Hallo matrix

Sorry war bis heute im Krankenhaus und konnte nicht antworten. Ja in der DB ist alles swoeit richtig eingestellt und ich habe auch alles auf "sex" geändert. Könntest du dir das eventuell anschauen und mir bei diesem Problem helfen ?
Wäre echt nett ;)


13
Mods & Plugins (Releases & Support) / Re: Mini MOD: User GIS
« on: May 08, 2006, 07:02:11 PM »
Hi all again.   

//// ENGLISH \\\\
I have my problem every,too. Please Help me. I try so much but it dont will be work. I try to explain again.

First when i make a new additinonal field i cant make user_xxxx. It dont will be work. So i try onlly xxxx and it will work. that is not the problem i think, but now. When i register a user and will check m i think it will go, but when i check w (female)  the script write in the database 0 and no image will be show in the member_profile. I have make the Update at first,too. So when i try to make the value in the radio buttons (in teh register page) to set 0 for w and 1 for m. But it dont will be go. Another little problem is that in the ACP it will be show Yes or Not and NOT Male / Female. Please Help me. I use version 1.7.2.


//// DEUTSCH \\\\

Hallo ich versuche nochmal mein Problem zu beschreiben. Als erstes Problem habe ich das ich nicht in einem additional field the table prefix user_sex machen kann sondern nur sex. (    $additional_user_fields['sex'] = array($lang['sex'], "radio", 1);   ). Das ist nicht das Problem, da es bei den anderen Feldern auch so funktioniert hat ohne dem user_. Nun zum eigentlichen Problem. When ich einen neunen User registriere und auf männlich klicke zeigt er meistens das männliche Symbol richtig an. Kllicke ich nun aber auf weiblich speichert er in der DB eine 0 und zeigt nur ein kleines Kästchen an. Nun dachte ich änder ich einfach den value wert in der register_form page statt für männlich value="m" habe ich value="1" und für weiblich value="0" geschrieben. Ging aber auch nicht. Habe auch die Bilder 0 udn 1 genannt. Ging alles nicht. Langsam weiß ich echt nicht merh weiter. Desweiteren (das kleinste Problem) wird im ACP nir unter Usereinstellungen männlich / weiblich angezeigt sondern nur Ja / Nein. Hat irgendjemand eine Idee woran das lieg? Hatte jemand auch diese Problem ? Bitte helft mir ! Ich benutze Version 1.7.2

14
Hi
what must i change to make this: the subject field in new pm should be a defined max length ( max 20 letters ) ??

///

Hi
was muss ich im quellcodeändern damit das Feld "Betreff" in new PM eine maximale anzahl nur von Buchstaben haben darf (zB. maximal 20 Buchstaben) ???

MFG

PartyPix

15
Discussion & Troubleshooting / Can I delete the footer ... ?
« on: April 30, 2006, 12:52:29 PM »
Hi everyone.
I know that it is forbidden to delete the footer without a license.
But my question is:
Can I delete the Footer but for that i will link to 4homepages on the right part of my page. It is possible ?
It will be greate because it isnt nice to see on the top so much text (I have other text,too).

Pages: [1] 2 3