1 (edited by Ben271185 2008-03-20 18:31)

Topic: Trouble with : Complete Management of the posts

I tried today to include this (punres.org) on my forum but when I tested it I got this error :

Parse error: syntax error, unexpected T_STRING, expecting ')' in /home/vannijvel/domains/bendevannijvel.com/public_html/forum/lang/English/misc.php on line 70

Any ideas?

My forum : www.bendevannijvel.com/forum/

2

Re: Trouble with : Complete Management of the posts

You did not modify misc.php properly. i.e. you did not replace but just add the new code

Re: Trouble with : Complete Management of the posts

You did not modify misc.php properly. i.e. you did not replace but just add the new code

I don't understand. At the end of misc.php I had to replace ); by :

,
// Mass post management
'Erreur action'            =>    'Error: The wished action isn\'t available',
'Erreur posts selection'    =>    'Error: You haven't select any post',
'Deplacer posts'        =>    'Move posts',
'Choisir topic'            =>    'Choose the destination topic',
'Topic destination'        =>    'Destination topic URL',
'Avertissement date'        =>    'Apply the current date to display the posts at the bottom (in the contrary case, the order of publication will be respected)<br /><br /><strong>Caution</strong>, the oldest posts than the topic destination will be automatically placed at the end of this one.',
'Deplacer posts ok'        =>    'Move',
'Erreur topic destination'    =>    'Error: The destination topic URL isn't valid',
'Posts deplaces'        =>    'The posts were indeed moved',
'Supprimer posts'        =>    'Delete posts',
'Confirmer'            =>    'Confirm',
'Confirmer suppression'        =>    'Confirm to delete the selected posts ?',
'Supprimer posts ok'        =>    'Delete',
'Posts supprimes'        =>    'The posts were indeed deleted',
'Fusionner posts'        =>    'Amalgamate posts',
'Separer fusion'        =>    'Separate the posts by',
'Avertissement fusion'        =>    '<strong>Note :</strong> The finally post will have the most older post informormations.',
'Fusionner posts ok'        =>    'Amalgamate',
'Posts fusionnes'        =>    'The posts were indeed amalgamated'
);

And that is what I did.

4

Re: Trouble with : Complete Management of the posts

post the content of misc.php within code tags so we can have a look at it

Re: Trouble with : Complete Management of the posts

<?php

// Language definitions used in various scripts
$lang_misc = array(

'Mark read redirect'        =>    'All topics and forums have been marked as read. Redirecting …',

// Send e-mail
'Form e-mail disabled'        =>    'The user you are trying to send an e-mail to has disabled form e-mail.',
'No e-mail subject'            =>    'You must enter a subject.',
'No e-mail message'            =>    'You must enter a message.',
'Too long e-mail message'    =>    'Messages cannot be longer than 65535 characters (64 KB).',
'E-mail sent redirect'        =>    'E-mail sent. Redirecting …',
'Send e-mail to'            =>    'Send e-mail to',
'E-mail subject'            =>    'Subject',
'E-mail message'            =>    'Message',
'E-mail disclosure note'    =>    'Please note that by using this form, your e-mail address will be disclosed to the recipient.',
'Write e-mail'                =>    'Write and submit your e-mail message',

// Report
'No reason'                    =>    'You must enter a reason.',
'Report redirect'            =>    'Post reported. Redirecting …',
'Report post'                =>    'Report post',
'Reason'                    =>    'Reason',
'Reason desc'                =>    'Please enter a short reason why you are reporting this post',

// Subscriptions
'Already subscribed'        =>    'You are already subscribed to this topic.',
'Subscribe redirect'        =>    'Your subscription has been added. Redirecting …',
'Not subscribed'            =>    'You are not subscribed to this topic.',
'Unsubscribe redirect'        =>    'Your subscription has been removed. Redirecting …',

// General forum and topic moderation
'Moderate'                    =>    'Moderate',
'Select'                    =>    'Select',    // the header of a column of checkboxes
'Move'                        =>    'Move',
'Delete'                    =>    'Delete',

// Moderate forum
'Open'                        =>    'Open',
'Close'                        =>    'Close',
'Move topic'                =>    'Move topic',
'Move topics'                =>    'Move topics',
'Move legend'                =>    'Select destination of move',
'Move to'                    =>    'Move to',
'Leave redirect'            =>    'Leave redirect topic(s)',
'Move topic redirect'        =>    'Topic moved. Redirecting …',
'Move topics redirect'        =>    'Topics moved. Redirecting …',
'Confirm delete legend'        =>    'Please confirm deletion',
'Delete topics'                =>    'Delete topics',
'Delete topics comply'        =>    'Are you sure you want to delete the selected topics?',
'Delete topics redirect'    =>    'Topics deleted. Redirecting …',
'Open topic redirect'        =>    'Topic opened. Redirecting …',
'Open topics redirect'        =>    'Topics opened. Redirecting …',
'Close topic redirect'        =>    'Topic closed. Redirecting …',
'Close topics redirect'        =>    'Topics closed. Redirecting …',
'No topics selected'        =>    'You must select at least one topic for move/delete/open/close.',
'Stick topic redirect'        =>    'Topic sticked. Redirecting …',
'Unstick topic redirect'    =>    'Topic unsticked. Redirecting …',

// Delete multiple posts in topic
'Delete posts'                =>    'Delete posts',
'Delete posts comply'            =>    'Are you sure you want to delete the selected posts?',
'Delete posts redirect'            =>    'Posts deleted. Redirecting …',
'No posts selected'            =>    'You must select at least one post to be deleted.'

,
// Mass post management
'Erreur action'            =>    'Error: The wished action isn\'t available',
'Erreur posts selection'    =>    'Error: You haven't select any post',
'Deplacer posts'        =>    'Move posts',
'Choisir topic'            =>    'Choose the destination topic',
'Topic destination'        =>    'Destination topic URL',
'Avertissement date'        =>    'Apply the current date to display the posts at the bottom (in the contrary case, the order of publication will be respected)<br /><br /><strong>Caution</strong>, the oldest posts than the topic destination will be automatically placed at the end of this one.',
'Deplacer posts ok'        =>    'Move',
'Erreur topic destination'    =>    'Error: The destination topic URL isn't valid',
'Posts deplaces'        =>    'The posts were indeed moved',
'Supprimer posts'        =>    'Delete posts',
'Confirmer'            =>    'Confirm',
'Confirmer suppression'        =>    'Confirm to delete the selected posts ?',
'Supprimer posts ok'        =>    'Delete',
'Posts supprimes'        =>    'The posts were indeed deleted',
'Fusionner posts'        =>    'Amalgamate posts',
'Separer fusion'        =>    'Separate the posts by',
'Avertissement fusion'        =>    '<strong>Note :</strong> The finally post will have the most older post informormations.',
'Fusionner posts ok'        =>    'Amalgamate',
'Posts fusionnes'        =>    'The posts were indeed amalgamated'
);

6

Re: Trouble with : Complete Management of the posts

ok try replacing all by this:

<?php

// Language definitions used in various scripts
$lang_misc = array(

'Mark read redirect'        =>    'All topics and forums have been marked as read. Redirecting …',

// Send e-mail
'Form e-mail disabled'        =>    'The user you are trying to send an e-mail to has disabled form e-mail.',
'No e-mail subject'            =>    'You must enter a subject.',
'No e-mail message'            =>    'You must enter a message.',
'Too long e-mail message'    =>    'Messages cannot be longer than 65535 characters (64 KB).',
'E-mail sent redirect'        =>    'E-mail sent. Redirecting …',
'Send e-mail to'            =>    'Send e-mail to',
'E-mail subject'            =>    'Subject',
'E-mail message'            =>    'Message',
'E-mail disclosure note'    =>    'Please note that by using this form, your e-mail address will be disclosed to the recipient.',
'Write e-mail'                =>    'Write and submit your e-mail message',

// Report
'No reason'                    =>    'You must enter a reason.',
'Report redirect'            =>    'Post reported. Redirecting …',
'Report post'                =>    'Report post',
'Reason'                    =>    'Reason',
'Reason desc'                =>    'Please enter a short reason why you are reporting this post',

// Subscriptions
'Already subscribed'        =>    'You are already subscribed to this topic.',
'Subscribe redirect'        =>    'Your subscription has been added. Redirecting …',
'Not subscribed'            =>    'You are not subscribed to this topic.',
'Unsubscribe redirect'        =>    'Your subscription has been removed. Redirecting …',

// General forum and topic moderation
'Moderate'                    =>    'Moderate',
'Select'                    =>    'Select',    // the header of a column of checkboxes
'Move'                        =>    'Move',
'Delete'                    =>    'Delete',

// Moderate forum
'Open'                        =>    'Open',
'Close'                        =>    'Close',
'Move topic'                =>    'Move topic',
'Move topics'                =>    'Move topics',
'Move legend'                =>    'Select destination of move',
'Move to'                    =>    'Move to',
'Leave redirect'            =>    'Leave redirect topic(s)',
'Move topic redirect'        =>    'Topic moved. Redirecting …',
'Move topics redirect'        =>    'Topics moved. Redirecting …',
'Confirm delete legend'        =>    'Please confirm deletion',
'Delete topics'                =>    'Delete topics',
'Delete topics comply'        =>    'Are you sure you want to delete the selected topics?',
'Delete topics redirect'    =>    'Topics deleted. Redirecting …',
'Open topic redirect'        =>    'Topic opened. Redirecting …',
'Open topics redirect'        =>    'Topics opened. Redirecting …',
'Close topic redirect'        =>    'Topic closed. Redirecting …',
'Close topics redirect'        =>    'Topics closed. Redirecting …',
'No topics selected'        =>    'You must select at least one topic for move/delete/open/close.',
'Stick topic redirect'        =>    'Topic sticked. Redirecting …',
'Unstick topic redirect'    =>    'Topic unsticked. Redirecting …',

// Delete multiple posts in topic
'Delete posts'                =>    'Delete posts',
'Delete posts comply'            =>    'Are you sure you want to delete the selected posts?',
'Delete posts redirect'            =>    'Posts deleted. Redirecting …',
'No posts selected'            =>    'You must select at least one post to be deleted.',

// Mass post management
'Erreur action'            =>    'Error: The wished action isn\'t available',
'Erreur posts selection'    =>    'Error: You haven\'t select any post',
'Deplacer posts'        =>    'Move posts',
'Choisir topic'            =>    'Choose the destination topic',
'Topic destination'        =>    'Destination topic URL',
'Avertissement date'        =>    'Apply the current date to display the posts at the bottom (in the contrary case, the order of publication will be respected)<br /><br /><strong>Caution</strong>, the oldest posts than the topic destination will be automatically placed at the end of this one.',
'Deplacer posts ok'        =>    'Move',
'Erreur topic destination'    =>    'Error: The destination topic URL isn\'t valid',
'Posts deplaces'        =>    'The posts were indeed moved',
'Supprimer posts'        =>    'Delete posts',
'Confirmer'            =>    'Confirm',
'Confirmer suppression'        =>    'Confirm to delete the selected posts ?',
'Supprimer posts ok'        =>    'Delete',
'Posts supprimes'        =>    'The posts were indeed deleted',
'Fusionner posts'        =>    'Amalgamate posts',
'Separer fusion'        =>    'Separate the posts by',
'Avertissement fusion'        =>    '<strong>Note :</strong> The finally post will have the most older post informations.',
'Fusionner posts ok'        =>    'Amalgamate',
'Posts fusionnes'        =>    'The posts were indeed amalgamated'
);