vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - VSa - Advanced Forum Rules (https://vborg.vbsupport.ru/showthread.php?t=236069)

imported_ahw 05-08-2012 09:25 AM

I wish some coders will be able to recode this great addon, it is very important.
It works fine with some, others can't get it to work.

espacioprofundo 05-08-2012 11:45 AM

Quote:

Originally Posted by bposner (Post 2301581)
I love this hack, thank you very much.
A couple of questions.
1. When bringing up the "apply to forum" screen, it doesn't seem to remember which ones I already marked with what rule. So when I make a new rule, I can't see which ones I may of already applied it to :(
2. I also have the problem when there is general rules and area specific rules only the General one comes up, not the secondary one as well. Is this by design or am I doing something wrong?
Great mod, perfect for what we are doing.. thanks again for spending time coding this!

I have the same problem. Running on 4.1.12. Great mod, but I cant recall where I've applied rules to....:(

Valter 05-22-2012 06:33 PM

v5.0.6 - May 22 2012.
-Compatible with vBulletin 4.2
-Increased number of maximum rule sets
-Fixed some minor bugs

To upgrade:
-Import XML, allow overwrite
-Revert product templates if modified

AusPhotography 05-22-2012 09:37 PM

Thanks again for your excellent work!!

Kym

jdeveaux 05-24-2012 08:12 PM

I updated my development site to 4.2 and now the rules do not show up on my navtab. Applied the update and still no luck.

And definitely a great product!

jdeveaux 05-24-2012 08:27 PM

Disregard previous post due to operator error :o

Working great now that I applied the correct update :D

rgreene1971 05-25-2012 12:37 AM

I have installed this twice now, once a few weeks ago and now the latest release. The mod installs fine but configuration is messed up. Every time I go to edit the rules or assign them to a specific forum the mod takes me to the smiles page/

Valter 05-25-2012 09:18 AM

Ensure you are member of usergroup 6.

AusPhotography 05-25-2012 11:27 PM

If you want to make a Forum Rules into a tab do this...

1. Add this plugin to the product file...

Code:

        <plugin active="1" product="vsafrules" executionorder="5">
                <title>VSa - Advanced Forum Rules - set tab</title>
                <hookname>set_navigation_tab_fallback</hookname>
                <phpcode><![CDATA[if (THIS_SCRIPT == 'misc' && ($_REQUEST['do'] == 'vsarules' OR $_REQUEST['do'] == 'vsaafr_mng'  OR $_REQUEST['do'] == 'vsaafr_addedit')) $root = 'vsarules';]]></phpcode>
        </plugin>

2. Add Navigation to the product file after</options>

Code:

        <navigation>
                <tab name="vsarules" date="1337937088" username="Valter" version="4.2.0">
                        <active>1</active>
                        <show />
                        <scripts></scripts>
                        <displayorder>500</displayorder>
                        <url><![CDATA[misc.php?do=vsarules]]></url>
                </tab>
        </navigation>

3. Re-install the product file via AdminCP

Mariner1 05-26-2012 07:31 AM

snoopytas,i keep gett ing errors when trying to add this code to the xml.Cant see where im going wrong


All times are GMT. The time now is 10:35 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.01891 seconds
  • Memory Usage 1,740KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete