|
Joined: Jan 2001
Posts: 1,940
Developer
|
Developer
Joined: Jan 2001
Posts: 1,940 |
I'll have this updated on the website tonight. PsxBasement, the quick and dirty way would be to save the HTML. Open up in your favorite HTML editor. Copy and paste from there (it always works for me  ) for proper formatting. q
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
the easiest way to get his code from off this page is to click on the "edit" button in his post... just copy and paste from the text box....
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
File updated with bug fixes and to version 6.01 (Link on first page).
I updated the format of the instructions too, if you guys don't mind following it pretty closely in the future, consistency in formatting will help the newbies..
|
|
|
|
Joined: Mar 2000
Posts: 344
Member
|
Member
Joined: Mar 2000
Posts: 344 |
Allen: Seems to be a problem with this bit of code, causing a software error: # begin last post hack if ($last_post[1] eq "000000"){ $last_post_username = ""; } else { $last_post_num = &GetUserNumber($last_post[2]); # get latest public name for latest post replier! my @user_profile = ''; if (-e "$vars_config{MembersPath}/$last_post_num.cgi") { @user_profile = &OpenProfile($last_post_num); chomp($user_profile[15]); chomp($user_profile[0]); $last_post_username = $user_profile[15]; if ($user_profile[15] eq '') { $last_post_username = $user_profile[0]; } } else { $last_post_username = $last_post[2]; } my $total_posts = $total_replies + 1; my $page_num = ''; if ($total_posts > $vars_display{HTMLDisplayMax}) { my $total_pages = int ($total_posts / $vars_display{HTMLDisplayMax}); if ($total_posts % $vars_display{HTMLDisplayMax}) { $total_pages++; } if ($total_pages > 1) { $page_num = "&p=$total_pages"; } $last_post_username = qq! $vars_wordlets{last_reply_by}: $last_post_username!; } # end last post hack Inserting the old code (even though there is a bug) makes it go away. All code was inserted properly.
|
|
|
|
Joined: Mar 2000
Posts: 344
Member
|
Member
Joined: Mar 2000
Posts: 344 |
More specifically, that posted fix by Slurp isn't functioning... 
|
|
|
|
Joined: Aug 2000
Posts: 226
Member
|
Member
Joined: Aug 2000
Posts: 226 |
This one might belong in beta instead of finished. I am also getting errors with ubb 6.01
Amy
|
|
|
|
Joined: Feb 2001
Posts: 74
Member
|
Member
Joined: Feb 2001
Posts: 74 |
I just attempted to install this hack on my UBB 6.01 and I keep getting this error:
{SFP} Sonic Expecting the Unexpected!
|
|
|
|
Joined: Feb 2001
Posts: 74
Member
|
Member
Joined: Feb 2001
Posts: 74 |
Place it in the Primary Wordlets under Page s.
{SFP} Sonic Expecting the Unexpected!
|
|
|
|
Joined: Jan 2001
Posts: 1,940
Developer
|
Developer
Joined: Jan 2001
Posts: 1,940 |
Error confirmed and fixed.
in ubb_forum.cgi find:
if ($total_pages > 1) { $page_num = "&p=$total_pages"; } }
add below }
That's it! Updated docs will be available on qasic.com later tonight!
q
[ March 23, 2001: Message edited by: 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 |
Thanks qasic, text file updated as well...
|
|
|
|
Joined: Jan 2001
Posts: 1,940
Developer
|
Developer
Joined: Jan 2001
Posts: 1,940 |
Hey Allen,
Did you add the fix here? Because the bug is occurring here ... it chose page 3, and topic #49 which obviously didn't exist since t was on page 2!
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 |
We are waiting on borg to finish the who's online before we upgrade, so we haven't upgraded or done anything yet. I didn't want my fiddlin with it to mess with his work. He has been uplodaing and downloading pretty fast and furious the last few days... 
|
|
|
|
Joined: Feb 2000
Posts: 64
Member
|
Member
Joined: Feb 2000
Posts: 64 |
worked great and was easy to install. thanx 
|
|
|
|
Joined: Sep 2000
Posts: 68
Member
|
Member
Joined: Sep 2000
Posts: 68 |
hm, i installed the mod for ubb 6.01. if a thread is more that 2 pages long and i click one the latest reply, i come to the first post of the thread. any suggestions? i downloaded the newest version ...
|
|
|
|
Joined: Jan 2000
Posts: 313
Member
|
Member
Joined: Jan 2000
Posts: 313 |
I have the fix but I can't document it because my code is different now than what is being used currently.
|
|
|
|
Joined: Sep 2000
Posts: 221
Member
|
Member
Joined: Sep 2000
Posts: 221 |
Is this mod safe to install right now on UBB 6.01?
Or do some fixes still need to be made?
This is the designed behavior.
|
|
|
|
Joined: Jan 2001
Posts: 1,940
Developer
|
Developer
Joined: Jan 2001
Posts: 1,940 |
Slurpee, why don't you test out on the Beta forum then? It may good to get it into the public for some testing!
Yes, the newest version on my site is v6.01 compatible!
q
|
|
|
|
Joined: Sep 2000
Posts: 68
Member
|
Member
Joined: Sep 2000
Posts: 68 |
no, it doesn't work with multiple pages.
|
|
|
|
Joined: Mar 2001
Posts: 326
Member
|
Member
Joined: Mar 2001
Posts: 326 |
It seems to work with multiple pages on this thread quite well, I haven't actually seen the problem you're all complaining of. The 'who's online' hack is a good example of it working.
|
|
|
|
Joined: Sep 2000
Posts: 58
Member
|
Member
Joined: Sep 2000
Posts: 58 |
ok,,my two cents. I have UBB6Gold and found the following That was it for now unless i find anymore with it. [edit; sorry had to shorten this because it screwed the thread with the long statement.  [ March 27, 2001: Message edited by: Subzero ]
Love life, feel life,,be life.
|
|
|
|
Joined: Sep 2000
Posts: 49
Member
|
Member
Joined: Sep 2000
Posts: 49 |
any one got a fix yet for the multiple page problem.. clicking on the user name in the forum brings me to first post in that thread. hmm hmm. ? Otherwise it works fine.
|
|
|
|
Joined: Jan 2000
Posts: 313
Member
|
Member
Joined: Jan 2000
Posts: 313 |
Guys, look at Allen's first post in this thread, he has a link to the hack in the database. I just checked and that file does contain my fix in it, so follow those directions and see if that does it.
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
True, the link in the first post is the latest...  We still have the minor glitches here, and will have until we upgrade to 6.02 this weekend...
|
|
|
|
Joined: Sep 2000
Posts: 49
Member
|
Member
Joined: Sep 2000
Posts: 49 |
My bad.. I tested it again and it does work..
|
|
|
|
Joined: Mar 2001
Posts: 335
Member
|
Member
Joined: Mar 2001
Posts: 335 |
is all i can find in ubb_forum.cgi - i have ubb 6.0, and nothing shows up, i have installed it all correctly. but it doesnt work, my url to board is: http://cncrev.virtualgn.com/cgi-bin/ubb/ultimatebb.cgi please take a look, and help me out. i really need this hack, thanks.  [edited to help my vision - sorry]
|
|
|
|
Joined: Aug 2000
Posts: 226
Member
|
Member
Joined: Aug 2000
Posts: 226 |
CNCR you have to clear your cache for it to work.
Amy
|
|
|
|
Joined: Mar 2001
Posts: 335
Member
|
Member
Joined: Mar 2001
Posts: 335 |
well..duh! i've did that like 50 million times...
like i said, the code above is all i could find close to what is stated in the Readme.
i have 6.0. not 6.1!
|
|
|
|
Joined: Sep 2000
Posts: 50
Member
|
Member
Joined: Sep 2000
Posts: 50 |
How can I add this hack to the main forum view also? Like it was possible in previous UBB versions.
|
|
|
|
Joined: Mar 2001
Posts: 335
Member
|
Member
Joined: Mar 2001
Posts: 335 |
if im not mistaken, its already displayed on the main page...
|
|
|
|
Joined: Sep 2000
Posts: 441
Member
|
Member
Joined: Sep 2000
Posts: 441 |
[just wanted to mention, that this hack worked fine. just installed and upgraded together with my other webmaster a 5.44 board to 6.01, installed the icon-hack as well as the who is online-script and everything works like a .. well, you say.. charme? i'm absolutely happy  - thanks for doing a great job here @ ubbdev.com!] chris
|
|
|
|
Joined: Sep 2000
Posts: 50
Member
|
Member
Joined: Sep 2000
Posts: 50 |
Yes but I don't want those topics to be displayed. Only the person who has done the last post.
|
|
|
|
Joined: Dec 2000
Posts: 34
Member
|
Member
Joined: Dec 2000
Posts: 34 |
Works great in my 6.02 update done just now. Thank you for the great hack, which is one of my favorites!  [ March 31, 2001: Message edited by: Redshift ]
|
|
|
|
Joined: Sep 2000
Posts: 68
Member
|
Member
Joined: Sep 2000
Posts: 68 |
hm, try it with multiple pages, then tell us, if it works or not.
|
|
|
|
Joined: Dec 2000
Posts: 34
Member
|
Member
Joined: Dec 2000
Posts: 34 |
Yah, just found the error. Oops! Is there a fix for this yet? 
|
|
|
|
Joined: Sep 2000
Posts: 68
Member
|
Member
Joined: Sep 2000
Posts: 68 |
nope! allen said that he will check it as soon as possible.
|
|
|
|
Joined: Sep 2000
Posts: 305
Member
|
Member
Joined: Sep 2000
Posts: 305 |
Yea clicking on for example the last post by users username when the topic is 3 pages long it just takes ya to the 1st page.
v6.02
MishY
[ March 31, 2001: Message edited by: CTH ]
|
|
|
|
Joined: Mar 2000
Posts: 344
Member
|
Member
Joined: Mar 2000
Posts: 344 |
Confirmed.
This does not function properly in 6.02.
|
|
|
|
Joined: Sep 2000
Posts: 50
Member
|
Member
Joined: Sep 2000
Posts: 50 |
Could someone tell me how to add this to the front page. I removed the topic links that came with the UBB6 but I would like to add the text that shows who has posted last.
|
|
|
|
Joined: Sep 2000
Posts: 305
Member
|
Member
Joined: Sep 2000
Posts: 305 |
~polite bump~ 
|
|
|
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.
|
|
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|