#38419
10/07/2000 7:44 PM
|
Joined: Sep 2000
Posts: 793
Member
|
Member
Joined: Sep 2000
Posts: 793 |
I am currently writing a mod to do just that, loosely based on Slurpee's, with mostly my own coding. Expect it in the next week.
Your prayers will shortly be answered...
------------------ --Dark Templar
-DT
|
|
|
#38420
10/07/2000 8:51 PM
|
Joined: Sep 2000
Posts: 793
Member
|
Member
Joined: Sep 2000
Posts: 793 |
Ok, it's all written! Works flawless on mine, so I'm releasing it as a finished Mod. http://theultimagamers.hypermart.net/ubbhacks/latestforumreply546.txt Major thanks to Slurpee for the ubb_library.pl coding. Note that this only lets you link to the user's latest post, and not their profile. Next release probably will include it. ------------------ --Dark Templar
-DT
|
|
|
#38421
10/07/2000 9:22 PM
|
Joined: Sep 2000
Posts: 793
Member
|
Member
Joined: Sep 2000
Posts: 793 |
whoops, I just discovered the ONLY bug in it-if it is a multiple page post, it doesn't go to the second page. A minor fix, it will be done soon.
------------------ --Dark Templar
-DT
|
|
|
#38422
10/08/2000 4:02 PM
|
Joined: Sep 2000
Posts: 793
Member
|
Member
Joined: Sep 2000
Posts: 793 |
OK! I got all the code ironed out. The link now is to the new version, v1.5.
Thanks again to Slurpee, I tweaked another little bit of his coding and now it works perfectly.
This works on my 5.46, and should work on all of yours.
------------------ --Dark Templar
UPDATE!!! It is now version 1.5.1; I changed the size of the latest reply text in forumdisplay.cgi and removed an extra tag.
This message has been edited by Dark Templar on October 08, 2000 at 09:02 PM
-DT
|
|
|
#38423
10/09/2000 12:52 AM
|
Joined: Mar 2000
Posts: 50
Member
|
Member
Joined: Mar 2000
Posts: 50 |
|
|
|
#38424
10/09/2000 9:15 AM
|
Joined: Sep 2000
Posts: 793
Member
|
Member
Joined: Sep 2000
Posts: 793 |
No problem; I needed this hack myself, that's why I worked on it.
UPDATE!!! Version 1.5.2-Fixed some minor directions changes; The end wasn't clear that after you uploaded and chmodded, you had to rebuild your forum files via general controls, and then you had to update threads.
UPDATE AGAIN!!! Version 1.5.3 now gives explicit directions for if you use MasterMind's Anchor hack.
------------------ --Dark Templar
This message has been edited by Dark Templar on October 09, 2000 at 02:17 PM
-DT
|
|
|
#38425
10/11/2000 6:47 PM
|
Joined: Oct 2000
Posts: 7
Junior Member
|
Junior Member
Joined: Oct 2000
Posts: 7 |
Where can I find the code where it works in 5.45c?
|
|
|
#38426
10/11/2000 7:37 PM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
This does work in 5.45...
------------------ UBBDEV Moderator OCCUPATION: Programmer, webmaster. Read my BIO in the team link!
|
|
|
#38427
10/11/2000 7:59 PM
|
Joined: Sep 2000
Posts: 793
Member
|
Member
Joined: Sep 2000
Posts: 793 |
Yeah, there's no real reason why it shouldn't work in any version of 5.45.
------------------ --Dark Templar
-DT
|
|
|
#38428
10/14/2000 8:44 AM
|
Joined: Oct 2000
Posts: 1
Junior Member
|
Junior Member
Joined: Oct 2000
Posts: 1 |
Hey!!
Your hack work great in public forum... But in my Private forum, dont't work...
What can i do?
thx
@+
|
|
|
#38429
10/14/2000 10:38 AM
|
Joined: Sep 2000
Posts: 793
Member
|
Member
Joined: Sep 2000
Posts: 793 |
At this point it doesn't work in private forums. I'll see what I can do to make a private forums addon.
------------------ --Dark Templar
-DT
|
|
|
#38430
10/14/2000 10:56 AM
|
Joined: Sep 2000
Posts: 793
Member
|
Member
Joined: Sep 2000
Posts: 793 |
Ok, I just wrote an addon to this Mod so that after the "Latest reply by:" part, it will link to the person's profile instead of the actual post. To link to the member's bios- In forumdisplay.cgi, find: REPLACE it with: That should do it. I didn't publish that formally before because I personally like to make the latest reply link to the post. I'll add it to the next version of my Mod. ------------------ --Dark Templar This message has been edited by Dark Templar on October 14, 2000 at 10:59 AM
-DT
|
|
|
#38431
10/18/2000 2:28 AM
|
Joined: Oct 2000
Posts: 6
Junior Member
|
Junior Member
Joined: Oct 2000
Posts: 6 |
When do you do the add for the private forum ... The name of the author don't appear in private forum.. I hope you can do this ... Your add could works with all version of the lastusername mods ?? Thanks
|
|
|
#38432
10/18/2000 2:17 PM
|
Joined: Sep 2000
Posts: 793
Member
|
Member
Joined: Sep 2000
Posts: 793 |
That add-on ONLY works on MY hack.
------------------ --Dark Templar
-DT
|
|
|
#38433
10/18/2000 3:06 PM
|
Joined: Oct 2000
Posts: 6
Junior Member
|
Junior Member
Joined: Oct 2000
Posts: 6 |
and when i can found this add on for private forum ??
|
|
|
#38434
10/18/2000 5:54 PM
|
Joined: Sep 2000
Posts: 793
Member
|
Member
Joined: Sep 2000
Posts: 793 |
There IS NO addon for a private forum, at least not yet. I still have to make it.
------------------ --Dark Templar
-DT
|
|
|
#38435
10/20/2000 5:55 AM
|
Joined: Oct 2000
Posts: 6
Junior Member
|
Junior Member
Joined: Oct 2000
Posts: 6 |
we can expect to see this add on for next month ??
|
|
|
#38436
10/20/2000 2:15 PM
|
Joined: Sep 2000
Posts: 793
Member
|
Member
Joined: Sep 2000
Posts: 793 |
You can expect the add-on tonight or tomorow.
------------------ --Dark Templar
-DT
|
|
|
#38437
10/23/2000 6:37 AM
|
Joined: Oct 2000
Posts: 6
Junior Member
|
Junior Member
Joined: Oct 2000
Posts: 6 |
Great news ....thanks you dark templar
|
|
|
#38438
10/23/2000 9:19 AM
|
Joined: Sep 2000
Posts: 793
Member
|
Member
Joined: Sep 2000
Posts: 793 |
After a couple hours of working on the coding, testing, and the like, I have half of the private forum add-on working. It'll be a little longer than I thought at first; I am having trouble finding just the right variable for it.
------------------ --Dark Templar
-DT
|
|
|
#38439
10/23/2000 2:25 PM
|
Joined: Jul 2000
Posts: 1,349
Member
|
Member
Joined: Jul 2000
Posts: 1,349 |
Well when you do, I'm installing this mod straight away. Good work!
|
|
|
#38440
10/23/2000 6:27 PM
|
Joined: Sep 2000
Posts: 793
Member
|
Member
Joined: Sep 2000
Posts: 793 |
Alrighty. Since it works flawlessly now, in private forums and not, I have decided to release it as version 3.0. http://theultimagamers.hypermert.net/ubbhacks/latestforumreply546.txt It works on 5.46+ guaranteed, and it should work on prior versions. ------------------ --Dark Templar Imporant note! Remove and redo ALL of the forumdisplay.cgi coding for this hack if you are updating from a previous version of this! Also, if you are upgrading from Slurpee's version, remove all of the coding from it, and install mine. This message has been edited by Dark Templar on October 24, 2000 at 09:13 AM
-DT
|
|
|
#38441
10/24/2000 6:54 AM
|
Joined: Oct 2000
Posts: 6
Junior Member
|
Junior Member
Joined: Oct 2000
Posts: 6 |
The links doesnt works ..
|
|
|
#38443
10/25/2000 4:20 PM
|
Joined: Oct 2000
Posts: 6
Junior Member
|
Junior Member
Joined: Oct 2000
Posts: 6 |
A great hack thanks to you , to slurpee and all other people who contribute to this hack .. For a better UBB .. thanks
|
|
|
#38444
10/25/2000 4:58 PM
|
Joined: Sep 2000
Posts: 793
Member
|
Member
Joined: Sep 2000
Posts: 793 |
You're welcome.
------------------ --Dark Templar
-DT
|
|
|
#38445
11/10/2000 2:11 AM
|
Joined: Nov 2000
Posts: 1,271
Kahuna
|
Kahuna
Joined: Nov 2000
Posts: 1,271 |
hey, dark templar... im totally loving this mod. great job! i have a question about it, tho... i worked it into my boards, but, for some reason, the last post bit doesnt appear on the main forum page (the category listing), just the level below that. what'd i do wrong? here's my boards: http://www.robkamphausen.com/cgi-bin/Ultimate.cgi?action=intro ------------------ i have spoken www.robkamphausen.com
|
|
|
#38446
11/10/2000 3:08 AM
|
Joined: Nov 2000
Posts: 1,271
Kahuna
|
Kahuna
Joined: Nov 2000
Posts: 1,271 |
nope. nevermind. me am not smart. got it working now (didnt realize there wuz a different between "last post" and "last reply") my bad!! STILL a kick ass hack, tho. thanks fer it! and...i guess, consider the above just an advertisement to my site ![[Linked Image]](https://ubbdev.com/ubb/smilies/smile.gif) ------------------ i have spoken www.robkamphausen.com
|
|
|
#38447
11/10/2000 3:43 PM
|
Joined: Sep 2000
Posts: 793
Member
|
Member
Joined: Sep 2000
Posts: 793 |
Ok, I'm glad you got it all figured out now.
------------------ --Dark Templar
-DT
|
|
|
#38448
12/21/2000 3:09 AM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
I am doing something wrong here... when I add this to 5.47b, I get a "cut-off" forumdisplay.cgi. Everything below the "Topic Topic Starter Replies Last Post" table at the top of forumdisplay is completely cut off. I upload a forumdisplay with the changes and it's fine.... Any ideas? I am pretty sure I have made the changes correctly as instructed, there's aren't that many... ![[Linked Image]](https://ubbdev.com/ubb/smilies/wink.gif) ------------------ Allen - http://www.stand318.com 
|
|
|
#38449
12/21/2000 2:27 PM
|
Joined: Sep 2000
Posts: 793
Member
|
Member
Joined: Sep 2000
Posts: 793 |
Allen...go on ICQ and I'll talk to you through there ![[Linked Image]](https://ubbdev.com/ubb/smilies/wink.gif) . It's probably something so simple it was overlooked ![[Linked Image]](https://ubbdev.com/ubb/smilies/smile.gif) . ------------------ 
-DT
|
|
|
#38450
12/30/2000 12:04 PM
|
Joined: Sep 2000
Posts: 441
Member
|
Member
Joined: Sep 2000
Posts: 441 |
Ooops, i do have a serious problem on my 5.45, changed the forumdisplay, when opening the forumdisplay on my ubb there's an error message, 'illegale division by zero in line 976' (it's the line "$lastpage = "$NonCGIURL/$ExactPath/HTML/$threadinfo[1]-$i.html";"), my source looks like this: sub TopicGutsHTML { if ($PrivateMax eq "yes") { $ThisURL = qq($CGIURL/forumdisplay.cgi?action=displayprivate&number=$number&topic=$threadinfo[1]); } else { $ThisURL = qq($NonCGIURL/$ExactPath/HTML/$threadinfo[1].html); } ##Slurpee/Sephiroth(Dark Templar)'s Latest reply by username hack $replies = $threadinfo[3]; $totalposts = $replies+ 1; $lastpage = ""; $thesepages = $totalposts / $HTMLDisplayMax; if ($remainder >= 0) { $thesepages++; } if ($thesepages > 0) { $lastpage = "$ThisURL"; for (my $i=2; $i< $thesepages; $i++){ if ($PrivateMax eq "yes") { $lastpage = "$CGIURL/forumdisplay.cgi?action=displayprivate&number=$number&topic=$threadinfo[1]-$i"; } else { $lastpage = "$NonCGIURL/$ExactPath/HTML/$threadinfo[1]-$i.html"; } } } $lastName = $threadinfo[8]; $lastName =~ tr/+/ /; if ($replies >= 1) { $lastAuthName = qq( Latest reply by: $lastName ); } else { $lastAuthName = ""; } if (-e "$NonCGIPath/$ExactPath/ubbcount.file") { open(CHECK, "$NonCGIPath/$ExactPath/ubbcount.file") || die ( &StandardHTML("Unable to open forum's counting file for reading $!") ); @dta = ; close(CHECK);
$final_hits = 0; foreach $dta_line(@dta) { chomp($dta_line); ($xurl, $xcount) = split(/|/, $dta_line); if ($xurl eq "$ThisURL") { $final_hits = $xcount; $newn = $threadinfo[3]; $writtingp = sprintf("%4.2f", (($newn / $final_hits) * 100)); } }
} else { $final_hits = 0; $writtingp = "0.00"; } if ($writtingp eq "") { $writtingp = "0.00"; }
$newpath = $ExactPath; @info = split(///, $newpath); print <
------------------
|
|
|
#38451
01/01/2001 1:24 AM
|
Joined: Dec 2000
Posts: 10
Junior Member
|
Junior Member
Joined: Dec 2000
Posts: 10 |
this hack works on 5.44?
------------------ hexa
hexa
|
|
|
#38452
01/01/2001 5:16 PM
|
Joined: Sep 2000
Posts: 441
Member
|
Member
Joined: Sep 2000
Posts: 441 |
oops, i do have 5.44a  any idea how to get this hack work  ? thanks, chris
|
|
|
#38453
01/01/2001 5:20 PM
|
Joined: Sep 2000
Posts: 1,304
Addict
|
Addict
Joined: Sep 2000
Posts: 1,304 |
Yes this hack works on 5.44 because I have installed in my UBB. ------------------ 
|
|
|
#38454
01/01/2001 11:20 PM
|
Joined: Aug 2000
Posts: 106
Member
|
Member
Joined: Aug 2000
Posts: 106 |
does this work with 5.47d ------------------ | My Home Page | My Ubb |
|
|
|
#38455
01/02/2001 3:14 PM
|
Joined: Sep 2000
Posts: 793
Member
|
Member
Joined: Sep 2000
Posts: 793 |
YES! It works with ALL the current versions. If there is an incompatibility with any of my mods and the current ubb version, I DO update it. ------------------ 
-DT
|
|
|
#38456
01/06/2001 12:50 AM
|
Joined: Dec 2000
Posts: 595
Member
|
Member
Joined: Dec 2000
Posts: 595 |
great mod ------------------ 
|
|
|
#38457
01/08/2001 10:42 PM
|
Joined: Sep 2000
Posts: 221
Member
|
Member
Joined: Sep 2000
Posts: 221 |
What about 5.41a? ------------------ 
This is the designed behavior.
|
|
|
#38458
01/10/2001 6:21 PM
|
Joined: Sep 2000
Posts: 793
Member
|
Member
Joined: Sep 2000
Posts: 793 |
ummm...I think the quote u pulled answers that. Think about it. ------------------ 
-DT
|
|
|
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.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|