USANet Creations
Users Support and Discussion Areas

NOTE: Always state the software package you have
when asking questions so you will get the correct answer,
as it does make a big difference in the answers you'll get!

| Main Site Home Page | Forums Home Page |

Subject: "Newest member add on"   Previous Topic | Next Topic
nonePrinter-friendly copy    
Conferences MakeBid Auction user submitted addons and updates Topic #357
Reading page 1 of 1 pages
jennica1
Member since May-28-09
48 posts, Rate this user
Jul-08-10, 09:02 AM (CST)
Click to add this user to your buddy list  
"Newest member add on"
 
   I finally got newest member add on to work is there a way i can add the date they joined,thx what an experience im learning a lot of new things


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote
Homermoderator click here to view user rating
Member since Jan-10-08
335 posts, 3 feedbacks, 6 points
Jul-08-10, 07:20 PM (CST)
Click to view user profileClick to add this user to your buddy list  
1. "RE: Newest member add on"
 
   I would add a "$membertime Variable" to display the "Member Since" Date. I took a basic "Welcome Newest Member" Addon File from this Forum and added the mod's. It's untested, but you can't ruin anything, if you try it out. It should also read an already existing 2-Line File.

Good Luck

Homer

http://www.usanetcreations.com/dcforum/User_files/4c366b27711cc004.txt

If you don't know where you're going, any road will get you there.

Attachments
http://www.usanetcreations.com/dcforum/User_files/4c366b27711cc004.txt

  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote
moneysav
Charter Member
102 posts, Rate this user
Jul-11-10, 01:19 PM (CST)
Click to add this user to your buddy list  
2. "RE: Newest member add on"
 
   HELLO,
I added the add on just like you described with only 1 modification to your code.

your code was:
print "<TR><TD BGCOLOR=\"$config{'colortablebody'}\">Current Auctions Listed</b><font Color=\"red\">$totalfiles)/FONT></TD></TR>";

after pasteing the above code and refreshing my main page, i found that the current auctions listed value had dropped. I noticed that for the deluxe makebid program the "$totalfiles" should be changed to
$totalfiles2

that corrected the problem and my listings went back up to where they should have been.

Every thing works fine now, but the fields are blank, probably it will fill in when someone new registers.

other than that, i am happy with the addon. thanks


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote
Homermoderator click here to view user rating
Member since Jan-10-08
335 posts, 3 feedbacks, 6 points
Jul-11-10, 03:34 PM (CST)
Click to view user profileClick to add this user to your buddy list  
3. "RE: Newest member add on"
 
   I have taken the basic Mod from this Forum, it is not out of a real working Version od Makebid, so it may not work as it comes. Anyway, you seem to have been able to adopt it to your needs. Good work!

Homer

If you don't know where you're going, any road will get you there.


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote
moneysav
Charter Member
102 posts, Rate this user
Jul-11-10, 09:34 PM (CST)
Click to add this user to your buddy list  
4. "RE: Newest member add on"
 
   Hi, me again,

IT WORKS !!!!!

Got a new member and the name date and time showed up just like you said.

many thanks for your efforts.
cheers


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote
Len click here to view user rating
Member since May-4-04
601 posts, 6 feedbacks, 10 points
Jul-12-10, 01:52 PM (CST)
Click to view user profileClick to add this user to your buddy list  
5. "RE: Newest member add on"
 
   Hi Homer
In the userbilling on a members .bill dat is there a way to read the date it was made and use this as a time and date a member joined ?

I'm thinking the best place to add this date and time is on a users feedback page.

Many thanks for any help or advice Mate!

Best Regards
Len


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote
Homermoderator click here to view user rating
Member since Jan-10-08
335 posts, 3 feedbacks, 6 points
Jul-13-10, 09:25 AM (CST)
Click to view user profileClick to add this user to your buddy list  
6. "RE: Newest member add on"
 
   @Len

the $nowtime line in the "sub createnewaccount" contains no YEAR.
This could be modified easy in order to print the Year also, but to use this entry, one would have to filter out the date and this is a rather comlicated task, at least for me...

In the standard EA versions I use, we use the feedback entry in order to get the date for the newest member info. But this add-on is different from the MB Version, so I decided to include a $nowtime line like I did in the mod above.

-------
Makebid Version

sub createnewaccount {

umask(000); # UNIX file permission junk
mkdir("$config{'billingdir'}", 0777) unless (-d "$config{'billingdir'}");

my $nowtime = strftime "%a %b %d, %I:%M %p", gmtime(time + ($config{'systemtime'}* 3600 ));

Above line would have to be modified a little to include the Year.

This is what's beeing written using the line above.

New Account Created:::Fri Oct 16, 11:26 AM:::0.00:::New Account Created:::0.00

-------

Homer

If you don't know where you're going, any road will get you there.


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote
Len click here to view user rating
Member since May-4-04
601 posts, 6 feedbacks, 10 points
Jul-13-10, 01:44 PM (CST)
Click to view user profileClick to add this user to your buddy list  
7. "RE: Newest member add on"
 
   Hi Homer
Many thanks for your help Mate.
it's much appreciated!


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote
Len click here to view user rating
Member since May-4-04
601 posts, 6 feedbacks, 10 points
Jul-15-10, 08:56 AM (CST)
Click to view user profileClick to add this user to your buddy list  
8. "RE: Newest member add on"
 
   Hi Homer
I've added the year to all my .pl's including the accounting.pl
Please can you tell me how to add the member since date
to the feedback.pl

Many thanks for any help Mate!

Best Regards
Len


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote
Homermoderator click here to view user rating
Member since Jan-10-08
335 posts, 3 feedbacks, 6 points
Jul-15-10, 07:14 PM (CST)
Click to view user profileClick to add this user to your buddy list  
9. "RE: Newest member add on"
 
   @Len

Sorry, was mixed up, it's not the feedback, but the accounting section I usually take the date from. Your script Script uses something like:
---
my $nowtime = strftime "%a %b %d, %I:%M %p", gmtime(time + ($config{'systemtime'}* 3600 ));
-
-
New Account Created:::Fri Oct 16, 11:26 AM:::0.00:::New Account Created:::0.00
---
meaning, that you would have to adopt the "strftime" line (as you probably already did) to display the Year, if required
---
print NEWACCOUNT "$trans$fielddelimiter$nowtime$fielddelimiter$amount$fielddelimiter$details$fielddelimiter$balance\n";
close NEWACCOUNT;
---
and move the content of:

$trans$fielddelimiter$nowtime$fielddelimiter$amount$fielddelimiter$details$fielddelimiter$balance\n";

to something like
---
$nowtime$fielddelimiter$trans$fielddelimiter$amount$fielddelimiter$details$fielddelimiter$balance\n";
---

Still, you would need to filter out exept the date "$nowtime" to only display the first, b.Ex., 11 digits (Feb.09.2010), using a regex or some other routine. I myself am unfamiliar to "$fielddelimiter" Element reading.

This may have some effect on other parts of the script, wherever this line will be read and/or used to persent the content somewhere, so be careful before just screwing up...

Homer

you may reach me directly, or this could get to long here...

If you don't know where you're going, any road will get you there.


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote
Len click here to view user rating
Member since May-4-04
601 posts, 6 feedbacks, 10 points
Jul-16-10, 03:10 AM (CST)
Click to view user profileClick to add this user to your buddy list  
10. "RE: Newest member add on"
 
   Hi Homer
I'll email you Mate.

Best Regards
Len


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote


Conferences | Topics | Previous Topic | Next Topic
Rate this topic Rate this topic