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)

bada_bing 11-13-2006 04:54 PM

Quote:

Originally Posted by Cybernetec (Post 1116334)
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

Quote:

Originally Posted by jyajay (Post 1116350)
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

Quote:

Originally Posted by Cybernetec (Post 1116876)
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

Quote:

Originally Posted by jyajay (Post 1116943)
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...

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

Quote:

Originally Posted by Alfa1 (Post 1121054)
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

Quote:

Originally Posted by Alfa1 (Post 1121054)
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

Quote:

Originally Posted by taydu (Post 1113259)
Nice hack, installed.. I would like to see this hack extend to another level, the ability to create different rule for different forum

Quote:

Originally Posted by ElForro (Post 1137650)
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/foru...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


All times are GMT. The time now is 12:40 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.01474 seconds
  • Memory Usage 1,814KB
  • 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
  • (8)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