vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=122944

aLReeMi 06 Aug 2006 11:36

greaaaaaaaaaaaaaaaaat
thanks alot

Abe1 06 Aug 2006 13:01

Quote:

Originally Posted by cavyspirit
Here it is:

<!-- message, attachments, sig -->

</td>
</tr>
</table>

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none;">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td></tr>
</if>
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>
</table>
</div>
<!-- / post $post[postid] popup menu -->
<!-- Start Post Thank You Hack -->
$post_thanks
<!-- End Post Thank You Hack -->
<!-- Start Post Groan Hack -->
$post_groan
<!-- End Post Groan Hack -->

Do you have any other styles?

dragonhart 06 Aug 2006 13:26

This is great!!!! Thank you very much Dragonhart :D

cavyspirit 06 Aug 2006 17:29

Quote:

Originally Posted by Abe1
Do you have any other styles?

Yes, but they are not used. Nor have I edited them to take advantage of any of my add-ons. I guess I should just delete them. But again, they are not used and my styles are not user selectable.

cavyspirit 06 Aug 2006 17:46

Would it help to view source on one of the pages? Here is an example: http://www.guineapigcages.com/forum/...eat-forum.html

Abe1 06 Aug 2006 18:05

Quote:

Originally Posted by cavyspirit
Would it help to view source on one of the pages? Here is an example: http://www.guineapigcages.com/forum/...eat-forum.html

Did you ever edit the post_thanks_postbit template? If you did, you should revert it.

cavyspirit 06 Aug 2006 18:21

Yup. That was the problem. That worked! Whoohoo! Thank you very much.

cavyspirit 06 Aug 2006 19:39

2 Attachment(s)
Okay. Well, I got my thanks back to normal, now the groans are still wigged out. All templates have been reverted. Of course, the groans are still on v1.2.

What can I do to fix this?
Thanks so much.

Abe1 06 Aug 2006 19:43

Quote:

Originally Posted by cavyspirit
Okay. Well, I got my thanks back to normal, now the groans are still wigged out. All templates have been reverted. Of course, the groans are still on v1.2.

What can I do to fix this?
Thanks so much.

I didn't update groan yet. You can maulay remove from the post_groan_postbit template $spacer_open and closed in the beg. and end of the template.

cavyspirit 06 Aug 2006 19:49

PERFECT! Thank you very much!!

cavyspirit 06 Aug 2006 19:56

I would still like to be able to put two additional queries in the members profile:

Posts GROANED by username
Posts THANKED by username

Can you figure out a way to do that? I really need to be able sometimes remove all groans made by a user, especially when that user is put on restricted, moderated or banned status.

Abe1 06 Aug 2006 20:01

Quote:

Originally Posted by cavyspirit
I would still like to be able to put two additional queries in the members profile:

Posts GROANED by username
Posts THANKED by username

Can you figure out a way to do that? I really need to be able sometimes remove all groans made by a user, especially when that user is put on restricted, moderated or banned status.

Should be there already.

Dermo-MIO 06 Aug 2006 20:53

thanks for the update will install it 2morrow

cavyspirit 06 Aug 2006 22:28

Quote:

Originally Posted by Abe1
Should be there already.

Maybe I'm confused.

In the MemberInfo template, this code:

<!-- Start Post Thank You Hack -->
<br />
$vbphrase[post_thanks_total_thanks]: <strong>$userinfo[post_thanks_user_amount]</strong>
<br />
<if condition="$userinfo[post_thanks_thanked_times_on] == 1">
$vbphrase[post_thanks_time_post]
<else />
<if condition="$userinfo[post_thanks_thanked_posts_on] == 1">
<phrase 1="$userinfo[post_thanks_thanked_times]">$vbphrase[post_thanks_times_post]</phrase>
<else />
<phrase 1="$userinfo[post_thanks_thanked_times]" 2="$userinfo[post_thanks_thanked_posts]">$vbphrase[post_thanks_times_posts]</phrase>
</if>
</if>
</td></tr>
<tr><td>
<a href="search.php?$session[sessionurl]do=findthanks&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[post_thanks_search_user]</phrase></a>
<!-- End Post Thank You Hack -->

At the bottom, that one query (search) gets you all posts that were made by the user that were thanked by someone else (same with groans).

I would ALSO like another query that is all posts made by others that this user has thanked (same with groans).

Abe1 06 Aug 2006 23:07

Quote:

Originally Posted by cavyspirit
Maybe I'm confused.

In the MemberInfo template, this code:

<!-- Start Post Thank You Hack -->
<br />
$vbphrase[post_thanks_total_thanks]: <strong>$userinfo[post_thanks_user_amount]</strong>
<br />
<if condition="$userinfo[post_thanks_thanked_times_on] == 1">
$vbphrase[post_thanks_time_post]
<else />
<if condition="$userinfo[post_thanks_thanked_posts_on] == 1">
<phrase 1="$userinfo[post_thanks_thanked_times]">$vbphrase[post_thanks_times_post]</phrase>
<else />
<phrase 1="$userinfo[post_thanks_thanked_times]" 2="$userinfo[post_thanks_thanked_posts]">$vbphrase[post_thanks_times_posts]</phrase>
</if>
</if>
</td></tr>
<tr><td>
<a href="search.php?$session[sessionurl]do=findthanks&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[post_thanks_search_user]</phrase></a>
<!-- End Post Thank You Hack -->

At the bottom, that one query (search) gets you all posts that were made by the user that were thanked by someone else (same with groans).

I would ALSO like another query that is all posts made by others that this user has thanked (same with groans).

I hear what you are saying now. It's on my to-do list. No garranty though.


All times are GMT. The time now is 09:27.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.