Ajax Chatbox

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
Rockographic
Berichten: 214
Lid geworden op: 13 feb 2007, 21:01
Locatie: Lommel
Contacteer:

Ajax Chatbox

Bericht door Rockographic » 10 jul 2007, 10:25

  • Modificatie & Versie: AJAX
    Directe link naar de modificatie: http://startrekguide.com/forum/f27t1250-ajax_chat.html
    Adres van je forum: privé
    phpBB versie: phpBB3.0 RC2
    Heb je onlangs een andere modificatie of stijl geïnstalleerd? Nee
    Wat is het probleem? Als ik mijn chatbox wil installeren (de databases) zegt hij dat ik een mode moet selecteren maar ik weet niet waar ik dat moet doen .. zou iemand mij kunnen helpen?
Dit is het installatie bestand
Spoiler: bekijk

Code: Selecteer alles

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="modx.subsilver.en.xsl"?>
<!--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.0.xsd">
	<header>
		<license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license>
		<title lang="en-GB">AJAX Chat</title>
		<description lang="en-GB"><![CDATA[This Mod Adds AJAX Chat/Shoutbox to your forum.
Users can chat without ever needing to reload the page.]]></description>
		<author-notes lang="en-GB"><![CDATA[Copyright 2006-2007 © Handyman, StarTrekGuide Group.
You can find support for this and other mods at http://startrekguide.com/forum]]></author-notes>
		<author-group>
			<author>
				<username>Handyman</username>
				<realname>Francis Lewis</realname>
				<email>Handyman@startrekaccess.com</email>
				<homepage></homepage>
			</author>
		</author-group>
		<mod-version>
			<major>2</major>
			<minor>0</minor>
			<revision>0</revision>
			<release>B7</release>
		</mod-version>
		<installation>
			<level>easy</level>
			<time>180</time>
			<target-version>
				<target-primary>3.0</target-primary>
				<target-major allow="exact">3</target-major>
				<target-minor allow="exact">0</target-minor>
			</target-version>
		</installation>
		<history>
			<entry>
				<date>2007-5-06</date>
				<rev-version>
					<major>2</major>
					<minor>0</minor>
					<revision>0</revision>
					<release>B7</release>
				</rev-version>
				<changelog lang="en-GB">
					<change><![CDATA[Recoded to use templates
]]></change>
					<change><![CDATA[ Added who's online
]]></change>
					<change><![CDATA[ created prosilver and subsilver2 templates
]]></change>
					<change><![CDATA[ Added delays for users who aren't actively chatting]]></change>
				</changelog>
			</entry>
			<entry>
				<date>2007-3-13</date>
				<rev-version>
					<major>2</major>
					<minor>0</minor>
					<revision>0</revision>
					<release>B6</release>
				</rev-version>
				<changelog lang="en-GB">
					<change><![CDATA[Made it somewhat less dependent on javascript for inputs]]></change>
				</changelog>
			</entry>
			<entry>
				<date>2007-3-12</date>
				<rev-version>
					<major>2</major>
					<minor>0</minor>
					<revision>0</revision>
					<release>B5</release>
				</rev-version>
				<changelog lang="en-GB">
					<change><![CDATA[Fixed autologin bug]]></change>
				</changelog>
			</entry>
			<entry>
				<date>2007-2-07</date>
				<rev-version>
					<major>2</major>
					<minor>0</minor>
					<revision>0</revision>
					<release>B4</release>
				</rev-version>
				<changelog lang="en-GB">
					<change><![CDATA[Increased speed an performance
]]></change>
					<change><![CDATA[ Added Fat effect]]></change>
				</changelog>
			</entry>
			<entry>
				<date>2007-1-27</date>
				<rev-version>
					<major>2</major>
					<minor>0</minor>
					<revision>0</revision>
					<release>B3</release>
				</rev-version>
				<changelog lang="en-GB">
					<change><![CDATA[More stable
]]></change>
					<change><![CDATA[ Fixed javascript errors
]]></change>
					<change><![CDATA[ works with all ajax capable browsers]]></change>
				</changelog>
			</entry>
			<entry>
				<date>2006-8-23</date>
				<rev-version>
					<major>1</major>
					<minor>0</minor>
					<revision>0</revision>
					<release></release>
				</rev-version>
				<changelog lang="en-GB">
					<change><![CDATA[Original release]]></change>
				</changelog>
			</entry>
		</history>
	</header>
	<action-group>
		<copy>
			<file from="root/chat.php" to="chat.php" />
			<file from="root/shout.php" to="shout.php" />
			<file from="root/language/en/chat.php" to="language/en/chat.php" />
			<file from="root/styles/prosilver/imageset/*" to="styles/prosilver/imageset/*" />
			<file from="root/styles/prosilver/template/chat_body.html" to="styles/prosilver/template/chat_body.html" />
			<file from="root/chat_install.php" to="chat_install.php" />
		</copy>
		<diy-instructions lang="en-GB"><![CDATA[browse to chat_install.php?mode=install to install the chat database.
Remove the chat_install.php when you are finished]]></diy-instructions>
		<open src="language/en/common.php">
			<edit>
				<find><![CDATA['CHANGING_PROFILE'		=> 'Changing forum profile settings',]]></find>
				<action type="after-add"><![CDATA[//-- mod : AJAX Chat ----------------------------------------------------
//-- add
'CHAT'					=> 'Chat',
'CHAT_EXPLAIN'			=> 'Chat Center',
//-- fin mod : AJAX Chat ------------------------------------------------]]></action>
				<find><![CDATA['VIEWED'                    => 'Viewed',]]></find>
				<action type="after-add"><![CDATA[//-- mod : AJAX Chat ----------------------------------------------------
//-- add
'VIEWING_CHAT'            => 'Viewing Shoutbox',
//-- fin mod : AJAX Chat ------------------------------------------------]]></action>
			</edit>
		</open>
		<open src="viewonline.php">
			<edit>
				<find><![CDATA[case 'index':
            $location = $user->lang['INDEX'];
            $location_url = append_sid("{$phpbb_root_path}index.$phpEx");
        break;]]></find>
				<action type="after-add"><![CDATA[//-- mod : AJAX Chat ----------------------------------------------------
//-- add
case 'chat':
            $location = $user->lang['VIEWING_CHAT'];
            $location_url = append_sid("{$phpbb_root_path}chat.$phpEx");
        break;
//-- fin mod : AJAX Chat ------------------------------------------------]]></action>
			</edit>
		</open>
		<open src="includes/functions.php">
			<edit>
				<find><![CDATA['U_RESTORE_PERMISSIONS'    => ($user->data['user_perm_from'] && $auth->acl_get('a_switchperm')) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=restore_perm') : '',]]></find>
				<action type="after-add"><![CDATA[//-- mod : AJAX Chat ----------------------------------------------------
//-- add
'U_CHAT'                    => append_sid("{$phpbb_root_path}chat.$phpEx"),
//-- fin mod : AJAX Chat ------------------------------------------------]]></action>
			</edit>
		</open>
		<open src="styles/prosilver/template/overall_header.html">
			<edit>
				<comment>this is a partial find, the actual line is much longer.</comment>
				<find><![CDATA[<a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}" class="icon-faq">{L_FAQ}</a>]]></find>
				<inline-edit>
					<inline-find><![CDATA[<a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}" class="icon-faq">{L_FAQ}</a>]]></inline-find>
					<inline-action type="before-add"><![CDATA[<a href="{U_CHAT}" title="{L_CHAT_EXPLAIN}" class="icon_members">{L_CHAT}</a>&nbsp;]]></inline-action>
				</inline-edit>
			</edit>
		</open>
		<open src="styles/prosilver/template/index_body.html">
			<edit>
				<find><![CDATA[<!-- IF S_DISPLAY_ONLINE_LIST -->]]></find>
				<action type="before-add"><![CDATA[<!-- INCLUDE chat_body.html -->]]></action>
			</edit>
		</open>
		<open src="index.php">
			<edit>
				<find><![CDATA[$user->setup('viewforum');]]></find>
				<action type="after-add"><![CDATA[//-- mod : AJAX Chat ----------------------------------------------------
//-- add
include($phpbb_root_path . 'shout.' . $phpEx);
//-- fin mod : AJAX Chat ------------------------------------------------]]></action>
			</edit>
		</open>
	</action-group>
</mod>
Alvast bedankt
Windows Vista | 2,3Ghz Quadcore | 4GB ram
Adobe Creative Suite 3 Master Collection user.
msn status: Afbeelding
Rockographic Design
Rockographic Design myspace

nickdhnick
Berichten: 632
Lid geworden op: 10 apr 2006, 16:38
Locatie: Apeldoorn
Contacteer:

Re: Ajax Chatbox

Bericht door nickdhnick » 10 jul 2007, 10:33

als ik jou was zou k eerst upgraden naar RC3

Maar uit welke modes kan je kiezen dan?

Gebruikersavatar
Rockographic
Berichten: 214
Lid geworden op: 13 feb 2007, 21:01
Locatie: Lommel
Contacteer:

Re: Ajax Chatbox

Bericht door Rockographic » 10 jul 2007, 10:58

Ik heb het opgelost, toch bedankt.
Windows Vista | 2,3Ghz Quadcore | 4GB ram
Adobe Creative Suite 3 Master Collection user.
msn status: Afbeelding
Rockographic Design
Rockographic Design myspace

Plaats reactie