php forum
php mysql forum
php mysql smarty
 
Page 6 of 9 < 1 2 3 4 5 6 7 8 9 >
Topic Options
#140851 - 04/04/01 02:27 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
dearingj Offline
Junior Member

Registered: 02/05/01
Posts: 5
I can't get the "Latest Reply by" to display. It just displays : username

Here is a var_wordlets_mods.cgi file:
%vars_wordlets_mods = (
last_reply_by => "Last reply by",
statistic_header => "<B>Statistic</B>",
statistic_monthly_hits => "<B>Monthly Hits:</B>",
statistic_total_posts => "<B>Total Posts:</B>",
statistic_total_topics => "<B>Total Topics:</B>",
statistic_total_forums => "<B>Total Forums:</B>",
statistic_total_members => "<B>Total Members:</B>",
statistic_average_member_posts => "<B>Average Posts of each Member:</B>",
statistic_average_posts => "<B>Average Posts Per Forum:</B>",
statistic_average_topic => "<B>Average Topics Per Forum:</B>",
statistic_newest_member => "<B>Last member to register is</B>",
statistic_featured_member => "<B>Featured member is</B>",
);
1;

All the statistic stuff works!

UBB 6.02+statistics+latestreply+hypercells+viewcounter107e

Top
#140852 - 04/04/01 02:54 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
hmmm.. can you set the wordlets in the cp? And do you have a link to the problem? What version are you running? need the info... you are the first to report this...
_________________________
- Allen wavey
- What Drives You?

Top
#140853 - 04/04/01 05:32 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
jdearing Offline
Junior Member

Registered: 12/24/00
Posts: 3
OK, I figured out my own problem...Since I wasn't using the file vars_wordlets_mods.cgi before, I had to add this statement to ultimatebb.cgi

require "$vars_config{VariablesPath}/vars_wordlets_mods.cgi";

I'm no programmer, but I don't understand why the statistic hack was working....

Top
#140854 - 04/06/01 06:42 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
KodoSan Offline
Member

Registered: 09/11/00
Posts: 100
Loc: Syracuse, NY, USA
Any one try this in 6.03 yet? geez.. I just upgraded to 6.02 the other day too..lol.. can't win sometimes. laugh
_________________________
Well...THAT hack didn't work.. Gimme the next one! www.fraggersforum.com

Top
#140855 - 04/06/01 06:43 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
6.03 is fine for me on a board I hacked it on.

q
_________________________

Top
#140856 - 04/06/01 06:57 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
snip1er Offline
Member

Registered: 02/02/01
Posts: 53
Loc: South tip of Texas
working with 6.03 here too smile
_________________________
Sniper's Paradise
www.snipersparadise.com
www.snipersparadise.com/sniperchat.htm

Top
#140857 - 04/10/01 03:47 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
NSA Offline
Member

Registered: 03/23/00
Posts: 76
Loc: Malibu, CA - USA
Quote:
quote:


Argh. I've read through the previous posts and tried what a few suggested but to no avail. Any help?

Thanks! And I used the link from Allen's posts up front.

[Edit: 6.03 almost-fresh install]

[ April 10, 2001: Message edited by: NSA ]
_________________________
Operation: Enduring Boredom

Top
#140858 - 04/10/01 11:25 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
SanguoONline Offline
Junior Member

Registered: 03/28/01
Posts: 9
Loc: Singapore
It works for me... laugh
_________________________
chin
Webmaster of Sanguo ONline and Sanguo ONline.com
Sanguo ONline Forum

Top
#140859 - 04/10/01 07:28 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
NSA Offline
Member

Registered: 03/23/00
Posts: 76
Loc: Malibu, CA - USA
Ahah I fixed it. Found the problem.

Okay in the CP, under General Display Settings, and under the "Max # of Posts displayed per page" there are all the settings and the bottom setting is "Posts Maximum Per Page". Thats what I chose, because I did not want multiple pages on my Bored.. however, I suppose this is a Bug? An error? Because I dont think it works the same as the "no maximum per page" that existed on 5.xx. Now I'm pretty dumb, but I changed it and that fixed my problem.

Any ideas? Three cheers to being bored and futzing around with options laugh

[ April 10, 2001: Message edited by: NSA ]
_________________________
Operation: Enduring Boredom

Top
#140860 - 04/10/01 08:07 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
Compboy Offline
Member

Registered: 02/24/01
Posts: 66
Loc: The Nederlands
Quote:
quote:


Thanks. yes for people upgrading you should ut this into the install file too.
after adding this i was able to see last reply by. Thx jdearing
_________________________
What Would UBB look like with out hacks?

Top
#140861 - 04/11/01 08:24 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
melder Offline
Enthusiast

Registered: 02/28/01
Posts: 497
Loc: dresden, germany
??????????????????????
how can i do:


after reply [and edit] go to the last post, and not to the first.


[add in ubb_lib_posting.cgi near line 830 ?]
????????????????????????
_________________________
loveground.com

Top
#140862 - 04/11/01 05:04 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
Compboy Offline
Member

Registered: 02/24/01
Posts: 66
Loc: The Nederlands
Quote:
quote:



I think their was a mod about this. but it never got finished. i supose.
_________________________
What Would UBB look like with out hacks?

Top
#140863 - 04/11/01 06:48 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
Mr. Man Offline
Junior Member

Registered: 03/24/01
Posts: 30
Loc: Michigan, USA
Just so everyone knows, this hack works perfectly on 6.04.
_________________________
Square Unlimited
http://www.square-unlimited.com

Top
#140864 - 04/12/01 01:29 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
KodoSan Offline
Member

Registered: 09/11/00
Posts: 100
Loc: Syracuse, NY, USA
I agree.. tested ok on my 6.04 board. laugh
_________________________
Well...THAT hack didn't work.. Gimme the next one! www.fraggersforum.com

Top
#140865 - 04/13/01 12:51 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
CopyCat Offline
Member

Registered: 12/01/00
Posts: 760
Loc: nowhere
i got this error

No member profile found for member number:

and no member number. i got some 0 bytes member files a couple of days ago, low on server space.

Top
#140866 - 04/13/01 09:26 PM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
CopyCat Offline
Member

Registered: 12/01/00
Posts: 760
Loc: nowhere
solved the problem. i changed the last post routine in ubb_forums.cgi to this

# begin last post hack
if ($last_post[1] eq "000000"){
$last_post_username = "";
}
else { $last_post_num = &GetUserNumber($last_post[2]);
if ($last_post_num ne '') {
# 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}: <A HREF="$vars_config{CGIURL}/ultimatebb.cgi?ubb=get_topic&f=$in{f}&t=$one$page_num#$last_post[1]">$last_post_username</A>!;
} else {
$last_post_username = '';
}
}
# end last post hack

if anyone else gets this

edit: i think its a problem with the old "change username" hack i used, and with unregistered post
edit2: just making it easier to understand, i enclosed the code that opens the profile with an if that checks if the $last_post_num variable is not empty. when i entered the forum, there were some guests posts in the last posts (which not appeared in the topic listing).

Top
#140867 - 04/13/01 11:36 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
SHW of this hack now available on my website: http://www.qasic.com/ubbhacks.html
_________________________

Top
#140868 - 04/28/01 03:09 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
anna the bitch Offline
Junior Member

Registered: 04/06/01
Posts: 22
I just apply the hack to my board and seems to work fine.
I don't get any "last reply by" or "by" i just get the username.....like in the picture.
how can i change it to "by:username"
i'm using ubb6.04c and i installed using lastreplyby202.shw

Top
#140869 - 04/28/01 04:29 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
Sonic2k1 Offline
Member

Registered: 03/23/01
Posts: 42
Loc: Germany
Newman try this
Quote:
quote:
_________________________
-=ThePointOne=-

Top
#140870 - 04/28/01 05:01 AM Re: [6.0x] Last User Name to Reply in Forum [ Finished ]
anna the bitch Offline
Junior Member

Registered: 04/06/01
Posts: 22
thanks i did installed the mods_wordlet and now is working fine !
Cheers !

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


Who's Online
0 registered (), 29 Guests and 13 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
How to hide sub forums from summary page
by Ruben Rocha
Today at 02:58 PM
Spell Check [beta]
by Bill B
Yesterday at 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
Yesterday at 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
Yesterday at 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
Yesterday at 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