Author Topic: VCARD-Export  (Read 5012 times)

Offline helga

  • Jr. Member
  • **
  • Posts: 17
VCARD-Export
« on: October 12, 2006, 04:01:20 PM »
hello from germany :-\

ich schreibe mal in deutsch, da ich das besser kann ;)

Also, ich möchte ein VCard-Export erstellen und brauche dazu etwas Hilfe.

1) Im Adressbuch findet man die Liste der User, die im Adressbuch vorhanden sind - jede Zeile ein Name. In dieser Zeile möchte ich einen zusätzlichen Link einfügen, wo man per Klick die Daten des Users als VCard runterladen kann. Wo kann ich diesen Link einfügen mit der jeweiligen $CID ?

2) Kann ich den Link für die vcard als ?_task=vcard erstellen und wenn ja wie? Wenn ich dies in der index.php hinzufüge, dann wird dort automatisch eine Ausgabe mit erstellt, was aber nicht sein soll.

Wenn diese Punkte gelöst werden, werde ich dieses Addon hier posten.

Offline BoerbooM

  • Newbie
  • *
  • Posts: 6
Re: VCARD-Export
« Reply #1 on: October 12, 2006, 04:27:46 PM »
Well Im not that good at deutch so Ill just stick to english.. I think you could do that better aswell, I mean you wouldnt know what Id typ if I started to use my native language... Its always easier to figure out what you mean if its half english then when its deutch (atleast for me it is)

I can recommend you to read the "Change Password Patch for DirectAdmin".. It uses the $action very slick... (thanks to originel creator of pwd patch for cPanel)

Might give you a pretty good start.

Offline helga

  • Jr. Member
  • **
  • Posts: 17
Re: VCARD-Export
« Reply #2 on: October 12, 2006, 05:01:30 PM »
why only english?

Quote
Copyright (C) 2005-2006, RoundCube Dev. - Switzerland

Switzerland = German language ???

Offline BoerbooM

  • Newbie
  • *
  • Posts: 6
Re: VCARD-Export
« Reply #3 on: October 13, 2006, 02:34:35 AM »
[offtopic]
Cause people hanging around on this forum are from all over the world ? And as english is the number one language in the world.. My guess is its best too use that one.. You can use the German language if you'd like to.. but dont count on my support then.
[/offtopic]

Tried looking into that plugin yet ?

Offline helga

  • Jr. Member
  • **
  • Posts: 17
Re: VCARD-Export
« Reply #4 on: October 13, 2006, 07:32:06 AM »
I have a Directory in 'program' whit name 'vcard'

this file is in Directory 'vcard' --> attachment

I have added in file index.php

Code: [Select]
if ($_task=='vcard')
 {
  include_once('program/vcard/vcard_export.php?_cid=$cid');
}

before:

Code: [Select]
// include task specific files
if ($_task=='mail')



my Link is called '?_task=vcard&_cid=1' - _cid = contact_id

if I click that link:

Quote
REQUEST FAILED/FILE NOT FOUND
The requested page was not found!
Please contact your server-administrator.

Failed request:
http://testmail.regio-angebote.de/?_task=vcard&_cid=1


 :-[ :-\ :'(

why ???
what is my error?


Offline helga

  • Jr. Member
  • **
  • Posts: 17
Re: VCARD-Export
« Reply #5 on: October 16, 2006, 06:19:53 PM »
can someone help?