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)

Alan_SP 05-31-2011 11:23 PM

Quote:

Originally Posted by MissKalunji (Post 2201947)
oh, so It still doesn't work for you either?

No, it doesn't. I could make whole post hidden, that works. But when I try to use hide BBcode, it doesn't work. On DragonByte's website I see difference how hide BBcode is shown in posts, there it works, but on my site doesn't. There's something different, maybe how PHP was compiled.

benjones 06-01-2011 09:00 AM

Looking in my adminCP my hide tags have definitely disappeared, possibly after I uninstalled one of the other post thank you hacks. Any clues on how to restore the tag?

ForenOpfer 06-01-2011 02:27 PM

1 Attachment(s)
Hey Fillip (;

Nice Mod, I use it roundabout a year, but now I have some questions:

1. Is it possible to edit the postbit template like in older versions of the mod? I wanna insert a table...
2. Where do I find the "Thanks (Given)", "Likes (Given)" ... phrases? I checked everything, but I haven't found anything to edit that :/

For better understanding there are two screenshots to explain what I mean:
Older Version:
Attachment 129650

Latest Version:
Attachment 129651
Best wishes from Germany
ForenOpfer

DragonByte Tech 06-02-2011 03:42 AM

Quote:

Originally Posted by benjones (Post 2202360)
Looking in my adminCP my hide tags have definitely disappeared, possibly after I uninstalled one of the other post thank you hacks. Any clues on how to restore the tag?

It is built-in.

Quote:

Originally Posted by ForenOpfer (Post 2202415)
1. Is it possible to edit the postbit template like in older versions of the mod? I wanna insert a table...

Yeah, the postbit templates are in the template system :)

Quote:

Originally Posted by ForenOpfer (Post 2202415)
2. Where do I find the "Thanks (Given)", "Likes (Given)" ... phrases? I checked everything, but I haven't found anything to edit that :/

Only the words "Given" and "Received" are translatable, the "Thanks" is derived from the name of your button.


Fillip

popular 06-03-2011 05:19 AM

I have a problem, hidden content that requires you to thank need to be re-thanked (unthanking then thanking again) to view posts that were edited.

So for example when member A makes a post with hidden content, member B will thank them to see what they posted. But when member A edits the post, member B must unthank and thank again in order to view the content again.

Is there a way to fix this? thanks

DragonByte Tech 06-03-2011 09:16 AM

Un-thanking is not possible in the Lite version so this is not something I've been able to confirm on my testing environment :(


Fillip

Prisoner 06-03-2011 10:16 AM

In reference to the "Require Thanks" maybe I am slow this morning, but why would we want to require someone to say thank you to something before they see it?

Great mod by the way, my users enjoy it. I even added a "LOL @ this message" for the funny one's.

DragonByte Tech 06-03-2011 10:39 AM

People who run a forum that's based on releases, like say movie torrents, may want to use a thanks mod like this to prevent people from spamming "thanks" as replies, but still require the author to get attribution before they're allowed to see the content :)


Fillip

ForenOpfer 06-03-2011 11:27 AM

Quote:

Originally Posted by DragonByte Tech (Post 2202572)
Yeah, the postbit templates are in the template system :)

Hey Fillip (;

I can't find any editable code in the postbit template :/

Code:

<dd class="collapse" style="font-weight:bold; clear:both;">{vb:rawphrase dbtech_thanks_stats} <a class="collapse" id="collapse_c_thanks_post{vb:raw post.postid}" href="{vb:raw relpath}#top" style="position:relative; top:0px; right:0px; float:none;" ><img src="{vb:stylevar imgdir_button}/collapse_40b.png" alt="" /></a></dd>
<dd>
<dl id="c_thanks_post{vb:raw post.postid}" style="display:none;">
{vb:raw stats}
</dl>
</dd>

There is a {vb:raw stats} instead of the editable template code in older versions:

Code:

<dd class="collapse" style="font-weight:bold;">{vb:rawphrase dbtech_thanks_stats} <a class="collapse" id="collapse_c_post{vb:raw post.postid}" href="{vb:raw relpath}#top" style="position:relative; top:0px; right:0px; float:none;" ><img src="{vb:stylevar imgdir_button}/collapse_40b.png" alt="" /></a></dd>
<div id="c_post{vb:raw post.postid}" style="display:none;">
<vb:if condition="$vboptions['dbtech_thanks_postbit'] & 1 AND !($bbuserinfo['dbtech_thanks_settings'] & 1)">
    <dt>{vb:rawphrase dbtech_thanks_thanks}</dt>
    <dd>{vb:rawphrase dbtech_thanks_x_times, {vb:raw post.dbtech_thanks_thanks}}</dd>
</vb:if>
<vb:if condition="$vboptions['dbtech_thanks_postbit'] & 2 AND !($bbuserinfo['dbtech_thanks_settings'] & 2)">
    <dt>{vb:rawphrase dbtech_thanks_thanked}</dt>
    <dd>{vb:rawphrase dbtech_thanks_x_times, {vb:raw post.dbtech_thanks_thanked}}</dd>
</vb:if>
<vb:if condition="$vboptions['dbtech_thanks_postbit'] & 4 AND !($bbuserinfo['dbtech_thanks_settings'] & 4)">
    <dt>{vb:rawphrase dbtech_thanks_likes}</dt>
    <dd>{vb:rawphrase dbtech_thanks_x_times, {vb:raw post.dbtech_thanks_likes}}</dd>
</vb:if>
<vb:if condition="$vboptions['dbtech_thanks_postbit'] & 8 AND !($bbuserinfo['dbtech_thanks_settings'] & 8)">
    <dt>{vb:rawphrase dbtech_thanks_liked}</dt>
    <dd>{vb:rawphrase dbtech_thanks_x_times, {vb:raw post.dbtech_thanks_liked}}</dd>
</vb:if>
</div>

Any ideas? :/

Regards,
ForenOpfer

DragonByte Tech 06-03-2011 11:33 AM

dbtech_thanks_postbit_stats template :)


Fillip


All times are GMT. The time now is 08:30 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.02350 seconds
  • Memory Usage 1,751KB
  • 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
  • (5)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