[ABD] Simple Points System 0.5.1

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Ganon_master
Registered User
Posts: 228
Joined: Sat May 14, 2005 9:05 pm
Location: Soesterberg, Utrecht, The Netherlands

Re: [BETA] Simple Points System

Post by Ganon_master »

I use Notepad++. It's a free editor released under the GPL license.
Please do not PM me with support questions! I'm getting fed up with people asking.
tucsondrivers
Registered User
Posts: 161
Joined: Sat Mar 10, 2007 7:57 pm
Location: toronto, ontario
Contact:

Re: [BETA] Simple Points System

Post by tucsondrivers »

Ganon! this is a great mod and I thank you for the time you put into it. I know it must get annoying being a tech support for newbies questions ;) so i'll try and keep it simple!

the point numbers are showing, it shows up in the ACP, I modified the settings (i.e. 10 for post, 5 for reply) and the point count numbers just aren't going up! Everyones is at 0 permanently. I made sure the "yes" box is checked so this leaves me to conclude it's something in the code. Can you easily narrow it down off hand to one code bit that I can go and double check?

(also, off hand, I don't want you to do any complex coding just for me because I don't want to be a pest :P but -- since I'm implementing this mod late into the forum, is there a way i could make the beginning score count a users # of posts? i.e. if I have 1533 posts, my starting points number is 1533 and we just run it from there (topic 10, reply 5)...I doubt this is easily doable but hey -- was worth a shot! :)

thank you!
http://tucsondrivers.com -- Hyundai Tucson Forum & Community
Ganon_master
Registered User
Posts: 228
Joined: Sat May 14, 2005 9:05 pm
Location: Soesterberg, Utrecht, The Netherlands

Re: [BETA] Simple Points System

Post by Ganon_master »

You are probably not getting any points because the forum permissions per group are probably still set to 'no'.

And unfortunatly I can't help you with the post counter.
Please do not PM me with support questions! I'm getting fed up with people asking.
User avatar
Jackanape
Registered User
Posts: 1076
Joined: Wed Oct 13, 2004 6:01 am
Location: Capitol of the Great State of New York
Name: Jack Drury
Contact:

Re: [BETA] Simple Points System

Post by Jackanape »

tucsondrivers wrote:(also, off hand, I don't want you to do any complex coding just for me because I don't want to be a pest :P but -- since I'm implementing this mod late into the forum, is there a way i could make the beginning score count a users # of posts? i.e. if I have 1533 posts, my starting points number is 1533 and we just run it from there (topic 10, reply 5)...I doubt this is easily doable but hey -- was worth a shot! :)
I haven't looked at any of the database construction for this MOD, but what you want to do could be pretty easily achieved by running an SQL query that SETs the point amount to the same amount as members' post counts. Someone familiar with this mod could probably help point you to the right spot...
~Extending the rule of meticulous exactitude to exaspirating punctillio...still.~
Treat your phpBB like a member of the family--Update and MOD her by hand, with HTML-Kit
: : Wanna Talk Poker? : : Image : :
Ganon_master
Registered User
Posts: 228
Joined: Sat May 14, 2005 9:05 pm
Location: Soesterberg, Utrecht, The Netherlands

Re: [BETA] Simple Points System

Post by Ganon_master »

Jackanape wrote:
tucsondrivers wrote:(also, off hand, I don't want you to do any complex coding just for me because I don't want to be a pest :P but -- since I'm implementing this mod late into the forum, is there a way i could make the beginning score count a users # of posts? i.e. if I have 1533 posts, my starting points number is 1533 and we just run it from there (topic 10, reply 5)...I doubt this is easily doable but hey -- was worth a shot! :)
I haven't looked at any of the database construction for this MOD, but what you want to do could be pretty easily achieved by running an SQL query that SETs the point amount to the same amount as members' post counts. Someone familiar with this mod could probably help point you to the right spot...
I actually meant to say that I was unable to anything at that time.

I didn't test this, so use it with caution. It uses the config entry for points per post.

Code: Select all

<?php
/** 
*
* @package points
* @version $Id: user_points_update.php,v 1.0 2007/05/31 15:12:00 Ganon_Master Exp $
* @copyright (c) 2007 Ganon_Master
* @license http://opensource.org/licenses/gpl-license.php GNU Public License 
*
*/

define('IN_PHPBB', true); 
$phpbb_root_path = './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);

$sql = "SELECT * FROM " . USERS_TABLE . ' WHERE user_posts != 0';
$result = $db->sql_query($sql);
$users = $db->sql_fetchrowset($result);
$db->sql_freeresult($result);

for($i = 0, $size = sizeof($users); $i < $size; $i++)
{
    $points = $users[$i]['user_posts'] * $config['points_post'];
    $sql = "UPDATE " . USERS_TABLE . " 
        SET user_points = $points 
        WHERE user_id = '".$users[$i]['user_id']."'";
    $db->sql_query($sql);
    unset($points);
}

trigger_error('Query executed.');

?>
Please do not PM me with support questions! I'm getting fed up with people asking.
Zheverling
Registered User
Posts: 33
Joined: Mon May 21, 2007 7:02 pm

Re: [BETA] Simple Points System

Post by Zheverling »

ok looked at the posting.php file got nothing there.

here is the error:
[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 4313: 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)



This is what is on the lines in the file /includes/functions.php
header('Content-type: text/html; charset=UTF-8');
header('Cache-Control: private, no-cache="set-cookie"');
header('Expires: 0');
header('Pragma: no-cache');

and the posting.php file is

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
',
'BBCODE_E_HELP' => 'List: Add list element',
'BBCODE_F_HELP' => 'Font size: [size=x-small]small text[/size]',
'BBCODE_IS_OFF' => '%sBBCode%s is <em>OFF</em>',
'BBCODE_IS_ON' => '%sBBCode%s is <em>ON</em>',
'BBCODE_I_HELP' => 'Italic text: text',
'BBCODE_L_HELP' => 'List:
  • text
',
'BBCODE_LISTITEM_HELP' => 'List item: [*]text[/*]',
'BBCODE_O_HELP' => 'Ordered list:
  • text
',
'BBCODE_P_HELP' => 'Insert image: [img]http://image_url[/img]',
'BBCODE_Q_HELP' => 'Quote text: [quote]text[/quote]',
'BBCODE_S_HELP' => 'Font color: text Tip: you can also use color=#FF0000',
'BBCODE_U_HELP' => 'Underline text: text',
'BBCODE_W_HELP' => 'Insert URL: http://url or URL text',
'BBCODE_D_HELP' => 'Flash: [flash=width,height]http://url[/flash]',
'BUMP_ERROR' => 'You cannot bump this topic so soon after the last post.',

'CANNOT_DELETE_REPLIED' => 'Sorry but you may only delete posts which have not been replied to.',
'CANNOT_EDIT_POST_LOCKED' => 'This post has been locked. You can no longer edit that post.',
'CANNOT_EDIT_TIME' => 'You can no longer edit or delete that post.',
'CANNOT_POST_ANNOUNCE' => 'Sorry but you cannot post announcements.',
'CANNOT_POST_STICKY' => 'Sorry but you cannot post sticky topics.',
'CHANGE_TOPIC_TO' => 'Change topic type to',
'CLOSE_TAGS' => 'Close tags',
'CURRENT_TOPIC' => 'Current topic',

'DELETE_FILE' => 'Delete file',
'DELETE_MESSAGE' => 'Delete message',
'DELETE_MESSAGE_CONFIRM' => 'Are you sure you want to delete this message?',
'DELETE_OWN_POSTS' => 'Sorry but you can only delete your own posts.',
'DELETE_POST_CONFIRM' => 'Are you sure you want to delete this message?',
'DELETE_POST_WARN' => 'Once deleted the post cannot be recovered',
'DISABLE_BBCODE' => 'Disable BBCode',
'DISABLE_MAGIC_URL' => 'Do not automatically parse URLs',
'DISABLE_SMILIES' => 'Disable smilies',
'DISALLOWED_EXTENSION' => 'The extension %s is not allowed.',
'DRAFT_LOADED' => 'Draft loaded into posting area, you may want to finish your post now.<br />Your draft will be deleted after submitting this post.',
'DRAFT_LOADED_PM' => 'Draft loaded into message area, you may want to finish your private message now.<br />Your draft will be deleted after submitting this private message.',
'DRAFT_SAVED' => 'Draft successfully saved.',
'DRAFT_TITLE' => 'Draft title',

'EDIT_REASON' => 'Reason for editing this post',
'EMPTY_FILEUPLOAD' => 'The uploaded file is empty.',
'EMPTY_MESSAGE' => 'You must enter a message when posting.',
'EMPTY_REMOTE_DATA' => 'File could not be uploaded, please try uploading the file manually.',

'FLASH_IS_OFF' => '[flash] is <em>OFF</em>',
'FLASH_IS_ON' => '[flash] is <em>ON</em>',
'FLOOD_ERROR' => 'You cannot make another post so soon after your last.',
'FONT_COLOR' => 'Font color',
'FONT_COLOR_HIDE' => 'Hide font color',
'FONT_HUGE' => 'Huge',
'FONT_LARGE' => 'Large',
'FONT_NORMAL' => 'Normal',
'FONT_SIZE' => 'Font size',
'FONT_SMALL' => 'Small',
'FONT_TINY' => 'Tiny',

'GENERAL_UPLOAD_ERROR' => 'Could not upload attachment to %s.',

'IMAGES_ARE_OFF' => '[img] is <em>OFF</em>',
'IMAGES_ARE_ON' => '[img] is <em>ON</em>',
'INVALID_FILENAME' => '%s is an invalid filename.',

'LOAD' => 'Load',
'LOAD_DRAFT' => 'Load draft',
'LOAD_DRAFT_EXPLAIN' => 'Here you are able to select the draft you want to continue writing. Your current post will be cancelled, all current post contents will be deleted. View, edit and delete drafts within your User Control Panel.',
'LOGIN_EXPLAIN_BUMP' => 'You need to login in order to bump topics within this forum.',
'LOGIN_EXPLAIN_DELETE' => 'You need to login in order to delete posts within this forum.',
'LOGIN_EXPLAIN_POST' => 'You need to login in order to post within this forum.',
'LOGIN_EXPLAIN_QUOTE' => 'You need to login in order to quote posts within this forum.',
'LOGIN_EXPLAIN_REPLY' => 'You need to login in order to reply to topics within this forum.',

'MAX_FONT_SIZE_EXCEEDED' => 'You may only use fonts up to size %1$d.',
'MAX_FLASH_HEIGHT_EXCEEDED' => 'Your flash files may only be up to %1$d pixels high.',
'MAX_FLASH_WIDTH_EXCEEDED' => 'Your flash files may only be up to %1$d pixels wide.',
'MAX_IMG_HEIGHT_EXCEEDED' => 'Your images may only be up to %1$d pixels high.',
'MAX_IMG_WIDTH_EXCEEDED' => 'Your images may only be up to %1$d pixels wide.',

'MESSAGE_BODY_EXPLAIN' => 'Enter your message here, it may contain no more than <strong>%d</strong> characters.',
'MESSAGE_DELETED' => 'This message has been deleted successfully.',
'MORE_SMILIES' => 'View more smilies',
'NOTIFY_REPLY' => 'Notify me when a reply is posted',
'NOT_UPLOADED' => 'File could not be uploaded.',
'NO_DELETE_POLL_OPTIONS' => 'You cannot delete existing poll options.',
'NO_PM_ICON' => 'No PM icon',
'NO_POLL_TITLE' => 'You have to enter a poll title.',
'NO_POST' => 'The requested post does not exist.',
'NO_POST_MODE' => 'No post mode specified.',
'PARTIAL_UPLOAD' => 'The uploaded file was only partially uploaded.',
'PHP_SIZE_NA' => 'The attachment’s file size is too large.<br />Could not determine the maximum size defined by PHP in php.ini.',
'PHP_SIZE_OVERRUN' => 'The attachment’s file size is too large, the maximum upload size is %d MB.<br />Please note this is set in php.ini and cannot be overridden.',
'PLACE_INLINE' => 'Place inline',
'POLL_DELETE' => 'Delete poll',
'POLL_FOR' => 'Run poll for',
'POLL_FOR_EXPLAIN' => 'Enter 0 or leave blank for a never ending poll.',
'POLL_MAX_OPTIONS' => 'Options per user',
'POLL_MAX_OPTIONS_EXPLAIN' => 'This is the number of options each user may select when voting.',
'POLL_OPTIONS' => 'Poll options',
'POLL_OPTIONS_EXPLAIN' => 'Place each option on a new line. You may enter up to <strong>%d</strong> options.',
'POLL_QUESTION' => 'Poll question',
'POLL_TITLE_TOO_LONG' => 'The poll title must contain fewer than 100 characters.',
'POLL_TITLE_COMP_TOO_LONG' => 'The parsed size of your poll title is too large, consider removing BBCodes or smilies.',
'POLL_VOTE_CHANGE' => 'Allow re-voting',
'POLL_VOTE_CHANGE_EXPLAIN' => 'If enabled users are able to change their vote.',
'POSTED_ATTACHMENTS' => 'Posted attachments',
'POST_CONFIRMATION' => 'Confirmation of post',
'POST_CONFIRM_EXPLAIN' => 'To prevent automated posts the board requires you to enter a confirmation code. The code is displayed in the image you should see below. If you are visually impaired or cannot otherwise read this code please contact the %sBoard Administrator%s.',
'POST_DELETED' => 'This message has been deleted successfully.',
'POST_EDITED' => 'This message has been edited successfully.',
'POST_EDITED_MOD' => 'This message has been edited successfully, but it will need to be approved by a moderator before it is publicly viewable. You will be notified when your post has been approved.',
'POST_GLOBAL' => 'Global',
'POST_ICON' => 'Post icon',
'POST_NORMAL' => 'Normal',
'POST_REVIEW' => 'Post review',
'POST_REVIEW_EXPLAIN' => 'At least one new post has been made to this topic. You may wish to review your post in light of this.',
'POST_STORED' => 'This message has been posted successfully.',
'POST_STORED_MOD' => 'This message has been submitted successfully, but it will need to be approved by a moderator before it is publicly viewable. You will be notified when your post has been approved.',
'POST_TOPIC_AS' => 'Post topic as',
'PROGRESS_BAR' => 'Progress bar',
'QUOTE_DEPTH_EXCEEDED' => 'You may embed only %1$d quotes within each other.',
'SAVE' => 'Save',
'SAVE_DATE' => 'Saved at',
'SAVE_DRAFT' => 'Save draft',
'SAVE_DRAFT_CONFIRM' => 'Please note that saved drafts only include the subject and the message, any other element will be removed. Do you want to save your draft now?',
'SMILIES' => 'Smilies',
'SMILIES_ARE_OFF' => 'Smilies are <em>OFF</em>',
'SMILIES_ARE_ON' => 'Smilies are <em>ON</em>',
'STICKY_ANNOUNCE_TIME_LIMIT'=> 'Sticky/Announcement time limit',
'STICK_TOPIC_FOR' => 'Stick topic for',
'STICK_TOPIC_FOR_EXPLAIN' => 'Enter 0 or leave blank for a never ending Sticky/Announcement.',
'STYLES_TIP' => 'Tip: Styles can be applied quickly to selected text.',
'TOO_FEW_CHARS' => 'Your message contains too few characters.',
'TOO_FEW_POLL_OPTIONS' => 'You must enter at least two poll options.',
'TOO_MANY_ATTACHMENTS' => 'Cannot add another attachment, %d is the maximum.',
'TOO_MANY_CHARS' => 'Your message contains too many characters.',
'TOO_MANY_POLL_OPTIONS' => 'You have tried to enter too many poll options.',
'TOO_MANY_SMILIES' => 'Your message contains too many smilies. The maximum number of smilies allowed is %d.',
'TOO_MANY_URLS' => 'Your message contains too many URLs. The maximum number of URLs allowed is %d.',
'TOO_MANY_USER_OPTIONS' => 'You cannot specify more options per user than existing poll options.',
'TOPIC_BUMPED' => 'Topic has been bumped successfully.',
'UNAUTHORISED_BBCODE' => 'You cannot use certain BBCodes: %s.',
'UNGLOBALISE_EXPLAIN' => 'To switch this topic back from being global to a normal topic, you need to select the forum you wish this topic to be displayed.',
'UPDATE_COMMENT' => 'Update comment',
'URL_INVALID' => 'The URL you specified is invalid.',
'URL_NOT_FOUND' => 'The file specified could not be found.',
'URL_IS_OFF' => '[url] is <em>OFF</em>',
'URL_IS_ON' => '[url] is <em>ON</em>',
'USER_CANNOT_BUMP' => 'You cannot bump topics in this forum.',
'USER_CANNOT_DELETE' => 'You cannot delete posts in this forum.',
'USER_CANNOT_EDIT' => 'You cannot edit posts in this forum.',
'USER_CANNOT_REPLY' => 'You cannot reply in this forum.',
'USER_CANNOT_FORUM_POST' => 'You are not able to do posting operations on this forum due to the forum type not supporting it.',
'VIEW_MESSAGE' => '%sView your submitted message%s',
'WRONG_FILESIZE' => 'The file is too big, maximum allowed size is %1d %2s.',
'WRONG_SIZE' => 'The image must be at least %1$d pixels wide, %2$d pixels high and at most %3$d pixels wide and %4$d pixels high. The submitted image is %5$d pixels wide and %6$d pixels high.',
'POINTS_EARNED' => 'You earned %1$d %2$s for that post.',
));
?>[/code]

there is nothing before the <?php or after the ?> so where would the problem be?
Ganon_master
Registered User
Posts: 228
Joined: Sat May 14, 2005 9:05 pm
Location: Soesterberg, Utrecht, The Netherlands

Re: [BETA] Simple Points System

Post by Ganon_master »

Zheverling wrote:ok looked at the posting.php file got nothing there.
.....
there is nothing before the <?php or after the ?> so where would the problem be?
I already posted about your problem. Read the quote below. It came from the previous page.
Ganon_master wrote:
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
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.

[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)

So the problem is probably in your /language/en/posting.php file. I don't know what the problem could be except for outputted characters before the <?php or after the ?>.
As I stated there, I don't know what the problem could be. Are you using wordpad to edit? If so, try using Notepad or some other program to save the file. UTF-8 format would be the best.
Please do not PM me with support questions! I'm getting fed up with people asking.
Zheverling
Registered User
Posts: 33
Joined: Mon May 21, 2007 7:02 pm

Re: [BETA] Simple Points System

Post by Zheverling »

i deleted these lines
header('Content-type: text/html; charset=UTF-8');
header('Cache-Control: private, no-cache="set-cookie"');
header('Expires: 0');
header('Pragma: no-cache');

and that problem went away but the points system is in the ACP and it is on but no points show up?
Ganon_master
Registered User
Posts: 228
Joined: Sat May 14, 2005 9:05 pm
Location: Soesterberg, Utrecht, The Netherlands

Re: [BETA] Simple Points System

Post by Ganon_master »

Zheverling wrote:i deleted these lines
header('Content-type: text/html; charset=UTF-8');
header('Cache-Control: private, no-cache="set-cookie"');
header('Expires: 0');
header('Pragma: no-cache');
I recommend that you put those lines back immediatly. They are very important to all the pages of phpBB.
Zheverling wrote:and that problem went away but the points system is in the ACP and it is on but no points show up?
Since you are having so many problems, I think you should upload you backup files, and re-do the entire Simple Points System installation again. And please, don't use Wordpad, or Word. Use Notepad or a special PHP editor.
Please do not PM me with support questions! I'm getting fed up with people asking.
User avatar
Da Undead
Registered User
Posts: 116
Joined: Tue Jun 21, 2005 2:24 am
Location: USA, Texas
Contact:

Re: [BETA] Simple Points System

Post by Da Undead »

I use wordpad, it works great. I have dreamweaver, but that takes to much time to load. I only use it on php files when it says I have an error on line xxx... then I can go in dreamweaver and check it out :). But wordpad works great for me.
Image
Create your very own MMORPG, click picture above!
User avatar
Da Undead
Registered User
Posts: 116
Joined: Tue Jun 21, 2005 2:24 am
Location: USA, Texas
Contact:

Re: [BETA] Simple Points System

Post by Da Undead »

Btw how do you use the upgrade xml file. I don't get how to install it or w-e. Im using 3.0.

EDIT:
Nevermind, I just read the upgrade file and i found what line it was going to change. But in future updates, how do I use the xml. Do i rename it, then upload it or wat?
Image
Create your very own MMORPG, click picture above!
Ganon_master
Registered User
Posts: 228
Joined: Sat May 14, 2005 9:05 pm
Location: Soesterberg, Utrecht, The Netherlands

Re: [BETA] Simple Points System

Post by Ganon_master »

You are supposed to open the XML files in your browser. That way you can read the MODX format.
Please do not PM me with support questions! I'm getting fed up with people asking.
User avatar
Da Undead
Registered User
Posts: 116
Joined: Tue Jun 21, 2005 2:24 am
Location: USA, Texas
Contact:

Re: [BETA] Simple Points System

Post by Da Undead »

oh lol, well 1 bug. It doesn't show the correct points under avatar in a topic :(.
Image
Create your very own MMORPG, click picture above!
Ganon_master
Registered User
Posts: 228
Joined: Sat May 14, 2005 9:05 pm
Location: Soesterberg, Utrecht, The Netherlands

Re: [BETA] Simple Points System

Post by Ganon_master »

That should (in theory) be impossible. Go into phpMyAdmin, navigate to the phpbb_users table, look up the user_points for one user and match the amount with the amount displayed in viewtopic for that user.
Please do not PM me with support questions! I'm getting fed up with people asking.
jabidof
Registered User
Posts: 4
Joined: Tue Jun 05, 2007 8:41 am

Re: [BETA] Simple Points System

Post by jabidof »

Hello guys,

After installing the mode, I get following error with viewtopic.php
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1431: Undefined index: points_name
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1433: Undefined index: points_enable
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3718: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3264)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3720: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3264)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3721: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3264)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3722: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3264)
I had a similar one with posting.php but after setting the includes/mods/ directory structure it went away. But i can't get rid of the above error.

Also the potential characters before <php and ?> should be void as I'm using nano (am i right?) in a terminal window for editing.

The SQL update went ok as well. Just had to change the table names cuz of local installation.

Any idea?
Locked

Return to “[3.0.x] Abandoned MODs”