Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Joined: Jan 2000
Posts: 313
Member
Member
Offline
Joined: Jan 2000
Posts: 313
Well a lot of people have asked for this hack, and while some had problems installing it, most seem to have it working fine. I wrote the code for 5.39b, but it should work on later versions with minimal or no changes. I've created a text file with the directions, follow the CAREFULLY as this hack can get very involved and confusing if you don't watch what you're doing. As always, remember to back-up your files first!
http://www.vhlinks.com/pages/lastusername.txt

------------------
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: 94
Member
Member
Offline
Joined: Jan 2000
Posts: 94
How does this differ from your hack that you posted here?
http://www.scriptkeeper.com/ubb/Forum14/HTML/002770.html

------------------
When you sin, you don't fall FROM God's grace, you fall INTO it!!


When you sin, you don't fall FROM God's grace, you fall INTO it.

Bring In The Geek Consulting Services
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
I looks like he just converted it into a text file.

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

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

Joined: Jan 2000
Posts: 9
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 9
Thanks, Slurpee. This post will be much easier to find, I think.

Incidentally, after uploading the changes, I didn't think it was working for me. I updated threads, reindexed and the username doesn't show up for prior posts. New posts, on the other hand, do. [Linked Image]

------------------
It is easy in the world to live after the world's opinions;
it is easy in solitude to live after one's own.
But the great man is he who in the midst of the crowd
keeps with perfect sweetness the independence of solitude.

-- Emerson


It is easy in the world to live after the world's opinions;
it is easy in solitude to live after one's own.
But the great man is he who in the midst of the crowd
keeps with perfect sweetness the independence of solitude.

-- Emerson
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Are you sure it has replys after the post. If not then you have to post a reply to get it to work.

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

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

Sponsored Links
Joined: Jan 2000
Posts: 9
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 9
Yes. In fact, one of them has 15. [Linked Image]

--------

Update: If you have this problem, you may need to set General Settings with update thread count/time turned on more than once. That seems to be all it was.

Txs, again, Slurpee!


It is easy in the world to live after the world's opinions;
it is easy in solitude to live after one's own.
But the great man is he who in the midst of the crowd
keeps with perfect sweetness the independence of solitude.

-- Emerson
Joined: Jan 2000
Posts: 9
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 9
Slurpee, I have a question. I'm using the latest version of your hack, and as far as the first few threads on the forumdisplay page are concerned, the link to post option works just fine.

Down the list, however, nos. are being added to the filename as if there were more than one page to the thread. For example: At http://www.babygiftset.com/cgi-bin/...on=topics&forum=Anything+Goes!&number=20 the link to cali's post on the top thread is fine. But the link to Sarah H's (and all thereafter) have the extra number (000043-3.html#Sarah+H02-01-200012:27 PM). As the posts move down, this number is added, increasing by an integer of 1. So only the first few link to the post correctly.

Can you help me with this? I've triple-checked the code. Someone else is having this problem as well ( http://www.scriptkeeper.com/ubb/Forum22/HTML/002448.html ). But things seem to get lost much easier on Scriptkeeper's forums. [Linked Image]


It is easy in the world to live after the world's opinions;
it is easy in solitude to live after one's own.
But the great man is he who in the midst of the crowd
keeps with perfect sweetness the independence of solitude.

-- Emerson
Joined: Feb 2000
Posts: 6
Junior Member
Junior Member
Offline
Joined: Feb 2000
Posts: 6
Hate to say it but....Ditto http://www.mrcs.net/board/mrcubb/cgi-bin/Ultimate.cgi?action=intro
First 2 are fine after that its a file not found

Joined: Jan 2000
Posts: 313
Member
Member
Offline
Joined: Jan 2000
Posts: 313
Hmmm....guys try changing this line in forumdisplay.cgi:

if ($thesetotal > 0) {

to

if ($thesetotal > 1) {

See what happens.

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

Joined: Feb 2000
Posts: 6
Junior Member
Junior Member
Offline
Joined: Feb 2000
Posts: 6
Nope....hmmmm


The link that works:http://www.mrcs.net/board/mrcubb/ubb/Forum1/HTML/000119.html#kec95February 02, 200012:07 AM

The ones that dont: http://www.mrcs.net/board/mrcubb/ubb/Forum1/HTML/000117-2.html#PhixionFebruary 01, 200008:50 PM

Sponsored Links
Joined: Feb 2000
Posts: 6
Junior Member
Junior Member
Offline
Joined: Feb 2000
Posts: 6
Btw..The change made the first one not link...
Oh well I guess it wont work on 5.43?
Great hack though,Cant wait to get the bugs out [Linked Image]

Joined: Feb 2000
Posts: 6
Junior Member
Junior Member
Offline
Joined: Feb 2000
Posts: 6
for (my $i=2; $i< $thesetotal; $i++){

Changed this to:

for (my $i=20; $i< $thesetotal; $i++){

in forumdisplay.cgi
And it now works [Linked Image]To guess what ???the 20th thread

Joined: Feb 2000
Posts: 6
Junior Member
Junior Member
Offline
Joined: Feb 2000
Posts: 6
One evil issue though.....
If the threads are more than one page, Its killing the cpu looking for the last post...

Joined: Jan 2000
Posts: 9
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 9
Same here. *Sigh* Oh, well. I've unlinked the name for the time being. But this would be a cool trick, if I could figure out how to get it working. [Linked Image]

Great hack. It should be included in the next version of the board. [Linked Image]


It is easy in the world to live after the world's opinions;
it is easy in solitude to live after one's own.
But the great man is he who in the midst of the crowd
keeps with perfect sweetness the independence of solitude.

-- Emerson
Joined: Feb 2000
Posts: 6
Junior Member
Junior Member
Offline
Joined: Feb 2000
Posts: 6
You ever get it Chan?

------------------
SalaTar Admin of
www.mrcs.net
Home of the free Linux Box

Joined: Jan 2000
Posts: 4
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 4
I am having the same problem, just the first 2 posts are working fine but than it add the extra integer by 1 in every post and than quit working. Has anyone figure this out yet
The Rock

Joined: Jan 2000
Posts: 4
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 4
Come on people, someone can answer and make this version bug free. Thanks
The Rock

Joined: Jan 2000
Posts: 4
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 4
I can not beleive this. This forum itself is using this and no one is telling me the fix for this code

Joined: Feb 2000
Posts: 19
Member
Member
Offline
Joined: Feb 2000
Posts: 19
I think exactly as TheRock....

this version doesn`t work for ubb 5.44a but this board itself has ist... so please post the code here.....

thx

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
I added this hack, under the assumption that I am better than everyone else and it would work magically(just kidding)! Well, I have the same problem as everyone else.

So, any idea what is wrong?

------------------
Troy(Trekkan)
RPG-Files Webmaster & Owner
http://www.rpg-files.com

Joined: Mar 2000
Posts: 20
Member
Member
Offline
Joined: Mar 2000
Posts: 20
Slurpee -

I am trying to add this hack but in ubb-libary you are calling to find chomp($checkit[7]);. but in my copy version 5.38c. I don't have any thing like that.

This is where I stopped just due to this.

Please help.

Jerry

Joined: Feb 2000
Posts: 1
Tim Offline
Junior Member
Junior Member
Offline
Joined: Feb 2000
Posts: 1
What´s about this hack in later ubb versions? It don´t work in privat areas.

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Well i just wanted to say i upgraded to 5.44b
and put this hack in with no problems. I have it linked to the profile. That may make a differenceas to why people are having problems. Wanted to say thanks for the hardwork of making this hack.

Matt

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
I am using 5.44a, without the profile linking. No luck...

------------------
Troy(Trekkan)
RPG-Files Webmaster & Owner
http://www.rpg-files.com

Joined: Mar 2000
Posts: 3
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 3
how do you make it work in private forums?

Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379
I'm using this hack in 5.43d (taken from the database) and it works fine. My advice for those of you who can't get it to work is: Try reinstalling it.

Just a thought [Linked Image]

Joined: Jan 2000
Posts: 43
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 43
problem, when i try to update threads in the general variables area and check that option you say to check it wont go through the process of updating the threads, it goes to forum 1 them goes to a blank page next. I don't understand what is wrong at all.


Sometimes being dead to someone is a good thing.
Joined: Mar 2000
Posts: 20
Member
Member
Offline
Joined: Mar 2000
Posts: 20
Still looking for help on installing this in version 5.38c.

I do not have the line chomp($checkit[7]);
but what I have is:
if ($checkit[6] =~ /N/) {
$AddN = "N";
} else {
$AddN = "";
}
if ($checkit[1] eq "$threadnum") {
if ($openclose eq "open") {
$checkit[6] = "$AddN";
} else {
$checkit[6] = "X$AddN";
}
$newline = join("|^|", @checkit);
push(@theupdatedts, $newline);
} else {
push(@theupdatedts, $checkthis);
}
} # end foreach @threadsum


Could someone help with this?

hunter

Joined: Mar 2000
Posts: 14
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 14
I feel so cool. I got this hack to work the first time (well, after i remembered to change the permissions on the files after uploading them). Thanks for a great hack with easy instructions.


Eagles may soar, but weasels don't get sucked into jet engines.
Joined: Mar 2000
Posts: 20
Member
Member
Offline
Joined: Mar 2000
Posts: 20
Okay since no help has been forth coming I have been playing around with it myself.

below
foreach $checkthis(@threadsum) {
chomp($checkthis);


I added the chomp($checkit[8]);

But changed it to chomp($checkit[7]);

then in in forumdisplay I changed:
$lastAuthName = qq( );
$lastName = $threadinfo[8];
$lastName =~ tr/+/ /;


to
$lastAuthName = qq(
);
$lastName = $threadinfo[7];
$lastName =~ tr/+/ /;

It's working.

hunter

Joined: Mar 2000
Posts: 14
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 14
Hmmm...just noticed something - dont know if its a problem or not. I have the last user to post listed for each topic, which is great - that's working, along with the link to the post.. However. Last user to post is NOT displaying for the forums as a whole (on the main page). Did I do something wrong, or is that a different hack completely?


Eagles may soar, but weasels don't get sucked into jet engines.
Joined: Mar 2000
Posts: 20
Member
Member
Offline
Joined: Mar 2000
Posts: 20
Mikal that a different hack that you can find at http://ubbcodehacking.com/ubb/Forum7/HTML/000007.html.

hunter

Joined: Mar 2000
Posts: 14
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 14
Cool - I love to hear i didnt get anything wrong - BUT, that url doesnt work - how about a name for the hack so i know what to search for? - Thanks.


Eagles may soar, but weasels don't get sucked into jet engines.
Joined: Mar 2000
Posts: 20
Member
Member
Offline
Joined: Mar 2000
Posts: 20
try the link again it works.

hunter

Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Anyone get this to work with 5.45b???

I see it's up with this forum but having all kinds of things disappear on me when I tried to implement the original message.

For instance, after the 2nd post, it stopped tracking who the last one was. I also lost the total posts, and origin of the poster (set in General Settings) when one posts a new post or a reply.

I saw a lot of questions but no one seems to answer. I know it's doable but would appreciate any help.

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
I too had the same problem, i had to have cal help me with my ubb_library2.pl to get it back to normal, thats where it screws something up. Im not sure this works for the latest 5.45b. It possibly does, but unless you know perl pretty good you wont be able to tell what your doing wronge

Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379
Lots of hacks are not compatible with 5.4.5 because of the way it handles profile fields. In time they should all be updated/fixed.

Just a thought [Linked Image]

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Took a while to hack in, but works well in v5.45b using Slurpee's directions . I didn't do anything different than he says.

------------------
Allen

- http://www.stand318.com


- Allen wavey
- What Drives You?
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
No kidding?

Ok... let me get rid of Mutt's UBB Code Buttons and see what happens.

Joined: Mar 2000
Posts: 13
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 13
Excellent Hack Slurpee!

Just put it into 5.44 using profile linking without a hitch per your instructions!

-twice

Page 1 of 2 1 2

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
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)