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)

DJ-Dez 06-11-2012 08:17 PM

Say 6 people like a post, how do i display (6)

Like the number of people who liked that post?

Cheers

DragonByte Tech 06-11-2012 08:32 PM

Quote:

Originally Posted by DJ-Dez (Post 2338802)
Say 6 people like a post, how do i display (6)

Like the number of people who liked that post?

Cheers

In v3 (currently in Beta for Pro customers), the thanks bar can optionally display the number of users who clicked each button next to the "Post Thanks / Like" text :)


Fillip

DJ-Dez 06-11-2012 08:35 PM

Quote:

Originally Posted by DragonByte Tech (Post 2338804)
In v3 (currently in Beta for Pro customers), the thanks bar can optionally display the number of users who clicked each button next to the "Post Thanks / Like" text :)


Fillip

Oh, will I have to wait for it or would you be able to paste a code?

Thanks for such a quick reply.

DragonByte Tech 06-11-2012 08:46 PM

It's much too complex to be pastable unfortunately :(


Fillip

taavi56 06-12-2012 03:21 PM

Why its impossible to translate few phrases. Even if i write new then it stays in english

DragonByte Tech 06-12-2012 05:11 PM

I don't know, I didn't create the phrase system in vBulletin :(


Fillip

Alan_SP 06-12-2012 08:24 PM

Quote:

Originally Posted by taavi56 (Post 2339020)
Why its impossible to translate few phrases. Even if i write new then it stays in english

If it is really phrase, you could translate it. But, there are some parts of this mod that aren't phrases and that could be in only one language.

Probably you translated something that looked like correct phrase to translate, but it belongs to something else, like core vB phrase or to some other mod.

Ahmad110 06-13-2012 12:05 PM

Hi fillip
first thanks for this best hack .
i was install it on my board and good work but i cant see remove thanks icon in postbit .

DragonByte Tech 06-13-2012 12:28 PM

Removing thanks is a Pro-only feature :)


Fillip

DJ-Dez 06-13-2012 01:34 PM

Quote:

Originally Posted by DragonByte Tech (Post 2339259)
Removing thanks is a Pro-only feature :)


Fillip

Hey Fillip, when will 3.0 be released? Or whatever version the next one is :)

LgsOfChampions 06-13-2012 03:23 PM

Quote:

Originally Posted by DragonByte Tech (Post 2338464)
You can't click buttons for your own posts, so if you're viewing your own posts then that could be why.

Other thing to take into consideration is the "Can Click" permission in the Manage Buttons interface.

Also make sure in the Forum Manager interface you have the buttons enabled for each category (the Pro version allows you to control per forum).

Let me know if that helps :)


Fillip

I've done all that bro!!! Still nothing. Could a reason be it's a custom skin?

DragonByte Tech 06-13-2012 03:33 PM

Quote:

Originally Posted by DJ-Dez (Post 2339272)
Hey Fillip, when will 3.0 be released? Or whatever version the next one is :)

Not been finalised, but hopefully on Friday :)

Quote:

Originally Posted by LgsOfChampions (Post 2339296)
I've done all that bro!!! Still nothing. Could a reason be it's a custom skin?

That's plausible, could you try it on a default skin? Should be able to just create a new skin with no parent :)


Fillip

tele955848 06-13-2012 05:14 PM

Umständlich und die Buttons werden nicht Angezeigt -.-
Deinstall

LgsOfChampions 06-13-2012 06:12 PM

Quote:

Originally Posted by DragonByte Tech (Post 2339303)
Not been finalised, but hopefully on Friday :)

That's plausible, could you try it on a default skin? Should be able to just create a new skin with no parent :)


Fillip

still nothing

DJ-Dez 06-13-2012 09:44 PM

hey - last question.

how do i display in postbit how many likes a user has?

Likes >> 7 likes

what's the phrase to input into a specific area/code

cheers

sitwi 06-14-2012 04:04 PM

I have two simple questions - how do I remove the header bar that says "Post Thanks / Like", and then how do I align the "like" (or the "like" button) to the right hand side?

Thanks for any help!

https://vborg.vbsupport.ru/

itzkr0me 06-15-2012 01:20 PM

Quote:

Originally Posted by sitwi (Post 2339561)
I have two simple questions - how do I remove the header bar that says "Post Thanks / Like", and then how do I align the "like" (or the "like" button) to the right hand side?

Thanks for any help!

http://sitwining.co.uk/thanks.jpg

I would also like to know how to do this. Is this a pro only feature?

DragonByte Tech 06-16-2012 12:25 AM

Advanced Post Thanks / Like v3.0.0 (Beta 4)

Buttons / Hide
  • Each button can be set as "Default" for Attachments and Content. When posting via Quick Reply, the default button(s) will be set as Required
  • Notifications can be disabled on a per-button basis
  • The "thanks bar" in posts displays the number of users who has clicked each button for all areas.
  • These clicks can be disabled via a vBulletin Option
  • (vB4) You can choose what portions of the postbit should be coloured via the colour thresholds.
  • Email notifications go through an extra (hopefully) invisible redirect to clear its notifications, to ensure users are logged in before viewing their profiles
  • Button text can be disabled via vBulletin Options

Integration
  • (vB4) [DBTech] DragonByte Gallery: Images
  • Social Groups
  • User Notes
  • Visitor Messages
  • Integration can be disabled via vBulletin Options

(vB4) Forum Block
  • Tabbed interface to choose between "Recent" and "Top" button clicks
  • Ability to select from any of the available buttons and display the 5 recent clicks from that button
  • "Top" tab on the forum block, lists top clicks for the selected button
  • Control the timespan in which the "Top" period is calculated for
  • Block has less superfluous text and also displays the button icon
  • Ability to deny usergroups access to the forum block

General / Other
  • The importer from Abe's Post Thank You Hack should now correctly import Received User ID (future imports only)


Fillip

AusPhotography 06-16-2012 01:41 AM

V3 beta 4 ... Minor bug when on the user profile page, the links to posts don't have 'p=' for some reason.
We have basic friendly URLs in our vB4.2.0 options

Patched this as a hack... ./upload/dbtech/thanks/contenttypes/post/parse.php
Code:

        //$row['url'] = (intval(self::$vbulletin->versionnumber) == 4 ? fetch_seo_url('post|bburl', $row) : self::$vbulletin->options['bburl'] . '/showpost.php?' . self::$vbulletin->session->vars['sessionurl'] . 'p=' . $row['postid']);
        $row['url'] = self::$vbulletin->options['bburl'] . '/showpost.php?' . self::$vbulletin->session->vars['sessionurl'] . 'p=' . $row['postid'];

Kym

DragonByte Tech 06-16-2012 02:20 AM

That sounds like a vBulletin bug in that case, I'll look at it and report it if I can confirm it :)


Fillip

RedDevil 06-16-2012 06:55 AM

Updated today now thanks buttons are not showing, VB4.2.0.

Ive checked button settings and main settings.

Its behaving very weird, the thanks template wont display until you disable buttons in forums, then vanish when you enable.

Any chance readding the previous version to the above until its sorted?

PSimmo 06-16-2012 02:20 PM

Same thing here...Upgraded the forum to 4.2 and updated to the latest version of Post/Thanks and the buttons are not showing up either.

DragonByte Tech 06-16-2012 02:42 PM

Could any of you please PM me with an FTP account as well as an AdminCP account? If so, I'll look into it :)


Fillip

RedDevil 06-16-2012 03:07 PM

Quote:

Originally Posted by DragonByte Tech (Post 2340073)
Could any of you please PM me with an FTP account as well as an AdminCP account? If so, I'll look into it :)


Fillip


PM sent x 2

DragonByte Tech 06-16-2012 05:27 PM

I found the issue, I'll be releasing Beta 5 as soon as I've cleared up an issue with the sidebar block :)

Thanks to RedDevil for the info that let me get to the bottom of this :D


Fillip

RedDevil 06-16-2012 07:05 PM

Quote:

Originally Posted by DragonByte Tech (Post 2340126)
I found the issue, I'll be releasing Beta 5 as soon as I've cleared up an issue with the sidebar block :)

Thanks to RedDevil for the info that let me get to the bottom of this :D


Fillip


Any time :)

RedDevil 06-16-2012 07:06 PM

Quote:

Originally Posted by DragonByte Tech (Post 2340126)
I found the issue, I'll be releasing Beta 5 as soon as I've cleared up an issue with the sidebar block :)

Thanks to RedDevil for the info that let me get to the bottom of this :D


Fillip


Any time :)


had a site lockup then posted it twice will a mod remove 1 of these posts plz :)

DragonByte Tech 06-16-2012 10:21 PM

Advanced Post Thanks / Like v3.0.0 (Beta 5):
Fix: (vB4) Links to posts in the Profile tab were incorrect for certain Friendly URL types.
Fix: (vB4) Sidebar block would cause error on Block Type reload. -Note: You will need to edit and save any Sidebar blocks you have configured for APTL before the error goes away! If you also have the Pro version of our AUT product, a similar fix has been released there.-

Fillip

AusPhotography 06-17-2012 04:44 AM

Installed and working on 4.2.0 - thanks!

aryshi 06-17-2012 08:22 PM

1 Attachment(s)
Beta 5 works fine for me except one small bug, its appear when i clicks either like or thank button. but this correct when i reload the page.

LgsOfChampions 06-17-2012 09:26 PM

Dragon - I'm still having issues not seeing the thanks.

Anyway to take a look at my info?

udomueller 06-18-2012 09:21 AM

I am having problems using the new mod:

After installing sometimes the user sees a message that he is locked off the forum.
When using search i get:

Model and class property mismatch in vBForum_Item_SocialGroupDiscussion for property: dbtech_thanks_disabledbuttons on line 206 in /var/clients/client53/web153/web/forum/vb/item.php
#0 /var/clients/client53/web153/web/forum/vb/item.php(185): vB_Item->validateProperty('dbtech_thanks_d...', '0')
#1 /var/clients/client53/web153/web/forum/vb/item.php(137): vB_Item->setProperty('dbtech_thanks_d...', '0')
#2 /var/clients/client53/web153/web/forum/vb/collection.php(531): vB_Item->setInfo(Array, 1)
#3 /var/clients/client53/web153/web/forum/vb/collection.php(448): vB_Collection->createItem(Array, 1)
#4 /var/clients/client53/web153/web/forum/vb/model.php(348): vB_Collection->applyLoad(Resource id #105, 1)
#5 /var/clients/client53/web153/web/forum/vb/model.php(302): vB_Model->loadInfo()
#6 /var/clients/client53/web153/web/forum/vb/collection.php(408): vB_Model->Load(false)
#7 /var/clients/client53/web153/web/forum/vb/collection.php(843): vB_Collection->Load()
#8 /var/clients/client53/web153/web/forum/packages/vbforum/search/type/socialgroupdiscussion.php(37): vB_Collection->valid()
#9 /var/clients/client53/web153/web/forum/vb/search/results.php(322): vBForum_Search_Type_SocialGroupDiscussion->fetch_validated_list(Object(vB_Legacy_CurrentUser ), Array, Array)
#10 /var/clients/client53/web153/web/forum/vb/search/results.php(260): vB_Search_Results->confirm_next_chunk(20, 20, 20, 0, 5)
#11 /var/clients/client53/web153/web/forum/vb/search/resultsview.php(175): vB_Search_Results->get_page(1, 25, 3)
#12 /var/clients/client53/web153/web/forum/search.php(420): vb_Search_Resultsview->showpage(0, 0, 'search.php?sear...', Array)
#13 {main}

Schwerer Fehler: Model and class property mismatch in vBForum_Item_SocialGroupDiscussion for property: dbtech_thanks_disabledbuttons on line 206 in [path]/vb/item.php in [path]/vb/vb.php (Zeile 286)
#0 vb_error_handler(256, Model and class property mismatch in vBForum_Item_SocialGroupDiscussion for property: dbtech_thanks_disabledbuttons on line 206 in /var/clients/client53/web153/web/forum/vb/item.php , /var/clients/client53/web153/web/forum/vb/vb.php, 286, Array ([exception] => vB_Exception_Model Object ([] => ,[] => ,[] => ,[] => ,[] => ,[] => ,[] => Model and class property mismatch in vBForum_Item_SocialGroupDiscussion for property: dbtech_thanks_disabledbuttons

Any hints on this?

DragonByte Tech 06-18-2012 10:37 AM

Quote:

Originally Posted by aryshi (Post 2340501)
Beta 5 works fine for me except one small bug, its appear when i clicks either like or thank button. but this correct when i reload the page.

That would likely be due to a limitation of AJAX technology that means it can't handle UTF-8 characters correctly :(

Quote:

Originally Posted by LgsOfChampions (Post 2340513)
Dragon - I'm still having issues not seeing the thanks.

Anyway to take a look at my info?

Could you please be more specific?

Quote:

Originally Posted by udomueller (Post 2340631)
I am having problems using the new mod:

After installing sometimes the user sees a message that he is locked off the forum.
When using search i get:


Model and class property mismatch in vBForum_Item_SocialGroupDiscussion for property: dbtech_thanks_disabledbuttons on line 206 in /var/clients/client53/web153/web/forum/vb/item.php
#0 /var/clients/client53/web153/web/forum/vb/item.php(185): vB_Item->validateProperty('dbtech_thanks_d...', '0')
#1 /var/clients/client53/web153/web/forum/vb/item.php(137): vB_Item->setProperty('dbtech_thanks_d...', '0')
#2 /var/clients/client53/web153/web/forum/vb/collection.php(531): vB_Item->setInfo(Array, 1)
#3 /var/clients/client53/web153/web/forum/vb/collection.php(448): vB_Collection->createItem(Array, 1)
#4 /var/clients/client53/web153/web/forum/vb/model.php(348): vB_Collection->applyLoad(Resource id #105, 1)
#5 /var/clients/client53/web153/web/forum/vb/model.php(302): vB_Model->loadInfo()
#6 /var/clients/client53/web153/web/forum/vb/collection.php(408): vB_Model->Load(false)
#7 /var/clients/client53/web153/web/forum/vb/collection.php(843): vB_Collection->Load()
#8 /var/clients/client53/web153/web/forum/packages/vbforum/search/type/socialgroupdiscussion.php(37): vB_Collection->valid()
#9 /var/clients/client53/web153/web/forum/vb/search/results.php(322): vBForum_Search_Type_SocialGroupDiscussion->fetch_validated_list(Object(vB_Legacy_CurrentUser ), Array, Array)
#10 /var/clients/client53/web153/web/forum/vb/search/results.php(260): vB_Search_Results->confirm_next_chunk(20, 20, 20, 0, 5)
#11 /var/clients/client53/web153/web/forum/vb/search/resultsview.php(175): vB_Search_Results->get_page(1, 25, 3)
#12 /var/clients/client53/web153/web/forum/search.php(420): vb_Search_Resultsview->showpage(0, 0, 'search.php?sear...', Array)
#13 {main}


Schwerer Fehler: Model and class property mismatch in vBForum_Item_SocialGroupDiscussion for property: dbtech_thanks_disabledbuttons on line 206 in [path]/vb/item.php in [path]/vb/vb.php (Zeile 286)
#0 vb_error_handler(256, Model and class property mismatch in vBForum_Item_SocialGroupDiscussion for property: dbtech_thanks_disabledbuttons on line 206 in /var/clients/client53/web153/web/forum/vb/item.php , /var/clients/client53/web153/web/forum/vb/vb.php, 286, Array ([exception] => vB_Exception_Model Object ([] => ,[] => ,[] => ,[] => ,[] => ,[] => ,[] => Model and class property mismatch in vBForum_Item_SocialGroupDiscussion for property: dbtech_thanks_disabledbuttons

Any hints on this?

Yay for flawed vBulletin design! This will be fixed in Beta 6.


Fillip

DragonByte Tech 06-18-2012 10:43 AM

Advanced Post Thanks / Like v3.0.0 (Beta 6):
Fix: Removed future support of per-Social Group Discussion and per-Social Group Post disabling of buttons due to a flaw in vBulletin 4's search design that would cause PHP errors on search.

Fillip

udomueller 06-18-2012 11:29 AM

Quote:

Originally Posted by DragonByte Tech (Post 2340649)
Advanced Post Thanks / Like v3.0.0 (Beta 6):
Fix: Removed future support of per-Social Group Discussion and per-Social Group Post disabling of buttons due to a flaw in vBulletin 4's search design that would cause PHP errors on search.

Hi fillip,

installing 3.0.0 beta 6 removes the search error.

But after the new install i can't Manage buttons. It only shows: Invalid button 0.

Edit: Repairing the cache helped

aryshi 06-18-2012 08:09 PM

Quote:

Originally Posted by DragonByte Tech (Post 2340645)
That would likely be due to a limitation of AJAX technology that means it can't handle UTF-8 characters correctly :(

Fillip

Its was working fine before beta 5. Is it possible to go back to previous version?

DragonByte Tech 06-18-2012 08:21 PM

If that's the case then please PM me with an AdminCP account and an FTP account, and an English language option for your forum - if you can provide me this, I'll hopefully figure out what's going on :)


Fillip

SmartMania 06-18-2012 08:31 PM

After updating to version 3.0.0 beta 6, I get this error when I try to reach some profiles (including mine)

Quote:

Warning: require([path]/dbtech/thanks_pro/hooks/blog_entry_display_complete.php) [function.require]: failed to open stream: No such file or directory in [path]/includes/class_blog_entry.php(323) : eval()'d code on line 1

Fatal error: require() [function.require]: Failed opening required '/home/lgeor/public_html/forum/dbtech/thanks_pro/hooks/blog_entry_display_complete.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/lgeor/public_html/forum/includes/class_blog_entry.php(323) : eval()'d code on line 1

res6cue 06-18-2012 09:03 PM

Quote:

Originally Posted by SmartMania (Post 2340820)
After updating to version 3.0.0 beta 6, I get this error when I try to reach some profiles (including mine)

I am getting the same error. Any profiles that had previously made blog posts throw that error.

Quote:

Warning: require([path]/dbtech/thanks_pro/hooks/blog_entry_display_complete.php): failed to open stream: No such file or directory in [path]/includes/class_blog_entry.php(323) : eval()'d code on line 1
Fatal error: require(): Failed opening required '/var/www/vhosts/xxxxxxxxx.com/httpdocs/forum/dbtech/thanks_pro/hooks/blog_entry_display_complete.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/vhosts/xxxxxxxxxx.com/httpdocs/forum/includes/class_blog_entry.php(323) : eval()'d code on line 1
Also getting the error when trying to view blog.php

Quote:

Warning: require([path]/dbtech/thanks_pro/hooks/blog_entry_display_complete.php): failed to open stream: No such file or directory in [path]/includes/class_blog_entry.php(323) : eval()'d code on line 1
Fatal error: require(): Failed opening required '/var/www/vhosts/xxxxxxxxx.com/httpdocs/forum/dbtech/thanks_pro/hooks/blog_entry_display_complete.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/vhosts/xxxxxxxxxxxxx.com/httpdocs/forum/includes/class_blog_entry.php(323) : eval()'d code on line 1

DragonByte Tech 06-18-2012 09:23 PM

Fixed, re-download and re-import the XML file :)


Fillip


All times are GMT. The time now is 06:45 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.03569 seconds
  • Memory Usage 1,859KB
  • 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
  • (1)bbcode_code_printable
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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