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)

Seiyaboy 10-17-2007 06:37 PM

Mind posting the code for just the timer function for the button? I'm sure we can find the source of the problem from there.

Disasterpiece 10-19-2007 11:04 AM

Hi

In my Forum i have the old Database Structure from v 3.4 and the files from v 3.6. Is there anything i should do about that? were some changes made in the DB Structure since 3.4?

Valter 10-19-2007 08:35 PM

Quote:

Originally Posted by Disasterpiece (Post 1363665)
Hi

In my Forum i have the old Database Structure from v 3.4 and the files from v 3.6. Is there anything i should do about that? were some changes made in the DB Structure since 3.4?

Just upgrade product by importing XML, with "overwrite" checked.

Arachnophiles 10-20-2007 04:47 AM

Hi Cyb,

Thanks for another awesome hack :D

Are there any plans to include 'Per Forum(s)' options?

Cheers,
Adam.

Valter 10-20-2007 10:45 PM

Quote:

Originally Posted by Arachnophiles (Post 1364159)
Thanks for another awesome hack :D

Are there any plans to include 'Per Forum(s)' options?

You're welcome.

This may be added in future releases.

Makc666 10-22-2007 07:31 AM

Cybernetec,
there is some difference in there two phrases

Quote:

<phrase name="setting_cybfrules_show_resetmi_desc" username="Cybernetec"><![CDATA[Automatically add "Force to Accept Rules" to member profiles]]></phrase>
Quote:

<phrase name="cybfrules_resetuser" username="Cybernetec"><![CDATA[Force User To Accept Forum Rules]]></phrase>
I think we have to replace first one with:
Quote:

<phrase name="setting_cybfrules_show_resetmi_desc" username="Cybernetec"><![CDATA[Automatically add "Force User To Accept Forum Rules" to member profiles]]></phrase>
Code:

<phrase name="setting_cybfrules_show_resetmi_desc" username="Cybernetec"><![CDATA[Automatically add "Force User To Accept Forum Rules" to member profiles]]></phrase>

LouiseWilson 10-23-2007 07:09 AM

i've clicked installed but most deff waiting for

Originally Posted by Arachnophiles View Post
Thanks for another awesome hack

Are there any plans to include 'Per Forum(s)' options?

Makc666 10-23-2007 09:59 AM

Cybernetec,

1.
Why you don't replace (I checked it works in this way)
Code:

value=\"Reset Acceptance Status For All Members\"
with this one
Code:

value=\"$vbphrase[cybfrules_resetall]\"
+
Code:

<phrase name="cybfrules_resetall" username="Cybernetec"><![CDATA[Reset Acceptance Status For All Members]]></phrase>
2.
This one code:
Code:

<optioncode><![CDATA[
                <a href=\"../misc.php?do=cfrresetall\"><input type=\"submit\" name=\"cyb_reset_all\" value=\"Reset Acceptance Status For All Members\" /></a>]]></optioncode>

Doesn't work in IE 7.*.
Works in Opera 9.* and in FireFox 2.*

[S]Why you not to use something like:[/S]
[S]
Code:

<optioncode><![CDATA[
                <form method=\"GET\" action=\"misc.php\">
                        <input type=\"submit\" name=\"cyb_reset_all\" value=\"$vbphrase[cybfrules_resetall]\"><input type=\"hidden\" name=\"do\" value=\"cfrresetall\">
                </form>]]></optioncode>

[/S]
[S]This one works everywhere, I checked.[/S]

[S]3.
Also when I press this button in Opera or Firefox an "empty" page is opened (with out any information).
Attachment 71405

When to open URL by hands I get the same "empty" page.
Code:

http://my.forum.123/admincp/misc.php?do=cfrresetall
In other words "Reset acceptance status for all registered members" doesn't work...[/S]

Valter 10-23-2007 10:56 PM

1. Should be changed.
2. Confirmed (does not work in bloody IE)
3. No bug here. It seems you have tested it using your custom code.

It's:
FORUM/misc.php?do=cfrresetall
NOT:
FORUM/admincp/misc.php?do=cfrresetall

With original code it works fine.

Makc666 10-24-2007 09:29 AM

Cybernetec, yes. I was wrong :( with <form examle. This one can't work in any way as form inside form doesn't work. I killed my brain today. Sorry for disinformation.

The same for
Code:

/admincp/misc.php?do=cfrresetall
My fault.

This one works ok.
Code:

http://my.forum.123/misc.php?do=cfrresetall


All times are GMT. The time now is 05:31 PM.

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.01626 seconds
  • Memory Usage 1,750KB
  • 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
  • (9)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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