Log in

View Full Version : Show Thread Enhancements - [vB4.0.X] Show/Hide list of the thanked


demonfatal
09-10-2010, 10:00 PM
I was waiting an update of this usefull mod called [AJAX] Collapsible List Of Thanked (https://vborg.vbsupport.ru/showthread.php?t=205499) made by mad@Max (https://vborg.vbsupport.ru/member.php?u=209608) but nothing...:erm:

So I decided to do it by myself and I just share with you this usefull little modification. :)



And here you go:
------------------------------------------------------------------------------------------------------------------
Open post_thanks_postbit and replace the full template by the file in attachment.
Done!
------------------------------------------------------------------------------------------------------------------
You can change the minimum amount of thanked here:
<vb:if condition="$post['post_thanks_amount'] > 10">
------------------------------------------------------------------------------------------------------------------
BEFORE
https://vborg.vbsupport.ru/attachment.php?attachmentid=121822&d=1284226126
AFTER
https://vborg.vbsupport.ru/attachment.php?attachmentid=121823&d=1284226126
https://vborg.vbsupport.ru/attachment.php?attachmentid=121824&d=1284226126
------------------------------------------------------------------------------------------------------------------

If you installed this hack please Click "Mark as Installed (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=250325)"



Enjoy! ;)


Changelog:
11.09.2010: German version added
04.11.2010: Portuguese-Brazilian version added

NarutoFTW
09-11-2010, 06:33 PM
What happened to the uploaded file?

demonfatal
09-11-2010, 08:01 PM
File updated for minor changes... :)

robbiefritz
09-14-2010, 05:21 PM
Very nice!

demonfatal
09-15-2010, 09:37 AM
Thank you, you are welcome!

phamvinh
09-19-2010, 05:46 AM
Thank, installed.

lubbie
09-20-2010, 01:26 PM
Nice idea. Tagged

demonfatal
09-20-2010, 03:11 PM
Please click Mark as Installed if you like and use it :p

sebaxtian
10-28-2010, 11:35 PM
Installed
Thanks..

Kraxell
10-29-2010, 04:53 PM
does it work with vS-Hide Hack Resurrection (https://vborg.vbsupport.ru/showthread.php?t=237057&highlight=hide)?

ZEHH
10-30-2010, 02:32 AM
Muito bom...instalado !

demonfatal
10-31-2010, 09:14 AM
does it work with vS-Hide Hack Resurrection (https://vborg.vbsupport.ru/showthread.php?t=237057&highlight=hide)?

Of course it's working with this Hack. :)

Ary Braga
11-02-2010, 09:21 AM
Well. Put this attach onto first post.

To brazilian peoples. :D

sematopdemir
11-02-2010, 11:35 AM
Thank

demonfatal
11-03-2010, 10:46 PM
Well. Put this attach onto first post.

To brazilian peoples. :D

Thank you for the translation! :)

Maischter
07-07-2011, 07:32 PM
dosnt work with my board!
is there a fix for 4.1.4?

got it working!

MyPeSePe
10-06-2011, 08:24 AM
Here you have the translation in Spanish

FReeSTER
10-21-2011, 02:02 AM
not workng for me on 4.1.3 :o

Pvtiste
10-21-2011, 02:16 PM
Excellent job man! Thanks for sharing :)

FReeSTER
10-21-2011, 07:25 PM
is this working for [AJAX] Post Thank You Hack by Abe?

qubed
10-22-2011, 09:42 AM
Let me name my first born after you as I had been asking for this for quite awhile, I even messaged the previous developer trying to get this setup for vb4. You my friend are my hero.

hanhdn
10-24-2011, 05:34 AM
does it work with vS-Hide Hack Resurrection (https://vborg.vbsupport.ru/showthread.php?t=237057&highlight=hide)?

Of course it's working with this Hack. :)

I also use vS-Hide Hack Resurrection and it's not work;)
I can't find post_thanks_postbit

FReeSTER
11-04-2011, 09:58 PM
this is great but the ajax is not working for me

Hippy
11-05-2011, 12:32 AM
I tested it out for FReeSRTER
and I can't belive I missed this ..
great work and thanks..
FReeSTER I pmed you ..

hanhdn
in your style under post thank you templates

Erica1977
11-05-2011, 12:58 AM
hmm this looks interesting to bad it dont work with hide resurection

SoniaTel
06-13-2013, 01:10 AM
anyone work on vb3.8.7?

viliksar1
03-10-2014, 07:37 PM
File updated for minor changes... :)

Replaced all the code in the template - post_thanks_postbit
No buttons hide \ show.
Help make it!

FinalFantasy
04-01-2014, 07:14 AM
Thank you very much sir. Works perfect on 4.2.2 :)

viliksar1
04-03-2014, 05:14 AM
Thank you very much sir. Works perfect on 4.2.2 :)

Do you have a button hidden \ SHOW?

ramesh_umk3
04-04-2014, 07:06 AM
Possible i have tried with button it was looking Odd on page so just replaced the text if you want button follow below procedure

goto post_thanks_postbit template

look for onclick="tog(this)">

you should see the text there just wrap it with button code

<button>+Show/Hide list of thanked</button>

or simply follow below style:
https://vborg.vbsupport.ru/external/2014/04/2.png?1
and
https://vborg.vbsupport.ru/external/2014/04/3.png?1

viliksar1
04-04-2014, 10:12 AM
post_thanks_postbit
In what place this template do not tell me?

ramesh_umk3
04-04-2014, 10:53 AM
in Post Thank you Hack Templates :)

viliksar1
04-04-2014, 12:34 PM
in Post Thank you Hack Templates :)
I can not do popravte code please:
<dl class="togList">
<dt <button>+Show/Hide list of thanked</button>"><center><font style="font-size:12px"><span>+</span> Show/Hide list of the thanked</font></center></dt>
<dd>
<br />

ramesh_umk3
04-04-2014, 01:07 PM
Then provide the complete code of your "post_thanks_postbit" template here :)
and also provide your website url

ramesh_umk3
04-04-2014, 01:46 PM
You gave template which i asked mate ? i dont see any phrase of show or hide :-/

ramesh_umk3
04-04-2014, 03:32 PM
<dt onclick="tog(this)"><center><font style="font-size:12px"><span>+</span> Show/Hide list of the thanked</font></center></dt>

Replace with:

<dt onclick="tog(this)"><center><font style="font-size:12px"><button><span>+</span> Show/Hide list of the thanked</button></font></center></dt>

viliksar1
04-04-2014, 04:55 PM
Replace with:

Strange, but the button does not appear - forum (http://test.pravmission.ru/showthread.php?1-test)

ramesh_umk3
04-05-2014, 06:56 AM
try below

<dt onclick="tog(this)"><center><font style="font-size:12px"><button>Show/Hide list of the thanked</button></font></center></dt>

if that didn't work still you have to frame button in css and link it

viliksar1
04-05-2014, 07:50 AM
try below



if that didn't work still you have to frame button in css and link it

Do not tell me in what template?
And place the code?

ramesh_umk3
04-05-2014, 08:20 AM
Okay i will help you PM me login details :)

ramesh_umk3
04-05-2014, 06:45 PM
now it should be working fine

viliksar1
04-06-2014, 03:12 AM
now it should be working fine

Thank you very much for your help!
Can you tell me how you did it in detail. This is a test site, but I want myself to make this button on my work site?

ramesh_umk3
04-06-2014, 05:16 PM
Yes sure just simply

<vb:if condition="$post['post_thanks_amount'] > 10">

Replace with

<vb:if condition="$post['post_thanks_amount'] > 0">

Button code which i gave was working fine i just did above changes to show our code :)

viliksar1
04-07-2014, 11:40 AM
The button works well. But there is one problem, when you press the button opens a page with this -

https://vborg.vbsupport.ru/external/2014/04/40.png

ramesh_umk3
04-07-2014, 11:59 AM
It should be due to usergroup permissions once check them . Better you move to live site now your forum looks all okay to me

viliksar1
04-09-2014, 12:29 PM
It should be due to usergroup permissions once check them . Better you move to live site now your forum looks all okay to me

Do not quite understand what is at stake?