Jump to content

Recommended Posts

Posted

Salut , deabia acum am observat o problema la chat.. sper sa ai dati voi de capat .

bll7Te0.png

 

 *Nu apare functiile de moderator la shoutbox , adica alea din dreapta de la fiecare shout ( delete post , delete all posts ) .. aveti idee ? am umblat prin toata tema !

 

 

Posted

Dai edit la tema, du-te in skin_shoutbox_hooks -> hookGlobalShoutbox

 

Inlocuieste codul tau cu asta:

<!--- ShoutBoxJsLoader --->
<script type='text/javascript'>
/* Setup some value */
ipb.shoutbox.shoutboxGLOBAL = true;
</script>
<if test="in_array( $this->settings['shoutbox_global_hook'], array( 'b' ) )"><br class="clear"/></if>
<div class='category_block block_wrap' id='category_shoutbox'>
	<h3 class='maintitle'>
		<a class='toggle right' href='#' title='{$this->lang->words['toggle_shoutbox']}'>{$this->lang->words['toggle_shoutbox']}</a>
		<a href="{parse url="app=shoutbox" seotitle="false" base="public"}" title='{$this->lang->words['view_main_shoutbox']}'>{$this->settings['shoutbox_title']}</a>
		<if test="showPopupLink:|:$this->settings['shoutbox_popup']"><a href="#" id="shoutbox-popup-button" title="{$this->lang->words['open_popup']}"><img src="{$this->settings['img_url']}/shoutbox/popup.png" alt="{$this->lang->words['open_popup']}" /></a></if>
	</h3>
	<div class='ipsBox table_wrap'><div class='ipsBox_container'>
		<table class='ipb_table shoutbox_table'>
			{$d['announcement']}
			<if test="$this->settings['shoutbox_global_theme'] == 2">
				<tr class='row1'>
					<td valign='top' class='altrow' colspan='2'>
						<div id='shoutbox-shouts' style='height:{$d['shout_height']}px;overflow:auto'>
							{$d['noshouts']}
							{parse template="inactivePrompt" group="skin_shoutbox" params=""}
							<table id='shoutbox-shouts-table'>
								<tbody>
									{$d['shouts']}
								</tbody>
							</table>
						</div>
						<div id='shouts-global-resizer'></div>
						{parse template="popupInlineError" group="skin_shoutbox" params="glb"}
					</td>
				</tr>
				<if test="$this->memberData['g_shoutbox_use']">
					<tr class='row1'>
						<td class='altrow' valign='top' colspan='2'>
							<input type='text' id='shoutbox-global-shout' size='70' class='input_text' />
							<input type='button' id='shoutbox-submit-button' value='{$this->lang->words['shout']}' class='input_submit' />
							<input type='button' id='shoutbox-clear-button' value='{$this->lang->words['clear']}' class='input_submit alt' />
							<input type='button' id='shoutbox-refresh-button' value='{$this->lang->words['refresh']}' class='input_submit alt' />
							<if test="$this->settings['shoutbox_allow_smilies']"> <input type='button' id='shoutbox-smilies-button' value='{$this->lang->words['smilies']}' class='input_submit alt' data-clicklaunch="populateSmilies" data-scope="shoutbox" /></if>
							<if test="$this->settings['shoutbox_allow_bbcode']"> <input type='button' id='shoutbox-bbcode-button' value='{$this->lang->words['bbcode']}' class='input_submit alt' /></if>
							<input type='button' id='shoutbox-myprefs-button' value='{$this->lang->words['my_prefs']}' class='input_submit alt' />
						</td>
					</tr>
				</if>
			<else />
				<tr class='row1'>
					<td class='altrow' valign='top'<if test="$this->memberData['g_shoutbox_use']"> style='width:75%'<else /> colspan='2'</if>>
						<div id='shoutbox-shouts' style='height:{$d['shout_height']}px;overflow:auto'>
							{$d['noshouts']}
							{parse template="inactivePrompt" group="skin_shoutbox" params=""}
							<table id='shoutbox-shouts-table'>
								<tbody>
									{$d['shouts']}
								</tbody>
							</table>
						</div>
						<div id='shouts-global-resizer'></div>
						{parse template="popupInlineError" group="skin_shoutbox" params="glb"}
					</td>
					<if test="$this->memberData['g_shoutbox_use']">
						<td class='short row2 altrow' style='width:25%;min-width:250px;' valign='top'>
							<textarea id='shoutbox-global-shout' style='width:92%;overflow:auto;' rows='3' cols='50' class='input_text'></textarea>
							<br /><br />
							<input type='button' id='shoutbox-submit-button' value='{$this->lang->words['shout']}' class='input_submit' />
							<input type='button' id='shoutbox-clear-button' value='{$this->lang->words['clear']}' class='input_submit alt' />
							<input type='button' id='shoutbox-refresh-button' value='{$this->lang->words['refresh']}' class='input_submit alt' />
							<br /><br />
							<if test="$this->settings['shoutbox_allow_smilies']"> <input type='button' id='shoutbox-smilies-button' value='{$this->lang->words['smilies']}' class='input_submit alt' data-clicklaunch="populateSmilies" data-scope="shoutbox" /></if>
							<if test="$this->settings['shoutbox_allow_bbcode']"> <input type='button' id='shoutbox-bbcode-button' value='{$this->lang->words['bbcode']}' class='input_submit alt' /></if>
							<input type='button' id='shoutbox-myprefs-button' value='{$this->lang->words['my_prefs']}' class='input_submit alt' />
						</td>
					</if>
				</tr>
			</if>
		</table>
	</div></div>
</div>
<if test="in_array( $this->settings['shoutbox_global_hook'], array( 't', 'ct' ) )"><br class="clear"/></if>
<script type='text/javascript'>
//<![CDATA[
{$d['js']}
//]]>
</script>

Vezi daca-ti apar dupa.

Posted

Dai edit la tema, du-te in skin_shoutbox_hooks -> hookGlobalShoutbox

 

Inlocuieste codul tau cu asta:

<!--- ShoutBoxJsLoader --->
<script type='text/javascript'>
/* Setup some value */
ipb.shoutbox.shoutboxGLOBAL = true;
</script>
<if test="in_array( $this->settings['shoutbox_global_hook'], array( 'b' ) )"><br class="clear"/></if>
<div class='category_block block_wrap' id='category_shoutbox'>
	<h3 class='maintitle'>
		<a class='toggle right' href='#' title='{$this->lang->words['toggle_shoutbox']}'>{$this->lang->words['toggle_shoutbox']}</a>
		<a href="{parse url="app=shoutbox" seotitle="false" base="public"}" title='{$this->lang->words['view_main_shoutbox']}'>{$this->settings['shoutbox_title']}</a>
		<if test="showPopupLink:|:$this->settings['shoutbox_popup']"><a href="#" id="shoutbox-popup-button" title="{$this->lang->words['open_popup']}"><img src="{$this->settings['img_url']}/shoutbox/popup.png" alt="{$this->lang->words['open_popup']}" /></a></if>
	</h3>
	<div class='ipsBox table_wrap'><div class='ipsBox_container'>
		<table class='ipb_table shoutbox_table'>
			{$d['announcement']}
			<if test="$this->settings['shoutbox_global_theme'] == 2">
				<tr class='row1'>
					<td valign='top' class='altrow' colspan='2'>
						<div id='shoutbox-shouts' style='height:{$d['shout_height']}px;overflow:auto'>
							{$d['noshouts']}
							{parse template="inactivePrompt" group="skin_shoutbox" params=""}
							<table id='shoutbox-shouts-table'>
								<tbody>
									{$d['shouts']}
								</tbody>
							</table>
						</div>
						<div id='shouts-global-resizer'></div>
						{parse template="popupInlineError" group="skin_shoutbox" params="glb"}
					</td>
				</tr>
				<if test="$this->memberData['g_shoutbox_use']">
					<tr class='row1'>
						<td class='altrow' valign='top' colspan='2'>
							<input type='text' id='shoutbox-global-shout' size='70' class='input_text' />
							<input type='button' id='shoutbox-submit-button' value='{$this->lang->words['shout']}' class='input_submit' />
							<input type='button' id='shoutbox-clear-button' value='{$this->lang->words['clear']}' class='input_submit alt' />
							<input type='button' id='shoutbox-refresh-button' value='{$this->lang->words['refresh']}' class='input_submit alt' />
							<if test="$this->settings['shoutbox_allow_smilies']"> <input type='button' id='shoutbox-smilies-button' value='{$this->lang->words['smilies']}' class='input_submit alt' data-clicklaunch="populateSmilies" data-scope="shoutbox" /></if>
							<if test="$this->settings['shoutbox_allow_bbcode']"> <input type='button' id='shoutbox-bbcode-button' value='{$this->lang->words['bbcode']}' class='input_submit alt' /></if>
							<input type='button' id='shoutbox-myprefs-button' value='{$this->lang->words['my_prefs']}' class='input_submit alt' />
						</td>
					</tr>
				</if>
			<else />
				<tr class='row1'>
					<td class='altrow' valign='top'<if test="$this->memberData['g_shoutbox_use']"> style='width:75%'<else /> colspan='2'</if>>
						<div id='shoutbox-shouts' style='height:{$d['shout_height']}px;overflow:auto'>
							{$d['noshouts']}
							{parse template="inactivePrompt" group="skin_shoutbox" params=""}
							<table id='shoutbox-shouts-table'>
								<tbody>
									{$d['shouts']}
								</tbody>
							</table>
						</div>
						<div id='shouts-global-resizer'></div>
						{parse template="popupInlineError" group="skin_shoutbox" params="glb"}
					</td>
					<if test="$this->memberData['g_shoutbox_use']">
						<td class='short row2 altrow' style='width:25%;min-width:250px;' valign='top'>
							<textarea id='shoutbox-global-shout' style='width:92%;overflow:auto;' rows='3' cols='50' class='input_text'></textarea>
							<br /><br />
							<input type='button' id='shoutbox-submit-button' value='{$this->lang->words['shout']}' class='input_submit' />
							<input type='button' id='shoutbox-clear-button' value='{$this->lang->words['clear']}' class='input_submit alt' />
							<input type='button' id='shoutbox-refresh-button' value='{$this->lang->words['refresh']}' class='input_submit alt' />
							<br /><br />
							<if test="$this->settings['shoutbox_allow_smilies']"> <input type='button' id='shoutbox-smilies-button' value='{$this->lang->words['smilies']}' class='input_submit alt' data-clicklaunch="populateSmilies" data-scope="shoutbox" /></if>
							<if test="$this->settings['shoutbox_allow_bbcode']"> <input type='button' id='shoutbox-bbcode-button' value='{$this->lang->words['bbcode']}' class='input_submit alt' /></if>
							<input type='button' id='shoutbox-myprefs-button' value='{$this->lang->words['my_prefs']}' class='input_submit alt' />
						</td>
					</if>
				</tr>
			</if>
		</table>
	</div></div>
</div>
<if test="in_array( $this->settings['shoutbox_global_hook'], array( 't', 'ct' ) )"><br class="clear"/></if>
<script type='text/javascript'>
//<![CDATA[
{$d['js']}
//]]>
</script>

Vezi daca-ti apar dupa.

 

 Multumesc , am rezolvat cu butoanele , dar acum cu functiile alea de delete posts ..

Posted

Incearca la tema -> skin_shoutbox -> mod_opts_content

Inlocuieste ce ai tu cu asta:

<if test="substr( $action, 0, 4 ) != 'edit'">
	<if test="$action == 'delete'">
		{$this->lang->words['mod_opt_confirm_delete']}
	</if>
	<if test="$action == 'delete-all'">
		{$this->lang->words['mod_opt_confirm_delete_all']}<br /><br />
		<em>{$this->lang->words['mod_shouts_to_delete']}:&nbsp;&nbsp;&nbsp;{$data['total']}</em>
	</if>
	<if test="$action == 'ban'">
		{$this->lang->words['mod_opt_confirm_ban']}
	</if>
	<if test="$action == 'unban'">
		{$this->lang->words['mod_opt_confirm_unban']}
	</if>
	<if test="$action == 'delmod'">
		{$this->lang->words['mod_opt_confirm_delmod']}
	</if>
	<br /><br />
	<div class="short">
		<input type="button" id="confirm_option_yes" value="{$this->lang->words['yes']}" class="input_submit" />&nbsp;&nbsp;&nbsp;
		<input type="button" id="confirm_option_no" value="{$this->lang->words['no']}" class="ipsButton_secondary" />
	</div>
<else />
	<if test="$action == 'editHistory'">
		{$this->lang->words['mod_edit_history_text']}
		<br /><br />
		<table class="ipb_table">
			<tr class="header">
				<th style="width: 75%;">{$this->lang->words['member_name']}</th>
				<th class="short" style="width: 25%;">{$this->lang->words['date']}</th>
			</tr>
			<foreach loop="$data as $edit">
				<tr class="{$edit['class']}">
					<td valign="top">
						<a href="{parse url="showuser={$edit['member_id']}" base="public"}">{$edit['_name']}</a><br />
						<span class="desc">{$this->lang->words['ip']}: <em>{$edit['ip']}</em></span>
					</td>
					<td class="short" valign="middle">{$edit['_date']}</td>
				</tr>
			</foreach>
		</table>
		<br />
	<else />
		<if test="$this->registry->getClass('shoutboxLibrary')->global_on">
			<h3>{$this->lang->words['mod_opt_edit']}</h3>
			{parse template="popupInlineError" group="skin_shoutbox" params="editShout"}
		</if>
		<div class="ipsPad">
			{parse editor="shout_msg" content="$data[text]" options="array( 'height' => 100 )"}
			<div class="short ipsPad">
				<input type="button" id="mod_edit_shout_confirm" value="{$this->lang->words['mod_edit_shout']}" class="input_submit" />
				<input type="button" id="mod_edit_shout_clear" value="{$this->lang->words['clear']}" class="ipsButton_secondary" />
				<input type="button" id="mod_edit_shout_cancel" value="{$this->lang->words['cancel']}" class="ipsButton_secondary" />
			</div>
		</div>
	</if>
</if> 

Posted

Incearca la tema -> skin_shoutbox -> mod_opts_content

Inlocuieste ce ai tu cu asta:

<if test="substr( $action, 0, 4 ) != 'edit'">
	<if test="$action == 'delete'">
		{$this->lang->words['mod_opt_confirm_delete']}
	</if>
	<if test="$action == 'delete-all'">
		{$this->lang->words['mod_opt_confirm_delete_all']}<br /><br />
		<em>{$this->lang->words['mod_shouts_to_delete']}:&nbsp;&nbsp;&nbsp;{$data['total']}</em>
	</if>
	<if test="$action == 'ban'">
		{$this->lang->words['mod_opt_confirm_ban']}
	</if>
	<if test="$action == 'unban'">
		{$this->lang->words['mod_opt_confirm_unban']}
	</if>
	<if test="$action == 'delmod'">
		{$this->lang->words['mod_opt_confirm_delmod']}
	</if>
	<br /><br />
	<div class="short">
		<input type="button" id="confirm_option_yes" value="{$this->lang->words['yes']}" class="input_submit" />&nbsp;&nbsp;&nbsp;
		<input type="button" id="confirm_option_no" value="{$this->lang->words['no']}" class="ipsButton_secondary" />
	</div>
<else />
	<if test="$action == 'editHistory'">
		{$this->lang->words['mod_edit_history_text']}
		<br /><br />
		<table class="ipb_table">
			<tr class="header">
				<th style="width: 75%;">{$this->lang->words['member_name']}</th>
				<th class="short" style="width: 25%;">{$this->lang->words['date']}</th>
			</tr>
			<foreach loop="$data as $edit">
				<tr class="{$edit['class']}">
					<td valign="top">
						<a href="{parse url="showuser={$edit['member_id']}" base="public"}">{$edit['_name']}</a><br />
						<span class="desc">{$this->lang->words['ip']}: <em>{$edit['ip']}</em></span>
					</td>
					<td class="short" valign="middle">{$edit['_date']}</td>
				</tr>
			</foreach>
		</table>
		<br />
	<else />
		<if test="$this->registry->getClass('shoutboxLibrary')->global_on">
			<h3>{$this->lang->words['mod_opt_edit']}</h3>
			{parse template="popupInlineError" group="skin_shoutbox" params="editShout"}
		</if>
		<div class="ipsPad">
			{parse editor="shout_msg" content="$data[text]" options="array( 'height' => 100 )"}
			<div class="short ipsPad">
				<input type="button" id="mod_edit_shout_confirm" value="{$this->lang->words['mod_edit_shout']}" class="input_submit" />
				<input type="button" id="mod_edit_shout_clear" value="{$this->lang->words['clear']}" class="ipsButton_secondary" />
				<input type="button" id="mod_edit_shout_cancel" value="{$this->lang->words['cancel']}" class="ipsButton_secondary" />
			</div>
		</div>
	</if>
</if> 

 

 Nu a mers .. alta rezolvare?

Posted

Nu sunt adăugați moderatorii la Shoutbox de asta nu apar. Mergi la Other AppShoutbox și vezi pe acolo scrie undeva sa adaugi moderatori individual sau grup

Nu, nu e aia. I-am spus si eu asta in primul meu post si a zis ca s-a uitat acolo... Altceva trebuie sa fie...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.