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 - vFCoders - Hide Hack v4 (https://vborg.vbsupport.ru/showthread.php?t=282328)

Hippy 05-14-2012 01:34 PM

No..just moved the hook . Well made a new one and put it where I wanted but this is a test site so you could be right now that you mentioned it I think it had a issue with the Ajax with out this mod ill check it out when I get home. Thanks.. oh ie9 and ff are the browsers I tested it with

Hippy 05-14-2012 10:13 PM

Badshah93.. It was the groan mod even tho it was disabled ..
I was just board long ago playing with it ..
It was disabled but something was messing up the Ajax..
I un-installed it and all works as it should :up:

eagerly awaiting the gold version..

thanks for your hard work /support and the release
:up: :up:

blueperspective 05-15-2012 04:28 AM

Wow... very nice one. I'll definitelly use the Gold version.
(Being stupid) I've bought DavidsMod Hide hack a few months ago and he's promissing updates since then, but nothing. Basically I've paid 45$ for a mod that doesn't work.
I just realized that real coders offer their work for free, here on vB forum. There are a lot of great coders that do this service just for the love of utility, progression and helping others. (BirdOPrey5 is one of them for example)
I appreciate you for that, BadShah93.
Thanks a lot for everything and keep up the good work!

chiggy 05-15-2012 05:41 PM

wromm working very good on my vbulletin 4.1.4 with ajax post thanx hack 7.83 Bro Badsha Good Work U Have Done. Working Perfectly.
Bro Badshah Can You Make This Like **Hidden Content: Reply or Thanks to see the content** Then The Hide Images Or Something Decoretive Then This Very Simple Line Do Something Bro For This Then Your Work Realy Grow Everyone Install This Hack Bcoz Its Working Very Well Without Any Problem Or Errors. So Plz Some Thing About Look Also.
Thanx In Advanced.

Badshah93 05-15-2012 07:11 PM

1 Attachment(s)
Quote:

Originally Posted by chiggy (Post 2329639)
wromm working very good on my vbulletin 4.1.4 with ajax post thanx hack 7.83 Bro Badsha Good Work U Have Done. Working Perfectly.
Bro Badshah Can You Make This Like **Hidden Content: Reply or Thanks to see the content** Then The Hide Images Or Something Decoretive Then This Very Simple Line Do Something Bro For This Then Your Work Realy Grow Everyone Install This Hack Bcoz Its Working Very Well Without Any Problem Or Errors. So Plz Some Thing About Look Also.
Thanx In Advanced.

hide images added in gold version.. (attached unhidden image)
will release it tomorrow morning.

Hippy 05-15-2012 11:40 PM

I tested a could things
I have
Can Always See Hidden Content If enabled, then user of this group will be allowed to bypass Hide Tags
I set it to no for mods and super mods
and only mods cant view, super mods can see all

and if I set the number of post you need to have to view content, set to 400
I can't view the content with even 600+ post count as a mod
or regular member.. supermod is not set to bypass anything
same settings as mod they see all I even set admins not to be able to bypass and they can see all
I cleared the cache and saved tables to see if that would help..
no go..

Hippy 05-16-2012 12:36 AM

ok tested more
"the showgroup with post count of "
works ... But only in the first post..

If that was intended this way, shouldn't button disappear after the first post?..
if it wasn't then bug

Badshah93 05-16-2012 03:38 AM

Quote:

Originally Posted by Hippy (Post 2329721)
I tested a could things
I have
Can Always See Hidden Content If enabled, then user of this group will be allowed to bypass Hide Tags
I set it to no for mods and super mods
and only mods cant view, super mods can see all

and if I set the number of post you need to have to view content, set to 400
I can't view the content with even 600+ post count as a mod
or regular member.. supermod is not set to bypass anything
same settings as mod they see all I even set admins not to be able to bypass and they can see all
I cleared the cache and saved tables to see if that would help..
no go..

admin and super mods can see all because they have permission to edit that posts which contain hide tags.

only 3 type of users can bypass hide tags

1) thread or post owner
2) Moderator of that section (or admin or super mod)
3) usergroup set in usergroup manager

Badshah93 05-16-2012 03:47 AM

Quote:

Originally Posted by Hippy (Post 2329729)
ok tested more
"the showgroup with post count of "
works ... But only in the first post..

If that was intended this way, shouldn't button disappear after the first post?..
if it wasn't then bug

i didn't get you..

in showgroup tag, (usergroupid is entered not post count)

Hippy 05-16-2012 10:03 AM

The popup window asks to put the amount of posts no ?when you click on the usergroup. Ill look at it when I get home thanks

Hippy 05-16-2012 10:55 AM

Hide post and usergroup have the same popup ..is it just me . Well if I put a post count number in usergroup in the first post it will show if the user has more than was added to that tag,if not. They have less then what was added to the group tag it will not show .weird.. but if i do the same thing in The second post it hides... only noticed this because the popup said to add post count instead of usergroup ld

Badshah93 05-16-2012 12:53 PM

Quote:

Originally Posted by Hippy (Post 2329832)
Hide post and usergroup have the same popup ..is it just me . Well if I put a post count number in usergroup in the first post it will show if the user has more than was added to that tag,if not. They have less then what was added to the group tag it will not show .weird.. but if i do the same thing in The second post it hides... only noticed this because the popup said to add post count instead of usergroup ld

which vb version r u using ?

in vb > 4.1.3

when somebody click "S" button then this popup comes

https://vborg.vbsupport.ru/attachmen...0&d=1335990224

Hippy 05-16-2012 01:27 PM

Vb4.1.12pl1 yes clicking the S pops up the popup for HP about adding post amount to enter not the one in you screen shot

Badshah93 05-16-2012 02:05 PM

Quote:

Originally Posted by Hippy (Post 2329870)
Vb4.1.12pl1 yes clicking the S pops up the popup for HP about adding post amount to enter not the one in you screen shot

in vb < 4.1.4, popup ask for entering option not post amount .

Hippy 05-16-2012 03:10 PM

I'm on.my cell... all I can tell you is that when I get home I'll show ya... the post above I ment that it pops up but no options for user groups like your screenshot .. . Ill past back when i get home from work and I'm on my rig

Badshah93 05-16-2012 03:57 PM

Quote:

Originally Posted by Hippy (Post 2329893)
I'm on.my cell... all I can tell you is that when I get home I'll show ya... the post above I ment that it pops up but no options for user groups like your screenshot .. . Ill past back when i get home from work and I'm on my rig

you didn't get me. Popup which i shown is only possible in ckeditor (vb >= 4.1.4) as i specially made this mod vb >= 4.1.4.

Hippy 05-16-2012 04:49 PM

Ok so this mod will only have that pop up if I run Vb4.1.4 ? What pop up should be with the latest vb?
http://vfcoders.com/ is Vb4.1.12. Do you have it running there...if so what pop up should the newest vb have... sorry for all the confusing posts ...

Badshah93 05-16-2012 05:34 PM

Quote:

Originally Posted by Hippy (Post 2329935)
Ok so this mod will only have that pop up if I run Vb4.1.4 ? What pop up should be with the latest vb?
http://vfcoders.com/ is Vb4.1.12. Do you have it running there...if so what pop up should the newest vb have... sorry for all the confusing posts ...

Select usergroup popup will be shown on vb forum which has ckeditor.
ckeditor was implemented on vbulletin >= 4.1.4 or you can say 4.1.04

rafiul 05-16-2012 08:30 PM

Uninstalled as not working on my forum (4.11 pl 2), Button image is not showing on ckeditor, Hack is not working on any hide tag. I have give all permission to user. And check all other option but nothing helped. Is this version is issue?

Hippy 05-16-2012 09:32 PM

1 Attachment(s)
dunno I added this thinking it was a fix
https://vborg.vbsupport.ru/showpost....3&postcount=72
and this was the issue ..
this is how it looked before..
https://vborg.vbsupport.ru/attachmen...1&d=1337207477
and this is how it looks when I changed the plugin.js back to the orginial one
https://vborg.vbsupport.ru/attachmen...1&d=1337207477

Badshah93 05-17-2012 03:57 AM

Quote:

Originally Posted by Hippy (Post 2330015)
dunno I added this thinking it was a fix
https://vborg.vbsupport.ru/showpost....3&postcount=72
and this was the issue ..
this is how it looked before..
https://vborg.vbsupport.ru/attachmen...1&d=1337207477
and this is how it looks when I changed the plugin.js back to the orginial one
https://vborg.vbsupport.ru/attachmen...1&d=1337207477

last time file maybe not uploaded properly, thats why you were not getting select popup.

kauka 05-17-2012 05:12 PM

I thought this mod was going gold. Good work though.

nacaruncr 05-17-2012 08:17 PM

1 Attachment(s)
I have a bug :S
When someone want to read a PM, they can't read them.... but when I disable the hack, the users can read them :S
How I can fix it man :S
Thanks and regads :)

Edit:
The only usergroups can read them are:
Adms and global mods

This is the message:
https://vborg.vbsupport.ru/attachmen...1&d=1337290492

Edit again:

This is the hide error:

Code:

Database error in vBulletin 4.1.3:

Invalid SQL:

                                SELECT postid

                                FROM my-web_post

                                WHERE

                                    userid = 3

                                    AND threadid =

                                    AND visible = 1 AND userid &gt; 0 LIMIT 1;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND visible = 1 AND userid &gt; 0 LIMIT 1' at line 6
Error Number  : 1064
Request Date  : Thursday, May 17th 2012 @ 04:36:07 PM
Error Date    : Thursday, May 17th 2012 @ 04:36:07 PM
Script        : http://www.my-web.com/private.php?do=showpm&amp;pmid=11800
Referrer      : http://www.my-web.com/private.php
IP Address    : 000.000.000.000
Username      : prueba
Classname    : vB_Database
MySQL Version :


Hippy 05-17-2012 08:46 PM

I just tested this and no errors under any user group
But
If you have "quote PM" any user that uses this to quote a post to another user they can see all the hidden content in the pm
with out thanking or replying to the thread / post
any user group

nacaruncr 05-17-2012 08:57 PM

Quote:

Originally Posted by Hippy (Post 2330246)
I just tested this and no errors under any user group
But
If you have "quote PM" any user that uses this to quote a post to another user they can see all the hidden content in the pm
with out thanking or replying to the thread / post
any user group

Where is it??
or how I can do it... because in the hack it does not appear this option :S
I don't understand very well :S excuse me my english.. but I don't know how I can do that :S
Could you explain me please :$ ?

Hippy 05-17-2012 09:25 PM

Quote pm is an other mod. not part of this One.. o did the pm test. To see if i got that error. Its s test sites so I logged in as a user and used the quote post in pm to a user that did not thank or post to a test thread and the pm was readable but since I used this to send the pm. It had the hide code in it and was readable by the user

nacaruncr 05-17-2012 09:48 PM

I don't find this mod :S
I was searching but I didin't find it XD
Could you give me the link, please? :$:(

Hippy 05-17-2012 09:59 PM

Pm boofo...

nacaruncr 05-18-2012 03:14 AM

I installed the Quote Post in PM and continue happening the same problem U_U ohh... I love this hack.. but any user can read PMs .... I gonna disable it U_U uhhmmm... U_U

thanks...

Edit:
After disable... the users can read the PMs... I tried with a test user U_U
I gonna wait if the next version it works fine....

thanks and regards U_U

nacaruncr 05-18-2012 04:06 AM

WAAAAAAOO..

I installed the lastest version and now it's working fine :D
XD the important to upgrade the hack XD
thanks :D

Badshah93 05-18-2012 05:08 AM

Quote:

Originally Posted by nacaruncr (Post 2330241)
I have a bug :S
When someone want to read a PM, they can't read them.... but when I disable the hack, the users can read them :S
How I can fix it man :S
Thanks and regads :)

Edit:
The only usergroups can read them are:
Adms and global mods

i fixed this bug in 2.0 version

Badshah93 05-18-2012 05:28 AM

Quote:

Originally Posted by Hippy (Post 2330253)
Quote pm is an other mod. not part of this One.. o did the pm test. To see if i got that error. Its s test sites so I logged in as a user and used the quote post in pm to a user that did not thank or post to a test thread and the pm was readable but since I used this to send the pm. It had the hide code in it and was readable by the user

To make it work with quote PM MOD, you will need to do edit one plugin of quote PM

Plugin Name: Quote Post in PM (2)

------------------------------
Find:
PHP Code:

    if ($vbulletin->options['qpipm_trim_text']){$pagetext vbchop($pagetext$vbulletin->options['qpipm_trim_text']);} 

Add Above:
PHP Code:

global $vfc_hide;
if (
$vbulletin->options[hide_hack_sett_main]) {
$params = array('message' => $pagetext'forumid' => $foruminfo['forumid'], 'threadid' => $posttext[threadid], 'postid' => $postinfo[postid], 'userid' => $postinfo[userid]);

$pagetext $vfc_hide->fetch_msg_to_hide($params);




nacaruncr 05-18-2012 06:07 AM

Quote:

Originally Posted by Badshah93 (Post 2330341)
i fixed this bug in 2.0 version

ohhh ohh... thanks man :D
It's awesomeeeeeeee :D

Regards :)

Hippy 05-18-2012 10:00 AM

Quote:

Originally Posted by Badshah93 (Post 2330343)
To make it work with quote PM MOD, you will need to do edit one plugin of quote PM

Plugin Name: Quote Post in PM (2)

------------------------------
Find:
PHP Code:

    if ($vbulletin->options['qpipm_trim_text']){$pagetext vbchop($pagetext$vbulletin->options['qpipm_trim_text']);} 

Add Above:
PHP Code:

global $vfc_hide;
if (
$vbulletin->options[hide_hack_sett_main]) {
$params = array('message' => $pagetext'forumid' => $foruminfo['forumid'], 'threadid' => $posttext[threadid], 'postid' => $postinfo[postid], 'userid' => $postinfo[userid]);

$pagetext $vfc_hide->fetch_msg_to_hide($params);




thanks 2 thumbs up

Hippy 05-18-2012 11:47 PM

Badshah93
I added your fix for the quote pm
and it seems to just remove the [hide] tag if you thanked
so who ever the quoted post is sent to now can view the content.


example

with the code above

Code:

In Reply to your post [ post=12 ]test hide[ /post ]
[ QUOTE=Hippy;12 ] test thank to view content [ /QUOTE ]

if you didn't thank then it will view as

example
and this will be seen
Code:

In Reply to your post [ post=12 ]test hide[ /post ]
[ QUOTE=Hippy;12 ]***Hidden content cannot be quoted.***[ /QUOTE  ]



example with out the code you posted

Code:

In Reply to your post [post=12]test hide[ /post ]
[ QUOTE=Hippy;12 ][HIDE-THANKS]test thank to view content[/HIDE-THANKS][ /QUOTE ]






thanks

Hippy 05-19-2012 12:23 AM

1 Attachment(s)
with boofo's quote post in pm version (The original one)
if you add
Code:

global $vfc_hide;
if ($vbulletin->options[hide_hack_sett_main]) {
$params = array('message' => $pagetext, 'forumid' => $foruminfo['forumid'], 'threadid' => $posttext[threadid], 'postid' => $postinfo[postid], 'userid' => $postinfo[userid]);
 
$pagetext = $vfc_hide->fetch_msg_to_hide($params);

}

above

Code:

// Limit the quoted post text to something sane
if ($vbulletin->options['boofo_qpm_max_text'])

if seems to work..

the post quoted to pm with the hide tag in it views like so as long as your not a member that thanked to the post and pmes it

https://vborg.vbsupport.ru/attachmen...1&d=1337390472
in the event the person / member that "post thank" to the post, then he /she sent it to a member that has not thanked they will be able to read the content in the pm..

Hippy 05-19-2012 12:41 AM

ok , I may of confused you because I confused myself..

ok
example

I'm a regular member and I thanked a post with the hide tag for "post thanks"
now I can view the content..

then I quote pm to a user that did not thank to view ..
in the PM he can view the content..

sorry about that, to many log in and out's to see what was going on..

is there any way for you to make it like in the thread to say ***Hidden content cannot be quoted.*** no matter if they thanked or not to the post in the pm?

Hippy 05-19-2012 01:21 AM

-=snipped=-

nacaruncr 05-19-2012 01:47 AM

ohh... I was searching how make to the first post can't quote for this mod (quote post pm) but with these mod, help me a lot :D
thanks man I'm gonna use them :)

Badshah93 05-19-2012 03:12 AM

Quote:

Originally Posted by Hippy (Post 2330563)
ok , I may of confused you because I confused myself..

ok
example

I'm a regular member and I thanked a post with the hide tag for "post thanks"
now I can view the content..

then I quote pm to a user that did not thank to view ..
in the PM he can view the content..

sorry about that, to many log in and out's to see what was going on..

is there any way for you to make it like in the thread to say ***Hidden content cannot be quoted.*** no matter if they thanked or not to the post in the pm?

replace old edit with this

PHP Code:

global $vfc_hide;
$pagetext $vfc_hide->strip_hide_bbcodes($pagetext'quote'); 



All times are GMT. The time now is 04:56 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.01692 seconds
  • Memory Usage 1,868KB
  • 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
  • (6)bbcode_code_printable
  • (5)bbcode_php_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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