Code: Select all
$visible_users_forums = $auth->acl_getf( 'f_read');
Code: Select all
$visible_users_forums = $auth->acl_getf('f_read', true);
Code: Select all
<td style="margin:0px;padding:0px;border-right:none">
Code: Select all
<td valign="top" style="margin:0px;padding:0px;border-right:none">
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.It is possible that the modified to work with Ultimate SEO?
Code: Select all
/includes/acp/acp_top_topics.php on line 46: Undefined index: TOP_TOPICS
thank you psychonaut..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:Replace with:Code: Select all
$visible_users_forums = $auth->acl_getf( 'f_read');
File: styles/subsilver2/template/index_new_posts.htmlCode: Select all
$visible_users_forums = $auth->acl_getf('f_read', true);
Find:Replace with:Code: Select all
<td style="margin:0px;padding:0px;border-right:none">
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
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}">
Code: Select all
<!-- INCLUDE index_new_posts.html -->
Hi buddy, that's great.PSYCHONAUT wrote:I managed to fix the problem with permissions.
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.Is is possible to exclude some forum being listed?
All time.most replies topic for all time or recently??
Any idea why not create the table?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()