Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 5 1 2 3 4 5
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Title:Last Username To Post In Forum
Version: 2.0
Author: Slurpee (Brett Norton)
Revised by:
- Qasic (now shows public profile name)
- Leshrac (complies now w/ mod_perl, now links to last post)
- Slurpee (added wordlet support)
- Allen Ayres (updated for v6 Gold)

Location: click here


- Allen wavey
- What Drives You?
Sponsored Links
Joined: Mar 2001
Posts: 117
Member
Member
Offline
Joined: Mar 2001
Posts: 117
some problems in some forums


FYI
No member profile found for member number:
ยป Please use your browser's back button to return.

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
The official file is now updated:

Name: Last Reply By
Version: 2.0
Authors: Slurpee, qasic, AllenAyres, Leshrac
Link: http://www.qasic.com/ubbhacks.html

qasic

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Sounds like you might need to update your member files/ post history, etc... did you clkear your cache? this is a pretty straight forward mod to install.


- Allen wavey
- What Drives You?
Joined: Mar 2001
Posts: 117
Member
Member
Offline
Joined: Mar 2001
Posts: 117
I cleared everything and rebuild evreything ..

[ March 18, 2001: Message edited by: q_ware ]

Sponsored Links
Joined: Mar 2001
Posts: 117
Member
Member
Offline
Joined: Mar 2001
Posts: 117
is it the problem for letting Unregistered users to post and reply?

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 can't tell what version you are runnig since you have removed the copyright notice. Please add it back before we give you assistance.... thanks.


- Allen wavey
- What Drives You?
Joined: Mar 2001
Posts: 117
Member
Member
Offline
Joined: Mar 2001
Posts: 117
6.00 Gold

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
You can't get assistance here unless your copyright is put back in... thanks for understanding, but you are violating the license agreement and could cause problems for ubbdev if we assist those who do.


- Allen wavey
- What Drives You?
Joined: Mar 2001
Posts: 117
Member
Member
Offline
Joined: Mar 2001
Posts: 117
oops...
let me put it back..

Sponsored Links
Joined: Jan 2001
Posts: 8
Junior Member
Junior Member
Offline
Joined: Jan 2001
Posts: 8
Hack works Great ..it's working perfectly on my forums ..thanks Guys cool

Joined: Jan 2001
Posts: 46
Member
Member
Offline
Joined: Jan 2001
Posts: 46
It says to edit PUBLIC_FORUM_PAGE.PL and PUBLIC_TOPIC_PAGE.PL but cannot find any such files - Am I looking in the wrong place???

[ March 18, 2001: Message edited by: SpearsLover ]

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
those are in your templates folder, and are in lowercase there...

thanks q_ware, let me know when you are ready...

you're welcome planet, tho slurpee, qasic, and leshrac did most all the work.


- Allen wavey
- What Drives You?
Joined: Mar 2001
Posts: 117
Member
Member
Offline
Joined: Mar 2001
Posts: 117
Got the cause of the bug.

If an unregistered user reply the msgs, the forum will die.

PS, I'm still finding all the places to re-add the copyright... >_< (I deleted too much)

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
all the more reason to make everyone register... they don't have to wait for a password if you don't have email verification turned on, but it's always a good idea to have them register...


- Allen wavey
- What Drives You?
Joined: Sep 2000
Posts: 305
CTH Offline
Member
Member
Offline
Joined: Sep 2000
Posts: 305
Works great for me ^^^^^^^^^^^

Gotta love this easy modding UBB6 code wink

TotalNewbie

Joined: Mar 2001
Posts: 27
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 27
Hello, I have a question.

How can I modify the main page, that the link goes to the last post, not only to the last answered topic?

such like this hack

Joined: Feb 2001
Posts: 41
Member
Member
Offline
Joined: Feb 2001
Posts: 41
i have a problem all i have checked if i did copy it good in al the 3 files

but still this error

Content-type: text/html
Software error:
Illegal division by zero at D:/webserver/wwwroot/~test/cgi-bin/ubb_forum.cgi line 337.

For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.

can somebody tell me?
i know it's not a error from me ( hehe i hope )

Grtx

[Linked Image]

Joined: Jan 2000
Posts: 313
Member
Member
Offline
Joined: Jan 2000
Posts: 313
Quote
quote:
I just released this hack, it is located here:

https://www.ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=get_topic&f=20&t=000152

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Quote
quote:
I have only installed this once, so I can't say for sure that it is 100% bug-free, but it installs very straight-forward, there's nothing difficult about it at all. This one is explicitly for ubb 6 gold, so if you are running on beta, it's gonna be different in some places and is unsupported.

You might check to make sure you haven't copied over a } or sometrhing, or left one out... it is most likely an install problem.


- Allen wavey
- What Drives You?
Joined: Feb 2001
Posts: 4
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 4
Could it be because of the corrupted zip file that infopop released in the "first few hours"?

worth a shot tipsy

Joined: Sep 2000
Posts: 49
Member
Member
Offline
Joined: Sep 2000
Posts: 49
works like a charm! made some minor cosmetic changes.. but it's the hack that I've missed the most.. Thank you thank you thank you!! laugh

Joined: Mar 2001
Posts: 12
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 12
Quote
quote:
hey KodoSan can you point me how you have put all the info in one line ?
i was playing with this today & i havent figured it out,i droped the idea after 10 min frown

Joined: Jul 2000
Posts: 80
Member
Member
Offline
Joined: Jul 2000
Posts: 80
Search the instructions for
and delete it smile

Or if you want the exact code, its in ubb_forum.cgi in the following code you added in:

$last_post_username = qq!
$vars_wordlets{last_reply_by}: $last_post_username!;

Joined: Jul 2000
Posts: 80
Member
Member
Offline
Joined: Jul 2000
Posts: 80
Only other change I would suggest, although cosmetic, is to modify the words "Last Reply by" to only "by" in vars_wordlets.cgi. Since the column already says Last post, its redundant and makes forums really wide and double up on smaller monitors.

Mine reads:

03-21-2001 00:52 by: Username

rather than

03-21-2001 00:52 Last post by: Username

Joined: Mar 2001
Posts: 12
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 12
thx Tim for the Tip & keep up the good work with 3dfiles smile
edited my post to say that it worked great & its exactly what i wanted tipsy

[ March 21, 2001: Message edited by: Abyss ]

Joined: Mar 2001
Posts: 26
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 26
I noticed that the "Pages: 1 2 etc" are located below the subject in this forum. How did you achieve that?

I suppose it's only a
tag, but where does it go?

Joined: Sep 2000
Posts: 49
Member
Member
Offline
Joined: Sep 2000
Posts: 49
oh sure. leave it to TIM to steal my glory..lol. It's back to tweaking the boards eh bubba!!!

Joined: Dec 2000
Posts: 34
Member
Member
Offline
Joined: Dec 2000
Posts: 34
I just wanted to say a quick "thank you" to the author of this hack. It was my single most favorite hack from UBB5.x, and now that I've got it in 6.0, I'm happy.

Kudos!

Joined: Sep 2000
Posts: 63
Member
Member
Offline
Joined: Sep 2000
Posts: 63
Yes, thank you. This works wonderfully.

Infinite

Joined: Dec 2000
Posts: 26
TOC Offline
Junior Member
Junior Member
Offline
Joined: Dec 2000
Posts: 26
... could you plz make an update for UBB 6.01 ?

Joined: Mar 2001
Posts: 41
BT Offline
Member
Member
Offline
Joined: Mar 2001
Posts: 41
To update for 6.01 just change the first step in the instructions to:


Code
code:


I think, I haven't tested yet but it seems to be the only difference wink

EDIT > This works fine on my board laugh

I've split the code a bit to make it easier to read the rest of the posts in this thread, both blocks should be single lines, don't ya just love the way UBB6 does that eek eek

[ March 22, 2001: Message edited by: -Ben@KvR- ]

[ March 22, 2001: Message edited by: -Ben@KvR- ]

Joined: Sep 2000
Posts: 14
Junior Member
Junior Member
Offline
Joined: Sep 2000
Posts: 14
Grr, Ben. How about some carriage returns in that code block?


Michael Bates
Joined: Oct 2000
Posts: 7
Junior Member
Junior Member
Offline
Joined: Oct 2000
Posts: 7
didnt work right for me in 6.01. last username came up fine, but right above the each members name was some code, I forgot what it said. I know I should have wrote it down!

example:

CODE )(&*&%*
Stingray
Member
Member # 2183
Rate Member

[ March 22, 2001: Message edited by: Stingray ]

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
I'll look into this ASAP.

q

Joined: Feb 2001
Posts: 41
Member
Member
Offline
Joined: Feb 2001
Posts: 41
Content-type: text/html
Software error:
Illegal division by zero at D:/webserver/wwwroot/~test/cgi-bin/ubb_forum.cgi line 338.

same error with the correct zipper ( without crc ) v 6.0 No beta,so hmm what is the problem?


[Linked Image]

[ March 22, 2001: Message edited by: PsxBasement ]

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 seeing a bug that was in the version for v5 as well. Say you have your threads limited to 25 posts per page. With this mod installed, whenever you get to 24, it links to the next page (that isn't there) instead of the correct one. This happens when the thread gets to 49, 74, 99, etc.


- Allen wavey
- What Drives You?
Joined: Jan 2000
Posts: 313
Member
Member
Offline
Joined: Jan 2000
Posts: 313
Allen, I found that problem too and fixed it.

If you replace this:

Code
code:

With this:
Code
code:

Problem solved!

[ March 23, 2001: Message edited by: Slurpee ]

Joined: Mar 2001
Posts: 326
Member
Member
Offline
Joined: Mar 2001
Posts: 326
Can somebody update the primary hack files and install stuff with the latest fixes, thanks.

Joined: Feb 2001
Posts: 41
Member
Member
Offline
Joined: Feb 2001
Posts: 41
slurpee could you copy and paste it in a text file when i grab the solution i cant paste it in the cgi because then it come's out strange and not correct.

thnx.
Wizkid

Page 1 of 5 1 2 3 4 5

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
Posts: 70
Joined: January 2007
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
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)