Previous Thread
Next Thread
Print Thread
Rate Thread
#101367 09/29/2000 4:33 PM
Joined: Aug 2000
Posts: 39
Member
Member
Offline
Joined: Aug 2000
Posts: 39
IRT my Troubleshoot Greetings to Newest Member thread and Zanardi's reply, I've made the below attempt...needless to say it doesn't work, maybe someone can help me out.
1. Created LastMember.cgi file
Code
code:
test is the last username registered.
2. In my Ultimate.cgi, created the print statement (sub-routine?) of
Quote
quote:
3. Encorporated the above in my $Memberline as so
Quote
quote:
OK, it's no secret that I'm the creatively acquired type, above is my attempt, now need yalls help, ACK!
JR

------------------
Webmaster
http://www.izmirhigh.com/index.shtml
http://home.flash.net/~murgnam/

Sponsored Links
#101368 09/29/2000 4:48 PM
Joined: Sep 2000
Posts: 755
P.I.T.A. / Programmer
P.I.T.A. / Programmer
Offline
Joined: Sep 2000
Posts: 755
Let's start with a definition of "It doesn't work". Specifically what happens, and what are you doing when it happens.

2nd, make sure your open command is successful. add:

or die "Can't open: $!"

to it

--mark


"Annnnnnnndd now, opening for Iron Maiden...... WYLD STALLYNS!!!" --Bill S. Preston, Esquire and Ted "Theodore " Logan
#101369 09/29/2000 5:12 PM
Joined: Aug 2000
Posts: 39
Member
Member
Offline
Joined: Aug 2000
Posts: 39
Mark,
1. Greetings from a fellow DBMAN user.
2. LastMember.cgi is now
Code
code:
3. What I want to do is display the newest member registered on my FW board. I'd tried BOTH the Total-Welcome and Statistik mod's with no luck. So, my aforementioned Trouble Greetings to newest member post. Zanardi suggested I use a workaround and
Quote
quote:
4. So here I am, [Linked Image]
JR

#101370 09/29/2000 9:58 PM
Joined: May 2000
Posts: 243
Member
Member
Offline
Joined: May 2000
Posts: 243
open(USER,">$MembersDir/latestmember.cgi") or &StandardHTML("Couldn't open latestmember.cgi for writing");
print USER "$UserName";
close(USER);

You'll want that code in one of the subs that actually adds the user. The in Ultimate.cgi

open(USER,">$MembersDir/latestmember.cgi") or &StandardHTML("Couldn't open latestmember.cgi");
@user = ;
close(USER);
chomp($user[0]);

$latestmember = qq(Welcome our newest member $user[0]);

Then user your variable $latestmember where you want to view that.

------------------
My Freeware Board

#101371 09/30/2000 9:45 AM
Joined: Aug 2000
Posts: 39
Member
Member
Offline
Joined: Aug 2000
Posts: 39
Still having prob's guys ...
1. ubbmisc.cgi|sub GetBio is now
Code
code:
2. Ultimate.cgi|sub Intro below &GetTime is now
Code
code:
3. Note I changed $Members"Dir" to $Members"Path". 'Course you know the deal with pipes displaying here on the UBB. I commented the lines 'cause I'm now exactly sure whether I can simply delete them?
4. Still nothing printing on the board tho'. What should happen is it print the latest member "test", with hopes that next time someone registers it will write over test with that username. What am I STILL doing wrong, ugh.
JR

This message has been edited by joebagodonuts on September 30, 2000 at 12:14 PM

Sponsored Links
#101372 10/03/2000 5:51 PM
Joined: Aug 2000
Posts: 39
Member
Member
Offline
Joined: Aug 2000
Posts: 39
Mark/Zanardi,
Come back -- still need yr help, ACK!
JR

#101373 10/09/2000 6:46 PM
Joined: May 2000
Posts: 243
Member
Member
Offline
Joined: May 2000
Posts: 243
Do you have the memberslist? I know another way. I used it on my statics hack. It's just like the one at UBBH.com

[edit]
Why are you in the sub GetBio? I don't think that is the sub you are looking for. In the form where the user fills out there name they want, look for this line:



What ever the value it, copy it, and use the search option on your text editor to find that line near the top. It SHOULD be also be a sub. I hope any of that makes sense

If you have ICQ go ahead and message me[/edit]

------------------
My Site

My Board

#101374 10/09/2000 7:43 PM
Joined: Aug 2000
Posts: 39
Member
Member
Offline
Joined: Aug 2000
Posts: 39
I moved
Code
code:
from sub GetBio to sub RegSubmit (the value you ref'd) in ubbmisc.cgi and yes I have Memberlist.
I just tried to ICQ u, but dunno if this newfangled 2000 version is quite working right, shocked
Over
JR


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)