[ABD] Top Topics 1.3

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
FF27
Registered User
Posts: 52
Joined: Tue Mar 24, 2009 6:01 pm
Contact:

Re: [RC] Top Topics 1.3

Post by FF27 »

This Mod works on 3.0.7 phpbb3 . But i will that mod not for all forums/threads ... . Can i ignored forums?
http://keeperboard.ohost.de
For all Football and Mini Games Fans!
murdmon
Registered User
Posts: 189
Joined: Thu Sep 24, 2009 7:56 am

Re: [RC] Top Topics 1.3

Post 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
User avatar
PSYCHONAUT
Registered User
Posts: 39
Joined: Sun Jul 05, 2009 5:44 pm
Location: Australia
Name: Jacob Bruce
Contact:

Re: [RC] Top Topics 1.3

Post 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.
MaLeKo
Registered User
Posts: 210
Joined: Tue May 06, 2008 3:32 am

Re: [RC] Top Topics 1.3

Post 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. :\
User avatar
PSYCHONAUT
Registered User
Posts: 39
Joined: Sun Jul 05, 2009 5:44 pm
Location: Australia
Name: Jacob Bruce
Contact:

Re: [RC] Top Topics 1.3

Post 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
User avatar
Mess
Registered User
Posts: 985
Joined: Wed Jul 01, 2009 6:37 am
Name: Kim

Re: [RC] Top Topics 1.3

Post by Mess »

Cool mod, wonder why I didn't see this before. :)
maxwell2
Registered User
Posts: 150
Joined: Fri Apr 10, 2009 1:43 pm

Re: [RC] Top Topics 1.3

Post by maxwell2 »

It is possible that the modified to work with Ultimate SEO?
User avatar
PSYCHONAUT
Registered User
Posts: 39
Joined: Sun Jul 05, 2009 5:44 pm
Location: Australia
Name: Jacob Bruce
Contact:

Re: [RC] Top Topics 1.3

Post 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.
MaLeKo
Registered User
Posts: 210
Joined: Tue May 06, 2008 3:32 am

Re: [RC] Top Topics 1.3

Post 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
User avatar
PSYCHONAUT
Registered User
Posts: 39
Joined: Sun Jul 05, 2009 5:44 pm
Location: Australia
Name: Jacob Bruce
Contact:

Re: [RC] Top Topics 1.3

Post 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.
awayfromkeyboard
Registered User
Posts: 42
Joined: Mon Feb 07, 2011 5:40 am

Re: [RC] Top Topics 1.3

Post 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??
FF27
Registered User
Posts: 52
Joined: Tue Mar 24, 2009 6:01 pm
Contact:

Re: [RC] Top Topics 1.3

Post 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)
http://keeperboard.ohost.de
For all Football and Mini Games Fans!
User avatar
secret_affection
Registered User
Posts: 84
Joined: Wed Jan 19, 2011 9:02 pm

Re: [RC] Top Topics 1.3

Post 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?
User avatar
PSYCHONAUT
Registered User
Posts: 39
Joined: Sun Jul 05, 2009 5:44 pm
Location: Australia
Name: Jacob Bruce
Contact:

Re: [RC] Top Topics 1.3

Post 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.
van de werde
Registered User
Posts: 42
Joined: Mon Oct 05, 2009 9:35 am

Re: [RC] Top Topics 1.3

Post 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?
Sorry for my poor english...
Wedding shop
Locked

Return to “[3.0.x] Abandoned MODs”