vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Force Site Rules (Announcements) to be read (https://vborg.vbsupport.ru/showthread.php?t=67547)

Logikos 07-26-2004 02:22 PM

Quote:

Originally Posted by The Realist
Questions:
1) Whats the rules.php for?
2) I could not run:
Type: GLOBAL
Varname: $vbphrase[site_rules]
Text: Rules
So I left it out
3) installed on without the above and working fine.

Laters

opps that should be:
Type: GLOBAL
Varname: site_rules
Text: Rules

Updated text.

Red Blaze 07-26-2004 05:02 PM

Well, this is almost what I need, but I want one that will show up for someone that is posting for the first time, instead of seeing the UserCP for the first time.

Logikos 07-26-2004 07:10 PM

When i get home from work i will make this work for posting, and for the arcade. Been busy.

ChurchMedia 07-28-2004 02:12 AM

Perfect! We made some policy changes recently. I could have used this last week --- but thanks for it now!

:)

*installs*

Skyline_GT 07-28-2004 08:02 AM

Quote:

Originally Posted by Skyline_GT
can you make a agree rules before post?

any answers plz?

vbIce 07-28-2004 11:29 AM

I have been looking for something like this with a little DIFFERNT twist to it.

I do not know about you but I am TIRED of people NOT reading rules or important annoucements etc. What I would LOVE to have is a way to FORCE Everyone to read a certain message no matter what they are doing.

Users are logged in, I create a NEW Rule or Message that I want EVERYONE to read. As soon as I create the RULE etc I would like to be able to FORCE EVERYONE to read it before they can PROCEED viewing forums etc. So say a member is reading a POST, I create a NEW RULE and choose FORCE READ. When those members click anything else in the forum it auto POPS up NEW message with the NEW RULE etc I just made.

The ONLY way I thought this would work right is to FORCE CLEAR ALL cookies (FORECE LOGOUT) for the Forum so that the message would Appear as soon as they logged back in they would have to CLICK a button on message to continue, even possibly the ADMINS can set how LONG they must READ it BEFORE they can continue.

Can you do this? This would be of great benefit, it would allow Forums to KNOW that EVERYONE got the NEWS or NEW RULES. People would no longer have an excuse well I didn't know, I didn't see the new rules etc. I know for me this would be of GREAT help :)

Reeve of shinra 07-30-2004 02:43 AM

I'm thinking of something simliar only have it redirect the user to our index page. Alot of people link to the forum directly and I want to cut back on that.

Logikos 10-03-2004 07:50 PM

Force Site Rules is back, and will have updated instrutions later tonight for the forums index.php, and the arcade.php.

lanc3lot 10-03-2004 09:44 PM

So u will do it be shown before ppl see the index forum page?
SWEET, looking forward for it mate

Logikos 10-03-2004 09:49 PM

Yes when a member comes to your site, the first thing they will see is the rules, when they click i accept. it will record it in the database, and they will no be prompt the rules again. I'm also making it so you have updated rules. If you update your rules for w/e reason, then you add the new rules, and click on a update button, and it will make it so all user have not agreeded to the new rules, and they will be prompt the new rules again.


All times are GMT. The time now is 12:03 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.01117 seconds
  • Memory Usage 1,734KB
  • 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_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
  • (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