[2.0.12] Topic posters

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

Rating:

Excellent!
9
90%
Very Good
0
No votes
Good
1
10%
Fair
0
No votes
Poor
0
No votes
 
Total votes: 10

User avatar
LuckyPip
Registered User
Posts: 69
Joined: Fri Dec 03, 2004 4:40 am

Post by LuckyPip »

Have worked around the problem, added the codes in functions_topics_list.php (spilt topic mod) instead - and the link appears now, BUT there's a puzzling problem, when I click on the link, it shows the posters of the ABOVE topic, not that topic. :S

Anyone got an idea why this happens ?
Manipe
Former Team Member
Posts: 1146
Joined: Thu Jul 22, 2004 6:30 pm
Location: Éire
Contact:

Post by Manipe »

LuckyPip wrote: Have worked around the problem, added the codes in functions_topics_list.php (spilt topic mod) instead - and the link appears now, BUT there's a puzzling problem, when I click on the link, it shows the posters of the ABOVE topic, not that topic. :S

Anyone got an idea why this happens ?


That's probably because of the loop that is used to get the information.
But I'd need to see the code more clearly.
Can you either convert "functions_topics_list.php" to a .txt file and upload it to your server so I can read it, or sent it to me at admin@manipef1.com

I'll give it a shot then. :D
My MODs: [ Topics a user has started ] , [ Profile views ] , [ Colour on poll results ] , [ Topic posters ] , [ Add number to PM ] , [ Default avatar ] , [ View category name ] , [ Null vote ] , [ Forum description in viewforum ] , [ Resync forum ids ] , [ View PM while replying ] , [ Quick poll insert ] , [ Limit login attempts ] , [ Track PMs ]

www.ManipeF1.com
User avatar
LuckyPip
Registered User
Posts: 69
Joined: Fri Dec 03, 2004 4:40 am

Post by LuckyPip »

Manipe,

Have emailed you the file
ycl6
Translator
Posts: 5696
Joined: Sat Feb 15, 2003 10:35 am
Location: Taiwan
Contact:

Post by ycl6 »

MOD Updated to version 1.0.5
See first post for Download Link
Manipe
Former Team Member
Posts: 1146
Joined: Thu Jul 22, 2004 6:30 pm
Location: Éire
Contact:

Post by Manipe »

Everyone should really update to the most recent version (Just upload the topicposters.php file again, as that's the only place that's changed), because this version fixes a bug, which let users get the topic name and posters in a topic that was hidden from them, if they new the topic id.

BTW, thanks ycl6! :D
My MODs: [ Topics a user has started ] , [ Profile views ] , [ Colour on poll results ] , [ Topic posters ] , [ Add number to PM ] , [ Default avatar ] , [ View category name ] , [ Null vote ] , [ Forum description in viewforum ] , [ Resync forum ids ] , [ View PM while replying ] , [ Quick poll insert ] , [ Limit login attempts ] , [ Track PMs ]

www.ManipeF1.com
Cryomenace
Registered User
Posts: 22
Joined: Wed Jan 19, 2005 11:33 am
Location: Taastrup, Denmark

Post by Cryomenace »

Great MOD Manipe!

I have a question/request though. Instead of opening a new window when clicking on a number in the "Replies" row, how about opening a window when you hover the mouse on a number and closing it when you move your mouse away? :)

"Topic calendar" MOD by Ptirhiik is using this kind of effect to show event info:
http://rpgnet.clanmckeen.com/demo/calendar.php
Last edited by Cryomenace on Wed Mar 02, 2005 3:20 am, edited 1 time in total.
/Cryomenace

Apache/2.2.2 (Win32) mod_ssl/2.2.2 OpenSSL/0.9.8b PHP/5.1.4 MySQL/5.0.20 phpBB/2.0.21 Server at Port 443
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4
Manipe
Former Team Member
Posts: 1146
Joined: Thu Jul 22, 2004 6:30 pm
Location: Éire
Contact:

Post by Manipe »

Sounds like a good idea, but it's unworkable.
The SQL database would be overloaded because it would mean that there would be 15 queries on every page, and that number would rise if the topics per page was higher.

Also the page would become astronomically large, because if topics had a lot of posters, it would be just too big for downloading with out high speed internet.
My MODs: [ Topics a user has started ] , [ Profile views ] , [ Colour on poll results ] , [ Topic posters ] , [ Add number to PM ] , [ Default avatar ] , [ View category name ] , [ Null vote ] , [ Forum description in viewforum ] , [ Resync forum ids ] , [ View PM while replying ] , [ Quick poll insert ] , [ Limit login attempts ] , [ Track PMs ]

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

Post by wGEric »

MOD Updated to version 1.1.0a
See first post for Download Link
Eric
Manipe
Former Team Member
Posts: 1146
Joined: Thu Jul 22, 2004 6:30 pm
Location: Éire
Contact:

Post by Manipe »

Thanks a million wGEric.

As it says on the MOD, this new version adds the link to the index page, so you can see how many users posted in a forum. Very useful if I may say so myself.
My MODs: [ Topics a user has started ] , [ Profile views ] , [ Colour on poll results ] , [ Topic posters ] , [ Add number to PM ] , [ Default avatar ] , [ View category name ] , [ Null vote ] , [ Forum description in viewforum ] , [ Resync forum ids ] , [ View PM while replying ] , [ Quick poll insert ] , [ Limit login attempts ] , [ Track PMs ]

www.ManipeF1.com
Cryomenace
Registered User
Posts: 22
Joined: Wed Jan 19, 2005 11:33 am
Location: Taastrup, Denmark

Post by Cryomenace »

Manipe wrote: if topics had a lot of posters, it would be just too big for downloading with out high speed internet.

That won't be a problem, as all the users on my forum have high speed internet connections.
Manipe wrote: The SQL database would be overloaded because it would mean that there would be 15 queries on every page, and that number would rise if the topics per page was higher.

Can you in layman terms please explain to me, why it will require more queries whether one uses a "hover version" vs. a "regular version"? :)

My forum is only for my closest friends, so the number of users are very few, which is why I think a "hover version" is useful. Regarding layout, I can think up two solutions to the many-users-problem.

One solution could be to make a part hover part regular version, that displays the different users and their number of replies in X columns times Y rows (let the resolution decide the number of topic posters to be shown). If there are too many topic posters to be shown, then show a "hover window" with a message that more people have posted than the "hover version" is able to show, and that the users can click to open a new window with use a "regular version" instead of the "hover version". :D

The second solution could be to make a "hover version" that have scrollable capabilities like the "start --> Programs" menu in Windows that can scroll up- and downwards if there are to many items to be shown.

In case my ideas are too far-fetched for your liking, how hard would it be to change your script, so that it only functions like a "hover version" (without the columns/row or scrollable options)?
/Cryomenace

Apache/2.2.2 (Win32) mod_ssl/2.2.2 OpenSSL/0.9.8b PHP/5.1.4 MySQL/5.0.20 phpBB/2.0.21 Server at Port 443
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4
Manipe
Former Team Member
Posts: 1146
Joined: Thu Jul 22, 2004 6:30 pm
Location: Éire
Contact:

Post by Manipe »

Well, the way I see it is that for viewforum.php or index.php, you would have to gather the information with the actual page, which means that you would have to have a seperate SQL query for each topic/forum. That means that there would be A LOT of retreiving data to do. It's uneconomical in my opinion when you can just click on the link, and wait (If you have high-speed internet, like your users) half a second for a window to pop up.

Also I don't have very much time on my hands, but maybe in the future (With the release of 3.0.0), I might be able to make what you have requested.

Also with what you have said, it would be necissary to have Javascript, as that would be the only way to make a hovering window, but PHPBB is optimised to be used accross all type of explorer.

I also believe that the vast majority of PhpBB users (Be it this forum, or others) do not have high-speed internet, and thus it would make making your request unuseful, except to a small amount of users.

But feel free to make it yourself, and I'll add it to the current MOD.
My MODs: [ Topics a user has started ] , [ Profile views ] , [ Colour on poll results ] , [ Topic posters ] , [ Add number to PM ] , [ Default avatar ] , [ View category name ] , [ Null vote ] , [ Forum description in viewforum ] , [ Resync forum ids ] , [ View PM while replying ] , [ Quick poll insert ] , [ Limit login attempts ] , [ Track PMs ]

www.ManipeF1.com
eyerouge
Registered User
Posts: 9
Joined: Tue Jan 04, 2005 12:36 am
Location: Sweden

Post by eyerouge »

Works perfect with my 2.0.13 running CashMod and several other mods aswell.

Thanks. :)
Vv.
Registered User
Posts: 42
Joined: Sat May 29, 2004 10:41 pm

Post by Vv. »

Link

Code: Select all

<a class="genmed" href="{U_TOPIC}" onclick="jump_to();return false;">
..doesn't work for me. The popup is closed, but the opener changes to login.php while I'm still logged in.
Clean phpBB 2.0.14 and several templates.

Has anyone got an idea how this can happen?
Peter77s
Registered User
Posts: 260
Joined: Fri Sep 17, 2004 8:18 pm
Location: Michigan

Post by Peter77s »

Excellent MOD!!! I like how it has "close windows and open forum, close window and open topic"

how neat that the pop up works with a stat mod i just installed the other day! thanks!!! 8)
[Page generation time: 0.1461s - SQL queries: 28 | GZIP on | Debug on]
Manipe
Former Team Member
Posts: 1146
Joined: Thu Jul 22, 2004 6:30 pm
Location: Éire
Contact:

Post by Manipe »

Vv. wrote: Link

Code: Select all

<a class="genmed" href="{U_TOPIC}" onclick="jump_to();return false;">
..doesn't work for me. The popup is closed, but the opener changes to login.php while I'm still logged in.
Clean phpBB 2.0.14 and several templates.

Has anyone got an idea how this can happen?


I'm guessing it has something to do with the session ids, but I don't know exactly.
My MODs: [ Topics a user has started ] , [ Profile views ] , [ Colour on poll results ] , [ Topic posters ] , [ Add number to PM ] , [ Default avatar ] , [ View category name ] , [ Null vote ] , [ Forum description in viewforum ] , [ Resync forum ids ] , [ View PM while replying ] , [ Quick poll insert ] , [ Limit login attempts ] , [ Track PMs ]

www.ManipeF1.com
Post Reply

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

cron