1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 11:50:30 +02:00

Bugtracker #4535 - path to base plugin in comments list. Plus a bit of absolute path adding

This commit is contained in:
e107steved
2008-10-11 10:49:16 +00:00
parent 41b4ebf37f
commit 7cd6534f10
4 changed files with 40 additions and 24 deletions

View File

@@ -2,11 +2,20 @@
if (!defined('e107_INIT')) { exit; }
/*
$e_plug_table = "pcontent"; //This is set to the table name you have decided to use.
$reply_location = e_PLUGIN."content/content.php?content.$nid"; //This is set to the location you'd like the user to return to after replying to a comment.
$db_table = "pcontent"; //This is the name of your plugins database table.
$link_name = "content_heading"; //This is the name of the field in your plugin's db table that corresponds to it's name or title.
$db_id = "content_id"; // This is the name of the field in your plugin's db table that correspond to it's unique id number.
$plugin_name = "Content"; // A name for your plugin. It will be used in links to comments, in list_new/new.php.
*/
$e_comment['eplug_comment_ids'] = "pcontent"; //This is set to the table name you have decided to use.
$e_comment['plugin_path'] = "content"; //The path of your plugin.
$e_comment['plugin_name'] = "content"; //A name for your plugin. It will be used in links to comments, in list_new/new.php.
//This is set to the location you'd like the user to return to after replying to a comment.
$e_comment['reply_location'] = e_PLUGIN."content/content.php?content.{NID}";
$e_comment['reply_location'] = e_PLUGIN_ABS."content/content.php?content.{NID}";
$e_comment['db_title'] = "content_heading"; //This is the name of the field in your plugin's db table that corresponds to it's name or title.
$e_comment['db_id'] = "content_id"; // This is the name of the field in your plugin's db table that correspond to it's unique id number.