vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Cyb - Advanced Forum Rules (https://vborg.vbsupport.ru/showthread.php?t=122998)

Valter 09-25-2006 01:18 PM

It's because your memberinfo template was customized.

bada_bing 09-25-2006 01:20 PM

Quote:

Originally Posted by Cybernetec
It's because your memberinfo template was customized.

yes but how do I fix it so that I can upgrade?

Masiello 09-25-2006 01:45 PM

Hi Cybernetec,
I really think you have made a very great work with this hack very usefull and I don't want to waste your time because you work like me, I don't joking or kind about that, please don't ignore my post, I only need to resolve my issue, I've try again on some other friends server and it's really do what I say in last posts, it is exactly (whitout or only one acceptance user rules) if I disable the hack and check the Reset acceptance button it redirect to a smile FAQ page, I only ask help for that, thank you all.

Valter 09-25-2006 02:06 PM

Masiello,
Enable hack, then reset acceptance status if you wish. You can't do this when hack is disabled.

bada_bing,
I must see your memberinfo template. Create temp admin account for me or copy the content of your memberinfo template here.

wpeloquin 09-28-2006 01:41 PM

i hope you dont mind, but i added 2 copies of your mod to my forums, one slightly modified. i help run a counterstrike gaming community, so i installed one instance as Forum Rules, and then i modified your .xml to add another, for Server Rules. example can be seen here: (http://rkccs.com). just thought i'd share, and hope you dont mind me editing your code.

Gripemaster 09-28-2006 02:05 PM

My memberinfo template is customized as well. Will this affect my upgrading? I really like this hack, I just pruned my member list and made the remaining members agree to the rules just last night. Will they have to do it again if I upgrade?

Thanks for a great and useful hack :)

McCarroll21 09-28-2006 07:17 PM

Installed. Can you tell me how to take the green out?

Valter 09-28-2006 08:23 PM

Gripemaster,
Upgrading hack will not change acceptance status.

McCarroll21,
Green can't be changed. If you change it someone will die.

Repeating again (after 100000 times): Phrase Manager

Gripemaster 09-28-2006 10:45 PM

Quote:

Originally Posted by Cybernetec
Gripemaster,
Upgrading hack will not change acceptance status.

McCarroll21,
Green can't be changed. If you change it someone will die.

Repeating again (after 100000 times): Phrase Manager

Thanks a bunch. Upgraded flawlessly. I like the force user again option. I have a good group all in all, but I can use that as a warning system of sorts if they break a rule. Thank you!

jyajay 09-30-2006 11:12 AM

Hi, how can i write dual language rules?

eNforce 10-09-2006 03:17 PM

Could you maybe add the option to have it automatically clear their acceptance of the rules for banned members?

For example User has accepted the rules but has later been banned. User has to accept the rules when he/she is unbanned.

a squared 10-09-2006 09:02 PM

Is this 3.6.2 compatible?

Freesteyelz 10-09-2006 11:05 PM

Quote:

Originally Posted by wpeloquin
i hope you dont mind, but i added 2 copies of your mod to my forums, one slightly modified. i help run a counterstrike gaming community, so i installed one instance as Forum Rules, and then i modified your .xml to add another, for Server Rules. example can be seen here: (www.roadkillcafe-cs.com/forums/). just thought i'd share, and hope you dont mind me editing your code.

I was thinking the same thing; one for spamming rules and the other for miscellaneous rules (for specific forums).

jyajay 10-11-2006 09:02 AM

The change since version 2.9 is missing on my installation. Is there a way to add this feature manually?

snowlion 10-11-2006 09:56 AM

http://img167.imageshack.us/img167/1493/missso7.jpg
missing all images

Robbed 10-19-2006 01:10 AM

Looks good.

Instead of using sql queries to see who accepted, can you have a page

like misc=do acctrules

Robbed 10-19-2006 04:14 AM

Also I would like to remove the link in the users profile, force user to accept rules, the phrase is to long and messes up the style.

Kadi 10-20-2006 11:35 PM

Great work. All but one of the hacks I have added are yours. Thanks.

Q: How do I make the forum rules, note1, note 2 align right?

Valter 10-20-2006 11:52 PM

Hi Kadi,

BB codes are enabled so just put [right] tags around text. :)


Robbed,

Remove this from "Cyb - Advanced Forum Rules - BB&Link&Accept" plugin:
Code:

$vbulletin->templatecache['MEMBERINFO'] = str_replace($cybfrules_mi,$vbulletin->templatecache['cyb_frules_forceuser'].$cybfrules_mi,$vbulletin->templatecache['MEMBERINFO']);

Robbed 10-21-2006 12:09 AM

Thanks man.

Elpie 11-03-2006 11:27 AM

Thanks Cybernetec for a brilliant hack!
I've had it installed (very fast, easy, and troublefree) while my forum (3.6.2) was under development and now that its going live I realise I have created a problem for myself.

I'm using a custom style and am not using the navbar at all, and I have a link to the forum rules showing at all times. The problem with that is that guests who are about to register get to see the acceptance bar and they are checking it, thinking this then signifies their acceptance of the rules. This throws them back to the index page, but then, of course, they get the rules that they thought they had accepted all over again before they can post.

I just cant work out how or where to do a conditional statement so the acceptance does not show up unless a user is logged in. Can you help please?

farooqaaa 11-03-2006 11:59 AM

Nice hack :)

*farooq clicks install (i think) :D

Canis Firebrand 11-03-2006 01:41 PM

Are the usergroup ids that are in the exception list only based of primary user group?

I installed the hack as I am an admin in my board. But I have myself and all the other members in the Registered Users group for primary and then additional groups as secondary.
My secondary group is Admins and when I enabled the hack, I had to accept the rules, even though the admin group user id is in the exceptions list.

Is there a way to have it cover additional usergroups in the exception list? Or did I miss something?

Factory Ten 11-03-2006 07:37 PM

Excellent work. Thank you!

chikkoo 11-04-2006 08:56 AM

Installed, and works perfect.
But I want to display the Navbar link for Guests too.

How to modify the Navbar?

jyajay 11-04-2006 09:41 AM

What is the phrase for the manual reset of individual members? I do not have it at the profile page.

Elpie 11-04-2006 11:04 PM

Quote:

Originally Posted by chikkoo
Installed, and works perfect.
But I want to display the Navbar link for Guests too.

How to modify the Navbar?

I'm not using the navbar (did my own thing) but this is the link that works

Code:

http://yourdomain/forums/misc.php?do=cfrules
Once I work out how to stop the rules acceptance showing up for guests, this will be perfect!

Spiffware 11-05-2006 04:43 PM

heres a idea or suggestion.. but first I want to say this is the best rules hack out there today. ok here we go I want to have a seperate set of rules for differatn usergroups. I have a company setup here so i got members need 1 type of rules and i got employees that need another type if rules then i got a single guy i need a special set or rules for him.is there a way to do that or can that be future rules settings on the hack?

WebSpidey 11-05-2006 07:23 PM

*Installed*

Thanks for the great hack....

2 Things I would like to request or ask about tho,

1) Is there a way to make them agree to this before viewing the website or forum sections at all? Perhaps whenever they try to enter any forum catagory other then the index, it would popup, rather then waiting until the try to post?

(some of my members have been angered, because they are about to make a post, they have what they want to post fresh in their mind, then out of nowhere they have to read and agree to something before they can post...)

2) Is there a way that you could make a PM agreement? So that, just like when someone tries to post, it will popup a "PM rules agreement" and/or the forum rules agreement before they can send any PMs? Obviously it would probably be best to have it popup when they try to create a PM rather then when they try to send it, but if it's something you are willing to do at all , I would be very appreciative.

-Thanks,
WebSpidey

apiasto 11-06-2006 07:53 PM

great,I like it thnx

grecostimpy 11-06-2006 07:58 PM

Just installed...thanks.

Was it supposed to make ALL users (existing and new) acknowledge when this is first installed? I thought it would only affect my new users, but all users are reporting they had to acknowledge the rules. Was it supposed to do this?

Also, if I make changes to the rules, will it make everyone re-acknowledge? (I know it is only supposed to make them re-acknowledge if I "Force" it, but just making sure!)

Thanks! GREAT hack!

McMendo 11-08-2006 12:24 AM

I've found one small problem after the install. I have the UserCP Navbar Menu template changes. The link to the forum rules shows in the pull-down menu of the UserCP navbar. See attachment.

McMendo 11-08-2006 08:29 AM

Update to the problem: I've added the optional code line:
Quote:

$cyb_frules_link
and now I can see the correct link plus the previous problem. See attachment.

taydu 11-08-2006 09:12 PM

Nice hack, installed.. I would like to see this hack extend to another level, the ability to create different rule for different forum

bada_bing 11-09-2006 02:28 AM

Quote:

Originally Posted by Cybernetec
Masiello,
Enable hack, then reset acceptance status if you wish. You can't do this when hack is disabled.

bada_bing,
I must see your memberinfo template. Create temp admin account for me or copy the content of your memberinfo template here.

I have PM'd you my memberinfo . Can you take a look and see how I can fix this issue so I can upgrade to the latest version of this great hack

jyajay 11-09-2006 05:55 PM

I still don't have the "option to reset acceptance status for individual member".

This option is nowhere, not even on the standard style. Could you tell me thre phrase that needs to be added into the template, I'll do it by my own.

Btw, the memberinfo templates are all original.

grecostimpy 11-10-2006 10:44 AM

Quote:

Originally Posted by jyajay
I still don't have the "option to reset acceptance status for individual member".

This option is nowhere, not even on the standard style. Could you tell me thre phrase that needs to be added into the template, I'll do it by my own.

Btw, the memberinfo templates are all original.

Mine shows up on the member's profile page as "Force <username> to Accept Forum Rules Again"

No luck there?

The phrase is cybfrules_forceuser "Force {1} To Accept Forum Rules Again"

jyajay 11-13-2006 12:11 AM

The phrase was not what I was looking for as I put a different text there anyway.

I found the code in the xml.. by hand


@grecostimpy

The phrase is actually cyb_frules_forceuser which is a template so I cannot just put that in my memberinfo. What exactly do you have at your memberinfo template?


If you enter the URL manually everyone can force users to read the rules again, that is a major problem for me!

PHP Code:

misc.php?$session[sessionurl]do=forceusercfrules&u=$userinfo[userid]"; 

I still can only put in that link and then everybody can use that function for everybody or put the url manually.

Valter 11-13-2006 03:06 PM

v3.0 - Oct 30. 2006.
-Whole code is now valid XHTML 1.0 Transitional (never released)
v3.1 - Nov 13. 2006.
-Option to force user to accept rules again in member profile can be turned off
-Added variable for above function that you can place it to another place in MEMBERINFO template ($cyb_frules_force)
-Bug fixed (if some user knows exact link for resetting acceptance status he can do it)
-Several other improvements/fixes

To upgrade: Import XML, allow overwrite.

jyajay 11-13-2006 03:20 PM

Nothing changed for me, even guests can reset the read status!

Overwrite was checked, of course.


All times are GMT. The time now is 12:39 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.01580 seconds
  • Memory Usage 1,826KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (7)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