vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   New Posting Features - [DBTech] Advanced Post Thanks / Like v3 (vB4) [AJAX] (https://vborg.vbsupport.ru/showthread.php?t=243510)

Bladinium 05-09-2013 08:31 AM

Hi db!

I have big problem for 4.2

https://vborg.vbsupport.ru/

https://vborg.vbsupport.ru/

But the path is good!

/www/dbtech/thanks/includes

https://vborg.vbsupport.ru/

I do not understand! I read all the other post before ...

cindy helmond 05-09-2013 08:54 AM

Hi There i use an theme ideal a vbulletin 4 suite theme4 1 but i have now this lite version , but dont see the images , all settings are ok , any idea ?

Many Thanks

Bladinium 05-09-2013 10:47 AM

Quote:

Originally Posted by Bladinium (Post 2420827)
Hi db!

I have big problem for 4.2

http://puu.sh/2PP7d.png

http://puu.sh/2PP8x.png

But the path is good!

/www/dbtech/thanks/includes

http://puu.sh/2PPaE.png

I do not understand! I read all the other post before ...

Ok it's solved!! probl?me CHMOD to Dbtech folders! 0745 as resoved!

DragonByte Tech 05-16-2013 10:25 AM

Quote:

Originally Posted by cindy helmond (Post 2420830)
Hi There i use an theme ideal a vbulletin 4 suite theme4 1 but i have now this lite version , but dont see the images , all settings are ok , any idea ?

Many Thanks

Sorry, I don't understand what you're asking :(

Can you re-phrase, please?


Fillip

Mercenary 05-17-2013 08:33 AM

Hi DragonByte Tech,

I was wondering if you could tell me how I might be able to trigger the action of the thank you button from another plug-in? In other words I would like to have the thank you get added when a user clicks "yes" using the Helpful Answers plug-in.

The code that that is inside that plug-ins template is:

Code:

<a href="./helpfulanswers.php?do=rate&postid=$post[postid]&rank=1" <if condition="$vboptions[disable_ajax] != 2"> onclick="return helpfulanswers_rate($post[postid], 1);" </if> rel="nofollow">$helpfulanswer_yes</a> /
<a href="./helpfulanswers.php?do=rate&postid=$post[postid]&rank=0" <if condition="$vboptions[disable_ajax] != 2"> onclick="return helpfulanswers_rate($post[postid], 0);" </if> rel="nofollow">$helpfulanswer_no</a>



and obviously the DragonByte Thank You code is:

Code:

<a href="javascript://" name="dbtech_thanks_button" data-postid="{$post[postid]}" data-button="{$button[varname]}"><img src="dbtech/thanks/images/{$button[varname]}.gif" alt="{$button[title]}" border="0" /> {$phrase}</a>


~ any help would be appeciated! :)

DragonByte Tech 05-17-2013 08:44 AM

You can look at the way the code in the /dbtech/thanks/contenttypes files work - if you call the /dbtech/thanks/contenttypes/post/save.php file manually in the helpfulanswers.php file and set the required $_POST variables you should be able to get it working :)


Fillip

Mercenary 05-17-2013 11:56 AM

Hi Fillip,

Thanks for the quick reply - I actually have no idea how to do that, and was hoping it was not too complicated. I'm not sure what you mean by 'call the /dbtech/thanks/contenttypes/post/save.php' manually and set the required $_POST variables. If there's any code examples that you might know of floating around that might help in this circumstance that would great; I appreciate the tips.

If it would be easier to call the other plug-in from the Thank You plug-in I could do that too, although I imagine it would be the same process more or less to implement?

jinglefreak1972 05-21-2013 04:29 AM

I get this error now several times. I uninstalled and installed it again but no luck.
Anyone can help me?



Database error in vBulletin 4.2.1:

Invalid SQL:

SELECT post_thanks.postid AS postid, post.threadid as threadid
FROM post_thanks AS post_thanks
LEFT JOIN post AS post USING (postid)
INNER JOIN thread AS thread ON(thread.threadid = post.threadid)
WHERE post_thanks.userid = 188
AND thread.forumid IN(3,4,5,6,19,20,24,21,7,8,9,10,22,17,18,11,12,15, 16,13,14)
ORDER BY post.dateline DESC
LIMIT 1000;

MySQL Error : Table 'jinglefre.post_thanks' doesn't exist
Error Number : 1146
Request Date : Monday, May 20th 2013 @ 07:43:39 PM
Error Date : Monday, May 20th 2013 @ 07:43:39 PM
Script : http://www.jinglefreak.nu/post_thank...u=188&langid=1
Referrer :
IP Address : xxxxxxxxxxxxxxxxx
Username : Unregistered
Classname : vB_Database
MySQL Version :

DragonByte Tech 05-21-2013 01:14 PM

Quote:

Originally Posted by Mercenary (Post 2422666)
Hi Fillip,

Thanks for the quick reply - I actually have no idea how to do that, and was hoping it was not too complicated. I'm not sure what you mean by 'call the /dbtech/thanks/contenttypes/post/save.php' manually and set the required $_POST variables. If there's any code examples that you might know of floating around that might help in this circumstance that would great; I appreciate the tips.

If it would be easier to call the other plug-in from the Thank You plug-in I could do that too, although I imagine it would be the same process more or less to implement?

There's no simple API available for this mod so hands would have to get dirty I'm afraid :(

Quote:

Originally Posted by jinglefreak1972 (Post 2423277)
I get this error now several times. I uninstalled and installed it again but no luck.
Anyone can help me?



Database error in vBulletin 4.2.1:

Invalid SQL:

SELECT post_thanks.postid AS postid, post.threadid as threadid
FROM post_thanks AS post_thanks
LEFT JOIN post AS post USING (postid)
INNER JOIN thread AS thread ON(thread.threadid = post.threadid)
WHERE post_thanks.userid = 188
AND thread.forumid IN(3,4,5,6,19,20,24,21,7,8,9,10,22,17,18,11,12,15, 16,13,14)
ORDER BY post.dateline DESC
LIMIT 1000;

MySQL Error : Table 'jinglefre.post_thanks' doesn't exist
Error Number : 1146
Request Date : Monday, May 20th 2013 @ 07:43:39 PM
Error Date : Monday, May 20th 2013 @ 07:43:39 PM
Script : http://www.jinglefreak.nu/post_thank...u=188&langid=1
Referrer :
IP Address : xxxxxxxxxxxxxxxxx
Username : Unregistered
Classname : vB_Database
MySQL Version :

Please post support issues for Abe's Post Thank You Hack in the appropriate thread. Thanks!


Fillip

KaitenV 05-22-2013 04:11 AM

I'm having trouble liking posts that were created via RSS import. Is this my mistake or a bug?

http://otakuhelpers.com/forums/showthread.php/66011

This post can not be thanked or liked and it was created via import of an RSS feed.


All times are GMT. The time now is 03:25 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.03502 seconds
  • Memory Usage 1,756KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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