vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   New Posting Features - [hide] hack incl post thank you "addon" (https://vborg.vbsupport.ru/showthread.php?t=130887)

paranoiduser 03-01-2009 09:30 PM

does it work in 3.8.1 coz mine doesn't seem to work.. its installed but nothing shows up inmy forum home page??please help

MissKalunji 03-02-2009 12:29 AM

yes works on mine

HS2005 03-02-2009 05:49 PM

Sid, What do i have to change in the xml in order to let it work for 3.7.3 :)

Code:

Database error in vBulletin 3.7.3:

Invalid SQL:
INSERT INTO bbcode(bbcodeid, bbcodetag, bbcodereplacement, bbcodeexample, bbcodeexplanation, twoparams, title, buttonimage) VALUES (NULL, 'hide', '[hide]{param}[/hide]', '[hide]some text[/hide]', 'With this tag you can hide some text and force members to answer or click the thank you button to see what you\'ve posted.', 0, 'hide', '');;

MySQL Error  : Duplicate entry 'hide-0' for key 'uniquetag'
Error Number  : 1062
Classname    : vB_Database
MySQL Version : 5.1.30

Thanks :)


FIXED:
Code:

$db->query_write("INSERT INTO ".TABLE_PREFIX."bbcode(bbcodeid, bbcodetag, bbcodereplacement, bbcodeexample, bbcodeexplanation, twoparams, title, buttonimage) VALUES (NULL, 'hide', '[hide]{param}[/hide]', '[hide]some text[/hide]', 'With this tag you can hide some text and force members to answer or click the thank you button to see what you\'ve posted.', 1, 'hide', ''); ");

AmitalM 03-09-2009 09:30 PM

When i click at "Thank" the hack hide dont want to unlock i did the fetch hide tag replce and it wont work

twista46 03-10-2009 01:08 AM

Hello I has him hack installed so functioned also everything only if a User the thanks badge presses he does not see the Hide contents yet. And if I Aiax functionality do comes

Dein Seitenaufruf konnte auf Grund eines fehlenden Securitytokens nicht verarbeitet werden.

Wenn du meinst, dass es sich dabei um einen Fehler handelt, wende dich bitte an den Administrator und beschreibe genau, was du gemacht hast, bevor diese Meldung angezeigt wurde.

pls help

tsafarog 04-07-2009 06:20 AM

thanks for the hack

I also have a proble with the Ajax enabled thingy! after i press on thanks i get the "invalid security token" msg. Is there a way around it yet?

All in all this is a very nice hack!

Fırtına 04-10-2009 12:29 PM

Quote:

Originally Posted by mmdmk (Post 1590183)
When you have follow problem by Click on the Thank-You-Button:


you must change the sid_hide_noaccess-Template:
Code:

                <if condition="$vboptions[disable_ajax] != 2 AND $vboptions[sid_hide_ajax_on] == 1">
                <script type="text/javascript">
                        if (hide_aktiv) window.clearInterval(hide_aktiv);
                        var hide_aktiv = window.setInterval("findposts(fetch_object('posts'),'$hide_call')", 3000);
                </script>
                </if>
                <div id="hide_fieldset"><fieldset>
                        <legend><span class="highlight">$vbphrase[sid_hide_post_hide]</span></legend>
                        <a href="post_thanks.php?$session[sessionurl]do=post_thanks_add&amp;p=$post[postid]&amp;securitytoken=$bbuserinfo[securitytoken]" id="post_thanks_button_$post[postid]"<if condition="$vboptions[disable_ajax] != 2"> onclick="post_thanks_give_$post[postid](); return false;"</if> style="display:$display_image" rel="nofollow">$hide_img</a> 
                </fieldset></div>

Here is the Product file (works on vb 3.7.2PL1 + Post Thanks 7.7).

Thanks very much :D

HS2005 04-12-2009 08:34 PM

Quote:

Originally Posted by Aren (Post 1520809)
Ok, guys, I think I've fixed the AJAX problem.

Uploaded the solution 15 minutes ago to my forum and some users have already told me that they got no more "missing security token" errors.

The solution is quite simple:
  1. Edit the ajax-product-sids_hide_v0.3.5-vborg-en.xml
  2. Look up the following line of code:
    Code:

    unhide.send("do=whatever&p="+postid+"&all="+old);
  3. Replace it with the next one:
    Code:

    unhide.send("do=whatever&p="+postid+"&all="+old+"&securitytoken=" + SECURITYTOKEN);
  4. Save the file
  5. Reinstall the product
And that's it. Once the product has been reinstalled, the links associated with your "thank you" buttons will look like http://yourdomain/forumroot/post_tha...96c82f1fae8288

Gosh... it was a real pain in the ass this problem :p

Worked on 3.7.4 :D
Good thinking!!!

Lustikus 04-13-2009 03:53 AM

works fine on my 3.8.0 board
but the german button is wrong - it says "you must response" instead of "you must press thank you"
only by the way

vrgngns 05-01-2009 06:04 PM

hi,
i've installed hide hack addon.but HIDE button is not working. its working when i write [hide]some text[/hide] manually, but when i press the HIDE button its not working and internet explorer alerts an error message (attached).

so how can i solve this problem?
thank you for your helps.

http://img23.imageshack.us/img23/8066/hidetag.gif

line: 1109
character: 5
error: hidetag_shortcut undefined
code : 0
URL : ...


All times are GMT. The time now is 08:00 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.02064 seconds
  • Memory Usage 1,747KB
  • 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_code_printable
  • (2)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
  • (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