[ABD] Topic Preview 0.7.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.
User avatar
RMcGirr83
Former Team Member
Posts: 21901
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: [BETA] Topic Preview 0.7.1

Post by RMcGirr83 »

Then whatever this mod is using for a regular expression to remove html isn't working correctly.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beerImage
dowelld
Registered User
Posts: 354
Joined: Fri Jul 13, 2007 8:37 pm

Re: [BETA] Topic Preview 0.7.1

Post by dowelld »

I have no idea what you've done to your install then, but this works absolutely solidly for me, I've even just deliberately tried this 'quoted smileys' bug you think you have, and it's not happening to me at all.
lugsciath
Registered User
Posts: 316
Joined: Tue Oct 02, 2007 11:12 am

Re: [BETA] Topic Preview 0.7.1

Post by lugsciath »

Contribution:

German language
for language/de/topic_preview.php

Code: Select all

<?php
/** 
 * Topic Preview [Deutsch]
 *
 * @package Topic Preview MOD for phpBB 3
 * @author Bryan Frye <fryed_1>
 * @author Paul Garvin <pgarvin76>
 * @copyright (c) 2007 Bryan Frye, 2008 Paul Garvin
 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
 * @version 0.7.1
 * @link http://www.phpbb.com/community/viewtopic.php?f=70&t=794905
 * @link http://www.paulgarvin.net/forum/viewtopic.php?f=4&t=41
 */

/**
* 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
//
// Some characters you may want to copy&paste:
// ’ » “ ” …
//

$lang = array_merge($lang, array(
	// ACP variables
	'TOPIC_PREVIEW'							=> 'Themen Vorschau MOD',
	'TOPIC_PREVIEW_EXPLAIN'					=> 'Konfiguriere gen. Einstellungen und Rechte für topic preview mod.',
	'TOPIC_PREVIEW_ENABLED'					=> 'Themen Vorschau einschalten',
	'TOPIC_PREVIEW_ENABLED_EXPLAIN'			=> 'Wenn eingeschaltet werden alle Themenvorschaufunktionen boardweit eingeschaltet.',
	'TOPIC_PREVIEW_ENABLED_UCP'				=> 'Themen Vorschau in Benutzerpanel einschalten',
	'TOPIC_PREVIEW_ENABLED_UCP_EXPLAIN'		=> 'Wenn eingeschaltet werden alle Themenvorschaufunktionen boardweit in den Benutzerpanels eingeschaltet',
	'TOPIC_PREVIEW_SETTINGS'				=> 'Themen Vorschau Einstellungen',
	'TOPIC_PREVIEW_ENABLED_GUESTS'			=> 'Themen Vorschau für Gäste',
	'TOPIC_PREVIEW_ENABLED_GUESTS_EXPLAIN'	=> 'Wenn eingeschaltet werden Gäste die Themenvorschau sehen.',
	'TOPIC_PREV_GUEST_FIRST_LAST'			=> 'Anzeige welche Themen bei Vorgabe',
	'TOPIC_PREV_GUEST_FIRST_LAST_EXPLAIN'	=> 'Wenn die Themenvorschau eingeschaltet ist aber in Benutzerpanel oder bei Gästen abgeschaltet ist wird das angezeigt.',
	'TOPIC_PREVIEW_CHAR_LIMIT'				=> 'Zeichenanzahl der Themenvorschau',
	'TOPIC_PREVIEW_CHAR_LIMIT_EXPLAIN'		=> 'Stell die Anzahl der Zeichen in der Themenvorschau ein. Maximum ist 1000.',
	// UCP variables
	'VIEW_TOPIC_PREVIEW'	=> 'Anzeige Themenvorschau',
	'TOPIC_PREVIEW_POSTS'	=> 'Sie welches Thema angesehen wird',
	'FIRST'	=> 'Erstes',
	'LAST'	=> 'Letzes',
));

?>
lugsciath
Registered User
Posts: 316
Joined: Tue Oct 02, 2007 11:12 am

Re: [BETA] Topic Preview 0.7.1

Post by lugsciath »

Contri:

/languages/de/acp/common.php

search ?>

add before:

Code: Select all

// mod: Topic Preview
$lang = array_merge($lang, array(
        'ACP_TOPIC_PREVIEW'             => 'Themen Vorschau',
        'TOPIC_PREVIEW_LOG_CONFIG'		=> 'Geänderte Themen Vorschau Einstellung',
        'ACP_TOPIC_PREVIEW_CONFIG_UPDATED'  => 'Themen Vorschau Konfiguration erneuert',
));
// end: Topic Preview
User avatar
IPB_Refugee
Registered User
Posts: 1290
Joined: Fri Jul 07, 2006 2:25 pm
Location: Austria
Name: Wolfgang Weber

Re: [BETA] Topic Preview 0.7.1

Post by IPB_Refugee »

Hello,

to avoid some phpBB debug notices, in viewforum.php

change

Code: Select all

'PREVIEW_TEXT' => $topic_preview_posts[$topic_id],
to

Code: Select all

'PREVIEW_TEXT' => (!empty($topic_preview_posts[$topic_id])) ? $topic_preview_posts[$topic_id] : '',
Regards
Wolfgang
User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17442
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: [ABD] Topic Preview 0.7.1

Post by DavidIQ »

No activity in the dev of this mod since November. Marking as abandoned and locking.

pgarvin76, if you would like to reclaim this topic please PM a MOD Team member. Thanks.
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
Locked

Return to “[3.0.x] Abandoned MODs”