Re: link für gäste verstecken?
Verfasst: 07.02.2009 11:37
ich bin definitiv zu dumm ich finde da nix zum runter laden er zeigt mir nur einen link an, der zu Funpic führt und dann noch einen IMG aber zum downloaden finde ich da nix 

phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
Code: Alles auswählen
<?php
/**
*
* register [Deutsch]
*
* @package language
* @version $Id: register.php, v.0.0.0 2008-04-29 10:40:17Z Bycoja $
* @copyright (c) 2008 Bycoja
* @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
//
// 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(
'NOT_REGISTERED' => 'Nur registrierte Benutzer können in diesem Forum Links sehen!<br />',
'REGISTER_LOGIN' => '<a href="%1$s">Registriere dich</a> oder <a href="%2$s">logge dich ein!</a>',
));
?>
Code: Alles auswählen
<?php
/**
*
* register [British English]
*
* @package language
* @version $Id: register.php, v.0.0.0 2008-04-29 10:40:17Z Bycoja $
* @copyright (c) 2008 Bycoja
* @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
//
// 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(
'NOT_REGISTERED' => 'Only registered users can see links within this forum!<br />',
'REGISTER_LOGIN' => '<a href="%1$s">Register now</a> or <a href="%2$s">login!</a>',
));
?>
was fehlt dir genau bei welchem mod?siberia-angel hat geschrieben:was für 4seven vielleicht eine kleine anregung sein sollte.
Denn hier wird das registrieren und login gleich verlinkt das fehlt mir leider bei 4seven.
Oder habe ich es irgendwie übersehen? Kann das möglich sein?
wenn du den einbaust, brauchst du kein separates url-modul mehr, weil der alle bbcodes verstecken kann...Relevante BBCodes können:
- unsichtbar gemacht werden.
- mit einem Ersatzbild und Link zum registrieren, einem Textlink zum registrieren oder einem Text ersetzt werden.
Es stehen folgende Modi zur Verfügung:
- BBCode mit Bild-Reg-Link ersetzen
- BBCode mit Text-Reg-Link ersetzen
- BBCode mit Text ersetzen
- BBCode unsichtbar
ich versuchs mal:wobei ich noch fragen wollte muss ich für jeden ein neues Fenster machen IMG abspeichern
youtube wieder abspeichern weil da steht eigentlich durch ein komma trennen. <- ich hoffe man versteht mich
Code: Alles auswählen
function display_custom_bbcodes()
{
global $db, $template;
// Start counting from 22 for the bbcode ids (every bbcode takes two ids - opening/closing)
$num_predefined_bbcodes = 22;
$sql = 'SELECT bbcode_id, bbcode_tag, bbcode_helpline
FROM ' . BBCODES_TABLE . '
WHERE display_on_posting = 1
ORDER BY bbcode_tag';
$result = $db->sql_query($sql);
Code: Alles auswählen
function display_custom_bbcodes()
{
global $db, $template;
// Start counting from 22 for the bbcode ids (every bbcode takes two ids - opening/closing)
// note for bbcodebox3: new start counting from 102 for the bbcode ids (every bbcode takes two ids - opening/closing)
// also note: for every own extra custom bbcode, you must add +2 to 102
// Bitte beachten: Für jeden eigenen extra Custom BBCode, musst du +2 zu 102 hinzufügen
$num_predefined_bbcodes = 102;
$sql = 'SELECT bbcode_id, bbcode_tag, bbcode_helpline
FROM ' . BBCODES_TABLE . '
WHERE display_on_posting = 1
ORDER BY bbcode_tag';
$result = $db->sql_query($sql);
// Start counting from 22 for the bbcode ids (every bbcode takes two ids - opening/closing)
$num_predefined_bbcodes = 78;
okay das kann ich aber nit in 78 umbenennen,4seven hat geschrieben:den part dann natürlich so belassen
// Start counting from 22 for the bbcode ids (every bbcode takes two ids - opening/closing)
$num_predefined_bbcodes = 78;
Code: Alles auswählen
function display_custom_bbcodes()
{
global $db, $template;
// Start counting from 22 for the bbcode ids (every bbcode takes two ids - opening/closing)
// note for bbcodebox3: new start counting from 102 for the bbcode ids (every bbcode takes two ids - opening/closing)
// also note: for every own extra custom bbcode, you must add +2 to 102
// Bitte beachten: Für jeden eigenen extra Custom BBCode, musst du +2 zu 102 hinzufügen
$num_predefined_bbcodes = 102;
$sql = 'SELECT bbcode_id, bbcode_tag, bbcode_helpline
FROM ' . BBCODES_TABLE . '
WHERE display_on_posting = 1
ORDER BY bbcode_tag';
$result = $db->sql_query($sql);
$num_predefined_bbcodes = 102;
ersetze mitfunction display_custom_bbcodes()
{
global $db, $template;
// Start counting from 22 for the bbcode ids (every bbcode takes two ids - opening/closing)
// note for bbcodebox3: new start counting from 102 for the bbcode ids (every bbcode takes two ids - opening/closing)
// also note: for every own extra custom bbcode, you must add +2 to 102
// Bitte beachten: Für jeden eigenen extra Custom BBCode, musst du +2 zu 102 hinzufügen
$num_predefined_bbcodes = 102;
$sql = 'SELECT bbcode_id, bbcode_tag, bbcode_helpline
FROM ' . BBCODES_TABLE . '
WHERE display_on_posting = 1
ORDER BY bbcode_tag';
$result = $db->sql_query($sql);
function display_custom_bbcodes()
{
global $db, $template;
global $user, $config, $phpbb_root_path, $phpEx;
include($phpbb_root_path . 'includes/functions_hide_buttons.' . $phpEx);
// Start counting from 22 for the bbcode ids (every bbcode takes two ids - opening/closing)
// note for bbcodebox3: new start counting from 102 for the bbcode ids (every bbcode takes two ids - opening/closing)
// also note: for every own extra custom bbcode, you must add +2 to 102
// Bitte beachten: Für jeden eigenen extra Custom BBCode, musst du +2 zu 102 hinzufügen
$num_predefined_bbcodes = 102;
// hide buttons of hide content 4 groups // stage 1 + 2
....und dem ganzen rest