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)

BirdOPrey5 07-06-2011 12:11 PM

If you are in a style (NOT the Master Style) but in any installed style reverting the template will undo all customizations made to that template in that style. You wouldn't see the Master Style unless you were in debug mode.

No reason to delete the php files, those weren't changed.

Also if you uninstall the mod that will erase all the previous "thank yous" you had, I don't see any benefit to uninstalling the mod.

Just re-install the mod with "Allow Overwrite" set to YES.

Then go to your styles and revert the 2 mod templates edited above, you should be back to a stock Thank You install.

And can I have a link to your forum (PM me if you don't want to post it.)

Tasking Mickey 07-06-2011 12:38 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2217381)
If you are in a style (NOT the Master Style) but in any installed style reverting the template will undo all customizations made to that template in that style. You wouldn't see the Master Style unless you were in debug mode.

No reason to delete the php files, those weren't changed.

Also if you uninstall the mod that will erase all the previous "thank yous" you had, I don't see any benefit to uninstalling the mod.

Just re-install the mod with "Allow Overwrite" set to YES.

Then go to your styles and revert the 2 mod templates edited above, you should be back to a stock Thank You install.

And can I have a link to your forum (PM me if you don't want to post it.)

Oh, this is nice, before you replied, I had uninstalled anything, including the files (the agony) reverted those 2 templates, then re-uploaded the files, and imported the product, now nothing is working, great.

What should I do?

BirdOPrey5 07-06-2011 12:48 PM

pm sent.

BCP Hung 07-06-2011 01:56 PM

@BOP5 : It awesome ! I will do it for my board, and that is for vBulletin 4. More change I will do.

Thanks again !
--------------
P.S : I still can not like your first post !

BirdOPrey5 07-06-2011 05:35 PM

The Like Post issue has been logged in the big tracker. It will be fixed eventually.

Note- these instructions are for VB3.x only. VB4.x will need different template edits. I don't have the VB4 like button.

BirdOPrey5 07-06-2011 09:13 PM

OK The problem with Tasking Mickey was that he was using the standard postbit, not legacy. I updated the instructions above for use with either the regular postbit or postbit_legacy.

On the plus side it's another forum I can confirm this works on. :up:

rootsxrocks 07-07-2011 12:46 AM

I don't see a reason to limit the likes thus farI want them to use the heck out of it.

BirdOPrey5 07-07-2011 09:47 AM

Quote:

Originally Posted by rootsxrocks (Post 2217602)
I don't see a reason to limit the likes thus farI want them to use the heck out of it.

Not sure what that has to do with this article? The "Post Thank You" mod can be configured for unlimited thanks/liking.

tobybird 07-07-2011 01:06 PM

First, thank you for sharing. :)

I'll test this on my test board, but thought I'd ask here first in case you might have any insight...

I'm currently running a modified version of Post Thanks similar to this. I've wanted to add a Like button to my site and was thinking of editing Post Thanks again...similar to what you have provided.

Do you think there would be any issue with, let's say... a site running (an unedited) Post Thanks and your Like system simultaneously?

TIA!

NTT 07-07-2011 01:15 PM

@BOP5 : How can you reduce more "Likes" showing in a post like Facebook or here ?


All times are GMT. The time now is 02:32 PM.

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.02299 seconds
  • Memory Usage 1,738KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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