Dragonfly CMS - German Community  
Toggle Content
Toggle Content Navigation

Toggle Content Wer ist wo
 Bots:
1: Google > Forum 9.x
2: Majestic-12 > Forum 9.x
 Visitors:
1: Forum 9.x
2: Downloads
3: Forum 9.x
4: Forum 9.x

Toggle Content Languages

Toggle Content Design
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.

Toggle Content Downloads (Top)

Forum 9.x > > Dragonfly CMS 9.x > > Module & Blöcke > > frage zu friendFinder
frage zu friendFinder
Fragen und Diskussionen zu Modulen / Erweiterungen
Post new topic   Reply to topic   Printer Friendly Page    Forum Index > > Module & Blöcke

View previous topic :: View next topic  
Author Message
lexi_
Doppel-Null-Agent
Doppel-Null-Agent


Joined: Jul 07, 2004
Posts: 178

PostPosted: 30.12.2005 23:57    Post subject: frage zu friendFinder Reply with quote

hallo,
folgende Frage zu friendFinder.
Wenn ich das richtig sehe, muß man sich einmal für das DF registrieren und einmal für das FriendFinder-Modul.
Das möchte ich meinen Mitgliedern nicht unbeding zumuten. Ich würde gerne wissen ob jemand das your_account und das FF modul verschmolzen hat. Wenn nicht was muss ich dabei beachten, die Hälfte der FF-funktionen habe ich schon im your_account-modul
mfg
lexi


lexi_'s Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Server SUSE 9.3 / PHP 4.3.10 / Mysql 4.1.10a / cpg 9.2.0.RC2


Last edited by lexi_ on 13.01.2006 14:30; edited 1 time in total
Back to top
View user's profile Send e-mail
Poldi
Moderator
Moderator


Joined: Nov 14, 2004
Posts: 705

PostPosted: 31.12.2005 21:02    Post subject: Re: frage zu freindFinder Reply with quote

Au lexi ... ein paar Satzzeichen erhöhen die Lesbarkeit dann doch extrem Laughing

Also, theoretisch lassen sich die Anmeldedaten vom DF in den FF automatisch übernehmen, ist aber nur mit bösem Gehacke machbar, sprich du mußt einiges am Your_account verändern, ob das die Mühe wert ist ?

Nebenbei will ja nicht jeder User automatisch im FF mitmachen, nur als Anregung ...

Ich hab jetzt schon ein paar dinge aus dem FF in den Your_account eingebaut, z.b. wird bei mir, sofern vorhanden, das Userphoto aus dem FF im YA anstelle des Avatars angezeigt.
Ein paar andere Infos (Z.b. Geburtstag) sind leicht mit der Block-Funktion des YA einzubauen.

Ist aber alles reine Frickelarbeit ... ich bin am überlegen, ob ich nicht was ganz neu schreibe dafür, der FF hat soviele Bugs und überflüssigen Code an Bord, das ist nicht mehr schön ...

Leider bin ich momentan damit beschäftigt, eine aktuelle Version des IRCChat-Moduls zu basteln, also wirds wohl so schnell nichts mit meiner Bastelei ....

_________________
gG,
Poldi
www.green-dragon.de (Dragonfly 9.2.1)
www.tampones.de (Dragonfly 9.2.1)
www.bfg-deggendorf.de (Dragonfly 9.2.1)
www.sexy-goths.de (Dragonfly 9.1.2.1)
www.gig-hunter.de (deceased)
www.green-dragon.net (Dragonfly CVS ... Testseite)

Poldi's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.37/4.0.27-5.0.18/4.4.9-5.2.1/9.1.0.0-9.2.1
Back to top
View user's profile Visit poster's website
lexi_
Doppel-Null-Agent
Doppel-Null-Agent


Joined: Jul 07, 2004
Posts: 178

PostPosted: 13.01.2006 14:51    Post subject: Re: frage zu FriendFinder Reply with quote

Poldi wrote:
Au lexi ... ein paar Satzzeichen erhöhen die Lesbarkeit dann doch extrem Laughing

Ja sorry.
Poldi wrote:

Nebenbei will ja nicht jeder User automatisch im FF mitmachen, nur als Anregung ...
Ist abber Sinn und Zweck der Seite.
Poldi wrote:

Ein paar andere Infos (Z.b. Geburtstag) sind leicht mit der Block-Funktion des YA einzubauen.
Das wäre interessant zu wissen wie. Jetzt hab ich im YA nee Zeile "Alter" drinn, wie kann man das auf das Geburtsdatum umbauen ?
Poldi wrote:

Ist aber alles reine Frickelarbeit ... ich bin am überlegen, ob ich nicht was ganz neu schreibe dafür, der FF hat soviele Bugs und überflüssigen Code an Bord, das ist nicht mehr schön
Wäre evtl. Sinvoll
Poldi wrote:

Leider bin ich momentan damit beschäftigt, eine aktuelle Version des IRCChat-Moduls zu basteln, also wirds wohl so schnell nichts mit meiner Bastelei ....
Wenn Du das FF-Modul in Angriff nimmst, sag mir bitte bescheid .

Mal sehen was ich selbst gebastelt bekomme.

mfg
lexi


lexi_'s Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Server SUSE 9.3 / PHP 4.3.10 / Mysql 4.1.10a / cpg 9.2.0.RC2
Back to top
View user's profile Send e-mail
Poldi
Moderator
Moderator


Joined: Nov 14, 2004
Posts: 705

PostPosted: 13.01.2006 18:45    Post subject: Re: frage zu friendFinder Reply with quote

Hi ...

Naja, daß der FF die Hauptfunktion einer Seite wird, kenn ich von irgendwo her, soll bei meiner ja auch so werden Smile

Und kurz als Info : das Geburtsdatum ist in der Tabelle "cms_ff_profile1" im Feld "birth" abgelegt, daraus kannst du es abfragen und im YA anzeigen lassen, ist ja "nur" eine DB-Abfrage ...

_________________
gG,
Poldi
www.green-dragon.de (Dragonfly 9.2.1)
www.tampones.de (Dragonfly 9.2.1)
www.bfg-deggendorf.de (Dragonfly 9.2.1)
www.sexy-goths.de (Dragonfly 9.1.2.1)
www.gig-hunter.de (deceased)
www.green-dragon.net (Dragonfly CVS ... Testseite)

Poldi's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.37/4.0.27-5.0.18/4.4.9-5.2.1/9.1.0.0-9.2.1
Back to top
View user's profile Visit poster's website
lexi_
Doppel-Null-Agent
Doppel-Null-Agent


Joined: Jul 07, 2004
Posts: 178

PostPosted: 13.01.2006 19:52    Post subject: Re: frage zu friendFinder Reply with quote

Poldi wrote:
Hi ...

Naja, daß der FF die Hauptfunktion einer Seite wird, kenn ich von irgendwo her, soll bei meiner ja auch so werden Smile

Und kurz als Info : das Geburtsdatum ist in der Tabelle "cms_ff_profile1" im Feld "birth" abgelegt, daraus kannst du es abfragen und im YA anzeigen lassen, ist ja "nur" eine DB-Abfrage ...
naja das wäre meiner ansicht Blödsinn.
Dann verzichte ich lieber auf das FF-Modul und implementiere lieber die funktionen von FF ins YA-Modul
habe mir das FF-Modul als Vorlage genommen. Ich habe jetzt angefangen das Geburtsdatum ins YA-Modul zu basteln.
leider bekomme ich die funktion nicht ganz hin um das aktuelle Alter zu errechnen. Die funktion aus dem FF-Modul arbeit trotz anpassungen nicht.

Anpassung YA-Modul -> userinfo.php
Code::
<td valign="middle" align="right" width="33%"><span class="gen">'._JOINED.':</span></td>
		  <td width="100%"><b><span class="gen">'.$userinfo['user_regdate'].'</span></b></td>
		</tr><tr>
		  <td valign="middle" align="right" width="33%"><span class="gen">'._RANK.':</span></td>
		  <td><b><span class="gen">'.$poster_rank.'</span></b></td>
		</tr><tr>
		  <td valign="middle" align="right" width="33%"><span class="gen">'._AGE.':</span></td>
		  <td><b><span class="gen">'.$age .'</span></b></td>
		</tr><tr>
		  <td valign="middle" align="right" width="33%"><span class="gen">'._LOCATION.':</span></td>
		  <td><b><span class="gen">'.$userinfo['user_from'].'</span></b></td>
		</tr><tr>
funktion zum errechnen des alters:
Code::
$year=split("-",birth);

			if ($year[0]>=1970) {

				$time = getdate();

				$a = mktime(0,0,0,$time['month'],$time['mday'],$time['year']); 

				$b = mktime(0,0,0,$year[1],$year[2],$year[0]); 

				$age = ($a-$b)/(60*60*24*365);   

				$age = intval($age);

			}
	else $age = $thisyear-$year[0];
wo mache ich den fehler


lexi_'s Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Server SUSE 9.3 / PHP 4.3.10 / Mysql 4.1.10a / cpg 9.2.0.RC2
Back to top
View user's profile Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page    Forum Index > > Module & Blöcke
Page 1 of 1
All times are GMT + 1 Hour



Jump to:  


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum



Interactive software released under GNU GPL, Code Credits, Privacy Policy