php forum
php mysql forum
php mysql smarty
 
Page 1 of 2 1 2 >
Topic Options
#267811 - 01/23/04 10:21 AM Beta-[6.2-6.3-6.4] My Contacts 1.0
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md

   Beta-[6.2-6.3-6.4] My Contacts 1.0 to Del.icio.us Add to del.icio.us
  Digg Beta-[6.2-6.3-6.4] My Contacts 1.0 Digg it
Mod Name / Version: My Contacts 1.0 <br /> <br />Description: Adds a simple contact manager to threads to save and track your contacts. <br /> <br />Name,Address,City,State,Phone,Fax,Email,Website,Title,Affiliation,Notes are some of the fields <br /> <br />Customize it the way you want. <br /> <br />Working Under: UBB.Threads 6.2-6.3-6.4 <br /> <br />Mod Status: Beta <br /> <br />Any pre-requisites: UBBThreads <br /> <br />Author(s): Omegatron <br /> <br />Date: 01/23/04 <br /> <br />Credits: <br /> <br />Files Altered: None <br /> <br />New Files: mycontacts.php,showcontacts.php,editcontacts.php,addcontact.php,contact_config.php <br /> <br />Database Altered: Yes New Table {$config['tbprefix']}Contacts. <br /> <br />Info/Instructions: Thanks to Shortbus for commisioning it. <br /> <br />Disclaimer: Please backup every file that you intend to modify. <br />If the modification modifies the database, it's a good idea to backup your database before doing so. <br /> <br />Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.


Attachments
106089-mycontacts.zip (50 downloads)


Top
#267812 - 01/23/04 12:26 PM Re: Beta-[6.2-6.3-6.4] My Contacts 1.0 [Re: sf49rminer]
PhotoPost Offline
Hacker

Registered: 02/03/02
Posts: 989
Is this an external thing (i.e. No files altered)?<br /><br />Just a thought, maybe an "Add to Contacts" in profile pages which adds a user with some of the info if its in that users profile?<br /><br />wheels turning
_________________________
[]http://www.danasoft.com/vipersig.jpg[/]
Viper Alley - http://www.viperalley.com
Extreme Fitness - http://www.extremefitness.com[/b]

Top
#267813 - 01/23/04 01:11 PM Re: Beta-[6.2-6.3-6.4] My Contacts 1.0 [Re: gailg]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
External yes. I altered it from a membership database script I wrote for a non-profit I am president of. It is a very simple script.<br /><br />I can write up a simple script to add a link in the profile page the desired information from a user's profile However by default that would only be email and website and possibly name but this script has a first and last name field. Normal Threads users dont have phone fax etc address etc. but if they use dimopoulis's contact Threads scripts they might or if they have a modified threads install.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#267814 - 01/23/04 08:22 PM Re: Beta-[6.2-6.3-6.4] My Contacts 1.0 [Re: sf49rminer]
shortbus Offline
Code Monkey

Registered: 04/19/02
Posts: 631
Loc: Enid, Oklahoma
He added this on my site and it works great so far. I think it will be a heavily used feature...

Top
#267815 - 01/23/04 09:31 PM Re: Beta-[6.2-6.3-6.4] My Contacts 1.0 [Re: sf49rminer]
BWilliams_dup1 Offline
Member

Registered: 03/09/03
Posts: 171
Loc: Southern California
Omegatron,<br /><br />Great work <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /> <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /><br /><br />I have found a little bug, well I think it's a bug. <br /><br />In the /contact/mycontacts.php list where it shows the contacts you have an option to click on the email address and it's not linking properly. It does show mailto: in the bottom left corner of IE though <img src="http://www.ubbdev.com/forum/images/graemlins/confused.gif" alt="" /><br /><br /><br />BWilliams

Top
#267816 - 01/24/04 04:17 PM Re: Beta-[6.2-6.3-6.4] My Contacts 1.0 [Re: vajraman]
DLWebmaestro Offline
Member

Registered: 08/08/00
Posts: 1753
Loc: California, MD
In mycontacts.php change:<br />
Code:
&lt;a href="mailto:"$mem_email"&gt;$mem_email&lt;/a&gt;
<br />to:<br />
Code:
&lt;a href="mailto:$mem_email"&gt;$mem_email&lt;/a&gt;
_________________________
Webmaster
Drumlines.org

Drumlines.org UBBThreads

Top
#267817 - 01/24/04 08:17 PM Re: Beta-[6.2-6.3-6.4] My Contacts 1.0 [Re: eslmix]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Thanks Bobby and Josh,<br /><br />Yeah gotta love typo's updated the attachment
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#267818 - 01/25/04 12:59 AM Re: Beta-[6.2-6.3-6.4] My Contacts 1.0 [Re: sf49rminer]
DLWebmaestro Offline
Member

Registered: 08/08/00
Posts: 1753
Loc: California, MD
<img src="http://www.ubbdev.com/forum/images/graemlins/waytogo.gif" alt="" />
_________________________
Webmaster
Drumlines.org

Drumlines.org UBBThreads

Top
#267819 - 01/25/04 10:05 AM Re: Beta-[6.2-6.3-6.4] My Contacts 1.0 [Re: eslmix]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
I have been doing alot of typo's lately. I think alzheimers is setting in you know that age thing and all.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#267820 - 01/31/04 09:11 PM Re: Beta-[6.2-6.3-6.4] My Contacts 1.0 [Re: sf49rminer]
BWilliams_dup1 Offline
Member

Registered: 03/09/03
Posts: 171
Loc: Southern California
Chuck,<br /><br />Love the ad on. Now the question is... How do I make it show where the users are in the "who's online" (Showing Private right now)<br /><br />Thanks,<br /><br />BWilliams

Top
#267821 - 02/02/04 07:33 PM Re: Beta-[6.2-6.3-6.4] My Contacts 1.0 [Re: vajraman]
DLWebmaestro Offline
Member

Registered: 08/08/00
Posts: 1753
Loc: California, MD
Include a line in your online.php file in your language folder that looks something like:<br /><br />
Code:
$ubbt_lang['mycontacts']  = 	"Viewing Contacts";
_________________________
Webmaster
Drumlines.org

Drumlines.org UBBThreads

Top
#267822 - 02/02/04 08:18 PM Re: Beta-[6.2-6.3-6.4] My Contacts 1.0 [Re: eslmix]
BWilliams_dup1 Offline
Member

Registered: 03/09/03
Posts: 171
Loc: Southern California
[]DLWebmaestro said:<br />Include a line in your online.php file in your language folder that looks something like:<br /><br />
Code:
$ubbt_lang['mycontacts']  = 	"Viewing Contacts";
[/]<br />I should have known that <img src="http://www.ubbdev.com/forum/images/graemlins/crazy.gif" alt="" /> <img src="http://www.ubbdev.com/forum/images/graemlins/crazy.gif" alt="" /><br /><br />Thanks <img src="http://www.ubbdev.com/forum/images/graemlins/cool.gif" alt="" />

Top
#267823 - 02/02/04 08:34 PM Re: Beta-[6.2-6.3-6.4] My Contacts 1.0 [Re: vajraman]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Thanks Little Josh. Yeah forgot to add that although it might be more like this<br /><br />$ubbt_lang['mycontacts'] = "Viewing Contact List";<br />$ubbt_lang['addcontact'] = "Adding a Contact";<br />$ubbt_lang['editcontact'] = "Editing a Contact";<br />$ubbt_lang['showcontact'] = "Viewing a Contact";
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#267824 - 02/02/04 09:10 PM Re: Beta-[6.2-6.3-6.4] My Contacts 1.0 [Re: sf49rminer]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
don;t forget the..<br /><br />$ubbt_lang['scrubbing'] = "Scrubbing the Floors and Doing the Windows";
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#267825 - 02/04/04 08:56 PM Re: Beta-[6.2-6.3-6.4] My Contacts 1.0 [Re: sf49rminer]
BWilliams_dup1 Offline
Member

Registered: 03/09/03
Posts: 171
Loc: Southern California
I think I found a bug.<br /><br />The zip code field is not following through on initial submission, but will if you edit contact and re-add it.<br /><br />Am I doing something wrong <img src="http://www.ubbdev.com/forum/images/graemlins/confused.gif" alt="" /> <img src="http://www.ubbdev.com/forum/images/graemlins/confused.gif" alt="" />

Top
#267826 - 02/04/04 09:06 PM Re: Beta-[6.2-6.3-6.4] My Contacts 1.0 [Re: vajraman]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Righto you are.<br /><br />In addcontact.php in the INSERT query there is this<br /><br />'$zipcode_q' should be this '$mem_zipcode_q'<br /><br />when I get a minute I will update the build
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#267827 - 02/04/04 09:07 PM Re: Beta-[6.2-6.3-6.4] My Contacts 1.0 [Re: vajraman]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
Hmmm sounds like the insert command isn;t inserting the zipcode. check the array where he is putting it all together and make sure it looks ok.
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#267828 - 02/04/04 09:08 PM Re: Beta-[6.2-6.3-6.4] My Contacts 1.0 [Re: 234234]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
see I told you <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#267829 - 02/04/04 11:46 PM Re: Beta-[6.2-6.3-6.4] My Contacts 1.0 [Re: sf49rminer]
BWilliams_dup1 Offline
Member

Registered: 03/09/03
Posts: 171
Loc: Southern California
That did the trick <img src="http://www.ubbdev.com/forum/images/graemlins/wink.gif" alt="" /><br /><br />Thanks

Top
#267830 - 05/04/04 10:17 AM Re: Beta-[6.2-6.3-6.4] My Contacts 1.0 [Re: sf49rminer]
Beentheredonethat Offline
Member

Registered: 05/10/02
Posts: 160
Loc: Not here
Very nice. I love this.<br />I would like to change the type of contact...<br />Leave it as it is but use a different name for the type of contact.<br /><br />Where can i edit this?

Top
#267831 - 05/04/04 10:32 AM Re: Beta-[6.2-6.3-6.4] My Contacts 1.0 [Re: charts]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
TRY<br /><br />in addcontact.php find<br /><br /><select name="type"><br /><option value="Family">Family</option><br /><option value="Friends">Friends</option><br /><option value="Work">Work</option><br /><br />change to <br /><br /><select name="type"><br /><option value="{$contact_lang['TYPE1']}">{$contact_lang['TYPE1']}</option><br /><option value="{$contact_lang['TYPE2']}">{$contact_lang['TYPE2']}</option><br /><option value="{$contact_lang['TYPE3']}">{$contact_lang['TYPE3']}</option><br /><br />in mycontacts.php<br /><br />find<br /><br />$tbopen<br /><tr><br /><td align="center" class="lighttable"><br /><form method="post" action="addcontact.php"><br /><input type="submit" name="add" value="Add a Contact" class="buttons" /><br /></form><br /><form method="post" action="mycontacts.php"><br /><input type="hidden" name="type" value="Family"><br /><input type="submit" name="Submit" value="Get Family" class="buttons" /><br /></form><br /><form method="post" action="mycontacts.php"><br /><input type="hidden" name="type" value="Friends"><br /><input type="submit" name="Submit" value="Get Friends" class="buttons" /><br /></form><br /><form method="post" action="mycontacts.php"><br /><input type="hidden" name="type" value="Work"><br /><input type="submit" name="Submit" value="Work" class="buttons" /><br /></form><br /></td><br /></tr><br />$tbclose<br /><br />change to<br /><br />$tbopen<br /><tr><br /><td align="center" class="lighttable"><br /><form method="post" action="addcontact.php"><br /><input type="submit" name="add" value="Add a Contact" class="buttons" /><br /></form><br /><form method="post" action="mycontacts.php"><br /><input type="hidden" name="type" value="{$contact_lang['TYPE1']}"><br /><input type="submit" name="Submit" value="Get {$contact_lang['TYPE1']}" class="buttons" /><br /></form><br /><form method="post" action="mycontacts.php"><br /><input type="hidden" name="type" value="{$contact_lang['TYPE2']}"><br /><input type="submit" name="Submit" value="Get {$contact_lang['TYPE2']}" class="buttons" /><br /></form><br /><form method="post" action="mycontacts.php"><br /><input type="hidden" name="type" value="{$contact_lang['TYPE3']}"><br /><input type="submit" name="Submit" value="{$contact_lang['TYPE3']}" class="buttons" /><br /></form><br /></td><br /></tr><br />$tbclose<br /><br />in contactconfig.php<br /><br />add <br /><br />$contact_lang['TYPE1'] = "Family";<br />$contact_lang['TYPE2'] = "Friends";<br />$contact_lang['TYPE3'] = "Work";
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#267832 - 05/04/04 11:03 AM Re: Beta-[6.2-6.3-6.4] My Contacts 1.0 [Re: 234234]
Beentheredonethat Offline
Member

Registered: 05/10/02
Posts: 160
Loc: Not here
Thank you very much. I will try it. Looks great!

Top
#267833 - 05/04/04 11:06 AM Re: Beta-[6.2-6.3-6.4] My Contacts 1.0 [Re: charts]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
that way you can call it whatever ya want and also put it in different languages and even ADD to it...
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#267834 - 05/06/04 05:53 PM Re: Beta-[6.2-6.3-6.4] My Contacts 1.0 [Re: 234234]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
LOL Scroungr Thanks I am gonna update this and add language strings and ability to add types etc. This is kinda a stand alone app .
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#267835 - 05/07/04 01:07 AM Re: Beta-[6.2-6.3-6.4] My Contacts 1.0 [Re: sf49rminer]
shortbus Offline
Code Monkey

Registered: 04/19/02
Posts: 631
Loc: Enid, Oklahoma
[]Omegatron said:<br />I have been doing alot of typo's lately. I think alzheimers is setting in you know that age thing and all. [/]<br /><br />okay, I was just going over this thread and have to call you on "commisioning". Missing an "s". <br /><br />Just wanted to pester you <img src="http://www.ubbdev.com/forum/images/graemlins/wink.gif" alt="" />.

Top
Page 1 of 2 1 2 >


Moderator:  Ian_W 
Who's Online
0 Registered (), 41 Guests and 8 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Blogs, love em or hate em?
by AllenAyres
Today at 02:05 PM
What do you use to edit the files
by Ian_W
10/05/08 03:33 PM
BeyondCompare v3.00
by Ian_W
10/05/08 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
10/05/08 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
Looking for a simple upload script
by Murphdog
09/26/08 08:45 PM
October
Su M Tu W Th F Sa
1