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)

RFViet 12-11-2006 02:26 AM

I disable ajax for this hack, but still refresh after press thanks !! any idea how to fix ?? (I'm using vB3.6.4)

itsid 12-11-2006 02:09 PM

And you've refreshed the showthread manually once, to unload the javascript?
then I have absolutely no idea what refreshes the page...
maybe another hack (shoutbox itself maybe) that's reloading ALL the page content?

'sid

RFViet 12-11-2006 04:37 PM

Quote:

Originally Posted by itsid (Post 1136357)
And you've refreshed the showthread manually once, to unload the javascript?
then I have absolutely no idea what refreshes the page...
maybe another hack (shoutbox itself maybe) that's reloading ALL the page content?

'sid

If I don't refresh the page manually, then I won't see hidden contents after pressing Thanks button.

Devil Woman 12-11-2006 08:22 PM

I am having a problem, I added this in a few weeks ago and all was working fine, I have now gone to add a hidden part of a thread and when I do I get this n the hidden part

{param}

this also happens when a reply is posted to see the hidden content.

Any help is appreciated

Thanks.

stinger2 12-11-2006 09:27 PM

Quote:

Originally Posted by itsid (Post 1134417)
But you'll not find the implemented editorbutton ;)

That way you can install the hack without uploading anything via ftp,
with an editorbutton set as default it's not, because you'll see that ugly missing image thingy if you didn't upload the button itself.
I don't like that thought :D

'sid


you can add enable / disable button.........and i will make the button for you:banana:

itsid 12-11-2006 10:37 PM

stinger2,
feel free to make any button yu like.
I'm still unsure, cause I don't like editorbuttons at all :D
But maybe I will change the installcode to add the button (chooseable option if possible) if you all want to have the editorbutton.
But keep in mind: it's christmastime and all is terror (or something ;))
So I don't think it'll be added this year ...

Devil Woman,
in fact I don't have no clue at this moment :(
As I told bigM in german, please check that you have showing up "[hide]some text[/hide]" in your "own vB Codes" overview listed as replacement code.
If, it has to work (or it's been overruled by an other hack).
Or: your php or sql was updated or something...
as I said, I have no idea until I'll find a way to reproduce this error in my testboard; sorry.
Let me know about all changes you made just before the error occured, to give me some hint, please.

RFViet,
I don't get it, sorry...
So you disabled this hacks ajax functionality, okay.
After that you have to refresh the page with the hidden content ONCE to unload the ajax-javascript so that it is disabled.
Now posts will not be refreshed by the hack itself.
you can check the page's sourcecode for this line:
Code:

unhide.onreadystatechange = ausgeben;
if you find it, javascript is still enabled (and hack still tries to reload the page content) if not, the hacks ajax is fully disabled.
Now, your page is still refreshed after clicking the thanks button?
Yes, that's because of the javascript of the post_thank_you hack. But it only should refresh the content of the Post-thanks-bit (right after the thanked postbit) and nothing else.
If you have problems with the post_thanks hack (i can't think of that but maybe you know better) go and ask Abe1 in the thread you find linked in firstpost.
And yes, if you disable the hide-hacks ajax you'll have to refresh the page manually to see hidden content, what else? No Ajax no automatic refresh...
with ajax you don't need to refresh manually because the hack will do so.
I'm sorry, I don't understand your question/problem...

'sid

stinger2 12-12-2006 09:44 AM

Quote:

Originally Posted by itsid (Post 1136683)
stinger2,
feel free to make any button yu like.
I'm still unsure, cause I don't like editorbuttons at all :D
But maybe I will change the installcode to add the button (chooseable option if possible) if you all want to have the editorbutton.
But keep in mind: it's christmastime and all is terror (or something ;))
So I don't think it'll be added this year ...
[/I]


you are an angel:cool: ...thank you

itsid 12-12-2006 02:00 PM

because of the requests I got,
I've made an vB354 xml of this hack.

But it's not tested, didn't had the time
All codes are identical, so it should work...
if you want, give it a try ;)
(I'm not responsible for anything :D)

images and stuff are to be taken from the original zip this is text-xml only!

'sid

RFViet 12-12-2006 06:20 PM

Quote:

Originally Posted by itsid (Post 1136683)
RFViet,
I don't get it, sorry...
So you disabled this hacks ajax functionality, okay.
After that you have to refresh the page with the hidden content ONCE to unload the ajax-javascript so that it is disabled.
Now posts will not be refreshed by the hack itself.
you can check the page's sourcecode for this line:
Code:

unhide.onreadystatechange = ausgeben;
if you find it, javascript is still enabled (and hack still tries to reload the page content) if not, the hacks ajax is fully disabled.
Now, your page is still refreshed after clicking the thanks button?
Yes, that's because of the javascript of the post_thank_you hack. But it only should refresh the content of the Post-thanks-bit (right after the thanked postbit) and nothing else.
If you have problems with the post_thanks hack (i can't think of that but maybe you know better) go and ask Abe1 in the thread you find linked in firstpost.
And yes, if you disable the hide-hacks ajax you'll have to refresh the page manually to see hidden content, what else? No Ajax no automatic refresh...
with ajax you don't need to refresh manually because the hack will do so.
I'm sorry, I don't understand your question/problem...

'sid

Well, I'm confused, you asked to disable ajax for this hack from the instruction to work with thanks button -> In fact, it didn't work on my forum
Enable ajax for this hack -> it works for my forum , I don't know the reason you asked to disable ajax for this hack ??
Anyway , it works perfectly for my forum (vB 3.6.4) -> great hack !!!
The only thing I couldn't make was the image, since I don't see how to import the language as you are . But It's still ok to me
Thanks !!

wi11ie1950 12-12-2006 08:28 PM

I installed the Hack as per instructions and now i have..

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', '');;

Anyway to remove it as it doesnt appear in Plugins @ Products or in BBcode in Options. If i try to access any of my forums i get a Database Error.


All times are GMT. The time now is 01:11 PM.

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.01874 seconds
  • Memory Usage 1,754KB
  • 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
  • (3)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