What's new
Guest viewing is limited

top five and post templates

Bloom

Expert Talker
PF Member
Messages
520
Highlights
0
Reaction score
0
Points
102
Peak Coin
0.000000¢
DB Transfer
0.000000¢
well itried to install the top five mod first of:
i didn't find
Code:
<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
and i can't access to ACP styles

and when i tried to install posting template it said
Code:
SQL ERROR [ mysqli ]

Unknown column 'forum_post_tpl' in 'field list' [1054]

SQL

UPDATE phpbb_forums SET parent_id = 0, forum_type = 0, forum_status = 0, forum_parents = '', forum_name = 'SMD Reception', forum_link = '', forum_desc = '', forum_desc_uid = '', forum_desc_options = 7, forum_desc_bitfield = '', forum_post_tpl = '', forum_rules = '', forum_rules_uid = '', forum_rules_options = 7, forum_rules_bitfield = '', forum_rules_link = '', forum_image = '', forum_style = 0, display_subforum_list = 1, display_on_index = 1, forum_topics_per_page = 0, enable_indexing = 1, enable_icons = 1, enable_prune = 0, prune_days = 0, prune_viewed = 0, prune_freq = 0, forum_pertopic = 2, forum_perpost = 1, forum_peredit = 1, forum_flags = 32 WHERE forum_id = 1

BACKTRACE

FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()

FILE: includes/acp/acp_forums.php
LINE: 1263
CALL: dbal_mysqli->sql_query()

FILE: includes/acp/acp_forums.php
LINE: 198
CALL: acp_forums->update_forum_data()

FILE: includes/functions_module.php
LINE: 516
CALL: acp_forums->main()

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
any support???
 
The last one is an error you got cause you were unable to run the SQL query for the mod. Without that being run, that error message wont go anywhere. Unless you undo the file edits of course.

The first one is a style edit. It can differ in bits here and there in every second style out there. When you are unable to find the whole thing, you just search partially. In this case, maybe try searching for:
Code:
IF not S_USER_LOGGED_IN
or:
Code:
not S_IS_BOT
or something like that, but even if you can`t find anything from that, try examinig the code you have to add and try to figure out how that looks when you add it. Heck, add it somewhere else (possibly not into the navigation bar or places like that of course). Assuming it is the top five mod, I guess it must go after or before the login thingy on the bottom of the index page (when you are not logged in).
 
Back
Top