PDA

View Full Version : Miscellaneous Hacks - Cyb - Advanced Forum Rules


Pages : [1] 2 3

Valter
08-03-2006, 10:00 PM
FEATURE UPDATES WILL BE RELEASED HERE:
https://vborg.vbsupport.ru/showthread.php?t=177559


==========


Info:
Advanced Forum Rules system for vBulletin.

Main Features:
-Rules shown on separate page (no file uploads required)
-BB codes enabled
-Options to force users to accept Forum Rules before can view forums, post, send PMs,...

See screenshots.


Installation:
1. Import XML file (as product): AdminCP > Plugin System > Manage Products > [Add/Import Product]
2. OPTIONAL (for some customized styles)
Open template "navbar" and add "$cyb_frules_link" after "vbphrase[faq]</a></td>".
3. OPTIONAL (to add 'reset acceptance status' to different place than default one)
Open template "MEMBERINFO" and add "$cyb_frules_force" wherever you wish.


To set options:
Go to: AdminCP > vBulletin Options > Cyb - Advanced Forum Rules


NOTE: You can check which users are (not) accepted Forum Rules by running db queries:
(Run queries through: AdminCP > Execute SQL Query)
List users who had accepted Rules:
SELECT * FROM `user` WHERE cfrules_read_status > 0;
List users who hadn't accepted Rules:
SELECT * FROM `user` WHERE cfrules_read_status = 0;


Versions:
v1.0 - Oct 06. 2005.
-First version
v1.5 - Apr 22. 2006.
-Navbar link is added automatically now (one installation step less)
-Navbar "Forum Rules" link can be disabled in hack settings
-"Manage Rules" link is on settings page now (no need for .xml menu file anymore - one file less to upload when installing)
-"Unknown Location" fixed
-Added function to enable/disable whole hack (predefined error message is displayed instead)
-Templates now goes to "Cybernetec" group in Style Manager
To upgrade from 1.0 to 1.5:
-Import product XML through AdminCP > Plugin System > Manage Products > [Add/Import Product] (Be sure "overwrite" is checked). Upload cfrules.php and cfrulesadmin.php (replace old files). Delete file \includes\xml\cpnav_cfrulesadmin.xml.
v1.6 - Aug 04. 2006.
-Release of this hack for vB v3.6
v1.7 - Aug 05. 2006.
-Uncached template bug fixed
v2.0 - Aug 07. 2006.
-Completely changed way this hack works. No more queries, no more file uploads. Now Rules can be exported because it's part of vB settings. Now you can use BB Codes, which means you can use all standard text formatting functions, smilies, etc. To upgrade: Uninstall old version > Import XML as product > Delete "cfrules.php" from your forums root > Delete "cfrulesadmin.php" from "admincp" folder of your forums
v2.1 - Aug 07. 2006.
-Fixed "Edit Forum Rules" link (didn't worked for some users)
v2.2 - Aug 25. 2006.
-If your forum's index.php file was renamed, for any reason, now you can enter new filename in ACP hack options to have this hack working properly
-Added "Product Version Checking" - https://vborg.vbsupport.ru/showthread.php?t=124679
v2.3 - Aug 26. 2006.
-New: User must accept Rules to be able to post on Forums (option can be disabled/enabled)
-Look improved (see screenshots)
-Codes improved
-Hack name changed to "Cyb - Advanced Forum Rules"
v2.4 - Aug 27. 2006.
-Fixed small javascript bug
-Removed redirection to forum index after Rules acceptance
-Note 1/2 lines replaced by boxes in hack settings
-Removed navbar link HTML Markup options
-Separate phrase created for navbar link
v2.5 - Aug 31. 2006.
-Added ability to reset read status for all users. After this they will need to accept the Forum Rules again
-Added note at the top of Forum Rules when user need to accept it to be able to post on forums
-Added explanation on how to check which users had (not) accepted Rules
v2.6 - Aug 31. 2006.
-Fixed bug (index file location/name setting doesn't work)
-Fixed bug (if user who haven't accepted Rules try to post via quick reply in IE he gets undefined error)
-Fixed bug (resetting the accepts doesn't work if index file was renamed)
-Added: Guests now also need to accept Forum Rules to be able to post (cookie-based)
-Added: redirection message for user who try to post but haven't accepted Rules
v2.6.1 - Aug 31. 2006.
-Fixed bug (if user has no permissions to post he will get standard "no permission" message, not redirection to Forum Rules)
v2.7 - Sep 11. 2006.
-After acceptance users are redirected to the page they were previously viewing
-No more need to set filename for "index.php" if it was renamed. Now misc.php is used, which nobody has need to rename.
NOTE: Don't forget to update the links to the Rules you were posted on your site - change it to YOURFORUMS/misc.php?do=cfrules
-Added confirmation dialog for resetting acceptance status for all registered users
v2.8 - Sep 14. 2006.
-Added option to exclude usergroups from accepting Rules
-Navbar link title moved from phrases to settings for easier translation/make-up
v2.9 - Sep 24. 2006.
-Added option to reset acceptance status for individual member
v3.0 - Oct 30. 2006.
-Whole code is now valid XHTML 1.0 Transitional
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
v3.2 - Mar 06. 2007.
-New: User must accept Rules before can send PMs
-New: Options to choose what user can't do before accepting Rules
-New: Option to replace Registration Rules with this hack's one
-New: Better counter (with miliseconds, improved browser compatibility)
-Fixed some "invisible" bugs in code and improved compatibility with the latest vB releases
v3.3 - Apr 21. 2007.
-New: Option to force user to accept Rules before can view forums
-Fixed bug where three queries are executed on places where not needed
-Fixed bug where blank rows are shown twice on registration rules page
-New in registration rules options (disable completely)
-Better redirection after Rules acceptance
-Some other optimizations in codes...
v3.4 - Apr 22. 2007.
-Fixed bug where PMs can not be sent even Rules are accepted
-Fixed bug where Quick Reply does not work even Rules are accepted
-Improved counter and added ability to completely disable it (tested and worked on IE, Firefox, and Opera)
-Improved compatibility with right-to-left styles (note: in Rules use [right] tags anyway)
-Fixed navbar link
v3.5 - Jul 22. 2007.
-Fixed bug (MySQL injection vulnerability - attacker can trick admin to reset rules acceptance status for all members)
-Group membership checking works now for supplementary usergroups too
-Several code improvements
v3.5.1 - Jul 22. 2007.
-Fixed bug (XSS Vulnerability)
v3.5.2 - Jul 23. 2007.
-Another security exploit fixed
v3.5.3 - Jul 25. 2007.
-Fixed bug where user is not properly redirected after accepting rules
v3.5.4 - Jul 25. 2007.
-Bug fixed where username info is not shown when going to reset acceptance status
v3.6 - Oct 14. 2007.
-Fixed bug where some mods are not able to reset acceptance status
-Improved javascript code to fix problems with the counter some users reported
-Minor bug fixes


If you like this hack please click INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=122998).


Rules page demo: http://www.bihforum.com/misc.php?do=cfrules

sam anders
08-04-2006, 01:08 PM
installed nice hack thanks :)

DJ XtAzY
08-04-2006, 03:54 PM
can supermods able to add rules and stuff?

Valter
08-05-2006, 10:31 AM
v1.7 - Aug 05. 2006.
- Uncached template bug fix

Snake
08-05-2006, 04:37 PM
I love it! :D

Valter
08-07-2006, 10:26 AM
v2.0 - Aug 07. 2006.
- Completely changed way this hack works. No more queries, no more file uploads. Now Rules can be exported because it's part of vB settings. Now you can use BB Codes, which means you can use all standard text formatting functions, smilies, etc.
- More options (see screenshots)

To upgrade:
- Uninstall old version
- Import XML as product
- Delete "cfrules.php" from your forums root
- Delete "cfrulesadmin.php" from "admincp" folder of your forums

Lost_Prophet
08-07-2006, 11:41 AM
This does not work with this modification:
https://vborg.vbsupport.ru/showthread.php?t=118551

It tries to put the "Forum Rules" link inside the User CP dropdown menu.
I've looked but I can't see any way to change this behaviour.

Valter
08-07-2006, 11:43 AM
You tried to put:
"http://www.yoursite.com/index.php?do=cfrules"
or just:
"index.php?do=cfrules"
?

Try to play with this.

Lost_Prophet
08-07-2006, 11:49 AM
Um, neither ?

I haven't put anything into the navbar template - I just installed the Product as per the instructions.
I could put that link in to get the link on the navbar, but that would still give me the problem of having a link to it stuck inside the User CP dropdown menu.

DJ XtAzY
08-07-2006, 12:08 PM
Request:

Can supermods have the power to add/change rules as well?

Valter
08-07-2006, 12:13 PM
Lost_Prophet,
I'm not sure I understand you fully. Send me a temp Admin account login info via PMs so I can check it, if you wish.

XtAzY,
vB Options are not part of ModCP so there is no way that SM can add/change the rules.

aLReeMi
08-07-2006, 01:04 PM
great..

thanks

Oap JTRipper
08-07-2006, 03:07 PM
had a problem with edit rules from the rules page in that it didnt go anywhere

/admincp/options.php?do=options&dogroup=CFRules"

added

$vboptions[bburl]

in front of that in the template & works fine

Valter
08-07-2006, 06:57 PM
v2.1 - Aug 07. 2006.
- Fixed "Edit Forum Rules" link (didn't worked for some users)

iran.gs
08-07-2006, 09:40 PM
Installed perfect saves space in the forum ty

Freesteyelz
08-08-2006, 08:13 AM
Hey, Cybernetec. Thank you for the hack. You already know that I clicked Install. :)

*I think the formats (in Admin CP and how it displayed in cfrules.php) layed out better in version 1.7 than with 2.1. In 1.7 you could rearrange the # by editing fields (not lists) and you could define the consequences/punishments for each rule. I do, however, like the benefits of version 2.1. Is it possible to add the 1.7 look but have the improvements of 2.1? :)

**I appreciate the adjustments you've made; it's just a preferential matter. :)

phonexpo
08-13-2006, 10:45 AM
Thanks you for the hack, but I can't seem to get it to work for me. When I Click on forum rules it opens http://phonexpo.ie/index.php?do=cfrules which opens my main forum page. Any ideas what I have done wrong?

Thanks again,

Patrick :)

phonexpo
08-14-2006, 02:44 PM
Can someone offer any advice please?

Valter
08-14-2006, 04:31 PM
Create temp admin account for me and I'll check it.

phonexpo
08-14-2006, 07:33 PM
Create temp admin account for me and I'll check it.
Thanks Cybernetec, pm on the way.

mustang02
08-14-2006, 07:54 PM
Thanks. Installed.

phonexpo
08-14-2006, 11:00 PM
Create temp admin account for me and I'll check it.
Update.

I have it working now but I only got it to work by mistake. I have vBAdvanced installed on my forum, I have it set as my main index.php file/address and I usually have my main vB index.php changed to forums.php so I changed my forum.php to index.php and the forum rules link works, but how do I get it to work the other way?

Hope this helps...

phonexpo
08-15-2006, 08:07 AM
Hi I see you are on my forum at the moment, I should of told you this too, my normal forum address is www.phonexpo.ie/indexoff.php I'm having some issues with it that's why I have it named that. The Forum Rules doesn't work there normally.

Edit*

Oh it does now :surprised: Did you fix it already?

jw00dy
08-16-2006, 08:56 AM
GREAT hack! I love it. Thanks.

*installed*

bada_bing
08-16-2006, 06:15 PM
Installed on my vb 3.5.3 forum and works great. Wish there was a preview feature though. ;)

sudn3sc3d
08-16-2006, 06:51 PM
installed awsome dude :D

paul_c
08-16-2006, 11:23 PM
For my site, the forum rules are the same as what people see when they first register. That is, the information found in the "forum_rules_description" phrase. Is there anyway this product can be adjusted to use that phrase as the forum rules?

computer1
08-17-2006, 01:24 PM
I have install this nowe and its work greate :)
but I can se forum rules twice on my nav bar howe can I change that to one link in the navbar ????
my version off the forum is 3.6.0

optrex
08-23-2006, 07:31 AM
Hi Cyb,

Just installed this hack, but the "edit forum rules" link goes off to admincp/options.php?

Edit: Dont worry I changed it manually in the xml file

Valter
08-24-2006, 11:30 PM
v2.2 - Aug 25. 2006.
- If your forum's index.php file was renamed, for any reason, now you can enter new filename in ACP hack options to have this hack working properly
- Added "Product Version Checking" - https://vborg.vbsupport.ru/showthread.php?t=124679

Smoothie
08-25-2006, 01:50 AM
Strange, I've checked all the sites that said they installed it but I don't see the link anywhere. Anyone have a link on a live site to check out?

Valter
08-26-2006, 07:55 AM
It's because link is hidden for guests.

noel_leon
08-26-2006, 10:48 AM
Thanks for this mod too, Cybernetec. Awesome work as always.
I really didnt need forum rules on my site so I changed this to display our guild rules (World of warcrack).
Smoothie, you can take a look at what it will look like here (http://atravulgus.net/forum.php?do=cfrules) .
Keep in mind that I only changed "Forum rules" text to "Rules" :)

Smoothie
08-26-2006, 01:51 PM
It's because link is hidden for guests.Now, why would it be hidden for guests? Is it possible to show it to guests? Seems to me you'd want people to know the rules before they sign up.

Smoothie
08-26-2006, 01:52 PM
Thanks for this mod too, Cybernetec. Awesome work as always.
I really didnt need forum rules on my site so I changed this to display our guild rules (World of warcrack).
Smoothie, you can take a look at what it will look like here (http://atravulgus.net/forum.php?do=cfrules) .
Keep in mind that I only changed "Forum rules" text to "Rules" :)

noel_leon,

Thanks!

Valter
08-26-2006, 07:31 PM
v2.3 - Aug 26. 2006.
-New: User must accept Rules to be able to post on Forums (option can be disabled/enabled)
-Look improved (see screenshots)
-Codes improved
-Hack name changed to "Cyb - Advanced Forum Rules"

Ghanem
08-26-2006, 07:42 PM
Very nice upgrade, I really neaded the acceptance option..

- How to upgrade please.. or do we have to remove and reinstall..
- I have replaced the registration rules with a link to your hack, how it will look like for guests and members if they click the link, I mean the acceptance box and waiting time...
- Is it stored once its accepted, or the user have to accept it every time before he post..

Sorry if I am asking alot :)

Thanking you in advanced..

Regards

Valter
08-26-2006, 07:47 PM
Just import XML as product (allow overwrite). ;)

Ghanem
08-26-2006, 07:54 PM
Just import XML as product (allow overwrite). ;)great:banana:
I have edited my post and added two more questions..

noel_leon
08-26-2006, 08:05 PM
Hmm, did bbcode break? Most of my bold options have stopped working.

Valter
08-26-2006, 08:14 PM
- I have replaced the registration rules with a link to your hack, how it will look like for guests and members if they click the link, I mean the acceptance box and waiting time...
- Is it stored once its accepted, or the user have to accept it every time before he post..
Guest can view Rules but not acceptance box. They can post without accepting Rules. This is because we can't save any options for them.

Options for registered users are saved in database and they need to accept Rules one time only.

noel_leon,
Nothing's changes with BB codes. Works fine for me.

noel_leon
08-26-2006, 08:27 PM
Well they dont work here. Checked again just to be sure. Wierd .

Valter
08-26-2006, 08:28 PM
In Rules or posts?

Temp admin account can be helpful.

Ghanem
08-26-2006, 08:46 PM
Upgrading was easy..

- I have got the attached error when I visit the rules page
- If I was replying and got the rules page, then accepted it, it does not take me back to the reply page, it redirects me to the index.php..
- note1 and note2 did not follow the style.. my Arabic forum direction is from right to left, the notes gone to the left..

Regars :)

Valter
08-26-2006, 10:23 PM
Ghanem,

Use standard BB codes to adjust text position:
[left]
[center]
[right]
In your case [right] should be used.

Error you get is about javascript. I see no reason why it appears. I'll check it.

Redirection destination can be changed. I'll fix it in next version.

flamewalker
08-26-2006, 11:56 PM
WhenI upgraded, it replced my notes part b with one line... and it won't let me put more than one line anymore... anyway to get this back to a text box like it was?

Valter
08-27-2006, 01:42 AM
v2.4 - Aug 27. 2006.
-Fixed small javascript bug
-Removed redirection to forum index after Rules acceptance
-Note 1/2 lines replaced by boxes in hack settings
-Removed navbar link HTML Markup options
-Separate phrase created for navbar link

Ghanem
08-27-2006, 02:26 AM
charming, working just fine, error gone, direction of notes is simple to allign :)

The only thing left, is it's still if I am replying or posting, it will not direct me back to the thread, it directs me now to the rules page again, but its not a big deal..

I have a request for the next release (if there is a plan)..
I kind some times change the rules based on the forum needs..
Can you put an option to delete all the acceptance from the database in order to let the users who previously accepted the rules know that there is an update and accept it again..
I can do it manually, but it would be more professional if its built in :)

DonKoyote
08-27-2006, 09:21 AM
Its a Nice Idea from Ghanem, but i had an second Wish too ;-)

The best thing ever was when with this hack the forum rules can be changed, the rules the user must accepted when register. So that i dont must change the rules on difference places all over the site :-)

Its just a wish

But this Time, many Thanks fpr your work, its a great helpfull tool you made.

Greetings from germany and sorry for my poor english, Shool is 18 years ago *lol*

Best Wishes

DonKoyote

bandare
08-27-2006, 10:43 AM
Really great addition. Thankis for this.

dontpanic
08-27-2006, 07:28 PM
This is a great hack!! Thanks!!

Is there any way it could be made, though, to take the user back to the page they started at...so that after they accept the rules they can go about creating the thread/post they intended to?

Ghanem
08-27-2006, 10:39 PM
Cybernetec,

Sorry to bother you again, but I started getting complains from my forum users about two thing :confused: ..
- not being redirected back after the acceptance to the thread
- If a user who still did not accept the rules, used the quick reply, he wont be directed to the rules, instead, he will get the standard error page, which is confusing and does not tell exactly why they are not able to reply

Hope somthing can be done about it..

Regards.

xman_79
08-28-2006, 07:51 AM
Installed .

It's very good .

Thank you .

Valter
08-28-2006, 08:13 AM
- If a user who still did not accept the rules, used the quick reply, he wont be directed to the rules, instead, he will get the standard error page, which is confusing and does not tell exactly why they are not able to reply
This happens with IE and not with Firefox. I'm not sure yet what causes this.

wtrk
08-29-2006, 01:13 AM
BOOOOOOOOOOO the new version sucks. you totally wiped out all my rules and hard work. im totally disappointed. you just got uninstalled from my forum. BOOOOOOOO! bad hack! send me the old version!

Valter
08-29-2006, 01:23 AM
http://img219.imageshack.us/img219/2176/imageyp8.gif

Nope, I didn't wiped anything.

Most of members are happy with this hack. Noone reported that "Cyb wiped something".

Which version you used before 2.4?
Did you upgraded properly?
Be noted that from v2.0 (Aug 07. 2006.) rules are stored in settings.
Always read release notes.

You must not use anything released here.
Use this hack as it is or make new thread on your forums with forum rules.

Masters
08-29-2006, 04:50 AM
I loved this hack but the green "forum rules" link in the navbar bothered me enough to disable it.

How can i edit the color of the rules link?

Valter
08-29-2006, 02:57 PM
I loved this hack but the green "forum rules" link in the navbar bothered me enough to disable it.

How can i edit the color of the rules link?
Search phrase "cybfrules_navbar". You can change color or remove completely <font> tags.

Viol8or
08-30-2006, 10:50 AM
Is there a way to see if how many or who accepted the rules and who didn't yet?

redlabour
08-30-2006, 11:11 AM
Hi,

2 Bugs :

1. http://www.politikstube.de/forum/?do=cfrules does not work. This link does nothing in navbar. It only refresh the Site where i tried to get to the Rules to read them again.
The Settings in AdminCP are correct and "index.php" is in the default Place. Why does it not be created in navbar Link ? Even if i change it in the Options - nothing is changed in navbar Link.

2. After accepting the Rules i will be redirected to index.php. This is nonsens. Please fix it so the User gets redirected to the exactly place where he has to accept the rules before.

2 Questions :

1. How can i move the Navbarentrie to a other Place ?

2. How can i see which User has accepted the Rules and which not ?

3. What if the Rules are changed ? Are the User automatically prompted again to accept the new Rules ?

Pagandream
08-30-2006, 01:04 PM
Nice one, but the idea from Ghanem would make it perfect. ;)

andreamarucci
08-30-2006, 01:22 PM
Cool! Works like a charm...

Valter
08-30-2006, 02:05 PM
redlabour,

Try to put "forum/index.php" for index file location in settings.

LordDB
08-30-2006, 05:10 PM
Cybernetec, you are just the best my friend! :)

This means there's no excuse for any member to say they haven't read the Rules!

Much appreciated!

Br. :)

Valter
08-31-2006, 12:46 AM
v2.5 - Aug 31. 2006.
-Added ability to reset read status for all users. After this they will need to accept the Forum Rules again
-Added note at the top of Forum Rules when user need to accept it to be able to post on forums
-Added explanation on how to check which users had (not) accepted Rules

To upgrade: Import XML, allow overwrite.
See new screenshots. Read NOTE about checking users...

Ghanem
08-31-2006, 05:32 AM
v2.5 - Aug 31. 2006.You are full of surprises
Very cool additions
Thank you very much

Necrite
08-31-2006, 05:53 AM
so, now again :)

two little bugs in there first:

</template>
- <template name="cyb_frules_link" templatetype="template" date="1156627740" username="Cybernetec" version="3.6.0">
- <![CDATA[ <td class="vbmenu_control"><a href="$vboptions[bburl]/$vboptions[cybtopstats_index_loc]?do=cfrules">$vbphrase[cybfrules_navbar]</a></td>

]]>
</template>


change to

</template>
- <template name="cyb_frules_link" templatetype="template" date="1156627740" username="Cybernetec" version="3.6.0">
- <![CDATA[ <td class="vbmenu_control"><a href="$vboptions[bburl]/$vboptions[cybfrules_indexloc]?do=cfrules">$vbphrase[cybfrules_navbar]</a></td>

]]>
</template>


then the path you type in works :)

but to reset the accepts you've to change the link
<![CDATA[ <br /><a title=\"RESET READ STATUS\" href=\"../index.php?do=resetcfrules\">RESET READ STATUS</a>

to your forumspath hope the autor will insert soon that it will be changeg automatic to :)

redlabour
08-31-2006, 06:11 AM
redlabour,

Try to put "forum/index.php" for index file location in settings.

Still not working.

It returns me still to : http://www.politikstube.de/forum/?do=cfrules and i have updated to V2.5 !

Necrite
08-31-2006, 06:15 AM
hmm,
would't work, the links will not be changed - in the xml file it look so but how should it be changed?! there 2 more points where the link is named index.php?... if you change it manual to path_to_your_index.php like forum.php?do.. it works but without the links are not will be changed to what you type in the line where the index.php path will be set.

- <phpcode>
- <![CDATA[ if ($vbulletin->options['cybfrules_enable'] AND $vbulletin->options['cybfrules_required'] AND $cfrulesagreed == '0' AND !$userinfo['userid']= '0')
{
$vbulletin->url = 'index.php?do=cfrules';
exec_header_redirect($vbulletin->url);
}

]]>
</phpcode>

andreamarucci
08-31-2006, 07:37 AM
so, now again :)

two little bugs in there first:



Do we need to change somethiing into the code (where exactly?) or the bugs are corrected in the download version?

What are the problems corrected with this code hack?

Thanks

andreamarucci
08-31-2006, 07:40 AM
Still not working.

It returns me still to : http://www.politikstube.de/forum/?do=cfrules and i have updated to V2.5 !

I've upgraded now. My link is http://www.kog.it/forum/?do=cfrules but it works correctly. I've seen your link and now contains "index.php" and works.

Necrite
08-31-2006, 08:02 AM
Do we need to change somethiing into the code (where exactly?) or the bugs are corrected in the download version?

What are the problems corrected with this code hack?

Thanks

better you wait that the coder change it, there a few more problem in the file for the index to set to another file :)

Pagandream
08-31-2006, 09:06 AM
After accepting the rules the User will not be redirected to newthread.php :(

In 2.4 it was fine....

Stoebi
08-31-2006, 09:50 AM
Guest can view Rules but not acceptance box. They can post without accepting Rules. This is because we can't save any options for them.

Options for registered users are saved in database and they need to accept Rules one time only.


What do you think about a cookie set for guests?



Regards, Stoebi

Valter
08-31-2006, 02:05 PM
v2.6 - Aug 31. 2006.
-Fixed bug (index file location/name setting doesn't work)
-Fixed bug (if user who haven't accepted Rules try to post via quick reply in IE he gets undefined error)
-Fixed bug (resetting the accepts doesn't work if index file was renamed)
-Added: Guests now also need to accept Forum Rules to be able to post (cookie-based)
-Added: redirection message for user who try to post but haven't accepted Rules

To upgrade: import XML, allow overwrite.
Be sure to translate/update these phrases if you are using other than English language:
cybfrules_agree_note
cybfrules_mustreadrules

Gerakus
08-31-2006, 02:09 PM
Yay my first post and I been around here since 2005...

It works like a charm :), only problem so far was the nav, but probably is because I am using a custom template, so pretty much I have to create the link myself, but thats ok :).

One question:

This is the code I use:

<td class="vbmenu_control"><a href="$vboptions/$vboptions[cybfrules_indexloc]?do=cfrules">$vbphrase[cybfrules_navbar]</a></td>

[B]And the link looks green, is any way to change the color to blue? I been checking the main css but couldnt find where to change, Could you please point me out where to change the color from green to blue?

Valter
08-31-2006, 02:29 PM
v2.6.1 - Aug 31. 2006.
-Fixed bug (if user has no permissions to post he will get standard "no permission" message, not redirection to Forum Rules)

Valter
08-31-2006, 02:32 PM
Gerakus,

Change the phrase cybfrules_navbar.

Stoebi
08-31-2006, 02:40 PM
Installed perfect saves space in the forum ty

Thx a lot Cybernetec. :up:


Regards, Stoebi


Edit:
The link "Forum Rules" doesn't appears in the navbar for guests.
Cookie should be cleared after a refresh if you used the "RESET READ STATUS".

Wish:
Forum based and exluded groups/users they don't need accept the rules before they want to post.


Sorry for my english.

redlabour
08-31-2006, 03:59 PM
Where can i see now which User have accepted and which still have to ?

And i still search for the part to move if i want to appear the navbar Link anywhere else.

brvheart
08-31-2006, 07:20 PM
*installs* thank you for you awsome work!!

any way to change the color of the link in the navbar?

Gerakus
08-31-2006, 08:41 PM
*installs* thank you for you awsome work!!

any way to change the color of the link in the navbar?

I wonder if it will be hard to put an option on the admin panel to change the color of Forum rules text, so whatever you enable it on the nav bar, it will keep the color you define there.

Valter
08-31-2006, 08:49 PM
Change the phrase cybfrules_navbar.
So, edit the phrase "cybfrules_navbar" to change/reset color of the Forum Rules text in navbar. :D

brvheart
08-31-2006, 10:30 PM
I wonder if it will be hard to put an option on the admin panel to change the color of Forum rules text, so whatever you enable it on the nav bar, it will keep the color you define there.


I think that the cyb donate menu (different hack...but has that option) has a option for that in the product that you choose via the admin cp....probably would not be a hard option for a expert code....cyb ;)

brvheart
08-31-2006, 10:44 PM
So, edit the phrase "cybfrules_navbar" to change/reset color of the Forum Rules text in navbar. :D


sry cyb...I should have seen that one.... *kicks self*

Ghanem
09-01-2006, 02:40 AM
Cybernetec,

I don't know why I am not able to install the new version :confused:
It tried to install it (over writing the old one), I always get the page can not be displayed after w while..
I have uninstalled the prev on even, still, getting the page can not be displayed after few seconds..

I have tested installing and over writing another hacks, there was no problem..

What could be wrong :cry:

Regards
Ghanem

Valter
09-01-2006, 07:32 AM
I have no idea what it can be.

If you wish create for me temp Admin account so I can check it.

Ghanem
09-01-2006, 07:38 AM
I have no idea what it can be.
If you wish create for me temp Admin account so I can check it.I have tested it on my colegue forum who did not install it before, got the same problem
It shows its trying to intstall, takes loong time and then the page comes up with "the page can not be displayed.."

I will PM you an admin account.

Update:
Problem solved when I uploaded the file to the server and install it from there directly
Thank you Cybernetec for your efforts :)

redlabour
09-01-2006, 09:22 AM
Where can i see now which User have accepted and which still have to ?

And i still search for the part to move if i want to appear the navbar Link anywhere else.

Can anybody hear me ? ;)

noel_leon
09-01-2006, 09:39 AM
Awesome, Cybernetec! The Bbcode is suddenly working again on my cfrules page.
A quick question: Is it possible to redirect users back to the page they were viewing before having to read the rules?

Again, Thank you very much for all your great work.

Sun Boy
09-01-2006, 05:10 PM
this hack is really great
but i have a problem with it,
first, there's this java script error..
also, when the user reades the rules and agrees, the page is redirected to the rules page, not to newthread.php page!

IntegrityIS
09-01-2006, 07:59 PM
^Piggybacking onto this, when a user accepts it, instead of redirecting to the rules page, is there any way to make it redirect to being able to post in the place they were?

jyajay
09-03-2006, 07:13 PM
Hey, great Mod.

Is it somehow possible to create two different rule sets, in my case for dual language and automaticly be shown with selected language?

marlita
09-04-2006, 02:37 AM
Can I do this for forum announcements or does this have to be a global thing?

bada_bing
09-05-2006, 06:40 PM
IS there a way so that moderators,super mods,admins & other groups can be dismissed from the forum rules agreement?

I believe that if you are a staff members you should already be well aware of the rules or you should not be modding a site..

Stoebi
09-08-2006, 01:31 PM
Hi Cybernetec, hi @all


The link "Forum Rules" doesn't appears for guests in the navbar .
If i use the "RESET READ STATUS", guests doesn't need to accept the new rules again. :(


Wish:
Forum based and exluded groups/users they don't need accept/see the rules before they want to post.



Regards, Stoebi

frivolesPaar
09-10-2006, 06:46 PM
Is there any way it could be made, though, to take the user back to the page they started at...so that after they accept the rules they can go about creating the thread/post they intended to?

Hi Cybernetec, can you help please

:cry: ( sorry for my bad English)

Valter
09-11-2006, 03:43 AM
v2.7 - Sep 11. 2006.
-After acceptance users are redirected to the page they were previously viewing
-No more need to set filename for "index.php" if it was renamed. Now misc.php is used, which nobody has need to rename.
NOTE: Don't forget to update the links to the Rules you were posted on your site - change it to YOURFORUMS/misc.php?do=cfrules
-Added confirmation dialog for resetting acceptance status for all registered users

To upgrade: Import XML as product, allow overwrite.

Ghanem
09-11-2006, 07:08 AM
v2.7 - Sep 11. 2006.:banana:
Installed, perfect :up:

IntegrityIS
09-11-2006, 07:30 AM
Update works perfectly. :)

One thing that's been brought up by one of my users is that they can see the # of Warnings and the Warning Points in the postbit even know they aren't 'Management'. Not everyone cann see it though, just a few people so far. I checked all their permissions and usergroup settings and nothing indicates tat they be counted as 'management.' Any ideas?

brvheart
09-11-2006, 12:16 PM
awsome thank you for the update :)

navjotjsingh
09-13-2006, 07:33 PM
Well I want to suggest you something..please include a option of excluding staff from accepting the rules...I am the admin..I made the rules and before posting it wants me to accept them..looks kind of funny...so please consider this suggestion. Thnx.

Valter
09-14-2006, 01:39 AM
v2.8 - Sep 14. 2006.
-Added option to exclude usergroups from accepting Rules
-Navbar link title moved from phrases to settings for easier translation/make-up

Stoebi
09-14-2006, 02:05 AM
Hi

Thx a lot. I appreciate your works :)


Regards, Stoebi

navjotjsingh
09-14-2006, 04:01 AM
Thanks Cybernetec for implementing my suggestion so fast...thanks a million!

juan71287
09-14-2006, 12:11 PM
thankx man I like it with seperate user groups :)

CCWBumper
09-15-2006, 12:35 AM
Absolutely awesome mod. Have you ever considered adding the ability to force a specific individual member through the rules again if they are being a problem?

Again, great job!

GreysAnatomy
09-18-2006, 11:30 AM
This hack used to work perfectly fine but evers ince I updated to 3.6.1, the link (http://www.greysanatomy-boards.com/forums/index.php?do=cfrules) provided won't work anymore. Any idea?

bada_bing
09-18-2006, 11:52 AM
Cybernetec

Thank you for updating the hack for us and adding the usergroup exept area.

Valter
09-18-2006, 07:12 PM
This hack used to work perfectly fine but evers ince I updated to 3.6.1, the link (http://www.greysanatomy-boards.com/forums/index.php?do=cfrules) provided won't work anymore. Any idea?
Read release notes. It's here:
http://www.greysanatomy-boards.com/forums/misc.php?do=cfrules

Gripemaster
09-20-2006, 02:42 AM
Very Nice!

*INSTALLED* Thanks!

Masiello
09-20-2006, 08:06 AM
after click on acceptance status reset it redirect to en inexistence page, it's possible cause that I don't use the default name of admincp but use my custom?
After that the users don't see the "Submit" botton to acceper rules againg, help please?
Click this botton again "Reset aceptance status" it redirect in random mode on some FAQ's page or forum posts, what is happen? I've fear to broken my forum...

Masiello
09-20-2006, 08:54 AM
Ok, this is the status:
If I disable the hack and click "Reset aceptance status" it redirect to the FAQ's smilie page
If I enable the hack and click "Reset aceptance status" it show message that all users aceptance as been resected but after it redirect to en inexistent page and the user don't show the submit botton and the time is blocking

Testing on some 3.6.1 board on a different servers and configuration, same problem anywhere, I think this is a bug.

Valter
09-20-2006, 09:19 AM
Testing on some 3.6.1 board on a different servers and configuration, same problem anywhere, I think this is a bug.
Hi Masiello,

Tested on three forums (two different servers with different versions of php, mysql, apache) and never seen anything like that. Also noone reported such issue before you.

Masiello
09-20-2006, 09:52 AM
what the problem second you?
I want to use this product, I like it very much but I dont know why that, I only use 3 product, your two, check the same posts, this one, and Unread posts by Paul, nothing much

Masiello
09-20-2006, 10:08 AM
Just a question and for all problem no problem, this product function touch in any mode the vbulletin database? Have on it any script that do that? If that script works fine for me or not, I have only fear if it do that and waste my forum db,
Thanks

P.S: How do I show the "Forum Rules" link too to the Guest?

Clicked INSTALL

PersianImmortal
09-22-2006, 04:56 AM
Excellent hack, has installed on my 3.6.0 forum and is working properly - thanks for creating it.

Valter
09-24-2006, 04:24 AM
v2.9 - Sep 24. 2006.
-Added option to reset acceptance status for individual member

To upgrade: Import XML as product and allow overwrite.

Masiello
09-24-2006, 04:29 AM
Thanks
Please, do possibile to show Rules link to guest withous see scroll time and acceptance rules?
You don't believe that is important to show first forum rules?

bada_bing
09-25-2006, 12:54 PM
I have upgraded to 2.9 and it messed up my memberinfo page. It added another cell on the right side on the memberinfo page with some test that says usercp

anyone else get this?

I have to down back to version 2.8

Valter
09-25-2006, 01:18 PM
It's because your memberinfo template was customized.

bada_bing
09-25-2006, 01:20 PM
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 (http://forums.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
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
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/ (http://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:
$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
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

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 (https://vborg.vbsupport.ru/showthread.php?t=118551) 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:
$cyb_frules_linkand 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
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
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!

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.

bada_bing
11-13-2006, 04:54 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.


When I enable this feature it messes up my memberinfo template.. How can I move the the $cyb_frules_force to show up somewhere else within my memberinfo page? Currently I have the Show Automatically "Force to Accept Again" Option in Member Profile feature disabled in admincp and manually placed $cyb_frules_force somewhere else in my memberinfo template, but if I were to turn it on in admincp it would mess up the template. Where and how do I fix this so that when I turn that feature on/off it places it where I like?

-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)

Valter
11-14-2006, 06:16 AM
Nothing changed for me, even guests can reset the read status!
This is impossible.


bada_bing,
Disable "force user..." link in ACP and add $cyb_frules_force manually where you wish this option to appear in memberinfo.

jw00dy
11-14-2006, 07:38 AM
Works great here!

jyajay
11-14-2006, 09:20 AM
This is impossible.



So either this confirmation message is displayed to everyone and nothing happens or it is like I said, a permissions problem.

Valter
11-14-2006, 09:52 AM
So either this confirmation message is displayed to everyone and nothing happens or it is like I said, a permissions problem.
It is displayed to Mods & Admins. <if condition="can_moderate()"> used.

Only usergroups 5,6,7 (SuperMods, Admins, Mods) are able to reset acceptance status.

Please can you create temp admin account for me so I can check your forums. I need access to options/styles/products. Send me info via PMs.

Valter
11-14-2006, 03:37 PM
I tried to reset acceptance status for your user as guest and I just get smilies list which is normal when you go to misc.php.

You can try it here (https://vborg.vbsupport.ru/misc.php)...

So only Mods, Admins, SuperMods, are able to do that. When you successfully reset acceptance status you get confirmation message, not smilies list. ;)

jyajay
11-14-2006, 04:10 PM
Now I get the same result as you, thank you anyway. ;)

Alfa1
11-19-2006, 08:34 PM
Strange. After installing this, there was no link to the forum rules in the navbar. I just added $cyb_frules_link to the navbar template and found 2 'forum rules' links in the navbar. When I took it out, 1 link was left. I dont understand how, but it's fine with me.
How do I change the color of the link to white/standard navbar font color?

iardon
11-20-2006, 08:55 PM
Installed. Great mod!

Valter
11-21-2006, 08:06 AM
How do I change the color of the link to white/standard navbar font color?
Phrase Manager

Alfa1
11-21-2006, 08:18 AM
Thanks. I fixed it.

MeMySelfNi
11-21-2006, 02:51 PM
*installed*

freevisio
11-21-2006, 03:44 PM
Hello, do I have installed the version 2.9, like I can upgrade?

If I erase and do I add the 3.1, will the text of the rules disappear?

Please, give me a help

Valter
11-21-2006, 04:04 PM
Data will not be lost during upgrade. However you can save it to txt file if you wish before proceeding with upgrade. To upgrade just import attached XML as product and allow overwrite.

MrPHD
12-05-2006, 11:54 PM
Nice very nice. Great job thanks and Installed

smoknz28
12-06-2006, 01:17 AM
Thank you for sharing this hack with us. Installed on v3.6.3 with ease. ;)

Gonzo

Kadi
12-12-2006, 05:27 AM
Hi,

This was working fine until recently. The "Time (in seconds) User Must Wait Before "Accept" Button" doesn't countdown. It freezes at whatever number of seconds I have in the options.

What do I do?

ElForro
12-13-2006, 09:04 AM
Sorry if it's a silly question... but... I can only setup ONE rule to agree? I would like to have individual forums rules, like the previous "rules agreement hack"

Is that possible? Thanks!

sduckie2k5
12-14-2006, 01:15 PM
Strange. After installing this, there was no link to the forum rules in the navbar. I just added $cyb_frules_link to the navbar template and found 2 'forum rules' links in the navbar. When I took it out, 1 link was left. I dont understand how, but it's fine with me.
How do I change the color of the link to white/standard navbar font color?


Same thing here, 1 link left an its not even where I would like it. Any fix for this? Thanks ~D

dcw
12-14-2006, 08:34 PM
I have smiles between each character. How do I get rid of that so you can read the rules.

DementedMindz
12-16-2006, 04:03 AM
any way to have this when a user registers? cause im trying to limit members who make more then one name this way it would hopefully allow them to read the rules first before they get banned. also i know i didnt click install just wondering if it can do that before i do install it.

Alfa1
12-18-2006, 08:33 PM
Does this add on work well with PHP5.2?

Kadi
12-20-2006, 09:41 PM
Could you please help?

When I enable the user must accept before post option, the seconds dont countdown and there is no accept button to click.

Alfa1
12-20-2006, 10:11 PM
Note that the counter does not work if members are connecting through a proxy server, as it blocks the script.

Kadi
12-21-2006, 12:21 AM
Thanks for the reply.

Is it possible to get the accept button to show without the countdown? It doesnt show even when I set the seconds to 0.

Alfa1
12-21-2006, 12:30 AM
Doesn't it show for one, few or for any members?

Kadi
12-21-2006, 12:41 AM
I got a couple of complaints that members cant post because there is no accept button. When I tried it, it wasn't working for me either although it had previously.

I tried reinstalling and changing the number of seconds. I'm not a net pro so I just disabled it.

Alfa1
12-21-2006, 12:31 PM
My guess is that this hack is working fine, but those members are connecting trough proxy or have their security fixed so tight that their browser stops the script from working. As I see it these users should connect to the forum in a normal way without proxy and can switch back to proxy after they have agreed to the rules.

For my site, this hack has done a lot of good.

KURTZ
12-21-2006, 10:39 PM
great hack Cyb!

absolutely INSTALLED!

Kadi
12-23-2006, 09:07 AM
The hack was working just fine and was also doing alot of good for my fourm. I just dont understand why the seconds froze and no accept button appeared.

I'll just leave that part disabled for now.

Thanks for your help Alfa1 :)

Been Told
01-04-2007, 04:50 PM
Great mod, thanks :)

Tru2Chevy
01-05-2007, 09:07 PM
Nice hack, installed.. I would like to see this hack extend to another level, the ability to create different rule for different forum

Sorry if it's a silly question... but... I can only setup ONE rule to agree? I would like to have individual forums rules, like the previous "rules agreement hack"

Is that possible? Thanks!

This looks like a great hack, but I too was looking for the same thing as taydu and ElForro. I have several forums on my board that I would like to create individual rules for, and we can't with this hack. Do you have any plans to add a feature like this in the future?

- Justin

Jurg
01-16-2007, 01:17 PM
Is it possible to force guests to agree to the rules before they can view forums or posts using this mod, or is there another mod with which I can achieve this? I may have got this wrong but from reading this I gather that it only forces agreement before a user posts.

Any help please?

Jurg
01-17-2007, 04:23 PM
Bump!

Anyone??

Hemanth
01-17-2007, 05:27 PM
If you rename the admincp directory when clicking on 'Reset acceptance status' we are getting redirected to incorrect path. ie. to /admincp/options.php...

Please fix it. :)

Fawlty Adder
01-18-2007, 11:02 AM
hi, I just installed this hack; slight problem .. when I click on 'forum rules' in the navbar, a new window opens and the hack seems to re-enter the whole link for my site (i.e. duplicating the URL) as below:

http://theaccountancyforums.com/forums/www.theaccountancyforums.com/misc.php?do=cfrules

how can I correct the above link?

thanks :)

Fawlty Adder
01-19-2007, 03:14 PM
also the link on the navbar does not show for guests...

Techno05
01-21-2007, 02:33 AM
Just installed this.... I love this option. Thank you for your time on this.

roger.kore
01-21-2007, 03:11 AM
Works perfect here. Nice Work and thanks
As sugestion: Freeze or reload the counter if the rules page is not hilighted :D

Fawlty Adder
01-21-2007, 03:34 AM
anyone know how to edit the link for 'forum rules' on the navbar?

also does the navbar link show up for guest? Because for me it doesnt... how do we make it viewable to guests?

thanks

Fawlty Adder
01-22-2007, 01:26 AM
anybody help please?

Fawlty Adder
01-23-2007, 08:54 AM
anybody out there that can help me out please? :up:

Martin-TMGRS
01-23-2007, 09:06 AM
anyone know how to edit the link for 'forum rules' on the navbar?

also does the navbar link show up for guest? Because for me it doesnt... how do we make it viewable to guests?

thanksGoto your "Forum Options" and look for "Cyb - Advanced Forum Rules" in the list click it thats where you change the link name and no it don't show up for guests

Fawlty Adder
01-23-2007, 09:28 AM
currenty the link shows as

<font color="#000000">Forum Rules</font>

(i.e. this is merely the text shown on the Navbar ... where do I find the actual link that this text links to?)

Martin-TMGRS
01-23-2007, 10:11 AM
currenty the link shows as

<font color="#000000">Forum Rules</font>

(i.e. this is merely the text shown on the Navbar ... where do I find the actual link that this text links to?)
Go to "Search in Templates" and in the search type "cyb_frules_link" in there is where the link can be found

Fawlty Adder
01-23-2007, 10:37 AM
thanks mate.. looks like I'm finally getting somewhere ... :) ...ok I found the above phrase in the template ... this is whats behind it:

<td class="vbmenu_control"><a href="$vboptions[bburl]/misc.php?do=cfrules">$vboptions[cybfrules_link_edit]</a></td>

I've changed this to

<td class="vbmenu_control"><a href="misc.php?do=cfrules">$vboptions[cybfrules_link_edit]</a></td>

and now it works! TA :)

Fawlty Adder
01-23-2007, 10:39 AM
any idea as to how I'd make it viewable to guests? i.e. since I want them to see the rules before they sign up!

cheers

marcsmith73
01-23-2007, 07:09 PM
Nice hack ...thanks!! Installed!

notorious
01-23-2007, 10:29 PM
any idea as to how I'd make it viewable to guests? i.e. since I want them to see the rules before they sign up!

cheers

i added the rules link in my navbar so that guests can see the rules

find <if condition="$show['member']">

and add above $cyb_frules_link

Fawlty Adder
01-24-2007, 06:41 AM
Hi

thanks for the suggestion.. :) .. funny thing is that my navbar template does not actually contain the '$cyb_frules_link' statement ... if I add that statement, I get TWO links in my navbar ...!

EDIT:

Aha!...but I finally found how to do it ..maybe its to do with the version of vbulletin I am using (3.64) .. all I did was delete the above 'if condition' surrounding '......vbphrase[user_cp]</a></td>"


cheers!

Belgrael
01-26-2007, 09:56 PM
This is brilliant. Thanks heaps!!!:up:

Belgrael
01-26-2007, 10:03 PM
One question. How can I replace the standard vb rules agreement during the registration process with the new rules?

edit: I don't want them to have to sign 2 rules agreements. Thanks.

dirty68
01-28-2007, 01:12 PM
I cannot find vbphrase[user_cp]</a></td> in my navbar :mad: is there anywhere else i can put it?

roger.kore
02-03-2007, 06:07 PM
Sugestion: Force user read it too before send pms

Alfa1
02-04-2007, 12:49 PM
That would lead to problems with those users who are on proxy and experience problems with the submit button not appearing.

LadyBeth
02-12-2007, 11:21 AM
One question. How can I replace the standard vb rules agreement during the registration process with the new rules?

edit: I don't want them to have to sign 2 rules agreements. Thanks.

I want to know this too. Thanks :)

LB

Been Told
02-19-2007, 07:57 AM
Guests can't accept the rules. When they click "Accept", the rules simply reload. I want to allow guests to post too and I want them to have to accept the forum rules.

mat.knott
02-22-2007, 09:25 PM
when my members try and view the rules, the accept button does not appear after any ammount of time. have tried setting it to 0 to make it visable but this dont wokr.

i want it so they have to accept but is there a way of making it so the button is there all the itme?

daddygrim
03-03-2007, 08:03 PM
this sucks...UNINSTALLED until it is fixed!!!

Alfa1
03-03-2007, 09:34 PM
this sucks...UNINSTALLED until it is fixed!!!
It works just fine for me. Thank you for your constructive comment!

daddygrim
03-03-2007, 09:42 PM
It works just fine for me. Thank you for your constructive comment!

not for me...when guest try to register..it keeps going back to the rules screen.

Alfa1
03-04-2007, 03:53 AM
Have you fully read this thread?

daddygrim
03-04-2007, 12:43 PM
yep....ok?

Alfa1
03-04-2007, 11:05 PM
What do you think about proxies, browser settings and java then?

daddygrim
03-04-2007, 11:31 PM
thanks

Valter
03-06-2007, 04:09 AM
v3.2 - Mar 06. 2007.
-New: User must accept Rules before can send PMs
-New: Options to choose what user can't do before accepting Rules
-New: Option to replace Registration Rules with this hack's one
-New: Better counter (with miliseconds, improved browser compatibility)
-Fixed some "invisible" bugs in code and improved compatibility with the latest vB releases

Upgrade Info: Import product XML, allow overwrite.

Wulfnoth
03-06-2007, 09:15 AM
Nice! Look like the update works.

Biby
03-06-2007, 10:03 AM
why now i can't choose the color for the link on navbar??

Valter
03-06-2007, 01:02 PM
why now i can't choose the color for the link on navbar??
Yes, you can. Search for "Forum Rules" in Phrase Manager. It's moved there...

daddygrim
03-06-2007, 01:21 PM
Automatically add "Forum Rules" to Navbar UMMM I clicked it to enable it..but its not showing up.

Elenna
03-06-2007, 02:00 PM
v3.2 - Mar 06. 2007.
-New: User must accept Rules before can send PMs
-New: Options to choose what user can't do before accepting Rules
-New: Option to replace Registration Rules with this hack's one
-New: Better counter (with miliseconds, improved browser compatibility)
-Fixed some "invisible" bugs in code and improved compatibility with the latest vB releases

Upgrade Info: Import product XML, allow overwrite.


AWESOME hack, thanks every so much!! This is EXACTLY what I was looking for.

This is a dumb question - if I don't have the registration use the same "rules" as these, could I use this as an "Announcement" kind of hack, where people must read this "announcement" before posting, etc? I realize that this doesn't keep a history of rules, and would only display the most recent 'announcement' to new users.

Just making my brain think too hard without coffee!

* Elenna will install when she gets home!

Fawlty Adder
03-07-2007, 05:05 AM
Hi

how can we leave a line between each forum rule?

thanks!

Valter
03-07-2007, 08:45 AM
Hi

how can we leave a line between each forum rule?

thanks!
Press "Enter" LOL.

Kadi
03-07-2007, 12:20 PM
Thanks. I like the replacing default vb rules option. How do I increase font size there?

Also, I previosly had problems with the accept button not showing up for some members. Will it show with this upgrade?

(I have a Q on the AFS thread too :o )

T_Richardson
03-08-2007, 05:56 PM
When I Reset acceptance status for all registered members, it brings me to the smileys page and doesn't reset me to accept again.
Also, when I clicked in my profile to force acceptance, it does the same as above.

It worked fine the first time for me. I didn't test it with any of my members yet though. It could be because I'm the super admin.

Any thoughts?

Edit: this is the link when I force acceptance misc.php?do=forceusercfrules&u=3

Valter
03-08-2007, 09:14 PM
If you are in "excluded groups" in hack settings (as admin you ARE by default) it will never ask you to accept Forum Rules.

Try to remove admin usergroup (#6) from excluded usergroups and then see if Forum Rules page contains green fields with acceptance form.

T_Richardson
03-08-2007, 09:27 PM
If you are in "excluded groups" in hack settings (as admin you ARE by default) it will never ask you to accept Forum Rules.

Try to remove admin usergroup (#6) from excluded usergroups and then see if Forum Rules page contains green fields with acceptance form.Works now. My usergroup was other than #6, I added myself to the admin usergroup and all is fine.

Great mod by the way! :up: :up:

d3v1L
03-09-2007, 05:18 AM
Great Mod. But it increased spam on my boards. User were just trying to spam away till the minimum post count is met! I have been busy banning since morning.

itsblack
03-09-2007, 08:13 AM
Great mod, installed, thanks a lot.

KURTZ
03-09-2007, 01:12 PM
updated!

Veer
03-10-2007, 06:47 PM
version 3.1 was working fine..

I updated to latest version but my forum is not opening,
I disabled the hack and site is fine..

so whats the problem? :(

captainslater
03-12-2007, 10:18 PM
Hy,

some improvement:

User must re-accept forum rules after eg. 3 months?
Exclude & include usergroups from this.

Makc666
03-15-2007, 02:20 PM
There is a problem with Replace Registration Rules with this one function.

Default forum rules in "$vbphrase[forum_rules_description]" translation string is:

<p><strong>Forum Rules</strong></p> <p>Registration to this forum is free! We do insist that you abide by the rules and policies detailed below. If you agree to the terms, please check the 'I agree' checkbox and press the 'Register' button below. If you would like to cancel the registration, click <a href="{1}">here</a> to return to the forums index.</p> <p>Although the administrators and moderators of {2} will attempt to keep all objectionable messages off this forum, it is impossible for us to review all messages. All messages express the views of the author, and neither the owners of {2}, nor Jelsoft Enterprises Ltd. (developers of vBulletin) will be held responsible for the content of any message.</p> <p>By agreeing to these rules, you warrant that you will not post any messages that are obscene, vulgar, sexually-oriented, hateful, threatening, or otherwise violative of any laws.</p> <p>The owners of {2} reserve the right to remove, edit, move or close any thread for any reason.</p>

When you enable Replace Registration Rules with this one function
and go to Registration page
http://your.forum.com/register.php
all lines in "new" rules will be separated with double/triple paragrah.

Like this one:
Test line 1.



Test line 2.



Test line 3.

But in Forum Rules field these lines are printed like this one:
Test line 1.

Test line 2.

Test line 3.

On page:
http://your.forum.com/misc.php?do=cfrules
these lines look normal:
Test line 1.

Test line 2.

Test line 3.

Bree
03-16-2007, 01:13 AM
*Installed* Thank you bunches!! That was easy as pie, I truly appreciate that LOL vBulletin 3.6.5 http://forum.smnlikdat.com/misc.php?do=cfrules

Also notice the different in the paragraph being spaced on the rules page but it didn't space the rules within the list like that so I'm good... http://smnlikdat.com/Forum/register.php Looks pretty ok to me... at least in IE (don't know about other browsers as I do not use them)..

Anyways, again thanks for a great mod!! Always -Bree

ThePapabear
03-16-2007, 05:17 PM
Hello!

I actually installed the newest version of this hack, an promptly running into a problem:
Countdown doesnt work. Neither on Firefox 1.5.0.10 nore on IE7, running on Vista. Even if i set the security setting to lowest available settings.
No Proxy is used.

And then i have a question:
Is it possible to force the Users to accept the rules, when they enter the index?
This would be very fine, because we have installed rules completely new and everybode will have to accept them and i think, this would be a much better place for this step.

Thanks a lot for any help!

greets
ThePapabear

QiK
03-22-2007, 08:20 PM
Hello!

I actually installed the newest version of this hack, an promptly running into a problem:
Countdown doesnt work. Neither on Firefox 1.5.0.10 nore on IE7, running on Vista. Even if i set the security setting to lowest available settings.
No Proxy is used.

I got the same problem. For the first time it worked very well... but after I have translated this hack to german, countdown doesn't work anymore.

BobbyBig
03-22-2007, 09:32 PM
Very nice work Cybernetic, like everytime :)

I found some Bugs/Errors:

- The "Accept" Button isnt effected by the CSS, even it has set class="button". I dont see why that happens. EDIT: It happens because the javascript which changes the Value for the counter also resets the css calss. So the class must also be set when changing the Value!

- Forum Rules, Note1 , and Note2 are not Phrases. Any way to change that to Phrases ? (we are using English & German for example)

- The Button Counter creates some Problems sometimes, the Button never becomes available.

regards

calord
03-24-2007, 05:17 PM
Awesome hack, small problem :)

Install went great, configured it and set the options for who to show the rules to and when to show it to them.

I went to post a thread on my forum after install (to test it), and all I get is a blank page. This happens in any forum I test it in. The forum is there, but it disappears when I try to post a new thread. I can reply to existing threads. I cannot create a new thread. I am admin.

Using the latest VB 3.6.5 and a custom template from vbskinworks, if that helps you figure out what the problem is.

Help!

EDIT: Also the "OPTIONAL" instructions posted with your mod are inapplicable; there is no "$vbphrase[faq]" in the navbar template, for starters. There's lots of other $vbphrase but not that one.

daddygrim
03-27-2007, 02:43 AM
Time (in seconds) user must wait before "Accept" button is enabled this feature doesnt work.

rjmjr69
03-28-2007, 03:39 PM
I really want to install this hack. I must have all of your other hacks installed.
But I really really really wish you could make this apply to separate forums threads posts.
There is an older hack that allowed you to set the rules to display in any forum or multiples thread etc etc etc.
I've seen this feature requested MANY times in this thread is it possible or out of the question?
Thank you CYB for all your hard work as usual you have another hit on your hands. If you add the suggested feature you have a MOTM for sure.

One other thing. PLEASE READ THE WHOLE THREAD PEOPLE MOST PROBLEMS ARE FIXED YOU JUST HAVE TO FIND IT BY READING!!

Hate when people ask the SAME question 15 times when most the time the answer is a few reply's up.........