#52285
02/23/2002 4:58 PM
|
Joined: Dec 2001
Posts: 32
Junior Member
|
Junior Member
Joined: Dec 2001
Posts: 32 |
Will the 6.1 version work, or will it need to be rewritten for 6.2 ?
|
|
|
#52286
02/23/2002 5:11 PM
|
Joined: Dec 2001
Posts: 32
Junior Member
|
Junior Member
Joined: Dec 2001
Posts: 32 |
nevermind, it works 
|
|
|
#52287
02/25/2002 1:23 AM
|
Joined: Apr 2001
Posts: 16
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 16 |
How did you get it to work? When I went to install it, I could not find: quote: $last_hyphen_date = $last_post[3];
in "ubb_forum.cgi"
the closest thing I found was: quote: $last_hyphen_date = $this_topic_data[12];
my board is version 6.2.1
Am I missing something?
|
|
|
#52288
02/25/2002 5:20 AM
|
Joined: Dec 2001
Posts: 32
Junior Member
|
Junior Member
Joined: Dec 2001
Posts: 32 |
if i remember correctly, I just classed those two as the same thing
|
|
|
#52289
02/25/2002 11:54 AM
|
Joined: Apr 2001
Posts: 16
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 16 |
what does "class those as the same thing" mean? I tried adding the missing line and the hack right after : $last_hyphen_date = $this_topic_data[12];
all that did was mess up the time on my last post, but still didn't say who did the post.
Did you modify that paragraph that IO'm supposed to paste in? If so, how?
Did you paste it in somewhere else?
I can't code, except for minor changes and "canned" scripts. I suck :rolleyes:
|
|
|
#52290
02/26/2002 3:44 AM
|
Joined: Apr 2001
Posts: 16
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 16 |
anyone? I will pay anyone here to help, 
|
|
|
#52291
02/26/2002 4:41 AM
|
Joined: Jan 2002
Posts: 65
Member
|
Member
Joined: Jan 2002
Posts: 65 |
after this
$last_hyphen_date = $this_topic_data[12];
put what you need
|
|
|
#52292
02/26/2002 12:04 PM
|
Joined: Apr 2001
Posts: 16
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 16 |
Crap, still won't work, I just get a blank "last reply by: " under the last reply date! I did everything right, it has to be the ubb_forum.cgi!! ok, here;s how my first paragraph that was supposed to be changed looks: quote: local ($poll_new, $poll_old, $pollid, $poll_link, @pntf_locations, $pntf_string, $last_julian, $GetMonth, $GetDate, $GetYear, @this_forum, $category, $permission, $cat_name, $mod, @mods, %topic_legend, %reply_legend, $topic_restrict, $reply_restrict, $forum_name, %topic_view, $DPJulian, @thefinalarray, %forum_topics, $topic, $one, @this_topic, $closed, $total_replies, $subject, $user_name, $msg_icon, $last_hyphen_date, $last_time, @rev_file, @last_post, $TheDate, $Breaker, $DateSize, $hot_icon, $new_topic_button, $key, $value, $Sections, $count, $j, $start_point, $array_stop, $total_good, $more_topics_wording, $Block, $starting, @topics, $Section, $topic_start_name, $cat_line1, $extra_pages, $topic_view_line, $topic_start_un, $last_post_username, @user_profile);
then later in the same file: quote: $last_hyphen_date = $this_topic_data[12];
# 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_mods{last_reply_by}: $last_post_username!; } # end last post hack
Why wouldn't it work? I emptied the cache (actually at this point I turned it off), I did the templates and wordlets deal right obviously since I get the words "last reply by: " under the last post date, I am going nutz here!
Any ideas?? 
|
|
|
#52293
02/27/2002 12:56 AM
|
Joined: Apr 2001
Posts: 16
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 16 |
Would anyone wanna tackle this as a freelance job? I really need it to work!
|
|
|
#52294
02/27/2002 2:13 PM
|
Joined: Jan 2002
Posts: 65
Member
|
Member
Joined: Jan 2002
Posts: 65 |
lol. Maybe you dont have Vars_wordlets_mods.cgi installed. I dont no but if ya catch me on AIm i will help ya out. My Sn is Nemesis138613 . If ya have it talk to me there and i will help ya.
|
|
|
#52295
02/27/2002 3:16 PM
|
Joined: Apr 2001
Posts: 16
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 16 |
LOL! After making a complete shmuck out of myself in public, while trying to work the bug out on AOL IM with Nemesis above, I realized I had 2 version of "Last Reply By" one for 6.0x, and one for 6.1.x, And guess which one I was using.....DUH!!!
It always seems to come down to something that dumb with these hacks for me. Thanks for the help guys....Now .... the smiley hack!
|
|
|
#52296
03/12/2002 11:48 PM
|
Joined: May 2001
Posts: 794
Content Queen
|
Content Queen
Joined: May 2001
Posts: 794 |
I have a question about the code with the Last Reply.
When I went to do the Multihack, the analysis told me that there were problems with the ubb_forum.cgi
It wants me to replace a section of code that looks very much like this:
[code][/code]The reason I am hesitating in doing so is because of the poll code and the pntf code.
Do I need to worry about this? Or is this a code revision that I need help with?
Thanks!
Sue adwoff.com
|
|
|
#52297
03/13/2002 12:03 AM
|
Joined: Jul 2000
Posts: 837
Member
|
Member
Joined: Jul 2000
Posts: 837 |
yes you need to keep all of that. look for** [/code]Replace with**
[code] it should look like that when your done.
|
|
|
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.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|