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 01-01-2012 09:18 PM

You have a custom style so your code will be different, you will have to figure out where things need to be. The code I provided was for the default style.

clutchthese 01-27-2012 06:58 PM

Nevamind. :)

Crimdog 04-10-2012 08:04 PM

nvm fixed :)

wishtheend 04-18-2012 10:06 PM

Anyone have any luck with 4.1.12? The 4.x instructions don't seem to work anymore. The edits in this just seem to mess it up. Tried uninstalling and reinstalling but something is a little screwy.

BirdOPrey5 04-19-2012 09:55 AM

Quote:

Originally Posted by wishtheend (Post 2321392)
Anyone have any luck with 4.1.12? The 4.x instructions don't seem to work anymore. The edits in this just seem to mess it up. Tried uninstalling and reinstalling but something is a little screwy.

Do you mean the edits in post #35 weren't working for you or the original edits in the first post? (The first post is of course for VB 3.x and not intended to work on 4.x.)

wishtheend 04-19-2012 08:32 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2321528)
Do you mean the edits in post #35 weren't working for you or the original edits in the first post? (The first post is of course for VB 3.x and not intended to work on 4.x.)

Yes, installed 7.7 and went to follow the 4.x steps in post 35/36. I'm getting an error that runs across the top, or takes me to sql error page

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: post_thanks_navbar_search in [path]/includes/functions.php on line 4337

I uninstalled it, and then reinstalled but no luck. And when I go to edit the posbit display complete hook, the text the instructions tell to replace is not even listed.

BirdOPrey5 04-19-2012 09:49 PM

You installed or are using the VB 3.x plugin on VB 4.x. You need the VB4 version of the mod, not the VB3 version.

wishtheend 04-19-2012 10:19 PM

Thanks. I just installed 7.8.3 and the steps in #35 seem broken still. I'm not sure why there would a discrepancy, but the first 3 steps seem broken. I follow them exact and it looks like this

Screenshot 1

It looks fine with the edits not performed, just looks like the normal white box underneath the post, but any edit doesn't seem to work. Anyone else tried it 4.1.12?

ForceHSS 04-19-2012 11:45 PM

Quote:

Originally Posted by wishtheend (Post 2321738)
Thanks. I just installed 7.8.3 and the steps in #35 seem broken still. I'm not sure why there would a discrepancy, but the first 3 steps seem broken. I follow them exact and it looks like this

Screenshot 1

It looks fine with the edits not performed, just looks like the normal white box underneath the post, but any edit doesn't seem to work. Anyone else tried it 4.1.12?

this is why it does not work for you
Quote:

Originally Posted by BirdOPrey5 (Post 2321528)
(The first post is of course for VB 3.x and not intended to work on 4.x.)


wishtheend 04-20-2012 02:24 AM

Quote:

Originally Posted by ForceHSS (Post 2321760)
this is why it does not work for you

The only modifications I've made are the ones in post #35 which at least to my understanding the 4.x edits. I'm not making modifications from the first post of this thread.

--------------- Added [DATE]1334967415[/DATE] at [TIME]1334967415[/TIME] ---------------

Could someone post what it should look like after each edit? At least then I can maybe pinpoint where it's broken. For me, and on the default VB skin, the first edit on post #35 causes the regular thanks box to become some div that gets pushed behind the forum.


All times are GMT. The time now is 04:52 PM.

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01301 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
  • (5)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