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)

Masiello 09-15-2007 10:19 AM

Hello, it is possible the integration in your mod of that request?
https://vborg.vbsupport.ru/showthread.php?t=157882

Masiello 09-16-2007 07:09 PM

Quote:

Originally Posted by mauro1947 (Post 1332510)
For me doesnt work, even using IE...:(

EDIT works fine in IE7
Upgraded to FF 2.0.0.6 and works fine too

Makc666 09-17-2007 09:54 AM

Cybernetec, can you move, please,
Code:

$cyb_frules_link = "<td class=\"vbmenu_control\"><a href=\"misc.php?do=cfrules\">".$vbphrase['cybfrules_rules']."</a></td>";
to a separate template, for example cybfrules_navbar_link

For example as it was done in vBulletin's Blogs.
Template blog_navbar_link

This will allow as to modify cybfrules_navbar_link for each style separately! For example some styles will have image before words "Forum Rules" and others not.

Thanks

bada_bing 09-17-2007 05:03 PM

Quote:

Originally Posted by bada_bing (Post 1339006)
I have upgraded to version 3.5.4 of this hack and now I dont get the phrasee"force user to accept forum rules option. I have "$cyb_frules_force" in my MEMBERINFO but its not showing up what went wrong?

Can I have some help on this PLEASE...

bada_bing 09-18-2007 06:50 PM

Quote:

Originally Posted by bada_bing (Post 1340986)
Can I have some help on this PLEASE...


Can I PLEASE get some help here....

bada_bing 09-20-2007 03:50 PM

Quote:

Originally Posted by bada_bing (Post 1340986)
Can I have some help on this PLEASE...


Can I please have some attention here expecially from the author. I would like to get this link back so can use this product...

lazserus 09-20-2007 04:16 PM

Uninstall and reinstall it. I'd start there.

bada_bing 09-20-2007 04:28 PM

tryed that a few times didnt help

puertoblack2003 09-22-2007 02:08 AM

Quote:

Originally Posted by Scalemotorcars (Post 1315228)
Love the hake HATE the green button. I just couldn't find the phrase mentioned so I went around it.

I turned off the link and added my own.

This one you can change the color to whatever you want. Not sure it it works with the other features of this hake but if you just want the link then try this.

I moved this over to the center right past the calendar but you can put it anywhere you want.

Code:

<td class="vb menu_control"><a href="LINK"><font color="#ff0000">Forum Rules</font>
</a></td>

This link is colored red but you can swap that for anything or just remove the color tags and you will get the standard button.

If you want to see it live heres a Demo.

http://www.scalemotorcars.com/cmps_index.php



yes i'm having that same issue im looking through the templates to remove it but i can't find it i don't wan to add the navbar part...any help will do..

Semobid 09-23-2007 06:12 AM

I like the mod. The only problem I am having is when I set a time limit for users to read rules, it nevers reveals the submit button. It just shows 10 seconds and never changes. I had to disable option and make it to where they did not have a mandatory time limit to view rules. Any ideas on how to make the time limit work or what I may of did wrong?

bada_bing 09-25-2007 12:15 AM

Can someone please help me with this I have posted several times and now assistance is this hack not supported by the author any longer?

Deirdre 10-07-2007 07:25 AM

It works fine with me in firefox and the submit button time delay works too on my end.

Masiello 10-07-2007 07:48 AM

Just to inform if that helps, it works fine on my vB 3.6.8 forum with:
FF 2.0.0.7
IE 7
IE 6

bada_bing 10-09-2007 06:24 PM

Can someone please help me here I have recently upgrade to version 3.5.4 of this hack and ever since I did this I cant reset the members rules from the memberinfo (user Profile page)
Does not matter if I place the $cyb_frules_force in memberinfo manually or I check to allow the hack to do so , the link will not show up. I have applied it to the correct style as it was working before I upgraded to 3.5.4. I asked for help several times and no luck not even from the coder of this hack.. I really need this link to appear again can I please get some help on this please.

bada_bing 10-12-2007 11:56 AM

LOOKS LIKE Cybernetec is no longer supporting neither versions of this hack anymore. I have asked for help several times and no response

Valter 10-12-2007 01:02 PM

Quote:

Originally Posted by bada_bing (Post 1358203)
LOOKS LIKE Cybernetec is no longer supporting neither versions of this hack anymore. I have asked for help several times and no response

Sure?

Sep 26. 2007.:
Quote:

Originally Posted by bada_bing
Quote:

Originally Posted by Cybernetec
Quote:

Originally Posted by bada_bing
I really need your help man I cant get the force users to accept rules link to appear in usercp after I upgraded. the reference is there but the link will not show up. PLEASE PLEASE HELP this is one of the best hacks and heavly used on our site and currently we cant issue the read rule to members without this...

I need admin account on your forums with access to styles, settings, and plugins.

Can you try and have my send you the code or ask me to try something first rather then admin rights to my site?

No. I have no idea what you have installed and modified on your forums, what's your server configuration, vB version, what styles you use, etc... I'm not clairvoyant and I have no time to chat with you via PMs asking for all info I need to fix the problem for you.

bada_bing 10-12-2007 01:44 PM

Quote:

Originally Posted by Cybernetec (Post 1358245)
Sure?

Sep 26. 2007.:

No. I have no idea what you have installed and modified on your forums, what's your server configuration, vB version, what styles you use, etc... I'm not clairvoyant and I have no time to chat with you via PMs asking for all info I need to fix the problem for you.

I did not see your reply to this "No. I have no idea what you have installed and modified on your forums, what's your server configuration, vB version, what styles you use, etc... I'm not clairvoyant and I have no time to chat with you via PMs asking for all info I need to fix the problem for you."

I will set you up with admin and PM you the details. I only ask that you tell me when your going to login and when your done. I will PM you the details

Adam21 10-12-2007 02:12 PM

Works great with vb368.Simple to use and installed!

Valter 10-14-2007 02:15 AM

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

To upgrade: Import product XML, allow overwrite.

redraider 10-14-2007 10:52 PM

Upgraded. I still get the problem with the counter where it stays at 20. Any reasons you know why?

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

Valter 10-24-2007 08:53 PM

Thanks for the update.

And yes, nested forms are not allowed.

Charles_1 10-31-2007 07:10 PM

Quote:

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

To upgrade: Import product XML, allow overwrite.

Hi Cybernetec,

when I saw your info about new version, I thought that it will solve issue that I mentioned in post #394, but it is still the same after upgrade :-(.

Charles_1 11-02-2007 11:49 AM

Quote:

Originally Posted by Charles_1 (Post 1372953)
[S]Hi Cybernetec,

when I saw your info about new version, I thought that it will solve issue that I mentioned in post #394, but it is still the same after upgrade :-(.[/S]

Nevermind. I did not realized that moderator has to have associated some forum (condition <if condition="can_moderate()">), if he is not supermoderator to all forums - then it is working correctly. I had test user only in same usergroup as other mods. Sorry Cybernetec for confusion and thanks for your great hacks!

sduckie2k5 11-04-2007 01:09 AM

User acceptance countdown doesn't countdown, stays at 10, any thoughts?

gnrmarcel 11-27-2007 07:29 PM

i installed this hack but there are no rules if i click on this link
http://www.gunsnrosesforum.de/misc.php?do=cfrules

why?

nyunyu 12-07-2007 07:24 PM

work with charms! thanks Cyb.

fsrmw_tudd 12-09-2007 12:35 PM

Hello everyone,


we have a litte problem concerning Firefox ...

everything works like a charme ... but with Firefox I am able to accept the forum rules without checking the checkbox ...

with Internet Explorer JavaScript pops up if the checkbox is not activated - but not so in Firefox (this even works in Cyb's Example)

can anyone confirm this? or is my Firefox running wild? ;)


Regards from Dresden, Germany

ssslippy 12-12-2007 01:11 AM

I just duplicated the above issue where you are not required to check off the box.

Valter 12-12-2007 01:58 AM

For some reason it stopped working in Firefox.

It works fine in IE and Opera.

I'll fix this later...

ssslippy 12-12-2007 02:58 AM

Here are the code changes we made to make this work. Feel free to use this cyb if you have something better always appreciated. We are not javascript pros.

Code:

  <script language="JavaScript" type="text/javascript">
  function Cafr_checkAgree(){
    cafr_agree = fetch_object('cafr_agree');
    if (cafr_agree.checked == false) {
    alert("$vbphrase[cybfrules_not_agreed]");
    return false;
    } else {
    return true;
    }
  }

Change to

Code:


  <script language="JavaScript" type="text/javascript">
  function Cafr_checkAgree(){
    if (document.getElementById('cafr_agree').checked == false) {
    alert("$vbphrase[cybfrules_not_agreed]");
    return false;
    } else {
    return true;
    }
  }

Code:

<td class="alt1" align="center" valign="middle" style="background-color:#DEF3BD;color:black;"><input type="checkbox" name="cafr_agree" value="1" />&nbsp;<phrase 1="$vboptions[bbtitle]">$vbphrase[cybfrules_iagree_note]</phrase>&nbsp;&nbsp;<if condition="($vboptions[cybfrules_time]!='')"><input type="submit" class="button" id="cfrules_counter" name="cfrules_counter" style="width:80px;" value="$vboptions[cybfrules_time]" disabled="disabled" /><else /><input type="submit" class="button" style="width:80px" value="$vbphrase[submit]" /></if></td>
Change to

Code:


<td class="alt1" align="center" valign="middle" style="background-color:#DEF3BD;color:black;"><input type="checkbox" id="cafr_agree" value="1" />&nbsp;<phrase 1="$vboptions[bbtitle]">$vbphrase[cybfrules_iagree_note]</phrase>&nbsp;&nbsp;<if condition="($vboptions[cybfrules_time]!='')"><input type="submit" class="button" id="cfrules_counter" name="cfrules_counter" style="width:80px;" value="$vboptions[cybfrules_time]" disabled="disabled" /><else /><input type="submit" class="button" style="width:80px" value="$vbphrase[submit]" /></if></td>



All times are GMT. The time now is 04:32 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.01839 seconds
  • Memory Usage 1,850KB
  • 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
  • (15)bbcode_code_printable
  • (17)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