[2.0.15] Latest active topics on index

The cleanup is complete. This forum is now read only.

Rating:

Excellent!
80
54%
Very Good
41
28%
Good
14
10%
Fair
7
5%
Poor
5
3%
 
Total votes: 147

srika
Registered User
Posts: 2
Joined: Thu Oct 23, 2003 6:58 pm
Location: North America
Contact:

Post by srika » Sun Oct 26, 2003 7:58 am

terrible, terrible question from a newbie.......

what editor should I use to edit PHP so I can install this thing? I tried opening it in Notepad and it looks like a bunch of gobbedly-gook. I can see where everything is, but there is no programming structure....

help!

thanks

srika

zparta
Registered User
Posts: 142
Joined: Fri Apr 04, 2003 7:14 am
Location: Sweden
Contact:

Post by zparta » Sun Oct 26, 2003 4:00 pm

use wordpad if you are on windows

srika
Registered User
Posts: 2
Joined: Thu Oct 23, 2003 6:58 pm
Location: North America
Contact:

Post by srika » Sun Oct 26, 2003 6:44 pm

I installed it without any problem, but I noticed it scrolls? is it supposed to do that? I kinda wanted it to be a static listing of last 10 posts.

thx 4 all help

srika

The Sorcerer
Registered User
Posts: 17
Joined: Fri Aug 29, 2003 5:38 pm

Post by The Sorcerer » Mon Oct 27, 2003 5:55 am

I found a programming oops. :D
If you look at your 10 Active ones, click on the username in the post to view the profile. It uses the "POST ID" to send you to the profile. It's supposed to be the "USER ID".
Look for this line in your index.php

Code: Select all

'USER_PROF' => $phpbb_root_path . 'profile.'.$phpEx.'?mode=viewprofile&u='.$row[$i]["post_id"],
and change it to

Code: Select all

'USER_PROF' => $phpbb_root_path . 'profile.'.$phpEx.'?mode=viewprofile&u='.$row[$i]["user_id"],
NOTE: I changed ["post_id"] to ["user_id"].

hames
Registered User
Posts: 5
Joined: Mon Oct 27, 2003 9:46 pm

Post by hames » Tue Oct 28, 2003 12:48 am

Do anyone know if this will work on a 2.04? cos I've applied a few hacks so its hard to upgrade to 2.06. Also, should post_id be changed to user_id? the verified one is still using post_id..

please help..

The Sorcerer
Registered User
Posts: 17
Joined: Fri Aug 29, 2003 5:38 pm

Post by The Sorcerer » Tue Oct 28, 2003 1:32 am

I don't see "post_id" being correct.

hames
Registered User
Posts: 5
Joined: Mon Oct 27, 2003 9:46 pm

Post by hames » Tue Oct 28, 2003 1:44 am

Thanks sorcerer. Do you see it running on 2.04 fine?

The Sorcerer
Registered User
Posts: 17
Joined: Fri Aug 29, 2003 5:38 pm

Post by The Sorcerer » Tue Oct 28, 2003 1:49 am

Considering that it's somewhat of a small add-on.. I see it working correctly. Try it, but remember to back up your original script first.

hames
Registered User
Posts: 5
Joined: Mon Oct 27, 2003 9:46 pm

Post by hames » Tue Oct 28, 2003 2:03 am

I'm so glad to hear that! Thanks!

zparta
Registered User
Posts: 142
Joined: Fri Apr 04, 2003 7:14 am
Location: Sweden
Contact:

Post by zparta » Tue Oct 28, 2003 7:01 am

i uploaded a new version 2 days ago with some additions and fixes you might like

furiOs
Registered User
Posts: 15
Joined: Thu Jun 12, 2003 8:43 pm
Location: Bremen
Contact:

Post by furiOs » Thu Oct 30, 2003 5:49 pm

s there a demo or a screenshot somewhere around?

zparta
Registered User
Posts: 142
Joined: Fri Apr 04, 2003 7:14 am
Location: Sweden
Contact:

Post by zparta » Thu Oct 30, 2003 9:44 pm

Last edited by zparta on Wed Dec 03, 2003 10:22 am, edited 1 time in total.

furiOs
Registered User
Posts: 15
Joined: Thu Jun 12, 2003 8:43 pm
Location: Bremen
Contact:

Post by furiOs » Fri Oct 31, 2003 4:15 pm

zparta wrote: Temp Demo until i fix some screenshots



the scrolling is not really nice, in my eyes ;)
can you disable the automatic scrolling an switch it to manual scrolling? or something like that?

wGEric
Former Team Member
Posts: 8805
Joined: Sun Oct 13, 2002 3:01 am
Location: Friday
Name: Eric Faerber
Contact:

Post by wGEric » Sat Nov 01, 2003 9:54 pm

MOD Updated to 1.1.2
Name Changed to Latest active topics on index
Eric

zparta
Registered User
Posts: 142
Joined: Fri Apr 04, 2003 7:14 am
Location: Sweden
Contact:

Post by zparta » Sat Nov 01, 2003 10:10 pm

now you can change the amount of topics shown in the ACP

Post Reply

Return to “[2.0.x] MOD Database Cleanup”