Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2000
Posts: 313
Member
Member
Offline
Joined: Jan 2000
Posts: 313
If there is some interest in this hack, I'll post it here. Basically, it puts the user last post time and date in their profile, so you can see their latest activity on the forum. Take a look at it in my bio here:
http://www.vhlinks.com/cgi-bin/vhlforum/ubbmisc.cgi?action=getbio&UserName=Brett

If you guys want it, I can post the code for it here. I know Charles did a similar hack on his board, but I don't think he ever shard the code, and his links to the thread as well, which I didn't really want.

------------------
Webmaster Van Halen Links.com
http://www.vhlinks.com
UBB Moderator
http://www.scriptkeeper.com/cgi-bin/Ultimate.cgi

Sponsored Links
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
It's one of many that will be included in my extra fields hack... My version also includes the URL and title of the thread last posted to, not just the time and date: http://flare.solareclipse.net/cgi/ubbmisc.cgi?action=getbio&UserName=Charles+Capps


UBB.classic: Love it or hate it, it was mine.
Joined: Jun 2000
Posts: 263
Junior Member
Junior Member
Offline
Joined: Jun 2000
Posts: 263
TO Slurpee:
When I click on the date of last post, i get to http://www.vhlinks.com/vhlforum/Forum9/HTML/.html
I think there must be some number between /HTML/ and .html [Linked Image]

Joined: Jan 2000
Posts: 313
Member
Member
Offline
Joined: Jan 2000
Posts: 313
Try it again now, i just changed my coding so that the date links to the thread with the last post.

------------------
Webmaster Van Halen Links.com
http://www.vhlinks.com
UBB Moderator
http://www.scriptkeeper.com/cgi-bin/Ultimate.cgi

Joined: Jan 2000
Posts: 313
Member
Member
Offline
Joined: Jan 2000
Posts: 313
Well I pussed out! [Linked Image] I now have it set up so that there is a link to the URL where the last post is, just like Charles'. [Linked Image]

------------------
Webmaster Van Halen Links.com
http://www.vhlinks.com
UBB Moderator
http://www.scriptkeeper.com/cgi-bin/Ultimate.cgi

Sponsored Links
Joined: Jan 2000
Posts: 34
Member
Member
Offline
Joined: Jan 2000
Posts: 34
Would you post it here pls?



------------------
Gruß/Regards
Stefan
UBB Support Germany
UBB: Psychoterror - der Wahnsinn im Web.
Deutsches UBB-Verzeichnis: German UBB List


Gruß/Regards
Stefan
Infopop Deutschland
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Yes I beg you to post it!!!!!

------------------
President and Webmaster of UBB Hackers Hideout.

ICQ: 33326211
AIM:SpazJCC
Email: ubbmaster@ubbcodehacking.com

Joined: Jan 2000
Posts: 313
Member
Member
Offline
Joined: Jan 2000
Posts: 313
All right here you go, again I did it as a text file. If you want to see this hack at work visit my board in the signature and go to a user's profile.
http://www.vhlinks.com/pages/lastpostinfo.txt

------------------
Webmaster Van Halen Links.com
http://www.vhlinks.com
UBB Moderator
http://www.scriptkeeper.com/cgi-bin/Ultimate.cgi

Joined: Feb 2000
Posts: 2
Junior Member
Junior Member
Offline
Joined: Feb 2000
Posts: 2
Hé thanks thats a great hack.

But I live in Europe and would like to use the European thime (24h) and not PM and AM. I search everything, changed the

$PostInfoDate = &DateFormat("$HyphenDate", "USExpanded");

to

$PostInfoDate = &DateFormat("$HyphenDate", "EuroExpanded");

But it didn't work. Can you tell me what I have to do to make everything work like i want it to be?

Thanks

Joined: Jan 2000
Posts: 2
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 2
k i did exactly what ur instructions said and i get Not available yet..

Sponsored Links
Joined: Mar 2001
Posts: 69
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 69
Another good hack, as usual

(Man, I say that alot lately )

Joined: Mar 2001
Posts: 37
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 37
can i ask a question? this thing puts the link even if the topic is in a private board? i think it does, right?

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3


- Allen wavey
- What Drives You?
Joined: Sep 2000
Posts: 34
Member
Member
Offline
Joined: Sep 2000
Posts: 34
Quote
quote:
It does put a link to the apge even if it's in a private forum, but when you click the link (at least when I did) it gives a 404 FNF error. I thought that was cool because it keeps the private forums private. [Linked Image]

------------------
"And the darkness swallowed the light and the earth fell into chaos."
Lord Nite

Joined: Jul 2000
Posts: 14
Member
Member
Offline
Joined: Jul 2000
Posts: 14
I am still getting a "Not Available Yet" when i go into profile.I checked over the ubbmisc a million times,and i even checked over postings.cgi.Can any of you helping me?ANd by they way,is this hack standalone or you need the last post info hack?

Thanks in advance!

Your Pal,

Zell123 [Linked Image]

Joined: Oct 2000
Posts: 49
Member
Member
Offline
Joined: Oct 2000
Posts: 49
This is a cool hack, but I didn't like how it makes the titles of your private posts available for public view, to fix this replace:

Quote
quote:
with this:

Quote
quote:
Make sure you do that twice, it's in two places...!



This message has been edited by Thermit on November 13, 2000 at 05:24 PM

Joined: Dec 2000
Posts: 29
Member
Member
Offline
Joined: Dec 2000
Posts: 29
Hi, how come it becomes like that after I had this hack? so sad now.

http://csn23.com/cgi/ubb/forumdispl...+Board&number=1&DaysPrune=365&LastLogin=

Joined: Dec 2000
Posts: 595
Member
Member
Offline
Joined: Dec 2000
Posts: 595
this script in the database is not upgraded with the options for non showing private foruns last posts

https://www.ubbdev.com/db/cgi/ubbcount.cgi?expath1=Forum8&expath2=&topic=000014&ty pe=&number=8

oh and about Thermit suggestion dont forget that the 2 are slightly different (1 variable, that gets the topic number, has a different name in New Topic and Reply functions)

------------------
=^_^=

This message has been edited by CopyCat on December 10, 2000 at 06:51 PM

Joined: Dec 2000
Posts: 595
Member
Member
Offline
Joined: Dec 2000
Posts: 595
found bug

when the topic is deleted, the last post in profile doesnt


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)