Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 5 1 2 3 4 5
Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
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 smile ) for proper formatting.

q

Sponsored Links
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....


- Allen wavey
- What Drives You?
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..


- Allen wavey
- What Drives You?
Joined: Mar 2000
Posts: 344
Member
Member
Offline
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.


Administrator / WTF.com / IWantMy80s.com
http://www.wtf.com
http://www.iwantmy80s.com
Joined: Mar 2000
Posts: 344
Member
Member
Offline
Joined: Mar 2000
Posts: 344
More specifically, that posted fix by Slurp isn't functioning... laugh


Administrator / WTF.com / IWantMy80s.com
http://www.wtf.com
http://www.iwantmy80s.com
Sponsored Links
Joined: Aug 2000
Posts: 226
Member
Member
Offline
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
Offline
Joined: Feb 2001
Posts: 74
I just attempted to install this hack on my UBB 6.01 and I keep getting this error:
Quote
quote:


{SFP} Sonic
Expecting the Unexpected!
Joined: Feb 2001
Posts: 74
Member
Member
Offline
Joined: Feb 2001
Posts: 74
Quote
quote:
Place it in the Primary Wordlets under Pages.


{SFP} Sonic
Expecting the Unexpected!
Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
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...


- Allen wavey
- What Drives You?
Sponsored Links
Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
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... smile


- Allen wavey
- What Drives You?
Joined: Feb 2000
Posts: 64
Member
Member
Offline
Joined: Feb 2000
Posts: 64
worked great and was easy to install. thanx smile

Joined: Sep 2000
Posts: 68
Member
Member
Offline
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
Offline
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
Offline
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
Offline
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
Offline
Joined: Sep 2000
Posts: 68
no, it doesn't work with multiple pages.

Joined: Mar 2001
Posts: 326
Member
Member
Offline
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
Offline
Joined: Sep 2000
Posts: 58
ok,,my two cents. I have UBB6Gold and found the following
Code
code:
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. confused

[ March 27, 2001: Message edited by: Subzero ]


Love life, feel life,,be life.
Joined: Sep 2000
Posts: 49
Member
Member
Offline
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
Offline
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... smile We still have the minor glitches here, and will have until we upgrade to 6.02 this weekend...


- Allen wavey
- What Drives You?
Joined: Sep 2000
Posts: 49
Member
Member
Offline
Joined: Sep 2000
Posts: 49
My bad.. I tested it again and it does work..

Joined: Mar 2001
Posts: 335
Member
Member
Offline
Joined: Mar 2001
Posts: 335
Code
code:

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.

laugh

[edited to help my vision - sorry]

Joined: Aug 2000
Posts: 226
Member
Member
Offline
Joined: Aug 2000
Posts: 226
CNCR you have to clear your cache for it to work.

Amy

Joined: Mar 2001
Posts: 335
Member
Member
Offline
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
Offline
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
Offline
Joined: Mar 2001
Posts: 335
if im not mistaken, its already displayed on the main page...

Joined: Sep 2000
Posts: 441
Member
Member
Offline
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 smile - thanks for doing a great job here @ ubbdev.com!]
chris

Joined: Sep 2000
Posts: 50
Member
Member
Offline
Joined: Sep 2000
Posts: 50
Quote
quote:
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
Offline
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! cool

[ March 31, 2001: Message edited by: Redshift ]

Joined: Sep 2000
Posts: 68
Member
Member
Offline
Joined: Sep 2000
Posts: 68
Quote
quote:
hm, try it with multiple pages, then tell us, if it works or not.

Joined: Dec 2000
Posts: 34
Member
Member
Offline
Joined: Dec 2000
Posts: 34
Quote
quote:

Yah, just found the error. Oops! Is there a fix for this yet? frown

Joined: Sep 2000
Posts: 68
Member
Member
Offline
Joined: Sep 2000
Posts: 68
nope! allen said that he will check it as soon as possible.

Joined: Sep 2000
Posts: 305
CTH Offline
Member
Member
Offline
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
Offline
Joined: Mar 2000
Posts: 344
Confirmed.

This does not function properly in 6.02.


Administrator / WTF.com / IWantMy80s.com
http://www.wtf.com
http://www.iwantmy80s.com
Joined: Sep 2000
Posts: 50
Member
Member
Offline
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
CTH Offline
Member
Member
Offline
Joined: Sep 2000
Posts: 305
~polite bump~

smile

Joined: Jan 2000
Posts: 313
Member
Member
Offline
Joined: Jan 2000
Posts: 313
Sorry not having this problem. You guys can go to this forum on my board, there are a couple 3 page topics and they go to the right place, and yes this is Version 6.02.
http://www.vhforums.com/cgi-bin/vhlforum/ultimatebb.cgi?ubb=forum&f=12

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