PDA

View Full Version : Allow Group to Read Titles / Not Content


Pages : 1 [2]

mfarmerhi
06-11-2005, 06:17 PM
I don't think he is following instructions. He is doing a search for : 65536 and is placing the code right after that. all 65536 are not the same.Hi Lionel,

Thanks for suggesting a possible problem.

No. I did not "search for 65536" and place the code after that.

I performed the hack as instructed and had it working fine until I installed the other hack.

I HAVE only posted the parts of each hack that *appeared* to me to be conflicting, but you can see both of the hacks, in full, through the links I provided in my first post, to compare the full codes for other possible conflicts ('cause I sure don't know where or how they're conflicting...).

~ Mark

mfarmerhi
06-12-2005, 05:36 AM
Okay... I'm thinking the problem is coming from "text on pm" redefining "hasaccessmask"

Prior to installing that hack, 'hasaccessmask' reads:'hasaccessmask' => 8192,

That hack redefines it:

'hasaccessmask' => 16384,

If I'm not mistaken, "Allow groups to view titles" also uses the access masks feature, and I'm guessing that redefining hasaccessmask is causing the conflict.

That hack is using 8192 for a new permission: 'txtmsgonpm'. Can 'txtmsgonpm' be redefined to the 16384 or some other number, so that 'hassaccessmask' can remain 8192? Alternatively, is there a way to allow 'hasaccessmask' to be redefined and still work for this hack?

~ Mark

mfarmerhi
06-12-2005, 07:52 AM
Alright. The more I explore, the more sure I am of the conclusion I came to in my last post above.

In the end, I've left both hacks installed.

Because the "Text on PM" redefines the bitfield for 'hasaccessmask', if you choose to use both hacks ("Text on PM" and "Allow Groups to read"); AND you've first installed the "Allow Groups" hack FIRST, THEN installed "Text on PM", you'll need to go back to all the users you've allowed to read the thread contents (in the forum(s) you've selected as your "Allow Groups to read" forum(s)) and:

1) Change each user first to "no" or "default"; THEN
2) Change that same user BACK to "yes"

YOU HAVE TO DO THIS EVEN THOUGH YOUR USER ACCESS MASKS WILL STILL SHOW THOSE USERS AS HAVING PERMISSION TO READ CONTENTS

Although I am not sure how it happens, it's my belief that by redefining 'hasaccessmask' with a new bitfield, it causes vB to "forget" whom could and could not read thread contents, requiring you to again re-define them.

Said another way, the variable that used to define who could read contents, has been changed. To restore that permission you need to again define those users.

Again, this *should* only apply to users who have FIRST installed the "allow groups to read" hack, THEN installed the "text on pm" hack.

~ Mark

Princeton
06-12-2005, 12:09 PM
Did you try clearing all cookies / closing session / logging out / close browser before you did all the above? It could have worked; but, then again--maybe not. Anyway, you got the hacks working and that was the ultimate goal.

thanks for sharing your find...

Marco van Herwaarden
06-13-2005, 10:14 AM
Am i missing something? What does a phonenumber got to do with this hack?

jellybaby
08-24-2005, 04:05 PM
Does this work with 3.0.8?

Princeton
08-24-2005, 04:09 PM
yea, it should work ...

in case you are not aware--this option is now built into vb 3.5

jellybaby
08-24-2005, 04:11 PM
Thanks for the reply. I have 3.0.8 and I have installed it and I can see the options in admin and have set them but guests can still view!

Princeton
08-24-2005, 04:16 PM
Have you set and saved each usergroup permissions?
If not, you must 'save' each usergroup permissions setting for it to work.

If you done the above take a closer look at the instructions -- you may have made an error while copying and pasting.

jellybaby
08-24-2005, 04:31 PM
By save each usergroup permission do you mean select the usergroup chose yes or no and save? Sorry I am new at this

jellybaby
08-25-2005, 06:23 AM
Thanks I have this sorted now.

Princeton
08-25-2005, 12:28 PM
thanks for the update :up:

ctsolutions
09-22-2005, 06:00 PM
just wondering if this hack will be ported for vB Version: 3.5 (rcX)

thanks
ctsolutions

Princeton
09-22-2005, 06:04 PM
I believe this is a default feature in 3.5.

ctsolutions
09-22-2005, 06:11 PM
I believe this is a default feature in 3.5.


WoW, that was a quick answer :banana:


Thank You, I W'll check

CtSolutions

aacircle
10-01-2005, 01:18 AM
Hi all!

Just installed vBulletin 3.50 and it went like a cinch.

In previous versions I've happily used this thread's hack. However, this hack will no longer work for v3.5.

Does anybody have a hack where I can specify a group to only be able to read thread title but not thread content, BUT can still read their own threads?

The below forum permissions are available for v3.5:

Can View Forum: YES/NO
Can View Thread Content: YES/NO
Can View Other's Threads: YES/NO

But unfortunately there is no option for:

Can View Other's Thread Content: YES/NO

Any feedback would be much appreciated.

Thank you.

Princeton
10-01-2005, 01:29 AM
Ha, you're right..
I was under the impression that this was added but a closer look tells me otherwise.

If I find time I will port this over for 3.5 before the end of October.

aacircle
10-01-2005, 01:53 AM
Cool... thanks Princeton.

manutdvn
10-11-2005, 03:08 PM
It doesnot work for my forum 3.0.8. I did the same thing follow the instructions but...Why? Can somebody help? :(

Princeton
10-11-2005, 03:19 PM
you probably made a mistake when editing files

uninstall the previous installation and start over again

bigmonay2k
10-15-2005, 03:32 AM
you probably made a mistake when editing files

uninstall the previous installation and start over again
any upgrade for 3.5 coming dude?/
thanks :ermm:

Oreamnos
10-15-2005, 04:14 AM
as far as i know this is a new default feature of 3.5. no need for this hack in 3.5. you should double check but im 95% sure

aacircle
10-15-2005, 11:00 AM
This hack is not avail in 3.5. See page 18 where princeton says he will have the hack done by month end of October..... well I hope anyway.

bigmonay2k
10-16-2005, 11:42 AM
as far as i know this is a new default feature of 3.5. no need for this hack in 3.5. you should double check but im 95% sure
well dude you are 95% WRONG :nervous:

I really need this please

Boofo
10-16-2005, 02:23 PM
well dude you are 95% WRONG :nervous:

I really need this please

He is not wrong. ;)

Oreamnos
10-16-2005, 09:33 PM
Actually, bigmonay2k, i am 95% right! ;)

Usergroups -> Forum Permissions -> "Forum Name" -> [Edit]"Usergroup Name"

Can View Forum Yes
Can View Thread Content No
Can View Others' Threads Yes

The only thing this doesn't allow is the ability to allow users to view their own posts/threads.

bigmonay2k
10-17-2005, 01:06 AM
Actually, bigmonay2k, i am 95% right! ;)

Usergroups -> Forum Permissions -> "Forum Name" -> [Edit]"Usergroup Name"

Can View Forum Yes
Can View Thread Content No
Can View Others' Threads Yes



wow I didn't even know that :nervous:hehehe thanks

The only thing this doesn't allow is the ability to allow users to view their own posts/threads.

that's not good then, I want to tell the members why they can't see that thread, To have access to the contents of this thread, either you must be a REGISTER MEMBER, PREMIUM MEMBER, you do not have enough POST or Your ACCOUNT is awaiting email confirmation. To learn more about our membership please visit our 'Membership Options'.
I am inlove with this hack princeton, 3.5 :up:

aacircle
10-18-2005, 08:53 AM
Yeh, hopefully princeton will have the hack out soooooooooon....

TundraSoul
10-19-2005, 09:08 PM
Correct it's an option in vB3.5. However one complaint I have about it is the default no-permission error message it uses for people who try and access blocked threads. It's the same no permission template peple see who are not logged in or try to access restricted forums.

The message should be a separate template, so we can customize the message and explain why the user cannot see the content.

as far as i know this is a new default feature of 3.5. no need for this hack in 3.5. you should double check but im 95% sure

bigmonay2k
10-21-2005, 02:44 AM
Correct it's an option in vB3.5. However one complaint I have about it is the default no-permission error message it uses for people who try and access blocked threads. It's the same no permission template peple see who are not logged in or try to access restricted forums.

The message should be a separate template, so we can customize the message and explain why the user cannot see the content.


that's exacly what I want dude, thanx

737Pilot
10-24-2005, 10:47 AM
And it would be nice to preview the title as it was in the old hack...

Snoop-It
11-16-2005, 11:11 PM
on my 3.5 board, i do all these permissions im following for Guests.... but i just tested that i can still view threads / posts..

whats the correct option for...

guests can view threads, but once clicked they can not read the posts inside the thread??

any ideas??

Rolito
11-20-2006, 05:11 PM
Does this mod it work in 3.6.3?

Is it updated?

Thanks !!!

bigmonay2k
04-21-2007, 01:06 AM
Does this mod it work in 3.6.3?

Is it updated?

Thanks !!!

good question

provedel
06-25-2007, 04:29 PM
Any news about this hack ported to newest version of vb?

wma
06-25-2007, 05:12 PM
hello,

have the same question ... any answer ?

;-)

Thanks,
tom

hector2000
08-14-2007, 06:35 PM
i want when user want to read threat then he see loging form(ask for username and password)
this hack show only the guest has no premission for viewing this threat.
i want vb show login form.
execuse me for my bad english