vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   How to turn the "Post Thank You" hack into a "Likes" system similar to vBulletin.org (https://vborg.vbsupport.ru/showthread.php?t=266358)

Pirat3 09-21-2011 09:40 PM

So I installed this, the Thanks template edits work great, however for Post Groan, the groan templates are still default (dont show in bar)

I have them integrated/connected with Post Thanks in settings

Running VB 3.8 any ideas? Do I have to do any other template edits? I saw the <IF> condition I assumed this was already built in.

BirdOPrey5 09-22-2011 09:53 AM

Yo have to do basically the same edits you did for Thanks on the Groan's hack now.

christon26 09-25-2011 11:23 AM

Awesome! Thanx :)

GavoTrav 10-16-2011 07:07 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2217355)
Code:

<div style="background-color: #CAEBDA; border: 2px ridge #7BBA99; border-width: 2px 2px 2px 2px; padding: 2px; width:99%; margin: 0px auto 0px auto; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; margin-top:auto; margin-bottom:0px;">

<table border="0" width="100%">
<tr>
<td width="100">
<strong>Likes: ($post[post_thanks_amount_formatted])</strong><br />
                               
</td><td>
<div style="float:left;">$post[post_thanks_bit]</div> <div style="float:right;"><if condition="$bbuserinfo['usergroupid'] == 6"><a href="post_thanks.php?do=post_thanks_remove_all&amp;p=$post[postid]"<if condition="$vboptions[disable_ajax] != 2"> onclick="return post_thanks_remove_all($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>);"</if> rel="nofollow">Delete All</a></if><if condition="$bbuserinfo['usergroupid'] == 6 AND $post['show_thanks_remove_option']"> | </if><if condition="$post['show_thanks_remove_option']"><a href="post_thanks.php?do=post_thanks_remove_user&amp;p=$post[postid]"<if condition="$vboptions['disable_ajax'] != 2"> onclick="return post_thanks_remove_user($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>);"</if> rel="nofollow">Unlike</a></if></div>
</td></tr></table>
<div>


You missed a Div tag on one of the boxes I Highlighted it!

BirdOPrey5 10-16-2011 10:16 PM

Thanks. I edited it into the first post. :up:

JimxJNM 11-12-2011 04:00 AM

Nice man, will this able to work on vBulletin 4.1.4?

BirdOPrey5 11-12-2011 09:51 AM

Quote:

Originally Posted by JimxJNM (Post 2267161)
Nice man, will this able to work on vBulletin 4.1.4?

In an earlier post someone gave new instructions for 4.x.

JimxJNM 11-14-2011 11:06 AM

i'm using DBTech thanks v2 and i don't think it will work for me =/

BirdOPrey5 12-16-2011 02:13 PM

This is instructions for Abe1's mod. It won't work with any other thanks mod.

JimxJNM 01-01-2012 06:55 AM

Hello BirdOPrey

I don't have this code on postbit_legacy
Code:

                <!-- / edit note -->
                </if>

        </td>
</tr>

I'm on 3.8.7 I got everything fixed.. but i don't have the code.. is it on postbit template?


EDIT: Also look what happens to my show thread..

IMAGE: http://puu.sh/c66Y

:(

Thanks


All times are GMT. The time now is 05:16 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01404 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete