Ad Management
Forumregels
LEES: Richtlijnen voor Support. Vul de support template in!
Verschaf iemand geen servertoegang tenzij het niet anders kan. Maak altijd eerst een volledige backup en verander de inloggevens na afloop. Eigen risico.
LEES: Richtlijnen voor Support. Vul de support template in!

Ad Management
Directe link naar de modificatie: http://www.phpbb.com/community/viewtopi ... 0&t=550121
Adres van je forum: http://www.spuwjegalonline.nl/
phpBB versie:3.01
Hoi,
Is er iemand deze deze in het nederlands heeft. Wil hem ook gaan gebruiken maar dan in het nederlands
Dungeon
Adres van je forum: http://www.spuwjegalonline.nl/
phpBB versie:3.01
Hoi,
Is er iemand deze deze in het nederlands heeft. Wil hem ook gaan gebruiken maar dan in het nederlands
Dungeon
- Gamemaniak
- Berichten: 1747
- Lid geworden op: 14 nov 2005, 19:03
- Locatie: Westdorpe
- Contacteer:
Re: Ad Management
Ik heb hem wel voor je

language/nl/mods/ads.php
Code: Selecteer alles
<?php
/**
*
* @author Tobi Schaefer http://www.tobischaefer.net (MOD author)
* @author Luke Cousins http://www.VioVet.co.uk (translated into English)
* @author Francis Fisher http://radoncube.com (cleanup English tranlsation)
* @author Marcellino van Hecke http://www.endlessgaming.nl (Nederlands vertaling)
*
* @package language
* @version $Id: acp_ads.php, v0.2.0 2008-03-22 17:05:19 tas2580 $
* @copyright (c) 2007 SEO phpBB http://www.seo-phpbb.org
* @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
// Ad management settings
$lang = array_merge($lang, array(
'ADMANAGEMENT' => 'Advertentie configuratie',
'NEED_CODE' => 'Vul de naam en het script in voor de advertentie.',
'NEED_IMAGE' => 'Vul de naam, URL en afbeelding in voor de banner.',
'ADDED' => 'De advertentie is toegevoegd aan het systeem.',
'UPDATED' => 'De advertentie is bijgewerkt.',
'DELETED' => 'De advertentie is verwijderd uit het systeem.',
'REALY_DELETE' => 'Weet je zeker dat je deze advertentie wilt verwijderen?',
'AD' => 'Advertentie',
'AD_DESC' => 'The advertisement can be administered here; you can alternated between several banner ads and enable or disable certain ads.',
'NEW_AD' => 'Voeg advertentie toe',
'EDIT_AD' => 'Bewerk advertentie',
'NAME' => 'Naam',
'NAME_DESC' => 'Naam van de advertentie.',
'CODE' => 'Advertentie script',
'CODE_DESC' => 'Het script voor de advertentie',
'FORUMS_DESC' => 'Voer het ID in van de forums waar de advertentie moet worden weergeven, verschillende fora moeten gescheiden zijn door een komma.',
'GROUPS_DESC' => 'Aan welke gebruikersgroep moet de advertentie worden weergeven? Een gebruiker moet de gebruikersgroep als standaardgroep hebben om de advertenties te kunnen zien.',
'AD_VIEWS' => 'Kliks',
'AD_VIEWS_DESC' => 'Het aantal kliks voor een advertentie',
'AD_MAX_VIEWS' => 'Maximaal aantal kliks',
'AD_MAX_VIEWS_DESC' => 'Het maximaal aantal kliks voor de advertentie ',
'POSITION' => 'Positie',
'POSITION_DESC' => 'Op welke positie moet de advertentie vertoont worden?',
'POSITION1' => 'Achter alle eerste berichten',
'POSITION2' => 'Achter ieder bericht',
'POSITION3' => 'Boven de berichten',
'POSITION4' => 'Onder de berichten',
'POSITION5' => 'In het Portal',
'POSITION6' => 'In de footer',
'AD_IN_SYSTEM' => 'Advertenties in het systeem',
'AD_IN_SYSTEM_DESC' => 'Een lijst met advertenties die momenteel in het systeem staan',
'SHOW_IN_ALL_FORUMS' => 'Laat in alle forums zien',
'BANNER_AD' => 'Banner advertentie',
'HTML_AD' => 'HTML Advertentie',
'IMAGE_DESC' => 'Voer een afbeelding in voor de banner',
'URL' => 'URL',
'URL_DESC' => 'Voer een URL in waar de banner naar zal linken',
'SIZE' => 'Banner afmetingen',
'SIZE_DESC' => 'Vul de afmetingen van de banner in',
'HEIGHT' => 'hoogte',
'WIDTH' => 'Breedte',
'PIXEL' => 'pixels',
'START_DATE' => 'Start datum',
'START_DATE_DESC' => 'Vanaf deze datum zal de advertentie worden weergeven.',
'END_DATE' => 'Eind datum',
'END_DATE_DESC' => 'Tot deze datum zal de advertentie worden weergeven.',
'AD_CLICKS' => 'Kliks',
'AD_CLICKS_DESC' => 'Hoe vaak is er op een banner geklikt?',
'MAX_AD_CLICKS' => 'Maximaal aantal kliks',
'MAX_AD_CLICKS_DESC' => 'Tot hoeveel kliks moet de advertentie worden weergeven?',
'SHOW_OPTIONS' => 'Weergave instellingen',
'RANKS' => 'Rangen',
'RANKS_DESC' => 'Voor welke rang moet de advertentie verschijnen? Om de advertentie aan alle rangen te laten zien, kies dan alle rangen.',
'NO_RANK' => 'Gebruikers zonder rang',
));
?>
language/nl/mods/info_acp_ads.php
Code: Selecteer alles
<?php
/**
*
* Knowledge Base [Deutsch Du]
* @author Tobi Schaefer http://www.tobischaefer.net/
* @translated Marcellino van Hecke http://www.endlessgaming.nl (Nederlands vertaling)
*
* @package language
* @version $Id: info_acp_ads.php, v0.2.0 2008-03-22 17:05:19 tas2580 $
* @copyright (c) 2007 SEO phpBB http://www.seo-phpbb.org
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
exit;
}
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(
'ADMANAGEMENT' => 'Advertentie beheer',
'HTML_AD' => 'HTML Advertenties',
'BANNERS_AD' => 'Banner Advertenties',
));
?>
Re: Ad Management
dank je
Re: Ad Management
Na installatie moet ik dit doen
After installing you must activate the Ad Management in ACP

heb ik dit zo goed gedaan wat hier heb ik gen kaas van gegeten.
Als ik dit heb gedaan komt er een tabblad bij in mijn acp.
Als ik daar dan opklik krijg ik dit te zien
Language file ads.php couldn't be opened.
Wat kan het probleem zijn
After installing you must activate the Ad Management in ACP
heb ik dit zo goed gedaan wat hier heb ik gen kaas van gegeten.
Als ik dit heb gedaan komt er een tabblad bij in mijn acp.
Als ik daar dan opklik krijg ik dit te zien
Language file ads.php couldn't be opened.
Wat kan het probleem zijn
- Gamemaniak
- Berichten: 1747
- Lid geworden op: 14 nov 2005, 19:03
- Locatie: Westdorpe
- Contacteer:
Re: Ad Management
Je hebt 
ads.php
in het verkeerde mapje geplaatst, dat is een fout in de mod, doe het net zoals ik heb verteld 
Re: Ad Management
oke ga ik doen
Re: Ad Management
Heb ik gedaan nu krijg ik een fout melding
Parse error: syntax error, unexpected '}' in /mnt/web7/10/09/51766809/htdocs/includes/template.php(175) : eval()'d code on line 144
Geen idee wat het inhoud
post wel even een stukje uit het bestand lijn 139 tot lijn 159
Parse error: syntax error, unexpected '}' in /mnt/web7/10/09/51766809/htdocs/includes/template.php(175) : eval()'d code on line 144
Geen idee wat het inhoud
post wel even een stukje uit het bestand lijn 139 tot lijn 159
Code: Selecteer alles
unset($this->_tpldata[$blockname]);
}
return true;
}
/**
* Display handle
* @access public
*/
function display($handle, $include_once = true)
{
global $user, $phpbb_hook;
if (!empty($phpbb_hook) && $phpbb_hook->call_hook(array(__CLASS__, __FUNCTION__), $handle, $include_once))
{
if ($phpbb_hook->hook_return(array(__CLASS__, __FUNCTION__)))
{
return $phpbb_hook->hook_return_result(array(__CLASS__, __FUNCTION__));
}
}
Re: Ad Management
Hey
ik heb de fout gevonden die zat in ctpl_admin_acp_ads.html op lijn 144.
hier een stukje code.
Als ik <?php }} ?> in lijn 144 weg haal kan ik gewoon alles bedienen. Maar volgens mij klopt het nog niet helemaal want in de acp zie ik ik onder aan de pagina dubbel denk dat ik nog iets weg moet halen.
dit zie je onderaan de acp m.U_BANNERDEL dat vind ik ook terug ik de code die onderaan staan
Wie o Wie weet het
<?php $_ad_in_system_count = (isset($this->_tpldata['ad_in_system'])) ? sizeof($this->_tpldata['ad_in_system']) : 0;if ($_ad_in_system_count) {for ($_ad_in_system_i = 0; $_ad_in_system_i < $_ad_in_system_count; ++$_ad_in_system_i){$_ad_in_system_val = &$this->_tpldata['ad_in_system'][$_ad_in_system_i]; if (!($_ad_in_system_val['S_ROW_COUNT'] & 1) ) { ?><tr class="row1"><?php } else { ?><tr class="row2"><?php } ?>
<td><?php echo $_ad_in_system_val['NAME']; ?></td>
<td style="text-align: center;"><?php echo $_ad_in_system_val['POSITION']; ?> </td>
<td style="text-align: center;"><?php echo $_ad_in_system_val['ALLFORUM']; ?> </td>
<td style="text-align: center;"><?php echo $_ad_in_system_val['VIEWS']; ?></td>
<td style="text-align: center;"><?php echo $_ad_in_system_val['MAX_VIEWS']; ?></td>
<?php if (! $this->_rootref['S_HTML_AD']) { ?><td style="text-align: center;"><?php echo $_ad_in_system_val['CLICKS']; ?></td><?php } ?>
<td> <a href="<?php echo $_ad_in_system_val['U_BANNEREDIT']; ?>"><?php echo (isset($this->_rootref['ICON_EDIT'])) ? $this->_rootref['ICON_EDIT'] : ''; ?></a> <a href="<?php echo $_ad_in_system_val['U_BANNERDEL']; ?>"><?php echo (isset($this->_rootref['ICON_DELETE'])) ? $this->_rootref['ICON_DELETE'] : ''; ?></a> </td>
</tr>
<?php }} ?>
</tbody>
</table>
<?php $this->_tpl_include('overall_footer.html'); ?>
m.U_BANNERDEL}"><?php echo (isset($this->_rootref['ICON_DELETE'])) ? $this->_rootref['ICON_DELETE'] : ''; ?></a> </td>
</tr>
<?php }} ?> the is line 144
</tbody>
</table>
<?php $this->_tpl_include('overall_footer.html'); ?>
-->
ik heb de fout gevonden die zat in ctpl_admin_acp_ads.html op lijn 144.
hier een stukje code.
Als ik <?php }} ?> in lijn 144 weg haal kan ik gewoon alles bedienen. Maar volgens mij klopt het nog niet helemaal want in de acp zie ik ik onder aan de pagina dubbel denk dat ik nog iets weg moet halen.
dit zie je onderaan de acp m.U_BANNERDEL dat vind ik ook terug ik de code die onderaan staan
Wie o Wie weet het
<?php $_ad_in_system_count = (isset($this->_tpldata['ad_in_system'])) ? sizeof($this->_tpldata['ad_in_system']) : 0;if ($_ad_in_system_count) {for ($_ad_in_system_i = 0; $_ad_in_system_i < $_ad_in_system_count; ++$_ad_in_system_i){$_ad_in_system_val = &$this->_tpldata['ad_in_system'][$_ad_in_system_i]; if (!($_ad_in_system_val['S_ROW_COUNT'] & 1) ) { ?><tr class="row1"><?php } else { ?><tr class="row2"><?php } ?>
<td><?php echo $_ad_in_system_val['NAME']; ?></td>
<td style="text-align: center;"><?php echo $_ad_in_system_val['POSITION']; ?> </td>
<td style="text-align: center;"><?php echo $_ad_in_system_val['ALLFORUM']; ?> </td>
<td style="text-align: center;"><?php echo $_ad_in_system_val['VIEWS']; ?></td>
<td style="text-align: center;"><?php echo $_ad_in_system_val['MAX_VIEWS']; ?></td>
<?php if (! $this->_rootref['S_HTML_AD']) { ?><td style="text-align: center;"><?php echo $_ad_in_system_val['CLICKS']; ?></td><?php } ?>
<td> <a href="<?php echo $_ad_in_system_val['U_BANNEREDIT']; ?>"><?php echo (isset($this->_rootref['ICON_EDIT'])) ? $this->_rootref['ICON_EDIT'] : ''; ?></a> <a href="<?php echo $_ad_in_system_val['U_BANNERDEL']; ?>"><?php echo (isset($this->_rootref['ICON_DELETE'])) ? $this->_rootref['ICON_DELETE'] : ''; ?></a> </td>
</tr>
<?php }} ?>
</tbody>
</table>
<?php $this->_tpl_include('overall_footer.html'); ?>
m.U_BANNERDEL}"><?php echo (isset($this->_rootref['ICON_DELETE'])) ? $this->_rootref['ICON_DELETE'] : ''; ?></a> </td>
</tr>
<?php }} ?> the is line 144
</tbody>
</table>
<?php $this->_tpl_include('overall_footer.html'); ?>
-->