Thread Rating:
  • 3 Vote(s) - 3.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.6] User Quickmenu In Postbit
#21
(2010-12-25, 02:04 AM)TheGodFather Wrote: sorry for the inconvenience caused pqphillips. hope its fixed now. Smile
Thanks for using it.

Thank you so much for creating the plugin. I only wish I had the skills to make them myself.
Reply
#22
This user has been denied support. This user has been denied support.
If you know php, you can Smile

Hello niny,

Plugin file has been updated, please redownload, reupload files and install.
MyPlugins:1-2-3-4-5
MyTutorials:AddBots
Reply
#23
(2010-12-25, 07:51 PM)TheGodFather Wrote: If you know php, you can Smile

Hello niny,

Plugin file has been updated, please redownload, reupload files and install.
Thanks I had the same problem, now your plugin is working fine for me too.
But I want to do in Spanish and I need to add the following fields to change according to language.
<?php
/**
 * User Quickmenu In Postbit
 * Copyright © 2010 NeonShares.Info, All Rights Reserved
 * Website: http://www.neonshares.info/
 **/
$l['viewprofile'] = "ViewProfile";
$l['sendpm'] = "SendPM";
$l['viewthreads'] = "ViewThreads";
$l['sendemail'] = "SendEmail";
$l['viewposts'] = "ViewPosts";
$l['removefrombuddy'] = "Remove from buddy";
$l['addtobuddy'] = "Add to buddy";
?>

and espanol
<?php
/**
 * User Quickmenu In Postbit
 * Copyright © 2010 NeonShares.Info, All Rights Reserved
 * Website: http://www.neonshares.info/
 **/
$l['viewprofile'] = "Ver Perfil";
$l['sendpm'] = "Envio MP";
$l['viewthreads'] = "Ver Temas";
$l['sendemail'] = "Enviar Email";
$l['viewposts'] = "Ver enviados";
$l['removefrombuddy'] = "Eliminar amigo";
$l['addtobuddy'] = "Agregar amigo";
?>
removefrombuddy and addtobuddy, but do not translate well.

Godfather thanks.
Reply
#24
This user has been denied support. This user has been denied support.
how do you say "addbuddy" and "removebuddy" in espanol?
MyPlugins:1-2-3-4-5
MyTutorials:AddBots
Reply
#25
(2010-12-27, 01:01 AM)TheGodFather Wrote: how do you say "addbuddy" and "removebuddy" in espanol?

addbuddy =Agregar amigo
removebuddy=Eliminar amigo

My forum is in Spanish and English. Bilingual.
I like your plugin In both languages
Reply
#26
(2010-12-25, 02:04 AM)TheGodFather Wrote: sorry for the inconvenience caused pqphillips. hope its fixed now. Smile
Thanks for using it.

niny, please add this code at the bottom end of postbit templates->postbit & postbit_classic
<script type="text/javascript">
    if(use_xmlhttprequest == "1")
    {
        new PopupMenu("profile_{$post['pid']}");
    }
</script>



Sad

I did that

but nothing happened

{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
	<tbody>
		<tr>
			<td class="tcat">
				<div class="float_right smalltext">
					{$post['postdate']}, {$post['posttime']} <span id="edited_by_{$post['pid']}">{$post['editedmsg']}</span>
				</div>
				{$post['posturl']}
			</td>
		</tr>

		<tr>
			<td class="trow1 {$unapproved_shade}">
				<table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
					<tr>
						<td class="post_avatar" width="1" style="padding-left: 10px;">
							{$post['useravatar']}
						</td>
						<td class="post_author">
							<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}{$post['opimage']}<br />
							<span class="smalltext">
								{$post['usertitle']}<br />
$post[fid6] 
								{$post['userstars']}
								{$post['groupimage']}
							</span>
						</td>
						<td class="smalltext post_author_info" width="165">
							{$post['user_details']}
						</td>
					</tr>
				</table>
			</td>
		</tr>

		<tr>
			<td class="trow2_postbit post_content {$unapproved_shade}">
				<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>

				<div class="post_body" id="pid_{$post['pid']}">
					{$post['message']}
				</div>
				{$post['attachments']}
				{$post['signature']}

				<div class="post_meta" id="post_meta_{$post['pid']}">
				{$post['iplogged']}
				</div>
			</td>
		</tr>

		<tr>
			<td class="trow1 post_buttons {$unapproved_shade}">
				<div class="author_buttons float_right">
					{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
				</div>
				<div class="post_management_buttons float_left">{$post['button_bday']}{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['thanks']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
				</div>
			</td>
		</tr>{$post['thxdsp_inline']}
		<tr style="{$post['imb_display']};" id="imb_{$post['pid']}">
			{$post['itsmybirthday_wishes_data']}
		</tr>
	</tbody>
</table>{$post['thxdsp_outline']}

<script type="text/javascript">
    if(use_xmlhttprequest == "1")
    {
        new PopupMenu("profile_{$post['pid']}");
    }
</script>
Name : Bero Snakull
Website : http://www.metal-j.com
Language : Arabic ( RTL ) - English
Mybb : 1.6
Email : [email protected]

I am glade to be here, mybb is the best Wink
Reply
#27
(2010-12-27, 02:29 PM)Metal-j Wrote:
(2010-12-25, 02:04 AM)TheGodFather Wrote: sorry for the inconvenience caused pqphillips. hope its fixed now. Smile
Thanks for using it.

niny, please add this code at the bottom end of postbit templates->postbit & postbit_classic
<script type="text/javascript">
    if(use_xmlhttprequest == "1")
    {
        new PopupMenu("profile_{$post['pid']}");
    }
</script>



Sad

I did that

but nothing happened

{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
	<tbody>
		<tr>
			<td class="tcat">
				<div class="float_right smalltext">
					{$post['postdate']}, {$post['posttime']} <span id="edited_by_{$post['pid']}">{$post['editedmsg']}</span>
				</div>
				{$post['posturl']}
			</td>
		</tr>

		<tr>
			<td class="trow1 {$unapproved_shade}">
				<table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
					<tr>
						<td class="post_avatar" width="1" style="padding-left: 10px;">
							{$post['useravatar']}
						</td>
						<td class="post_author">
							<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}{$post['opimage']}<br />
							<span class="smalltext">
								{$post['usertitle']}<br />
$post[fid6] 
								{$post['userstars']}
								{$post['groupimage']}
							</span>
						</td>
						<td class="smalltext post_author_info" width="165">
							{$post['user_details']}
						</td>
					</tr>
				</table>
			</td>
		</tr>

		<tr>
			<td class="trow2_postbit post_content {$unapproved_shade}">
				<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>

				<div class="post_body" id="pid_{$post['pid']}">
					{$post['message']}
				</div>
				{$post['attachments']}
				{$post['signature']}

				<div class="post_meta" id="post_meta_{$post['pid']}">
				{$post['iplogged']}
				</div>
			</td>
		</tr>

		<tr>
			<td class="trow1 post_buttons {$unapproved_shade}">
				<div class="author_buttons float_right">
					{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
				</div>
				<div class="post_management_buttons float_left">{$post['button_bday']}{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['thanks']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
				</div>
			</td>
		</tr>{$post['thxdsp_inline']}
		<tr style="{$post['imb_display']};" id="imb_{$post['pid']}">
			{$post['itsmybirthday_wishes_data']}
		</tr>
	</tbody>
</table>{$post['thxdsp_outline']}

<script type="text/javascript">
    if(use_xmlhttprequest == "1")
    {
        new PopupMenu("profile_{$post['pid']}");
    }
</script>

Install the new version has already been corrected by the author.
The previous version did not work in my template, but with the new version if it works well.

Download:
.zip User Quickmenu In Postbit.zip (Size: 154.24 KB / Downloads)
Reply
#28
(2010-12-27, 02:47 PM)ATEAM Wrote:
(2010-12-27, 02:29 PM)Metal-j Wrote:
(2010-12-25, 02:04 AM)TheGodFather Wrote: sorry for the inconvenience caused pqphillips. hope its fixed now. Smile
Thanks for using it.

niny, please add this code at the bottom end of postbit templates->postbit & postbit_classic
<script type="text/javascript">
    if(use_xmlhttprequest == "1")
    {
        new PopupMenu("profile_{$post['pid']}");
    }
</script>



Sad

I did that

but nothing happened

{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
	<tbody>
		<tr>
			<td class="tcat">
				<div class="float_right smalltext">
					{$post['postdate']}, {$post['posttime']} <span id="edited_by_{$post['pid']}">{$post['editedmsg']}</span>
				</div>
				{$post['posturl']}
			</td>
		</tr>

		<tr>
			<td class="trow1 {$unapproved_shade}">
				<table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
					<tr>
						<td class="post_avatar" width="1" style="padding-left: 10px;">
							{$post['useravatar']}
						</td>
						<td class="post_author">
							<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}{$post['opimage']}<br />
							<span class="smalltext">
								{$post['usertitle']}<br />
$post[fid6] 
								{$post['userstars']}
								{$post['groupimage']}
							</span>
						</td>
						<td class="smalltext post_author_info" width="165">
							{$post['user_details']}
						</td>
					</tr>
				</table>
			</td>
		</tr>

		<tr>
			<td class="trow2_postbit post_content {$unapproved_shade}">
				<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>

				<div class="post_body" id="pid_{$post['pid']}">
					{$post['message']}
				</div>
				{$post['attachments']}
				{$post['signature']}

				<div class="post_meta" id="post_meta_{$post['pid']}">
				{$post['iplogged']}
				</div>
			</td>
		</tr>

		<tr>
			<td class="trow1 post_buttons {$unapproved_shade}">
				<div class="author_buttons float_right">
					{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
				</div>
				<div class="post_management_buttons float_left">{$post['button_bday']}{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['thanks']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
				</div>
			</td>
		</tr>{$post['thxdsp_inline']}
		<tr style="{$post['imb_display']};" id="imb_{$post['pid']}">
			{$post['itsmybirthday_wishes_data']}
		</tr>
	</tbody>
</table>{$post['thxdsp_outline']}

<script type="text/javascript">
    if(use_xmlhttprequest == "1")
    {
        new PopupMenu("profile_{$post['pid']}");
    }
</script>

Install the new version has already been corrected by the author.
The previous version did not work in my template, but with the new version if it works well.

Download:
.zip User Quickmenu In Postbit.zip (Size: 154.24 KB / Downloads)



Sorry to tell Sad

but nothing has changed
Name : Bero Snakull
Website : http://www.metal-j.com
Language : Arabic ( RTL ) - English
Mybb : 1.6
Email : [email protected]

I am glade to be here, mybb is the best Wink
Reply
#29
1) Deactivate the plugin, copy the new uqip.php (yesterday updating) overwriting the file.
2) The changes in the posbit are the following:
...
						<td class="post_author">
							<strong><span class="largetext"><a href="{$post['profilelink_plain']}" id="profile_{$post['pid']}">{$post['username_formatted']}</a></span></strong> {$post['onlinestatus']}<br />
<div id="profile_{$post['pid']}_popup" class="popup_menu" style="display: none;">
	<div class="popup_item_container">
	<table style="text-align: left;">
        <tr><td ><a href="{$post['profilelink_plain']}"><img src="{$theme['imgdir']}/uqm/profile.png" alt="" title="" /> {$lang->viewprofile}</a></td>
        <td><a href="private.php?action=send&amp;uid={$post['uid']}"><img src="{$theme['imgdir']}/uqm/pm.png" alt="" title="" /> {$lang->sendpm}</a></td></tr>
        <tr><td><a href="search.php?action=finduserthreads&amp;uid={$post['uid']}"><img src="{$theme['imgdir']}/uqm/thread.png" alt="" title="" /> {$lang->viewthreads}</a></td>
        <td><a href="member.php?action=emailuser&amp;uid={$post['uid']}"><img src="{$theme['imgdir']}/uqm/email.png" alt="" title="" /> {$lang->sendemail}</a></td></tr>
        <tr><td><a href="search.php?action=finduser&amp;uid={$post['uid']}"><img src="{$theme['imgdir']}/uqm/post.png" alt="" title="" /> {$lang->viewposts}</a></td>
        <td>{$post['buddy_post']}</td></tr>
        </table>
	</div>
</div>
<script type="text/javascript">
	if(use_xmlhttprequest == "1")
	{
		new PopupMenu("profile_{$post['pid']}");
	}
</script>
							<span class="smalltext">
								{$post['usertitle']}<br />
								{$post['userstars']}
								{$post['groupimage']}
							</span>				
...

3) postbit_clasic
...
<td class="{$altbg}" width="200" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
		<strong><span class="largetext"><a href="{$post['profilelink_plain']}" id="profile_{$post['pid']}">{$post['username_formatted']}</a></span></strong> {$post['onlinestatus']}<br />
<div id="profile_{$post['pid']}_popup" class="popup_menu" style="display: none;">
	<div class="popup_item_container">
	<table style="text-align: left;">
        <tr><td ><a href="{$post['profilelink_plain']}"><img src="{$theme['imgdir']}/uqm/profile.png" alt="" title="" /> {$lang->viewprofile}</a></td>
        <td><a href="private.php?action=send&amp;uid={$post['uid']}"><img src="{$theme['imgdir']}/uqm/pm.png" alt="" title="" /> {$lang->sendpm}</a></td></tr>
        <tr><td><a href="search.php?action=finduserthreads&amp;uid={$post['uid']}"><img src="{$theme['imgdir']}/uqm/thread.png" alt="" title="" /> {$lang->viewthreads}</a></td>
        <td><a href="member.php?action=emailuser&amp;uid={$post['uid']}"><img src="{$theme['imgdir']}/uqm/email.png" alt="" title="" /> {$lang->sendemail}</a></td></tr>
        <tr><td><a href="search.php?action=finduser&amp;uid={$post['uid']}"><img src="{$theme['imgdir']}/uqm/post.png" alt="" title="" /> {$lang->viewposts}</a></td>
        <td>{$post['buddy_post']}</td></tr>
        </table>
	</div>
</div>
<script type="text/javascript">
	if(use_xmlhttprequest == "1")
	{
		new PopupMenu("profile_{$post['pid']}");
	}
</script>
		<span class="smalltext">
			{$post['usertitle']}<br />
			{$post['userstars']}
			{$post['groupimage']}
			{$post['useravatar']}<br />
			{$post['user_details']}
		</span>
...
Reply
#30
This user has been denied support. This user has been denied support.
hello metal-j,

deactivate the plugin, go to acp->templates&styles->templates->*your template*->post bit templates->
open "postbit" & "postbit_classic" template, find these lines are remove them
<script type="text/javascript">
    if(use_xmlhttprequest == "1")
    {
        new PopupMenu("profile_{$post['pid']}");
    }
</script> 

now, download the fresh file from first post and reuplaod all the files, activate it. Smile
MyPlugins:1-2-3-4-5
MyTutorials:AddBots
Reply


Forum Jump:


Users browsing this thread: 9 Guest(s)