Thanks for the explanation. i think there should be an easier method of indicating the forums/groups/users than by ID.SalazarAG wrote:It's simpleHartenheer wrote:I give up.
Deleted extension on my test forum.
Do not understand how it works
You install, then in the Posting tab you will find below "Manage Prefixes". You click on it in "New Prefix".
Then you put the prefix, prefix name, id (number that is at the end of the url) of the forum, id of the groups that can use and id of the user that can use.
I agreeSajaki wrote:Thanks for the explanation. i think there should be an easier method of indicating the forums/groups/users than by ID.SalazarAG wrote:It's simpleHartenheer wrote:I give up.
Deleted extension on my test forum.
Do not understand how it works
You install, then in the Posting tab you will find below "Manage Prefixes". You click on it in "New Prefix".
Then you put the prefix, prefix name, id (number that is at the end of the url) of the forum, id of the groups that can use and id of the user that can use.
In the group page in ACP (where you create and edit), you pass the mouse over "Settings" of a certain group and at the end of the URL will have its id.Hartenheer wrote:How to get to the groups numbers?
Code: Select all
http://localhost/phpbb/adm/index.php?i=acp_groups&sid=3fa7a5885c563a1fb06017df2b5db616&icat=12&mode=manage&action=edit&g=5
Code: Select all
SQL ERROR [ mysqli ]
Not unique table/alias: 'p' [1066]
SQL
SELECT f.*, ft.mark_time, t.bestanswer_id, t.topic_id AS forum_last_post_topic_id, t.topic_id AS forum_last_post_topic_id FROM (phpbb_forums f) LEFT JOIN phpbb_forums_track ft ON (ft.user_id = 2 AND ft.forum_id = f.forum_id) LEFT JOIN phpbb_posts p ON (f.forum_last_post_id = p.post_id) LEFT JOIN phpbb_topics t ON (t.topic_id = p.topic_id) LEFT JOIN phpbb_posts p ON (f.forum_last_post_id = p.post_id) LEFT JOIN phpbb_topics t ON (t.topic_id = p.topic_id) ORDER BY f.left_id
BACKTRACE
FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()
FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 855
CALL: trigger_error()
FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 193
CALL: phpbb\db\driver\driver->sql_error()
FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysqli->sql_query()
FILE: [ROOT]/includes/functions_display.php
LINE: 151
CALL: phpbb\db\driver\factory->sql_query()
FILE: [ROOT]/index.php
LINE: 75
CALL: display_forums()