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

   Re: [6.0x] Last User Name to Reply in Forum [ Finished ] to Del.icio.us Add to del.icio.us
  Digg Re: [6.0x] Last User Name to Reply in Forum [ Finished ] Digg it
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: 25432
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 (), 28 Guests and 5 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Blogs, love em or hate em?
by AllenAyres
10/07/08 02:05 PM
What do you use to edit the files
by Ian_W
10/05/08 03:33 PM
BeyondCompare v3.00
by Ian_W
10/05/08 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
10/05/08 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
Looking for a simple upload script
by Murphdog
09/26/08 08:45 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
pisa666, ghengis317, NitroX, Dogan, EliYah-
13345 Registered Users
Top Posters Last 30 Days
AllenAyres 12
blaaskaak 8
tackaberry 7
FREAK1 5
Mike L_dup1 4
Chris Bale 4
Ian_W 4

 

 

 
fusionbb message board php hacks