vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=130887

[hide] hack incl post thank you "addon"
by itsid
06 Nov 2006 03:28

10 Attachment(s)
UPDATE
sid's [hide] hack 0.3.5

Hi again,

I've tried my best to build a [hide] hack that will fit to to
the wonderful POST THANK YOU HACK

but for sure you can use it without, then it'll work if user replies to a post with hidden content ;)

You can coose in acp to show hidden content to admins mods or users of a certain usergroup (if you have useradmins or something) too.

It will show up some hint that will let your users know what to do (thank, answer, or even nothing)
by now with some small text, soon with a set of images ;)

BUT
  • my english is way off what I want it to be, so please go ahead and edit the language file to your needs

NOW UPDATED

Thanks to Andreas of vbhacks-germany
  • no hidden content visible in archive
  • no php edits necessary no more
  • kicked out bitfield-code

    and further
  • no hidden content visible in printthread.php if not in showthread.php
  • now with a set of small images showing up as hint
  • and least updateurl in acp
have fun

cheers
'sid

ps Sorry for updating that fast ;)

UPDATE 0.3.0
uninstall previous version before installing the update!
So, here's what you've all been waiting for *grin*
Tha ajaxified version of my hide hack.

BUT, this is rather bruteforcing ajax, so be warned :D
First: you could fully disable ajax for this script in ACP!
Now how it goes, it checks the length of pagecontent every three seconds (usersides, no worries about serverload here), and if it finds some new "content" like a filled thanks-box or a new post it calls all the posts that have hidden content (of this page only of course) and tries to refill the postbits,
this causes some sql-queries, almost as much as to totally reload the page itself.
AS soon as I find a more elegant method I will update again.
Nothing else was changed though since 2.6, only modified in handling the ajax-request.
If you encounter any problems with the ajax of this script, just deactivate,
no javascript at all then will be loaded from this script, and you'll have a "normal" version in hands.
(size is due to an pic-install-help-image ;))

UPDATE 0.3.5
reduced querys,
smarter installations code.

that's all :D

cheers
'sid

PS If you encounter any problems not seeing thanked posts hidden content after reload,
try this codechange

PPS Sorry, Support only for those who clicked "install"

Shazz 06 Nov 2006 03:45

Looks very nice :)

SCRIPT3R 06 Nov 2006 04:11

did you get permission to use all the copied code?

lolo˛ 06 Nov 2006 07:42

thanks i try it :)
there is a small bug if have more one tag hide in the post the hide start on firts tagg and close after the last tagg

shadowevil 06 Nov 2006 08:52

great mod ... i like it .... *installed*

Hornstar 06 Nov 2006 12:21

Thanks for this.

BlueEyesOnly 06 Nov 2006 18:28

hi,

ich finde dein hidehack ist sehr gut gelöst, ist dabei auch der hide auch versteckt wenn man das archiv benutzt?

eine andere frage, ich sehe du hast einen bedankomat im forum, ist der auch nach dem gleichem schema wie der hide von dir?

ich hätte da sehr starkes intresse! (melde mich nochmal per pm)

nedemail 06 Nov 2006 18:57

Thank you for this hack

itsid 06 Nov 2006 19:28

Hi there,
Gear, I've read some thousand lines of code of various hacks and "original" phps, getting me some ideas, possible hooks, workarounds and array-calls, I cannot say that you wont find a line in this code that isn't in any other hack or php.
But it wasn't my intention to just copy.. so give me a hint what code you're talking about and I'll replace that or get permissions ;)

lolo˛, yeah I know :( I'll try to fix that

blueeyes, hidden content ist completly visible in archive (as meantioned above) my Bedankomat is exactly the one linked in first post (just made me some new templates)

'sid

ps andreas of vh-g.com gave some useful tipps i'll try these days, so update is more than posssible ;)

Frapegliko 06 Nov 2006 20:26

thank u. nice mod

Greek76 06 Nov 2006 21:07

I was under the impression thank you hack was not needed in order for this hack to work. I recieved a database error:


Quote:

Invalid SQL:
SELECT userid FROM post_thanks WHERE postid='165' AND userid='1';

MySQL Error : Table 'hellenic_GRealm.post_thanks' doesn't exist
Error Number : 1146
Uploaded all the files, and edited the correct files...

itsid 06 Nov 2006 22:09

In fact you will have to disable the setting in acp ( Users who thanked )
then there is no database query for post_thanks table.

'sid

Ronak 07 Nov 2006 03:40

Instructions wud help a bit :D

itsid 07 Nov 2006 04:09

well v020 comes with some very small instruction set on how to install this one.
And the rest of it is pretty much self-explanatory ;)

But if you have any question, feel free to ask :D

'sid

Shazz 07 Nov 2006 04:13

The screen shots look very nice, seems like a good quality hack :)

Ronak 07 Nov 2006 04:32

i am getting this error


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

:(

on my test forums :)

Makaveli105 07 Nov 2006 07:37

Very nice, once it is made so you don't have to refresh after replying to see the content, this will be the perfect hide hack :)

Good job! :D

lolo˛ 07 Nov 2006 10:31

Quote:

Originally Posted by Ronak
i am getting this error


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

:(

on my test forums :)

http://vbtest.chitchatters.in

update the cache i have the sme probleme and after update cache of post no probléme

ombossman 07 Nov 2006 11:38

where this panel idont fin my cp

http://www.vbulletin.org/forum/attac...6&d=1162783551

itsid 07 Nov 2006 12:44

vbbulletin options -> posts: vb code [hide]

'sid

Greek76 07 Nov 2006 14:48

Its in German???? Also how are you to disable thank you hack if its not installed on the forum to begin with?

Ronak 07 Nov 2006 16:12

Quote:

Originally Posted by lolo˛
update the cache i have the sme probleme and after update cache of post no probléme

still same problem ..showing same error

itsid 07 Nov 2006 16:18

ronak, Go to ACP -> own vb codes, edit the hide-tag and replace the line from the replacement-box with [hide]{param}[/hide]
click save and you're done :D

greek, yes it's in german if you don't install the english-language file.
to disble you may disable the hack in the product-management completely or in it's vb options settingsgroup

'sid

Ronak 07 Nov 2006 16:30

1 Attachment(s)
Also When U do full reply..(not quick reply) it show the post :(

itsid 07 Nov 2006 18:55

Uuups

please create a xml file with the following content (notepad will do)

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And import that via plugin-manager (plugin, NOT product)

Next version will have that included!

'sid

Dermo-MIO 07 Nov 2006 19:15

dude i instaleld this but dont know where to upload the english xml thingy as you say dont create a new language but thats the only option it offers you. i have installed the main xml one but when i hit the "thanks" button or reply it still says the german for you need to hit the thanks etc

can you help me ?

vivamexico55 07 Nov 2006 21:21

This is awesome!

Do you will use AJAX so a page reload is not needed?

Greek76 07 Nov 2006 22:09

How to get it to show in English and were to upload the file?

Dermo-MIO 07 Nov 2006 22:35

i spoke too soon nobody can see the links all usergroups have permission to see it, and yea the ebglish bit maybe u can make a new version that is english cause u dont explain very well how to uplaod the other english bit. this hack looks amazing it just doesnt work for me. im more then happy to let u check my acp if that can help thanks

itsid 07 Nov 2006 23:22

1 Attachment(s)
Dermo,
i'm a bit curious about you language settings, that you are unable to import the langfile to the existing (let's say english) phrase-set
If you really do not have that small dropdownbox in the Phrasemanagement
please go ahead and open both files (the lang.xml and the product.xml) with any texteditor and just copy the phrases from the lang.xml into the product.xml replacing the existing ones (you will recognize them for sure!)
see in attachement ;) (import and OVERWRITE)

mexico, well I'm trying to figure out on how to directly show up hidden content without reload, may take just another while :)

Greek, if you have the same issues dermo has, just use the attached xml as product overwriting the existing that one is english by birth ;)

'sid

ps it has the previous mentioned plugin included

Ronak 08 Nov 2006 07:50

Awesome !!! its working now :D Clicked Install ;) looking out for more major upgrades in this hack ;) :p

i suppose u shud release 0.30 :) with that NEW REPLY thing fixed :)

itsid 08 Nov 2006 13:47

I'm working on that "reload issue"
this will be 0.3. I guess :D

'sid

lolo˛ 08 Nov 2006 18:47

Quote:

Originally Posted by itsid
I'm working on that "reload issue"
this will be 0.3. I guess :D

'sid

great ;)
do you think fix the probléme for the first tag and last tag?
great jobs thanks

itsid 08 Nov 2006 19:28

well lolo, I'm trying to, having this one in mind for quite a while, I'll do my very best to find (someone with) a solution :D

I was just asking abe to let me use one of his arrays, that i could get rid of one of my sql-querys (this way it'll use less resources hopefully).

I'm not the fastest guy around, so give me just some days to improve this one ;)

cheers
'sid

lolo˛ 08 Nov 2006 19:44

1 Attachment(s)
Quote:

Originally Posted by itsid
well lolo, I'm trying to, having this one in mind for quite a while, I'll do my very best to find (someone with) a solution :D

I was just asking abe to let me use one of his arrays, that i could get rid of one of my sql-querys (this way it'll use less resources hopefully).

I'm not the fastest guy around, so give me just some days to improve this one ;)

cheers
'sid

No Probleme take the time you need ;)

I have make a change in one module andreas' hint 2

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

this is the result Attachment 55689

itsid 08 Nov 2006 22:58

nice idea ;)
I'll go and build the phrases then :D

The more I read in the sources the more I find to do it another way...

let's see how fast my brain can run tonight ;)

'sid

ociosos 09 Nov 2006 02:32

GREAT JOB...

WILL LOVE TO GET THE LAST VERSION WHEN YOUR DONE...

IF YOU FIX IT TO SHOW THE HIDE COMMENTS WITHOUT REFRESHING WILL BE THE ONE OF THE BEST HACKS FOR VBULLETIN....

IM ALSO NOMINATE YOU FOR Mod o.t. Month

Makaveli105 09 Nov 2006 02:36

^^ Yea me too, I can't wait!

itsid 09 Nov 2006 02:40

thanks alot,
i just made some more improvements on handling "thanks" with it..(not online be patient)
but: I got into a fight with Ajax today.. IT WON :(
But it mustn't... I just need rather some days than some hours :D

[offtopic] current song: Peter Gabriel - don't give up[/offtopic]

Will let you know soon

Cheers
'sid

Ronak 09 Nov 2006 02:48

This hack is on the way to become MOTM ;) :D

Shazz 09 Nov 2006 02:52

Quote:

Originally Posted by Ronak
This hack is on the way to become MOTM ;) :D

I guess it could go against iproarcade :)

AMG021 09 Nov 2006 04:31

dude let me tell you something YOUR GOOOD!!! thanks At last hide hack is free again :D

Shazz 09 Nov 2006 04:37

I wonder why psnonic vision hasen't posted yet in this thread..

tekstylez 09 Nov 2006 04:48

edit:

not showing hidden for guests...

Lonely Heart 09 Nov 2006 05:17

Wonderful ;)

need to fix:

* after reply or click on Thank You, STILL (This post contains hidden content) on Topic Review.

* after reply or click on Thank You, STILL can't quoted ( Empty where the hidden content) Or in lolo˛ Code (Hidden text can't be quoted)


:D Thanx for this useful hack and it'll be M.o.t.M cuz we got your back :D

ociosos 09 Nov 2006 12:47

one question.... how can i make it work on the CMPS....

when i show a preview of a thread in the CMPS it shows the hidden content...

:(

quick solution for now...

I just add some (enters) lol under a picture to bring the hidden conten down lol

great hacks anyways thank you!!!

Ronak 09 Nov 2006 13:25

i am using another button :p not the button given :D

ociosos 09 Nov 2006 13:43

Quote:

Originally Posted by Ronak
i am using another button :p not the button given :D

yeah i did the same bcz it is a spanish community lol

;)

but i have to tell the to the stupid people who dont read just download things
that if they dont click thanks or reply to the thread, they would'nt be able to see the hidden links lol....

so i took the images out and left a text explaning what to do to see the hidden text so they quit asking me that the post is bad and some stupid thinks that lecherss do lol

:hurt:


i'm also translate this hack to spanish... but i dont know how to export it from my board, if somebody tell me how, i include it in a zip for the spanish users who need it...

itsid 09 Nov 2006 14:59

1 Attachment(s)
Quote:

Originally Posted by Lonely Heart
Wonderful ;)
need to fix:
* after reply or click on Thank You, STILL (This post contains hidden content) on Topic Review.
* after reply or click on Thank You, STILL can't quoted ( Empty where the hidden content) Or in lolo˛ Code (Hidden text can't be quoted)
:D Thanx for this useful hack and it'll be M.o.t.M cuz we got your back :D

Hi Lonely Heart, I wont fix that.. simple reason:
to just hide hidden content in quotes or on topic review is more or less ONE single line
to show up (or not) what's hidden is about 200 lines of code.
well, save resources ;)

ociosos, what module of cmps? latesttopics, news?
cmps doesn't include any hooks to let me step into,
so if you want to get rid of hidden content in the latesttopics module, you will have to take care on your $thread['preview'] in there.
if you find a place where to put something like
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I think it'll do (line 111 seems to be a nice place) ... but: I didn't try
And I don't guarantee for anything neither that it works nor that is isn't scrambling your portal :D
take it as it is: A hint ;)

so, as a sneak preview (still without ajax)
check out the latest version
(better handling of post_thanks_settings // thanks to abe1's kind permission)
and some minor improvements

Dermo-MIO 09 Nov 2006 15:42

Sid thanks for the update but sadly it deosnt work in 6.3 it caused a error on my forum so i disabled it thanks tough i really hope you can get around the problems

lolo˛ 09 Nov 2006 16:05

Works great for me in 3.6.3 very good job sid
the probleme for the first tag and the last are found very good ^^

itsid 09 Nov 2006 16:19

hi dermo..
i don't have 3.6.3 here..
I expect you to just have that "no such table" error with the post_thanks -table;
is that true?
if , just deactivate the "show on thank you" option in acp,
if not, please let me know the exact error you're getting maybe i can see what's up without knowing 3.6.3 :D

thanks lolo, it was quite obvious though that i just have forgotten to put an U behind my si... but you know, if you are too close you wont see anything ;)

'sid

lolo˛ 09 Nov 2006 16:44

Did you think it's possible to reduce sql request ?

Dermo-MIO 09 Nov 2006 17:01

Quote:

Database error in vBulletin 3.6.3:

Invalid SQL:
SELECT COUNT(postid) AS count FROM vBulletinpost WHERE userid='5911' AND post.visible = 1 AND threadid='25207';

MySQL Error : Unknown table 'post' in where clause
Error Number : 1109
Date : Thursday, November 9th 2006 @ 06:00:42 PM
Script : http://murderinc-online.com/usforum/...d.php?p=242230
Referrer : http://murderinc-online.com/usforum/...searchid=25642
IP Address : 83.70.160.180
Username : Dermo
Classname : vb_database
thats the error it gives and i have ticked "no" in the enable thanks which i think you asked me to do

Ronak 09 Nov 2006 17:11

Quote:

Originally Posted by itsid
Hi Lonely Heart, I wont fix that.. simple reason:
to just hide hidden content in quotes or on topic review is more or less ONE single line
to show up (or not) what's hidden is about 200 lines of code.
well, save resources ;)

ociosos, what module of cmps? latesttopics, news?
cmps doesn't include any hooks to let me step into,
so if you want to get rid of hidden content in the latesttopics module, you will have to take care on your $thread['preview'] in there.
if you find a place where to put something like
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I think it'll do (line 111 seems to be a nice place) ... but: I didn't try
And I don't guarantee for anything neither that it works nor that is isn't scrambling your portal :D
take it as it is: A hint ;)

so, as a sneak preview (still without ajax)
check out the latest version
(better handling of post_thanks_settings // thanks to abe1's kind permission)
and some minor improvements

what are the new features in this version :D ??

ociosos 09 Nov 2006 17:33

please dont laught at me lol XD just trying to help.... :surprised:

what if by making click on the thank button will also refresh the website automatic????? just by clicking the THANK??

this is what i found arround..... thank you for the time to read this

ALSO I WILL UPGRADE TO THE LASTED!!!!!

ANY INSTRUCTIONS FOR THE UPGRADE PLZ WILL BE REALLY HELPFULL

THANK YOU AGAIN!!!!! YOU ARE GREAT!!!!!


OK HERE IS MY IDEA I HOPE IT HELP... :p

ADDING THIS TO THE THANK BUTTON?

Quote:


<SCRIPT LANGUAGE="JavaScript">

<!-- Begin
document.write('<form><input type=button value="Refresh" onClick="history.go()"></form>')
// End -->
</script>

WHAT DO YOU THINK?


POSTDATA: PLZ. THE REST OF THE PEOPLE DO NOT DO THIS JET IT IS JUST AN IDEA, I DON'T KNOW JET IF IT WORK OR NOT... THANK YOU

Ronak 09 Nov 2006 17:41

Quote:

Originally Posted by ociosos
please dont laught at me lol XD just trying to help.... :surprised:

what if by making click on the thank button will also refresh the website automatic????? just by clicking the THANK??

this is what i found arround..... thank you for the time to read this

ALSO I WILL UPGRADE TO THE LASTED!!!!!

ANY INSTRUCTIONS FOR THE UPGRADE PLZ WILL BE REALLY HELPFULL

THANK YOU AGAIN!!!!! YOU ARE GREAT!!!!!


OK HERE IS MY IDEA I HOPE IT HELP... :p

ADDING THIS TO THE THANK BUTTON?



WHAT DO YOU THINK?


POSTDATA: PLZ. THE REST OF THE PEOPLE DO NOT DO THIS JET IT IS JUST AN IDEA, I DON'T KNOW JET IF IT WORK OR NOT... THANK YOU

yeah this shud be on quick reply too ;) automatic thread refresh :D

gr8 idea

Quote:

Originally Posted by itsid
quote

What abt a button ??? on reply boxes showing HIDE tag ;) ??

MissKalunji 09 Nov 2006 22:16

Working Perfectly!

Great work! Without file edits amazing!

Thanks!

/me clicks install


now all i wish thsi had is the "hide attachement"

FatalBreeze 10 Nov 2006 17:55

Thanks for the hack, but when i install it, i immediately get this error:
Invalid SQL:
INSERT INTO bbcode VALUES (NULL, 'hide', 'No code has to be inserted here.', '[hide]some text[/hide]', 'With this tag you can hide some text an force members to answer or click the thank you button to see what you\'ve posted.', 0, 'hide', '');;

lolo˛ 10 Nov 2006 20:46

you have already a tagg hide in your forum delte this bbcode and after reinstall this product ;)

MissKalunji 10 Nov 2006 20:47

/me nominates for mod of the month

itsid 11 Nov 2006 01:05

Hi there,
thanks alot MissKalunji (to start from the end)

yup FatalBreeze that what it seems to be the problem of yours.
if not, please let me know.

and: thanks again MissKalunji,
I don't think that i can cope with attachments too, I'm sorry
maybe another hack.. a differnet time ;)

Ronak, well, you mean those 21pix editor-buttons, don't you?
I don't have one by myself, I hate wysiwyg and never had used any of those buttons at all (strong believer in hand-bbcode-tagging ;)) but feel free to set one, just go and edit the settings in OWN VB CODES in acp, you will find where to set the button i'm sure :D

ociosos, then it would be a better idea to set the refreshscript on the hiddenimage, I think.
I may catch a button but I surely wont edit any buttons from other hacks or vb itself :D

Oh and Ronak again (uh how long I've been away??),
well, what improvements.. let me think:
mainly this script now catches the settings of the post thank you hack and
show all hidden content of a thread if post_thanks_button is in firstpost only,
if every posts has a thanks button it only shows the hidden content of the post you thanked for. (with kind permission of Abe1)
I killed one useless sql query (but added two others ;))
it also now shows up the [hidden not quoteable] message lolo suggested.
(editable in andreas' hint 2 at this time, no vbphrase, i'll fix that)
multiple-hide per post possible now
and some very minor changes I really can't even remeber :D

lolo˛, yes, I try to reduce to a max of ONE sql query per post ,tag and call (worst case now is two, best case none), but I need too much lines for that by now.. must reduce ;)

Now, let's get to the Ajax Part you're all waiting for :
I've done a small adaption of this hack (not nearly as exact) working with an ajax-button of it's own, but i can tell you this isn't fun at all;
I'm not quite good in writing javascripts, so I have to take one small step after another.
What I see so far is that if I do a ajax-version of this hack, I will have to build a jscript for each hidden-fieldset and again two(or more) sql-querys to show them up;
to be honest: I don't like that thought :(
Maybe it's on me and I only have to fix some errors, I don't know by now.

Will let you know when ever I make some improvements.

'sid

MissKalunji 11 Nov 2006 02:38

Thanks Itsid! thanks a lot for your effort!

ociosos 11 Nov 2006 07:36

PLEASE READ THE UPDATE FIRST AT THE END OF THIS POST...

OK I FIX THE REFRESHHHHHHHHHHHHHHHHHHH THING AFTER CLICKING ON THANK YOU.....

I DON'T KNOW IF ITS RIGHT TO MODIFY SOMEBODY ELSE HACK...

BUT..... I DID IT WITH ALL MY RESPECT. :)

:bunny::bunny:OK HERE ARE THE INSTRUCTIONS....:bunny::bunny:

Quote:

First i don't want to get credits for this codes, the people who created deserve all the credits.
This 2 hacks are one of the bests!! around here... make sure to give them the right appreciation.
First go to the ADMINCP ==> Styles & Templates ==> Search in Templates
look for post_thanks_button LET'S EDIT IT...

---------------------------------------------------------------------------
BEFORE DOING ANY MODIFICATION I JUST WANT YOU TO KNOW THE I WILL NOT BE RESPONSIBLE FOR ANY WRONG MOD...
OK LET'S CONTINUE...

make sure that you copy and paste in a txt and save it, just to keep a backup of the post_thanks_button in case S. H.
---------------------------------------------------------------------------

in the post_thanks_button template find:
Quote:

<if condition="$vboptions[disable_ajax] != 2"> onclick="post_thanks_give_$post[postid](); return false;"</if>
erase the action> ; return false <just that nothing else..

---- THIS IS THE UPDATED TEXT----

now add the following action after the post_thanks_give_$post[postid]();

Quote:

history.go();
dont forget to leave a space right after post_thanks_give_$post[postid](); then put the history.go();

it should look like this:

Quote:

<if condition="$vboptions[disable_ajax] != 2"> onclick="post_thanks_give_$post[postid](); history.go();"</if>
AND THAT'S IT CLICK ON SAVE AND TRY IT...
PLZ COMMENT THIS LITTLE MOD...

---------------------------------------------------------------------------
IF YOU NEED A SPANISH VERSION I CAN HELP JUST MAIL ME
SI NECESITAS UNA AYUDA EN ESPANOL MANDAME UN EMAIL
---------------------------------------------------------------------------

itsid IF YOU THINK THIS IS THE WRONG PLACE TO PUT THIS.... PLZ LET ME KNOW I ERASE THE MESSAGE...

AND THANK YOU FOR ALL YOUR HELP... :)

2 OF THE GREATEST HACKS!!! TOGETHER...!!!!!!!!!!!!!!

IF YOU FIND SOME WORDS NOT WRITTEN RIGHT, IS BCZ SPANISH IS MY FIRST LANGUAGE...
I DID MY BEST TO KEEP IT UNDERSTANDABLE...

GOOD LUCK!!!
------------------------------------------------------------------------
to visit the "THANK YOU" HACK follow this link:
http://www.vbulletin.org/forum/showt...35#post1114635


-------------------------------------------------------------------------------
FIRST BUG
-------------------------------------------------------------------------------
THIS WORKS ONLY ON MOZILLA FIREFOX BROWSER
ON THE EXPLORER AND OPERA DON'T WORK IT JUST GIVE ME A MESSAGE SAYING
"THAT YOU ALREADY SAID THANK YOU"

SORRY WORKING ON IT TO MAKE IT WORK IN OTHERS
-------------------------------------------------------------------------------

-------------------------------------------------------------------------------
UPDATE
-------------------------------------------------------------------------------
OK FIX IT AGAIN FOR THE BROWSER EXPLORER MOZILLA & OPERA WORKS GREAT
SEE THE UPDATED TEXT

lolo˛ 11 Nov 2006 08:07

yes it's great ^^ thanks for this fix

ociosos 11 Nov 2006 14:23

Quote:

Originally Posted by lolo˛
yes it's great ^^ thanks for this fix

I UPDATE THE INFORMATION...

PLZ READ BACK MY POST I FOUND SOME BUGS BUT THEY WHERE FIX
THANK YOU :D

MissKalunji 11 Nov 2006 16:11

will that work with just replying to the thread?

lolo˛ 11 Nov 2006 16:14

Quote:

Originally Posted by ociosos
I UPDATE THE INFORMATION...

PLZ READ BACK MY POST I FOUND SOME BUGS BUT THEY WHERE FIX
THANK YOU :D

I have one bug with your news modification
She saiy i'have all ready say thanks :S after push thanks button

for me the first solution works great on ff and ie but not the second :s

itsid 11 Nov 2006 17:02

hi ociosos,
as I said above I don't like editing other buttons at all ;)
this way for example you deaktivate the ajaxstuff from the post_thanks_hack EVERYWHERE even if there is no hidden content at all.
But there stays a lot of Javascript in the html source which is unnecessary now.

I do not like that, sorry.

Well: You may leave your post where it is, no problem.
But please no support for that template-edit in this thread!
Use PN or build another thread :D

'sid

ociosos 11 Nov 2006 17:14

Quote:

Originally Posted by itsid
hi ociosos,
as I said above I don't like editing other buttons at all ;)
this way for example you deaktivate the ajaxstuff from the post_thanks_hack EVERYWHERE even if there is no hidden content at all.
But there stays a lot of Javascript in the html source which is unnecessary now.

I do not like that, sorry.

Well: You may leave your post where it is, no problem.
But please no support for that template-edit in this thread!
Use PN or build another thread :D

'sid

ok no problem thank you for everything you are great...

well searching arround i found this...

there is a new hack that use the convination of this hack and the other one plus some extra stuffs

here is the link you can take a look around to get new ideas think so?

vS-Hide Hack Resurrection i dont try it jet but it look pretty good
http://www.vbulletin.org/forum/showthread.php?t=123527

Nair654 12 Nov 2006 03:26

this going to be awasome once i get it done on my forum

Ronak 12 Nov 2006 14:10

wud u mind creating a 21px button :D ?

sorry01 12 Nov 2006 17:46

Works great for me in 3.6.3 very good job sid tanks again

itsid 13 Nov 2006 00:38

1 Attachment(s)
thanks sorry01, I couldn't test with 3.6.3 so this is helpful :D

Hi Ronak, I'm not very good in iconifying.. but if you want, use the one below.

So, having you updated to the ajax issue:

I've build up a javascript that's able to read even multiple posts and spits them to predefined containers,
because ajax is only able to send and get ONLY ONE at a time, this really is nothing you really want, multiple sql querys, multiple php-calls, multiple TimeOutCalls (to fetch correct state) and extremly blown up script itself. (at this time twice as large as last version and growing)

So, right now I try to build an acp-option to activate this only if you know
what you are doing to your server with that, and this means loss of performance and of course to reduce sql queries to the absolute minimum.
And if possible to reduce the script itself to get smaller to save every ressource you (and I) have!
If there is one important thing, then it's performance ;)

Now I have to find out what to optimize, what to drop, what to tweak again and of course all the debbuging that's possible :D

BUT:
Still I am unable to promise a working ajax-version of this one,
but I will post what I've done as soon as I surrender or succeed ;)

cheers
'sid

ociosos 13 Nov 2006 18:32

ITSID:

it is working PERFECT on 3.6.3 :P
nice work!!!
can not download the attached file to check it out...

wurstsuppe 13 Nov 2006 20:23

Thanks very much !

Great work

Re: hide hack incl post thank you "addon"
by itsid
13 Nov 2006 22:50

gern geschehen wurstsuppe ;)

ociosos, rightclick save as ;) the image is unmodified by vbulletin so it's not clickable for download but simply fully shown :D

'sid

Re: hide hack incl post thank you "addon"
by Greek76
14 Nov 2006 10:41

Cant get this to work. I reuploaded the product.xml in english. I uploaded the images to my forum/images. I go to phrase manage to import this as you stated:
Quote:

import via acp phrasemanager DONOT create new language
hide_bbcode-language-en.xml
I dont see a way to import a phrase file. I dont get this. Also if I want to use this file hide_bbcode-language-en-images.xml I uploaded into my xml folder. I see nothing happening. How do I get this to work. I see the it in the options on my acp set it accordingly so what next?

Re: hide hack incl post thank you "addon"
by lolo˛
14 Nov 2006 11:26

you don't create a new language but select english our other and import de xml file ;)

Re: hide hack incl post thank you "addon"
by iran.gs
14 Nov 2006 12:45

Installed how ever where are the icons for me and members to use if they decided to use this ?????? not everyone knows we offer this hack.
So i must have installed it wrong or we are missing something !!!!!! and i used it this code
[hide] it worked fine and than l logged in as someone ealse i used my thank botton how ever i had to refresh the page in order to see it !!!!!!
same with reply page needs to be refreshed :(

so we got 2 problems refreshing the page and no icons for this hacks for ppl to see and use.....

Re: hide hack incl post thank you "addon"
by itsid
14 Nov 2006 14:59

Hi iran.gs
The missing Icon is not missing it's not featured ;)
I've made one a page ago, so if you want, go back one page rightclick&save it ,
and put it in (own vb codes -> edit [hide] and there you'll see)
("problem" one solved ;))

Second problem is mentioned in first post, and on every single page..
I'm trying to ajaxify this thing so that no reload is necessary.
but in fact even this is not a problem but just a missing ajax-ability...

Greek, if you have installed the english xml you don't have to install a language set at all (not if you don't want to have the images shown but the simple textstrings)

'sid

Re: hide hack incl post thank you "addon"
by Greek76
15 Nov 2006 02:06

I got the hide hack to work which is wonderful and thanks for such a great mod. My question is how do I get the thank you images to show on the forum?

itsid 16 Nov 2006 02:49

Sorry... what images?
the small white ones belong to the post_thank_you hack announced in first post ;)
the others (bigger and blue) are shown by the language set (marked as img_) you have problems to install :D

So if you want to have the small ones, install the post_thank_you hack,
and if you're talking about the blue-ones do as lolo˛ told you to do :D

cheers
'sid

PS No great steps made so far... on ajax

RFViet 16 Nov 2006 16:26

Quote:

if users reply or thank, they'll have to reload the page to see hidden content
Will it be fixed in the future ??? Or we have to live with it ?

Ronak 16 Nov 2006 17:23

Quote:

Originally Posted by Greek76 (Post 1116936)
Cant get this to work. I reuploaded the product.xml in english. I uploaded the images to my forum/images. I go to phrase manage to import this as you stated:
I dont see a way to import a phrase file. I dont get this. Also if I want to use this file hide_bbcode-language-en-images.xml I uploaded into my xml folder. I see nothing happening. How do I get this to work. I see the it in the options on my acp set it accordingly so what next?

U have to upload it via AdminCP

hide_bbcode-language-en.xml file ...AdminCP-->Languages & Phrases-->Download & upload Phrases ->> Upload

DO OVERWRITE !!

wud be done ;)

Ronak 16 Nov 2006 17:25

U can use this file too :cool: :cool:

AHMUDEM 16 Nov 2006 21:51

help me
i want you picture hide gif put my forum.


http://img91.imageshack.us/img91/2483/resim1rs2.jpg


help me
i want you picture hide gif put my forum. :(

Shazz 16 Nov 2006 22:40

Quote:

Originally Posted by Ronak (Post 1118694)
U can use this file too :cool: :cool:

I think this image is copyrighted..

MissKalunji 17 Nov 2006 00:09

Quote:

Originally Posted by Shazz (Post 1118898)
I think this image is copyrighted..

Yep By almighty Psionic vision

ga2000gt 17 Nov 2006 02:56

hi itsid, i'm having problems with this hack, the preview is not working when i enable the hide product :S
how could i fix that?
thnx

Shazz 17 Nov 2006 02:56

Great hack

itsid 17 Nov 2006 03:34

First, to let me start from the end again ...
to all:
Never ever flame to any coder within this thread!
If you donot like what psionic offers: Don't use it!
I didn't like his hide-hack, so I build my own,
I love his Adv.Ed.Options so I use it and respect him.

So please: stay off of this thread if you only intend to disrespect any other person!

Now I'm feeling better ;)

okay, what's next?

ga2000gt, You don't see hidden content in forumdisplay even if you thanked or replied? Is that what you're saying?
That's the way it works, because to simply hide the content is about 100lines less code, that's why hidden content is only available where it needs to be shown (showthread, showpost, printthread).
No preview is intended :D
same thing for newthread/newreply; you know what you're intending to hide whilst typing I guess, and because of the unfamous bunch of messie code wysiwyg produces once in a while it's easier to just not parse hide in any editor :D

MissKalunji, Shazz Ronak:
Yes the picture belongs to the hide-hack from psionic vision, to do ME a favour, please do not use this one for my hack, thanks alot

Ahmudem,
you will find that editor-image some pages ago (post#74 of this thread) you can set that in acp under "own vb codes" edit (hide-tag) you will see once you're there :D

RFViet, yes this WILL be fixed in the future.
I've just finished a very crappy code that makes the ajax-calls to refresh the posts you need to have refreshed, once I cleaned up that mess and did some improvements on handling (MSIE wont do at this very moment) and added an option in acp to disable ajax functionality for hide-hack I will update the first post with the new version.
BUT: This still needs some time, I don't like you to have my lousy crap on your forums, that's why I do my best to fix issues before you install :D
I'm sure you understand ;)

'sid

MissKalunji 17 Nov 2006 05:26

Quote:

Originally Posted by itsid (Post 1119087)
First, to let me start from the end again ...
to all:
Never ever flame to any coder within this thread!
If you donot like what psionic offers: Don't use it!
I didn't like his hide-hack, so I build my own,
I love his Adv.Ed.Options so I use it and respect him.

So please: stay off of this thread if you only intend to disrespect any other person!

Now I'm feeling better ;)

okay, what's next?

ga2000gt, You don't see hidden content in forumdisplay even if you thanked or replied? Is that what you're saying?
That's the way it works, because to simply hide the content is about 100lines less code, that's why hidden content is only available where it needs to be shown (showthread, showpost, printthread).
No preview is intended :D
same thing for newthread/newreply; you know what you're intending to hide whilst typing I guess, and because of the unfamous bunch of messie code wysiwyg produces once in a while it's easier to just not parse hide in any editor :D

MissKalunji, Shazz Ronak:
Yes the picture belongs to the hide-hack from psionic vision, to do ME a favour, please do not use this one for my hack, thanks alot

Ahmudem,
you will find that editor-image some pages ago (post#74 of this thread) you can set that in acp under "own vb codes" edit (hide-tag) you will see once you're there :D

RFViet, yes this WILL be fixed in the future.
I've just finished a very crappy code that makes the ajax-calls to refresh the posts you need to have refreshed, once I cleaned up that mess and did some improvements on handling (MSIE wont do at this very moment) and added an option in acp to disable ajax functionality for hide-hack I will update the first post with the new version.
BUT: This still needs some time, I don't like you to have my lousy crap on your forums, that's why I do my best to fix issues before you install :D
I'm sure you understand ;)

'sid


Dont worry im not using it! Just stating that it belonged to someone else

and good work man just what i needed something that hides but doesnt add too many queries

Ronak 17 Nov 2006 07:16

Quote:

Originally Posted by Shazz (Post 1118898)
I think this image is copyrighted..

its not copyrighted !!

hide hack was first developed in IPB -- where this image was built so this aint copyrighted ;)

MissKalunji 17 Nov 2006 12:13

Quote:

Originally Posted by Ronak (Post 1119169)
its not copyrighted !!

hide hack was first developed in IPB -- where this image was built so this aint copyrighted ;)

oh ok it just looked like the one mr psionic vision uses wouldnt want n e one to get a heart attack over that ;)

Thanks for specifying!

RFViet 17 Nov 2006 21:38

Quote:

Originally Posted by itsid (Post 1119087)
RFViet, yes this WILL be fixed in the future.
I've just finished a very crappy code that makes the ajax-calls to refresh the posts you need to have refreshed, once I cleaned up that mess and did some improvements on handling (MSIE wont do at this very moment) and added an option in acp to disable ajax functionality for hide-hack I will update the first post with the new version.
BUT: This still needs some time, I don't like you to have my lousy crap on your forums, that's why I do my best to fix issues before you install :D
I'm sure you understand ;)

'sid

I like this hack because it's simple installation. I'll wait for that fix :banana:

Shazz 17 Nov 2006 22:51

Quote:

Originally Posted by Ronak (Post 1119169)
its not copyrighted !!

hide hack was first developed in IPB -- where this image was built so this aint copyrighted ;)

Do you have proof of this?
I swear Ive been contacted by Vision scripts about this

itsid 18 Nov 2006 01:21

earlier than I thought..

check out the ajax version of this hack

Have fun ;)

cheers
'sid

ps Open for any suggestions for sure

MissKalunji 18 Nov 2006 01:35

Quote:

Originally Posted by Shazz (Post 1119590)
Do you have proof of this?
I swear Ive been contacted by Vision scripts about this

i seen it on millionnnnnnnnnnnnnnns of invision board's site.....been there from before this even existed for vb But who cares :) i found one right here works the same!

MissKalunji 18 Nov 2006 01:35

Quote:

Originally Posted by itsid (Post 1119665)
earlier than I thought..

check out the ajax version of this hack

Have fun ;)

cheers
'sid

ps Open for any suggestions for sure


sweet thanks!


All times are GMT. The time now is 16:32.

Powered by vBulletin® Version 3.8.13
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.