Make sure you upload the functions_points.php file to the correct directory.Zheverling wrote:i installed this on my forum and when i go to post a message I get this
[phpBB Debug] PHP Notice: in file /posting.php on line 20: main(./includes/mods/functions_points.php): failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /posting.php on line 20: main(./includes/mods/functions_points.php): failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /posting.php on line 20: main(): Failed opening './includes/mods/functions_points.php' for inclusion (include_path='.:/usr/local/lib/php')
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4312: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3661)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4314: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3661)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4315: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3661)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4316: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3661)
what did i do wrong?
Yes, you should be able to see the points number once you install this mod.roxxy86 wrote:Hi!!! Your mod is very beautiful!!!
But... can i see (under my avatar) the points number??
Do you have any spaces or linebreaks at the top in your posting.php file? I you do, please remove them.Zheverling wrote:ok i added the mods folder now the error is reduced to
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4312: Cannot modify header information - headers already sent by (output started at /language/en/posting.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4314: Cannot modify header information - headers already sent by (output started at /language/en/posting.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4315: Cannot modify header information - headers already sent by (output started at /language/en/posting.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4316: Cannot modify header information - headers already sent by (output started at /language/en/posting.php:1)
whats up with this?
Did you make the edits from the files in the /templates folder of the install package? It should contain two XML files called 'subsilver2.xml' and 'prosilver.xml'.roxxy86 wrote:thanks but...
in my forum there isn't points number!
Code: Select all
<?php
/**
*
* posting [English]
*
* @package language
* @version $Id: posting.php,v 1.64 2007/05/17 14:58:40 acydburn Exp $
* @copyright (c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* DO NOT CHANGE
*/
if (empty($lang) || !is_array($lang))
{
$lang = array();
}
// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
$lang = array_merge($lang, array(
'ADD_ATTACHMENT' => 'Upload attachment',
'ADD_ATTACHMENT_EXPLAIN' => 'If you wish to attach one or more files enter the details below.',
'ADD_FILE' => 'Add the file',
'ADD_POLL' => 'Poll creation',
'ADD_POLL_EXPLAIN' => 'If you do not want to add a poll to your topic leave the fields blank.',
'ALREADY_DELETED' => 'Sorry but this message is already deleted.',
'ATTACH_QUOTA_REACHED' => 'Sorry, the board attachment quota has been reached.',
'ATTACH_SIG' => 'Attach a signature (signatures can be altered via the UCP)',
'BBCODE_A_HELP' => 'Inline uploaded attachment: [attachment=]filename.ext[/attachment]',
'BBCODE_B_HELP' => 'Bold text: [b]text[/b]',
'BBCODE_C_HELP' => 'Code display: [code]code
You are misunderstanding the error. Normally /includes/functions.php uses the header function to start sending the page to the user. However, this results in an error if a character has already been sent. That is the error you are getting. Take a look at the bolded area in the error below.Zheverling wrote:The errors seem to come from phpBB Debug] PHP Notice: in file /includes/functions.php on line 4312: is there a way to look at that file on that line and see what the problem is
It's a rather small feature, and there's a little trick to do it manually using phpMyAdmin. You can run the following SQL query:GeorgiePorgie wrote:If you're open to suggestions and requests for features...
I can think of just one feature from my old phpbb2 Cash Mod board that I made much use of, but currently lack with your Simple Points System mod. That feature is:
ACP support for awarding a specified number of points to each newly registered user, immediately upon the completion of their registration. For instance, I might like to have each new member begin with 10 points instead of starting with 0 points.
This is certainly not a critical need. I can live without it, but it would be a nice feature to have in a future version. Just thought I'd mention it. If features of this nature fall outside of the scope of a "Simple" points system, then.... nevermind!
Code: Select all
ALTER TABLE `phpbb_users` CHANGE `user_points` `user_points` INT( 11 ) NOT NULL DEFAULT '1000'