php forum
php mysql forum
php mysql smarty
 
Page 3 of 9 < 1 2 3 4 5 6 7 8 9 >
Topic Options
#140791 - 03/23/01 12:55 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
qasic Offline
Developer

Registered: 01/01/01
Posts: 1930
Loc: Surrey, BC, Canada
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
_________________________

Top
#140792 - 03/23/01 01:05 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
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?

Top
#140793 - 03/23/01 01:37 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
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?

Top
#140794 - 03/23/01 02:23 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
Alien Offline
Member

Registered: 03/15/00
Posts: 373
Loc: Zeta 2 Reticuli
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}: <A HREF="$vars_config{CGIURL}/ultimatebb.cgi?ubb=get_topic&f=$in{f}&t=$one$page_num#$last_post[1]">$last_post_username</A>!;
}
# end last post hack

Inserting the old code (even though there is a bug) makes it go away. All code was inserted properly.
_________________________
Administrator / AlienSoup.com / WTF.com
http://www.aliensoup.com
http://www.wtf.com

Top
#140795 - 03/23/01 02:38 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
Alien Offline
Member

Registered: 03/15/00
Posts: 373
Loc: Zeta 2 Reticuli
More specifically, that posted fix by Slurp isn't functioning... laugh
_________________________
Administrator / AlienSoup.com / WTF.com
http://www.aliensoup.com
http://www.wtf.com

Top
#140796 - 03/23/01 07:56 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
amykhar Offline
Member

Registered: 08/20/00
Posts: 240
This one might belong in beta instead of finished. I am also getting errors with ubb 6.01

Amy
_________________________
My Board

Top
#140797 - 03/23/01 09:02 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
Sonic Offline
Member

Registered: 02/11/01
Posts: 74
Loc: Arizona, USA
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!

Top
#140798 - 03/23/01 09:11 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
Sonic Offline
Member

Registered: 02/11/01
Posts: 74
Loc: Arizona, USA
Quote:
quote:


Place it in the Primary Wordlets under Pages.
_________________________
{SFP} Sonic
Expecting the Unexpected!

Top
#140799 - 03/23/01 09:35 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
qasic Offline
Developer

Registered: 01/01/01
Posts: 1930
Loc: Surrey, BC, Canada
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 ]
_________________________

Top
#140800 - 03/23/01 09:42 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
Thanks qasic, text file updated as well...
_________________________
- Allen wavey
- What Drives You?

Top
#140801 - 03/23/01 10:10 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
qasic Offline
Developer

Registered: 01/01/01
Posts: 1930
Loc: Surrey, BC, Canada
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
_________________________

Top
#140802 - 03/23/01 11:17 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
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?

Top
#140803 - 03/25/01 01:23 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
Zedd Offline
Member

Registered: 02/29/00
Posts: 54
worked great and was easy to install. thanx smile

Top
#140804 - 03/26/01 09:54 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
h4p3 Offline
Member

Registered: 09/29/00
Posts: 105
Loc: Vienna
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 ...
_________________________
greetz
h4p3
OC Austria | www.overclockers.at

Top
#140805 - 03/26/01 04:11 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
Slurpee Offline
Member

Registered: 01/11/00
Posts: 322
I have the fix but I can't document it because my code is different now than what is being used currently.
_________________________
Webmaster Van Halen Links.com
http://www.vhlinks.com
UBB Support Moderator
http://community.infopop.net/

Top
#140806 - 03/26/01 09:27 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
bryan868 Offline
Member

Registered: 09/18/00
Posts: 273
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.

Top
#140807 - 03/26/01 09:40 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
qasic Offline
Developer

Registered: 01/01/01
Posts: 1930
Loc: Surrey, BC, Canada
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
_________________________

Top
#140808 - 03/27/01 01:57 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
h4p3 Offline
Member

Registered: 09/29/00
Posts: 105
Loc: Vienna
no, it doesn't work with multiple pages.
_________________________
greetz
h4p3
OC Austria | www.overclockers.at

Top
#140809 - 03/27/01 06:24 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
mark99 Offline
Member

Registered: 03/11/01
Posts: 314
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.

Top
#140810 - 03/27/01 08:06 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
Subzero Offline
Member

Registered: 09/16/00
Posts: 128
Loc: New York State
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.

Top
Page 3 of 9 < 1 2 3 4 5 6 7 8 9 >


Who's Online
1 registered (Ruben Rocha), 30 Guests and 8 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
How to hide sub forums from summary page
by Ruben Rocha
12/02/08 02:58 PM
Spell Check [beta]
by Bill B
12/01/08 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
12/01/08 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
12/01/08 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
12/01/08 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
David DelMonte, nick1, Begbie, cenk, MATTO
13363 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks