MyBB Community Forums

Full Version: User Quickmenu In Postbit
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
(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.
If you know php, you can Smile

Hello niny,

Plugin file has been updated, please redownload, reupload files and install.
(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.
how do you say "addbuddy" and "removebuddy" in espanol?
(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
(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>
(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)
(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
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>
...
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
Pages: 1 2 3 4 5