Page 2 of 3

Re: [RC] Top Topics 1.3

Posted: Thu Oct 21, 2010 1:52 pm
by FF27
This Mod works on 3.0.7 phpbb3 . But i will that mod not for all forums/threads ... . Can i ignored forums?

Re: [RC] Top Topics 1.3

Posted: Thu Oct 21, 2010 3:20 pm
by murdmon
is there a way to add the first pic of the topic in the index page like this http://www.phpbb.com/community/viewtopi ... &t=1953215

Re: [RC] Top Topics 1.3

Posted: Sun Oct 24, 2010 10:07 pm
by PSYCHONAUT
I have this mod working in phpBB 3.0.7-PL1 with the Black Pearl theme. It is simply one of the best and most useful mods I've ever come across. Check it out running on my forum here: http://www.tasite.net/index.php

Screenshot:
Image

One problem so far, it shows threads from forums which normal members don't have access to.
Also, I had to apply a valign="top" to the main container because the tables floated in the middle on some web browsers. Other than that, it seems to be running smoothly. Nice work.

Re: [RC] Top Topics 1.3

Posted: Wed Jan 05, 2011 7:51 pm
by MaLeKo
Great mod indeed but its author has seemed to abandon the project and stopped updating it. Such a shame that another great mod got burried in the grave. I would really appreciate if anyone could pick up this mod from where it's left and continue developing it.

Still hard for me to believe that phpbb devs could turned their blind eyes on a very useful forum board feature like this from being incorporated into phpbb by default when most other board softwares out there have already done so since long time ago. :\

Re: [RC] Top Topics 1.3

Posted: Sat Jan 15, 2011 1:34 pm
by PSYCHONAUT
I managed to fix the problem with permissions. It took me 10 minutes to figure out the problem, but it was mostly luck on my part. I have also added a valign="top" to the subsilver template file and corrected the upload location for the install file. I feel this MOD is essentially ready to go and I can't see the developer doing any more with it. I only had to make three small edits and I don't care about having my name mentioned or anything like that. Just get this MOD happening because I think people will like it.

Download it here: Top Topics 1.3 (fixed)

For anyone that has this MOD already installed you can manually make the following changes to make the fixes described above.

File: includes/mods/functions_top_topics.php

Find:

Code: Select all

$visible_users_forums = $auth->acl_getf( 'f_read');
Replace with:

Code: Select all

$visible_users_forums = $auth->acl_getf('f_read', true);
File: styles/subsilver2/template/index_new_posts.html

Find:

Code: Select all

		<td style="margin:0px;padding:0px;border-right:none">
Replace with:

Code: Select all

		<td valign="top" style="margin:0px;padding:0px;border-right:none">

PS - This MOD works on 3.0.7-PL1 and 3.0.8

Re: [RC] Top Topics 1.3

Posted: Sat Jan 15, 2011 2:27 pm
by Mess
Cool mod, wonder why I didn't see this before. :)

Re: [RC] Top Topics 1.3

Posted: Wed Jan 19, 2011 6:21 pm
by maxwell2
It is possible that the modified to work with Ultimate SEO?

Re: [RC] Top Topics 1.3

Posted: Sun Jan 23, 2011 9:11 pm
by PSYCHONAUT
It is possible that the modified to work with Ultimate SEO?
I can't see why it wouldn't work with the SEO mod. There's no harm in trying, just make sure to do a back-up or test it on a dummy board first.

Re: [RC] Top Topics 1.3

Posted: Wed Feb 09, 2011 6:30 pm
by MaLeKo
@PSYCHONAUT

Big thanks! Did you ever manage to get the mod's acp module to work? I tried adding top topics module manually but every time I access the module page I keep on getting an error that points to this file

Code: Select all

/includes/acp/acp_top_topics.php on line 46: Undefined index: TOP_TOPICS

Re: [RC] Top Topics 1.3

Posted: Sun Feb 13, 2011 5:37 am
by PSYCHONAUT
Yeah, I think the Top Topics module should be added to the .MODS tab automatically. Have you run the top_topics_mod_install.php file? It should have been uploaded to the root of your forum. Make sure to delete it after you run it.

Re: [RC] Top Topics 1.3

Posted: Thu Feb 24, 2011 2:39 am
by awayfromkeyboard
PSYCHONAUT wrote:I managed to fix the problem with permissions. It took me 10 minutes to figure out the problem, but it was mostly luck on my part. I have also added a valign="top" to the subsilver template file and corrected the upload location for the install file. I feel this MOD is essentially ready to go and I can't see the developer doing any more with it. I only had to make three small edits and I don't care about having my name mentioned or anything like that. Just get this MOD happening because I think people will like it.

Download it here: Top Topics 1.3 (fixed)

For anyone that has this MOD already installed you can manually make the following changes to make the fixes described above.

File: includes/mods/functions_top_topics.php

Find:

Code: Select all

$visible_users_forums = $auth->acl_getf( 'f_read');
Replace with:

Code: Select all

$visible_users_forums = $auth->acl_getf('f_read', true);
File: styles/subsilver2/template/index_new_posts.html

Find:

Code: Select all

		<td style="margin:0px;padding:0px;border-right:none">
Replace with:

Code: Select all

		<td valign="top" style="margin:0px;padding:0px;border-right:none">

PS - This MOD works on 3.0.7-PL1 and 3.0.8
thank you psychonaut..

hmm, a question about top topic mods..
in most replies and most read, how they work?

most replies topic for all time or recently??

Re: [RC] Top Topics 1.3

Posted: Wed Mar 30, 2011 1:27 am
by FF27
The Board bar at the Button of index.php is faulty.
Now i have at index_body.html this code deleted :

Code: Select all

<!-- IF S_TT_LOGGED_USERS -->
<div class="tt_tt_{TT_ALIGMENT}"<!-- IF TT_ALIGMENT neq 'top' --> style="width:{TT_WIDTH}"<!-- ENDIF -->>
<!-- INCLUDE index_new_posts.html -->
</div>
<!-- ENDIF -->
<div class="tt_body_{TT_ALIGMENT}">
to:

Code: Select all

<!-- INCLUDE index_new_posts.html -->
Now all works. (i have subsilver2)

Re: [RC] Top Topics 1.3

Posted: Fri Apr 15, 2011 9:15 pm
by secret_affection
PSYCHONAUT wrote:I managed to fix the problem with permissions.
Hi buddy, that's great.

But, I have some forum which is only for Admin & Moderators to discuss. I do not want to show the topics in the list.

Is is possible to exclude some forum being listed?

Re: [RC] Top Topics 1.3

Posted: Wed Apr 20, 2011 6:24 am
by PSYCHONAUT
Is is possible to exclude some forum being listed?
Yes, you have to set the permissions on the forum so that it's only visible to admins and mods. Top Topics should follow those permissions and hide such threads from guests and members.

------------
most replies topic for all time or recently??
All time.

Re: [RC] Top Topics 1.3

Posted: Thu Apr 21, 2011 7:24 pm
by van de werde
Hello Jacob!

I used your fixed version on two boards.On first work perfect and on second i have this error after run install file:
SQL ERROR [ mysql4 ]

Table 'tehla_43940.TT_ORDER_TABLE' doesn't exist [1146]

SQL

INSERT INTO TT_ORDER_TABLE (tt_order, tt_title, tt_sql, tt_display, tt_additional, tt_goto) VALUES (1, 'TOP_TOPIC_TOPICS', 'sql_topics', 1, '', 0)

BACKTRACE

FILE: includes/db/mysql.php
LINE: 175
CALL: dbal->sql_error()

FILE: top_topics_mod_install.php
LINE: 120
CALL: dbal_mysql->sql_query()
Any idea why not create the table?