vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   I know its probably here somewhere, but (https://vborg.vbsupport.ru/showthread.php?t=61052)

cindyd 02-01-2004 08:39 PM

I know its probably here somewhere, but
 
I don't even know how to phrase the search. What I am looking for is the same hack used here and elsewhere that prohibts non-members from seeing "code" or answers to questions.

Would someone point me in the right direction?

I am going to have a membership only forum and I don't care if the others see the questions, but the answers are going to be paid for.

Anyone point me in the right direction?

Thanks

Boofo 02-01-2004 09:09 PM

For not seeing answers, you need the spoiler hack. ;)

But they can see the answers if they highlight the spoiler area. Check out the Block code hack I released. That is more what you need for what you are trying to do, I think. ;)

VBDev 02-01-2004 09:12 PM

or on our site :

http://www.vbulletindev.net

But in french and not released in english here :/

Here :

http://www.vbulletindev.net/modules/...wcat.php?cid=4

The last at the bottom

We'll see if we will do an english version

Boofo 02-01-2004 09:13 PM

Which hack is that?

cindyd 02-01-2004 09:35 PM

I was searching and came across this one by Slynderdale:

if() vBCode - Private Post Text Hack located here:

https://vborg.vbsupport.ru/showthrea...bers+code+hack

I'll go look at the others, but this one seems to be what I am looking for, I think.

Thanks for the replies!

cindyd 02-01-2004 09:37 PM

Boofo: I remember coming here and forgot to sign in, and when I looked at the code it wasn't code.....I don't remember what it said, this was a couple of years ago. That's the type of thing I want. I'll go look at your Block code hack.

Also I am still on 2.3, I just found your hack for 3.0....still looking.

Thanks again

Boofo 02-01-2004 10:18 PM

I think I have a block code that will work for vB2 somewhere. Let me know if you don't find what you need and I will see if I can put it together for you. ;)

cindyd 02-27-2004 09:42 PM

Hi again Boffo, I am to the point of needing something like your Block Code hack, but in my instance it would be to block replies or the text within a reply to users who can "view" the forum as unpaid members.

IOW the unpaid users could see all the questions but not our answers. We are identifying different pieces of glassware and I will be charging for it.

Since your hack involved code, Php etc. I didn't know if it would work on regular text or if it was overkill.

There will be only certain user groups that will be able to see the answers.

If you could give me an idea if the Block Code will work for me, I'll give it a try.

Thanks

Boofo 02-27-2004 11:47 PM

Most of the deciding what to blaoc and not to bloack is done in the template. Take a look at the code I did for each template and you will see where I did an if condition for the bbuserid. You can do the same thing with usergroups with this hack, too. Does that answer your question? If not, let me know and I will do a sample code for you on what you are trying to do. ;)

cindyd 02-28-2004 01:26 PM

OK, I will do that today. Thanks


All times are GMT. The time now is 04:43 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.01013 seconds
  • Memory Usage 1,725KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete