hulp gezocht bij instaleren MOD

Hulp nodig bij een modificaties of op zoek naar een MOD?
Forumregels

LEES: Richtlijnen voor Support. Vul de support template in!
phpBB3.0.x
Verschaf iemand geen servertoegang tenzij het niet anders kan. Maak altijd eerst een volledige backup en verander de inloggevens na afloop. Eigen risico.
Plaats reactie
Gebruikersavatar
odil
Berichten: 710
Lid geworden op: 26 jan 2009, 19:23
Locatie: belgië
Contacteer:

hulp gezocht bij instaleren MOD

Bericht door odil » 26 jul 2009, 21:42

Wat is het probleem?

Ik wil eens proberen om een MOD te instaleren maar mijn engels is beperkt dus op het mij zal lukken is een groot ? (Primelinks)

Ik heb meteen al een vraagje.
Ik heb het zip bestand uitgepakt en volgens de wiki moet ik het bestand instal.xlm openen maar als ik dat open krijg ik niet de instructies maar een html bestand?
Iemand een idee.
Ik heb het opengedaan met klabblok en PSPad editor maar bij beiden krijg ik een html bestand.

Code: Selecteer alles

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="./contrib/xsl/modx.prosilver.en.xsl"?>
<!-- 
	NOTICE: Please open this file in your web browser. If presented with a security warning, you may safely tell it to allow the blocked content.
-->
<!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/-->
<mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.2.1.xsd">
	<header>
		<license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license>
		<title lang="en">Prime Links</title>
		<description lang="en">Modifies links within posts so that local links are correctly classified as such. It can also apply a target to external links (e.g. to open in a new window) and prepend links (e.g. to apply an anonymizer).</description>
		<author-notes lang="en">If you want to disable the external link target, open "includes/prime_links.php" and change the value of EXTERNAL_LINK_TARGET to an empty string. Other settings can be adjusted from within the "includes/prime_links.php" file as well.

Creating, maintaining, and updating MODs requires a lot of time and effort, so if you like this MOD and have the desire to express your thanks through donations, that would be greatly appreciated. My Paypal ID is primehalo@gmail.com, or contact me for my mailing address. The suggested donation amount for this MOD is $5.00 (but any amount will help).</author-notes>
		<author-group>
			<author>
				<realname>Ken F. Innes IV</realname>
				<email>primehalo@gmail.com</email>
				<username>primehalo</username>
				<homepage><![CDATA[http://www.absoluteanime.com/admin/mods.htm#links]]></homepage>
			</author>
		</author-group>
		<mod-version>1.2.5</mod-version>
		<installation>
			<level>easy</level>
			<time>120</time>
			<target-version>3.0.4</target-version>
		</installation>
		<history>
			<entry>
				<date>2007-09-24</date>
				<rev-version>0.0.0</rev-version>
				<changelog lang="en">
					<change>Initial test release</change>
				</changelog>
			</entry>
			<entry>
				<date>2007-09-24</date>
				<rev-version>0.0.1</rev-version>
				<changelog lang="en">
					<change>Fixed an error that would occur on some PHP configurations.</change>
					<change>Added an option to allow all subdomains to be considered internal.</change>
				</changelog>
			</entry>
			<entry>
				<date>2007-09-25</date>
				<rev-version>0.0.2</rev-version>
				<changelog lang="en">
					<change>Fixed an issue that didn't handle multiple subdomains properly.</change>
				</changelog>
			</entry>
			<entry>
				<date>2007-09-25</date>
				<rev-version>0.0.3</rev-version>
				<changelog lang="en">
					<change>Fixed a bug where numerical HTML entities in the URL were not being decoded.</change>
					<change>Fixed a bug where internal links without a protocol were being detected as external links.</change>
				</changelog>
			</entry>
			<entry>
				<date>2007-09-26</date>
				<rev-version>0.0.4</rev-version>
				<changelog lang="en">
					<change>Added support for adding an anonymizer to external links.</change>
					<change>Added support for the REL attribute (link relationships, primarily used for "nofollow").</change>
					<change>Improved efficiency a bit.</change>
				</changelog>
			</entry>
			<entry>
				<date>2007-09-28</date>
				<rev-version>0.0.5</rev-version>
				<changelog lang="en">
					<change>Append class names to links instead of overwriting them in order to protect classes applied via custom BBCodes.</change>
				</changelog>
			</entry>
			<entry>
				<date>2007-10-22</date>
				<rev-version>0.0.5a</rev-version>
				<changelog lang="en">
					<change>Updated for compatibility with phpBB3.0.RC7.</change>
					<change>Fixed: In subsilver, appending class names would cause local links to have the same styling as external links.</change>
				</changelog>
			</entry>
			<entry>
				<date>2007-12-10</date>
				<rev-version>1.0.0
				</rev-version>
				<changelog lang="en">
					<change>Changed the description slightly.</change>
					<change>Fixed a minor typo in the Do-It-Yourself instructions.</change>
				</changelog>
			</entry>
			<entry>
				<date>2007-12-12</date>
				<rev-version>1.0.1</rev-version>
				<changelog lang="en">
					<change>Fixed a bug that would cause links without an HREF attribute to become messed up.</change>
				</changelog>
			</entry>
			<entry>
				<date>2008-01-11</date>
				<rev-version>1.0.2</rev-version>
				<changelog lang="en">
					<change>Made the domain check (along with any un-removed subdomains) case-insensitive.</change>
					<change>Only modify links that use the http or https scheme.</change>
					<change>Allow for specific subdomains to be ignored.</change>
					<change>Fixed the algorithm so that multiple top-level domains, such as .co.jp and .ca.us, should now be handled correctly.</change>
					<change>Put functions inside of a class to prevent potential conflicts with other MODs.</change>
					<change>The target attribute can now be enabled by changing the value of a define rather than by un-commenting several lines of code.</change>
				</changelog>
			</entry>
			<entry>
				<date>2008-01-13</date>
				<rev-version>1.0.3</rev-version>
				<changelog lang="en">
					<change>Fixed a PHP 4 incompatibility.</change>
				</changelog>
			</entry>
			<entry>
				<date>2008-01-18</date>
				<rev-version>1.0.4</rev-version>
				<changelog lang="en">
					<change>Fixed the possibility of getting debug notices when an email address exists in a post.</change>
					<change>Fixed the possibility of getting debug notices when no links existed in a post.</change>
				</changelog>
			</entry>
			<entry>
				<date>2008-03-08</date>
				<rev-version>1.0.5</rev-version>
				<changelog lang="en">
					<change>Treat http:// and https:// as the same scheme.</change>
				</changelog>
			</entry>
			<entry>
				<date>2008-04-06</date>
				<rev-version>1.0.5a</rev-version>
				<changelog lang="en">
					<change>Renamed the define ANONYMIZE_EXTERNAL_LINKS to EXTERNAL_LINK_PREFIX.</change>
				</changelog>
			</entry>
			<entry>
				<date>2008-04-11</date>
				<rev-version>1.0.6</rev-version>
				<changelog lang="en">
					<change>When a URL cannot be properly parsed, the error message will be silenced and script will continue execution.</change>
				</changelog>
			</entry>
			<entry>
				<date>2008-06-08</date>
				<rev-version>1.0.7</rev-version>
				<changelog lang="en">
					<change>Fixed a mistake with ignoring multiple subdomains.</change>
				</changelog>
			</entry>
			<entry>
				<date>2008-07-01</date>
				<rev-version>1.0.8</rev-version>
				<changelog lang="en">
					<change>Repackaged for MODX 1.2.0.</change>
					<change>Added the ability to skip the parsing of image links.</change>
					<change>Created supplementary installation instructions for opening user website links in a new window.</change>
				</changelog>
			</entry>
			<entry>
				<date>2008-07-09</date>
				<rev-version>1.0.9</rev-version>
				<changelog lang="en">
					<change>Added the ability to force the classification of image links as either internal or external links.</change>
				</changelog>
			</entry>
			<entry>
				<date>2008-07-10</date>
				<rev-version>1.0.10</rev-version>
				<changelog lang="en">
					<change>Added the ability to force the classification of image links as external links without adding an external link prefix.</change>
					<change>Verified compatibility with phpBB 3.0.2</change>
				</changelog>
			</entry>
			<entry>
				<date>2008-07-23</date>
				<rev-version>1.2.0</rev-version>
				<changelog lang="en">
					<change>Added the ability to classify links based on the type of file to which they point.</change>
					<change>Added the ability to treat specified domains as if they were local.</change>
					<change>Added a sample stylesheet (with a few icons) for convenient styling of links (without the need for refreshing the template in the ACP).</change>
					<change>Added optional instructions for applying targets to forums that are set up to be links.</change>
				</changelog>
			</entry>
			<entry>
				<date>2008-07-25</date>
				<rev-version>1.2.1</rev-version>
				<changelog lang="en">
					<change>Added the ability to classify certain domains as forbidden, and have those links replaced with an alternate URL.</change>
				</changelog>
			</entry>
			<entry>
				<date>2008-08-05</date>
				<rev-version>1.2.2</rev-version>
				<changelog lang="en">
			<change>Added the ability to change external (or internal) links into text (changes the A tag to a SPAN tag). These can then be style via the stylesheet to actually hide them, if so desired.</change>
				</changelog>
			</entry>
			<entry>
				<date>2008-08-29</date>
				<rev-version>1.2.3</rev-version>
				<changelog lang="en">
					<change>Added the ability to change links into text for guests.</change>
				</changelog>
			</entry>
			<entry>
				<date>2008-10-14</date>
				<rev-version>1.2.4</rev-version>
				<changelog lang="en">
					<change>Fixed: removing specific domains was not working properly.</change>
					<change>Added a define to specify the top level domain name, so that it can be specified directly in cases where the guessing algorithm guess wrong.</change>
				</changelog>
			</entry>
			<entry>
				<date>2009-01-22</date>
				<rev-version>1.2.5</rev-version>
				<changelog lang="en">
					<change>Fixed: links were not classified properly when setting the TOP_LEVEL_DOMAIN_NAME define.</change>
				</changelog>
			</entry>
		</history>
		<link-group>
			<link type="contrib" href="contrib/install user website links.xml" lang="en">Install User Website Links</link>
			<link type="contrib" href="contrib/install forum links.xml" lang="en">Install Forum Links</link>
			<link type="contrib" href="contrib/install style links.xml" lang="en">Install Style Links</link>
		</link-group>
	</header>
	<action-group>
		<copy>
			<file from="root/includes/prime_links.php" to="includes/prime_links.php" />
		</copy>

		<open src="includes/functions_content.php">
			<edit>
				<find><![CDATA[	if ($force_option || !$config['allow_smilies'] || !$user->optionget('viewsmilies'))]]></find>
				<action type="before-add"><![CDATA[//-- mod: Prime Links -------------------------------------------------------//
	if (!function_exists('prime_links'))
	{
		global $phpEx;
		include($phpbb_root_path . 'includes/prime_links.' . $phpEx);
	}
	$text = prime_links($text);
//-- end: Prime Links -------------------------------------------------------//
]]></action>
			</edit>
		</open>

		<diy-instructions lang="en"><![CDATA[If you want to disable the external link target, open "includes/prime_links.php"
and change the value of EXTERNAL_LINK_TARGET to an empty string.

Other settings can be adjusted from within the "includes/prime_links.php" file as well.]]></diy-instructions>
	</action-group>
</mod>

Gebruikersavatar
Paul
Beheerder
Beheerder
Berichten: 20316
Lid geworden op: 23 okt 2003, 11:38
Locatie: Utrecht
Contacteer:

Re: hulp gezocht bij instaleren MOD

Bericht door Paul » 26 jul 2009, 22:32

je moet het xml bestand in je browser, zoasl internet explorer of firefox, openen ;)

Gebruikersavatar
odil
Berichten: 710
Lid geworden op: 26 jan 2009, 19:23
Locatie: belgië
Contacteer:

Re: hulp gezocht bij instaleren MOD

Bericht door odil » 26 jul 2009, 22:37

Bedankt paul, we kunnen terug even verder ;)

EDIT

Ik heb blijkbaar iets verkeerd gedaan nogthans een makkelijke mod waarbij 1 bestand moet aangepast worden. :shock:

Parse error: syntax error, unexpected T_RETURN in /home/h8630hon/public_html/forum/includes/functions_content.php on line 621

Gebruikersavatar
Paul
Beheerder
Beheerder
Berichten: 20316
Lid geworden op: 23 okt 2003, 11:38
Locatie: Utrecht
Contacteer:

Re: hulp gezocht bij instaleren MOD

Bericht door Paul » 26 jul 2009, 22:56

Post regel 610 tot 640 eens hier?

Gebruikersavatar
odil
Berichten: 710
Lid geworden op: 26 jan 2009, 19:23
Locatie: belgië
Contacteer:

Re: hulp gezocht bij instaleren MOD

Bericht door odil » 26 jul 2009, 23:02

Dit is regel 610 tot 640 (maar wat ik moest aanpassen zit iets verder)

Code: Selecteer alles

$text	= $short_url;
			$url	= 'mailto:' . $url;
		break;
	}

	$url	= htmlspecialchars($url);
	$text	= htmlspecialchars($text);
	$append	= htmlspecialchars($append);

	$html	= "$whitespace<!-- $tag --><a$class href=\"$url\"" . (($type != MAGIC_URL_EMAIL) ? " onclick=\"window.open(this.href);return false;\"" 

	return $html;
}

/**
* make_clickable function
*
* Replace magic urls of form http://xxx.xxx., http://www.xxx. and xxx@xxx.xxx.
* Cuts down displayed size of link if over 50 chars, turns absolute links
* into relative versions when the server/script path matches the link
*/
function make_clickable($text, $server_url = false, $class = 'postlink')
{
	if ($server_url === false)
	{
		$server_url = generate_board_url();
	}

	static $magic_url_match;
	static $magic_url_replace;
	static $static_class;
Regel 718 tot 728

Code: Selecteer alles

global $config, $user, $phpbb_root_path;
//-- mod: Prime Links -------------------------------------------------------//
	if (!function_exists('prime_links'))
	{
		global $phpEx;
		include($phpbb_root_path . 'includes/prime_links.' . $phpEx);
	}
	$text = prime_links($text);
//-- end: Prime Links -------------------------------------------------------//

	if ($force_option || !$config['allow_smilies'] || !$user->optionget('viewsmilies'))
En dit moest ik doen volgens de instal

Code: Selecteer alles

Open: includes/functions_content.php
Find
Tip: This may be a partial find and not the whole line.

Code:Select All
	if ($force_option || !$config['allow_smilies'] || !$user->optionget('viewsmilies'))
Add before
Tip: Add these lines on a new blank line before the preceding line(s) to find.

Code:Select All
//-- mod: Prime Links -------------------------------------------------------//
	if (!function_exists('prime_links'))
	{
		global $phpEx;
		include($phpbb_root_path . 'includes/prime_links.' . $phpEx);
	}
	$text = prime_links($text);
//-- end: Prime Links -------------------------------------------------------//

Gebruikersavatar
Paul
Beheerder
Beheerder
Berichten: 20316
Lid geworden op: 23 okt 2003, 11:38
Locatie: Utrecht
Contacteer:

Re: hulp gezocht bij instaleren MOD

Bericht door Paul » 26 jul 2009, 23:06

Code: Selecteer alles

   $html   = "$whitespace<!-- $tag --><a$class href=\"$url\"" . (($type != MAGIC_URL_EMAIL) ? " onclick=\"window.open(this.href);return false;\"" 
Er mist een stuk code achter die regel. Probeer een backup terug te zetten, en het dan nog eens te modden.

Welke editor gebruik je?

Gebruikersavatar
odil
Berichten: 710
Lid geworden op: 26 jan 2009, 19:23
Locatie: belgië
Contacteer:

Re: hulp gezocht bij instaleren MOD

Bericht door odil » 26 jul 2009, 23:14

Ik gebruik PSPad.

Ik heb reeds een backup terug gezet maar het is blijkbaar hetzelfde bestand.
Ik kan nu ook niet meer op het forum :evil:

Gebruikersavatar
Paul
Beheerder
Beheerder
Berichten: 20316
Lid geworden op: 23 okt 2003, 11:38
Locatie: Utrecht
Contacteer:

Re: hulp gezocht bij instaleren MOD

Bericht door Paul » 26 jul 2009, 23:17

Probeer die regel die ik gaf eens te verwijderen. Waarschijnlijk is het dan opgelost, alleen werkt mogelijk je urlbbcode niet goed.

Gebruikersavatar
odil
Berichten: 710
Lid geworden op: 26 jan 2009, 19:23
Locatie: belgië
Contacteer:

Re: hulp gezocht bij instaleren MOD

Bericht door odil » 26 jul 2009, 23:27

Ik heb de regel verwijderd en krijg nu deze error als ik inlog op het forum

PHP Notice: in file /includes/functions_content.php on line 723: include(./includes/prime_links.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 723: include(./includes/prime_links.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 723: include() [function.include]: Failed opening './includes/prime_links.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php')

Fatal error: Call to undefined function prime_links() in /home/h8630hon/public_html/forum/includes/functions_content.php on line 725


EDIT

Het probleem zat in andere bestanden, ik heb een maand geleden [url=http://wiki.phpbb.nl/Koppelingen_in_nie ... r_(phpBB3)]deze wiki[/url]gevolgd om links in een nieuw venster te openen maar dit blijkt niet te werken in versie 3.0.4 en 3.0.5 maar ik had die aangepaste bestanden niet terug veranderd en dit gaf nu een conflict met de primelinks mod.
Ik heb de wiki terug gevolgd en alle bestanden veranderd naar de originele code en nu zijn ook alle foutmeldingen verdwenen en kan ik terug op het forum.

Voor ik terug de primelink mod ga instaleren heb ik eerst een paar vraagjes.
Ik heb dus de MOD primelinks gedownload en het zip bestand uitgepakt waarbij ik 2 mappen kreeg.

map 1 heet contrib
map 2 heet root

naast die 2 mappen heb ik ook nog 2 bestanden, namelijk

instal.xml
license.txt

Ik moet dus instal.xml openen met IE en als ik het goed heb moet ik maar 1 bestand aanpassen (zie instal.xml onderaan deze post) namelijk function_content.php

Maar wat moet ik met die mappen? moet ik die uploaden? want als ik enkel function_content.php aanpas dan krijg ik de foutmelding.
Dus doe ik blijkbaar iets verkeerd.

Code: Selecteer alles

About this MOD
Title: Prime Links

Description: Modifies links within posts so that local links are correctly classified as such. It can also apply a target to external links (e.g. to open in a new window) and prepend links (e.g. to apply an anonymizer).

Version: 1.2.5

Installation Level: Easy

Installation Time: ~2 minutes

Author Notes: If you want to disable the external link target, open "includes/prime_links.php" and change the value of EXTERNAL_LINK_TARGET to an empty string. Other settings can be adjusted from within the "includes/prime_links.php" file as well.

Creating, maintaining, and updating MODs requires a lot of time and effort, so if you like this MOD and have the desire to express your thanks through donations, that would be greatly appreciated. My Paypal ID is primehalo@gmail.com, or contact me for my mailing address. The suggested donation amount for this MOD is $5.00 (but any amount will help).

 Author
Username: primehalo 
Email: primehalo@gmail.com 
Name: Ken F. Innes IV 
WWW: http://www.absoluteanime.com/admin/mods.htm#links 
 
Files to Edit
includes/functions_content.php 
Included Files
root/includes/prime_links.php 
Additional MODX Files
en contrib: Install User Website Links 
en contrib: Install Forum Links 
en contrib: Install Style Links 

--------------------------------------------------------------------------------

Disclaimer & Other Notes
For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Downloading this MOD from other sites could cause malicious code to enter into your phpBB Forum. As such, phpBB will not offer support for MODs not offered in our MODs database, located at: http://www.phpbb.com/mods/

Before adding this MOD to your forum, you should back up all files related to this MOD.

This MOD was designed for phpBB 3.0.4 and may not function as stated on other phpBB versions. MODs for phpBB 3.0 will not work on phpBB 2.0 and vice versa.

License & English Support
This MOD has been licensed under the following license:

http://opensource.org/licenses/gpl-license.php GNU General Public License v2

English support can be obtained at http://www.phpbb.com/mods/ for released MODs.

MOD History
2007-09-24 - Version0.0.0


Initial test release

2007-09-24 - Version0.0.1


Fixed an error that would occur on some PHP configurations.

Added an option to allow all subdomains to be considered internal.

2007-09-25 - Version0.0.2


Fixed an issue that didn't handle multiple subdomains properly.

2007-09-25 - Version0.0.3


Fixed a bug where numerical HTML entities in the URL were not being decoded.

Fixed a bug where internal links without a protocol were being detected as external links.

2007-09-26 - Version0.0.4


Added support for adding an anonymizer to external links.

Added support for the REL attribute (link relationships, primarily used for "nofollow").

Improved efficiency a bit.

2007-09-28 - Version0.0.5


Append class names to links instead of overwriting them in order to protect classes applied via custom BBCodes.

2007-10-22 - Version0.0.5a


Updated for compatibility with phpBB3.0.RC7.

Fixed: In subsilver, appending class names would cause local links to have the same styling as external links.

2007-12-10 - Version1.0.0 


Changed the description slightly.

Fixed a minor typo in the Do-It-Yourself instructions.

2007-12-12 - Version1.0.1


Fixed a bug that would cause links without an HREF attribute to become messed up.

2008-01-11 - Version1.0.2


Made the domain check (along with any un-removed subdomains) case-insensitive.

Only modify links that use the http or https scheme.

Allow for specific subdomains to be ignored.

Fixed the algorithm so that multiple top-level domains, such as .co.jp and .ca.us, should now be handled correctly.

Put functions inside of a class to prevent potential conflicts with other MODs.

The target attribute can now be enabled by changing the value of a define rather than by un-commenting several lines of code.

2008-01-13 - Version1.0.3


Fixed a PHP 4 incompatibility.

2008-01-18 - Version1.0.4


Fixed the possibility of getting debug notices when an email address exists in a post.

Fixed the possibility of getting debug notices when no links existed in a post.

2008-03-08 - Version1.0.5


Treat http:// and https:// as the same scheme.

2008-04-06 - Version1.0.5a


Renamed the define ANONYMIZE_EXTERNAL_LINKS to EXTERNAL_LINK_PREFIX.

2008-04-11 - Version1.0.6


When a URL cannot be properly parsed, the error message will be silenced and script will continue execution.

2008-06-08 - Version1.0.7


Fixed a mistake with ignoring multiple subdomains.

2008-07-01 - Version1.0.8


Repackaged for MODX 1.2.0.

Added the ability to skip the parsing of image links.

Created supplementary installation instructions for opening user website links in a new window.

2008-07-09 - Version1.0.9


Added the ability to force the classification of image links as either internal or external links.

2008-07-10 - Version1.0.10


Added the ability to force the classification of image links as external links without adding an external link prefix.

Verified compatibility with phpBB 3.0.2

2008-07-23 - Version1.2.0


Added the ability to classify links based on the type of file to which they point.

Added the ability to treat specified domains as if they were local.

Added a sample stylesheet (with a few icons) for convenient styling of links (without the need for refreshing the template in the ACP).

Added optional instructions for applying targets to forums that are set up to be links.

2008-07-25 - Version1.2.1


Added the ability to classify certain domains as forbidden, and have those links replaced with an alternate URL.

2008-08-05 - Version1.2.2


Added the ability to change external (or internal) links into text (changes the A tag to a SPAN tag). These can then be style via the stylesheet to actually hide them, if so desired.

2008-08-29 - Version1.2.3


Added the ability to change links into text for guests.

2008-10-14 - Version1.2.4


Fixed: removing specific domains was not working properly.

Added a define to specify the top level domain name, so that it can be specified directly in cases where the guessing algorithm guess wrong.

2009-01-22 - Version1.2.5


Fixed: links were not classified properly when setting the TOP_LEVEL_DOMAIN_NAME define.

 

--------------------------------------------------------------------------------

File Copy

Copy: root/includes/prime_links.php 
To: includes/prime_links.php Edits
swxUse your keyboard to navigate the code boxes. You may also hit 's' on your keyboard to go to the first code box.

Open: includes/functions_content.php
Find
Tip: This may be a partial find and not the whole line.

Code:Select All
	if ($force_option || !$config['allow_smilies'] || !$user->optionget('viewsmilies'))
Add before
Tip: Add these lines on a new blank line before the preceding line(s) to find.

Code:Select All
//-- mod: Prime Links -------------------------------------------------------//
	if (!function_exists('prime_links'))
	{
		global $phpEx;
		include($phpbb_root_path . 'includes/prime_links.' . $phpEx);
	}
	$text = prime_links($text);
//-- end: Prime Links -------------------------------------------------------//

<< Hide
DIY Instructions
These are manual instructions that cannot be performed automatically. You should follow these instructions carefully.

Code:Select All
If you want to disable the external link target, open "includes/prime_links.php"
and change the value of EXTERNAL_LINK_TARGET to an empty string.

Other settings can be adjusted from within the "includes/prime_links.php" file as well.

--------------------------------------------------------------------------------

Save all files. End of MOD.
You have finished the installation for this MOD. Upload all changed files to your website. If the installation went bad, simply restore your backed up files.

Gebruikersavatar
Paul
Beheerder
Beheerder
Berichten: 20316
Lid geworden op: 23 okt 2003, 11:38
Locatie: Utrecht
Contacteer:

Re: hulp gezocht bij instaleren MOD

Bericht door Paul » 27 jul 2009, 09:54

Zoals de install zegt:
File Copy

Copy: root/includes/prime_links.php
To: includes/prime_links.php Edits

Gebruikersavatar
Frans-TA
Berichten: 29
Lid geworden op: 02 mei 2009, 09:33
Locatie: Nieuwegein
Contacteer:

Re: hulp gezocht bij instaleren MOD

Bericht door Frans-TA » 27 jul 2009, 10:06

Ik moet dus instal.xml openen met IE en als ik het goed heb moet ik maar 1 bestand aanpassen (zie instal.xml onderaan deze post) namelijk function_content.php
Dan ben je er nog niet !
In de map contrib zitten de wijzigingen die je in je style moet doen, Om het werkend te krijgen moet je deze ook doen !

Gebruikersavatar
odil
Berichten: 710
Lid geworden op: 26 jan 2009, 19:23
Locatie: belgië
Contacteer:

Re: hulp gezocht bij instaleren MOD

Bericht door odil » 27 jul 2009, 14:10

Moeilijker dan ik dacht en ik blijf er voortaan met mijn vingers af want ik had niet enkel het forum bijna om zeep geholpen ook mijn button menu is verdwenen :evil:

EDIT

Button menu heb ik kunnen redden en ook de errors zijn weg ;)

Plaats reactie