vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Show Thread Enhancements - [AJAX] Post Thank You Hack (https://vborg.vbsupport.ru/showthread.php?t=165673)

vortech1 05-11-2010 07:32 PM

Style Manager/ All style options / Image Paths / Button Images Folder / wrimages/buttons should that be set some where else as well? All my other buttons work. Just not the thank you image but I put it in the images/buttons and wrimages/buttons to be sure.

Simon Lloyd 05-11-2010 08:57 PM

Maybe qualify the location of the php file then in Styles & Tempalates>Style Manager>YOUR STYLE>Post Thank You Templates>post_thanks_button at the top you will see <a href="post_thanks.php......etc maybe qualify it like this <a href="http://www.YOURSITE.COM/FORUM/post_thanks.php....etc


Just a shot in the dark, without beig able to see that all the files have been ftp'd to the correct places, checking your styles....etc i don't think i can help further, sorry :(

KrisP 05-15-2010 05:53 PM

Suggestion. More configurable buttons, fx. "I Agree", "Best post in thread", "Thanks" etc. combined with vbexperience this could be a powerfull very rating/rep system.

I am actually planning on doing an attemt to hack the core functionality of this myself over the next weeks/months.

sbs68 05-16-2010 07:24 PM

Quote:

Originally Posted by R*NightOwl (Post 1988580)
I was able to fix the depreciated errors, open "post_thanks.php",
replace

PHP Code:

error_reporting(E_ALL & ~E_NOTICE); 

with

PHP Code:

error_reporting(E_ALL E_DEPRECATED); 

doesn't really replace or fix the depreciated code, but, at least it works.

It worX - Genius !

By the way R*NightOwl says this is not the real solution. Somebody knows what is that???????

Simon Lloyd 05-17-2010 08:49 AM

Quote:

Originally Posted by sbs68 (Post 2038085)
It worX - Genius !

By the way R*NightOwl says this is not the real solution. Somebody knows what is that???????

To Take care of later PHP incompatibilities or problems it should read:
PHP Code:

error_reporting(E_ALL & ~E_NOTICE & ~8192); 


Dj Smuggla 05-17-2010 10:51 AM

Quote:

Originally Posted by Makc666 (Post 1987605)
Search in templates for:
PHP Code:

$template_hook[postbit_controls

You will find it in two templates:
  • postbit
  • postbit_legacy

Will look like:
PHP Code:

        $template_hook[postbit_controls]
        <!-- / 
controls --> 

Now you have to move:
PHP Code:

$template_hook[postbit_controls

some about ~20 lines up.

And put it right after:
PHP Code:

<!-- controls --> 


So it will look like:
PHP Code:

        <!-- controls -->
        
$template_hook[postbit_controls

P.S. Note that
PHP Code:

<!-- / controls --> 

and
PHP Code:

<!-- controls --> 

are different lines.

Also!

All other products' buttons which also use this hook will move left.

Thanks Makc666 it worked great...

MonkYZ 05-21-2010 06:21 AM

Sorry, i think i posted in the wrong area (4.x version) so i appologise and post it here too:

Abe1, can you please add an option for "No Thanks" or "Thumbs down" ? Something to be the exact opposite of Thanks... because it seems everyone is abusing Thanks on my forum, but bad comments can't be rated. It would be really great to be able to rate down a post.

Thank you in advance and keep up the good work ! This is probably the most used mod on my forum

magic77 05-22-2010 08:25 PM

Many Thanks for this nice hack ...

Any way to force users thank ; before they Download attachments ?

The Executioner 05-24-2010 04:01 PM

Installed and working great!!!

The Executioner 05-24-2010 04:02 PM

Quote:

Originally Posted by magic77 (Post 2041994)
Many Thanks for this nice hack ...

Any way to force users thank ; before they Download attachments ?

I think you can force members to read a thread and then set to a minimum of amount of posts to be made before they can download anything.


All times are GMT. The time now is 08:40 AM.

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.02742 seconds
  • Memory Usage 1,753KB
  • 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
  • (10)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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