Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
Rules and User Agreement Hack Details »»
Rules and User Agreement Hack
Version: 1.1.5, by uae uae is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.5.4 Rating:
Released: 10-05-2005 Last Update: 11-08-2005 Installs: 278
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

This modification currently contains a vulnerability. You are hereby advised to disable this modification until such time that the author provides a fix.
- vBulletin.org Staff


Rules and User Agreement Hack-------------------------------------
Hack Version: 1.1.5
vB-version: 3.5
Developer: WwW.UAEWEB.CoM
Install-difficulty: Easy
Port of: https://vborg.vbsupport.ru/showt...threadid=77666

Introduction:
Rules and User Agreement Hack Is an agreement rules systems, that requires user to agree to each individual forum or/and pages rules within the whole board community ?if applicable? prior to permission them to different action (Viewing a Forum, Posting New Thread for the first time, Posting New Thread, Posting Reply).

This will limit the forum breaches that occur often due to unawareness of the rules and agreement. This shall automate the manual procedures that are followed by users to read the ?rules and agreement? and will enforce to some extent the users to be aware of rules in place. Moreover this will eliminate the options of any denial by certain users of not being aware of ?rules and agreements? being in place for the desired forum.

This can also be used as alerts, broadcasts, messages and tutorials? etc to certain individual, multi users or groups.

Features:
  • Unlimited* Rule(s).
  • An Individual Forum can have multi rules agreement.
  • An Individual FILE within your forum can have mutli rules agreement.
  • List All Rules that user has agreed to from his/her profile page "if a url was provided".
  • Edit/Delete Rule(s).
  • Reset Rule(s) Manually or with Cron Job.
  • Rules can use bbcode.
  • Set to show a rule(s) agreement in any selected forum/page (file url) IF:
- User's Usergroup is Y.
- User's Additional Usergroups is Y.
- User's User Id is X.
- User's User Name is XXX.
- User's first time posting a new thread in this forum.
- User's has posts greater than x posts.
- User's has posts less than x posts.
- User's Join Date is After (yyyy-mm-dd).
- User's Join Date is Befor (yyyy-mm-dd).
- User's Last Activiy is After (yyyy-mm-dd).
- User's Last Activiy is Befor (yyyy-mm-dd).
- User's Last Post is After (yyyy-mm-dd).
- User's Last Post is Befor (yyyy-mm-dd).
* Can Use Conditionals.
  • Fully "phrased" so translations are made easy.
Settings in the Admin CP:
  • List Rule(s).
  • Add New Rule(s).
  • Edit / Delete Rule(s).
  • Reset Rule(s).
  • Activate and Inactivate Rule(s)
Screenshots:

See attachments.

Hack Installation Details:

1 Product XML with 3 Plugins, and 45 Phrases

New files for this Hack: 3
/admincp/rulesagreement.php
/includes/cron/cron_ruleshack.php
/includes/xml/cpnav_rulesagreement.xml

New templates for this Hack: 2
ruleshack_rules
ruleshack_rulesbit

File-edits: 0

Template-edits: 1
MEMBERINFO

New DB tables for this Hack: 1
ruleshack

DB Tables modified for this Hack: 1
user

How to Install:
To install this hack, simply download the zip file, Unzip it to a directory on your computer and follow the steps from README.txt

History:
1.0.0
Initial Version for vBulletin 3.5

1.1.0
Added Rule(s) from URL
Fixed typo in Phrase

1.1.1
Fixed bug with new registration
-> to upgrade, import product-rulesagreement.xml and set Allow Overwrite to yes

1.1.2
Fixed bug with Reseting Rules every 12 hours
-> to upgrade, import product-rulesagreement.xml and set Allow Overwrite to yes

1.1.3
Fixed bug with with TABLE_PREFIX missing
-> to upgrade, import product-rulesagreement.xml and set Allow Overwrite to yes


1.1.4
Fixed bug with with Template / memberinfo Agreed Rules List
-> to upgrade, import product-rulesagreement.xml and set Allow Overwrite to yes

1.1.5
Fixed bug with this & this
-> to upgrade, import product-rulesagreement.xml and set Allow Overwrite to yes

PLEASE REMEMBER TO BACKUP BEFORE YOU BEGIN!

If you like this hack, please be kind and click on

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #92  
Old 12-17-2005, 04:21 PM
Firestar.chkn Firestar.chkn is offline
 
Join Date: Aug 2005
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Pocketbike Planet
Great hack! But...

I can't find a setting to have this displayed for all forums when posting a new thread or reply. I don't want to have to make a new rule set for each individual forum (we don't have any sub forums). I tried to set it for the main category but of course this did not work.

Any suggestions?
Just add the rule to the main category and add the checkbox "include in child forums" and it will add it for all forums.

Awesome hack, btw. I love it, and will be using it all the time Installs
Reply With Quote
  #93  
Old 12-18-2005, 12:24 PM
kommuni kommuni is offline
 
Join Date: Apr 2004
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Firestar.chkn
Just add the rule to the main category and add the checkbox "include in child forums" and it will add it for all forums.

Awesome hack, btw. I love it, and will be using it all the time Installs
Quote:
Just add the rule to the main category and add the checkbox "include in child forums" and it will add it for all forums.
I have about 8 Categories on top level... i don't see any category "above"?!

Would be great if this option could be added. My users should agree to new rules when logging into the forums next time - regardless where they login... This doesn't seem to be possible so far.

Thanks!
Reply With Quote
  #94  
Old 12-18-2005, 03:02 PM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kommuni
I have about 8 Categories on top level... i don't see any category "above"?!

Would be great if this option could be added. My users should agree to new rules when logging into the forums next time - regardless where they login... This doesn't seem to be possible so far.

Thanks!
Same at me !
Reply With Quote
  #95  
Old 12-18-2005, 07:08 PM
vibe vibe is offline
 
Join Date: Jan 2005
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I click on agree and submit, browser takes me to this URL

Code:
http://www.agalico.com/php/php.exe?f=65...

Security Alert! The PHP CGI cannot be accessed directly.

This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a page will only be served up if the REDIRECT_STATUS CGI variable is set, e.g. via an Apache Action directive.
Can anyone help me figure it out why? I'v been trying to troubleshoot this problem forever, still having find out why.

Thanks.
Reply With Quote
  #96  
Old 12-23-2005, 06:48 AM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kommuni
I have about 8 Categories on top level... i don't see any category "above"?!

Would be great if this option could be added. My users should agree to new rules when logging into the forums next time - regardless where they login... This doesn't seem to be possible so far.

Thanks!
Anybody supporting this Hack ?
Reply With Quote
  #97  
Old 12-26-2005, 11:34 PM
steven s's Avatar
steven s steven s is offline
 
Join Date: Aug 2004
Location: Greenville, SC
Posts: 572
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I want people to read an agreement before
linking to /newthread.php?do=hpde
Is this possible?
Edit: nevermind. I figured it out.
Reply With Quote
  #98  
Old 01-03-2006, 07:11 AM
kommuni kommuni is offline
 
Join Date: Apr 2004
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi together,

as there doesn't seem to be anymore support for this hack, i helped myself and found a solution for that previously named problem.

I'll post it here and you may use it at your own risk!

With this modification, you're able to setup rules for every page. With such a global rule everyone first has to agree to this rule before beeing able to read any of your forums (or even gallery, arcade, any hack that uses vb-templateparser).

the only thing you need to modify is the template_parser plugin from the rules & agreementhack. Just xchange the complete code with this:

PHP Code:
$hackagree = array();

    
$vbulletin->input->clean_array_gpc('p', array('hackagree' => TYPE_ARRAY_INT'forumid' => TYPE_INT'oldurl' => TYPE_STR'do' => TYPE_STR));
    
$ruleids implode(","$vbulletin->GPC['hackagree']);

    
$scripturl1 iif ($_SERVER['SCRIPT_URI'], $_SERVER['SCRIPT_URI'], "http://" $_SERVER['HTTP_HOST'] . $_SERVER['SCRIPT_NAME']);
    
$urluri $scripturl1 iif($_SERVER['QUERY_STRING'], "?" $_SERVER['QUERY_STRING']);
                    
if (
$ruleids)
{
        
//Lets see if this user has agreed or not (Update agreed ruleid)
        
update_rules($ruleids$vbulletin->GPC['forumid']);
}
else
{     

    if (
$vbulletin->GPC['hackagree']<>1)
    {
            
// Check for all list of RULE to be apply for this page...
        
$ruletext check_newrules($vbulletin->GPC['forumid']);

         if (
$ruletext)
        {
           
$navbits = array();
           
$parentlist array_reverse(explode(','substr($foruminfo['parentlist'], 0, -3)));
           foreach (
$parentlist AS $forumID)
          {
           
$forumTitle $forumcache["$forumID"]['title'];
           
$navbits["forumdisplay.php?$session[sessionurl]f=$forumID"] = $forumTitle;
          }

        
// parse headinclude, header & footer
        
$admincpdir =& $vbulletin->config['Misc']['admincpdir'];
        
$modcpdir =& $vbulletin->config['Misc']['modcpdir'];

       
$navbits[''] = $vbphrase['ruleshack_rules_and_agreement'];
       
$navbits construct_navbits($navbits);
        if (empty(
$navbar))
       eval(
'$navbar = "' fetch_template('navbar') . '";');
        if (empty(
$headinclude))
        eval(
'$headinclude = "' fetch_template('headinclude') . '";');
        if (empty(
$header))
        eval(
'$header = "' fetch_template('header') . '";');
                
        if (
defined('VBA_PORTAL'))
        {
            require_once(
DIR '/includes/vba_cmps_include_bottom.php');
        }        
        if (empty(
$footer))
        eval(
'$footer = "' fetch_template('footer') . '";');


            if (
$_REQUEST['do'] == 'postreply')
             {
                 
$rule = array();
                 
$rule['postreply']        = 1;
                 
$rule['wysiwyg']        = $_REQUEST['wysiwyg'];
                 
$rule['quickreply']        = $_REQUEST['quickreply'];
                 
$rule['message']        = addslashes($_REQUEST['message']);
                 
$rule['fromquickreply']    = $_REQUEST['fromquickreply'];
                 
$rule['t']                = $_REQUEST['t'];
                 
$rule['p']                = $_REQUEST['p'];
                 
$rule['parseurl']        = $_REQUEST['parseurl'];                 
             }
             
       eval(
'print_output("' fetch_template('ruleshack_rules') . '");');
        exit;
        }    
    }
}

//     function "check_rulesneed" to find any rules exist for this page....
     
function check_rulesneeded()
      {
           global 
$vbulletin$urluri$scripturl1;                               
                           
          
$ruleneed $vbulletin->db->query_first("SELECT * FROM " TABLE_PREFIX "ruleshack 
            WHERE (fileurl LIKE '" 
$urluri "' AND exactmatch = 1 ) 
            OR (fileurl LIKE '" 
$scripturl1 "%' AND exactmatch = 0 )
            OR (fileurl LIKE 'all' AND exactmatch = 0) AND active = 1 ORDER BY ruleid"
);
           
          if (!
$ruleneed)
           return 
false;
          else
           return 
true;           
      }

//     function "check_newrules" to find all the rules to be agreed by this user
    
function check_newrules($fid 0)
    {
    global 
$vbulletin$foruminfo$vbphrase$stylevar$urluri$scripturl1;
 
        if ((!
$fid) and (!check_rulesneeded()))
         return 
false;

    
//Lets check what rule(s) this user should get
    
        
$vbulletin->userinfo['agreedrule'] = iif($vbulletin->userinfo['agreedrule'], $vbulletin->userinfo['agreedrule'], '0');

        
$parents iif($vbulletin->forumcache[$vbulletin->GPC['forumid']]['parentlist'], $vbulletin->forumcache[$vbulletin->GPC['forumid']]['parentlist'], '0');

        
$parentids = array();            
        
$parentids iif($parentsexplode(','str_replace(' '''$parents)), 0);
        
                 if ((
$_COOKIE[COOKIE_PREFIX 'rules']) and ($vbulletin->userinfo['userid']==0))
                foreach(
$_COOKIE[COOKIE_PREFIX 'rules'] AS $key => $value)
                 {
                
$allrules .= " :: " $key;
                
$vbulletin->userinfo['agreedrule'] .= iif($vbulletin->userinfo['agreedrule']!='',",","") . $value;
                 }

        
$sql "SELECT * from " TABLE_PREFIX "ruleshack 
            WHERE 
            (
            (forumid = 
$fid)
            OR 
            (fileurl LIKE '" 
$urluri "' AND exactmatch = 1 ) 
            OR 
            (fileurl LIKE '" 
$scripturl1 "%' AND exactmatch = 0 )
            OR 
            (fileurl LIKE 'all' AND exactmatch = 0 )
            OR 
            (forumid IN (
$parents))
            ) 
            AND 
            (ruleid not in (" 
$vbulletin->userinfo['agreedrule'] . ")) 
            AND 
            active = 1 
            ORDER BY ruleid"
;
    
        
$rule $vbulletin->db->query($sql);
                                        
 
$i 1;
while (
$rules $vbulletin->db->fetch_array($rule))
    {
         
        
$flag        0;
        
$condflag    0;
        
$groupflag    0;
        
$memberflag 0;
        
    
// Lets start our rules

    // Rule #1 : USER is from Selected Usergroup(s)
          
if ($rules['groupids'])
        {
            
$gids    = array();            
            
$gids    explode(','str_replace(' '''$rules['groupids']));
             if (
in_array($vbulletin->userinfo['usergroupid'], $gids))
              {
                 
$flag 1;
                
$groupflag 1;
              }                       
        }
    
    
// Rule #2 : USRE is from Selected Membergroup(s)
        
if ($rules['memberids'])
         {
            
$mids    = array();
            
$mgids    explode(','str_replace(' '''$vbulletin->userinfo['membergroupids']));
            
$mids    explode(','str_replace(' '''$rules['memberids']));
        
            foreach (
$mgids as $ids
             {             
             if (
in_array($ids$mids))
              {
                 
$flag      1;
                
$memberflag 1;
              }
             }    
         }    
         
                if ( (
$groupflag==1) or ($memberflag==1) )
                  
$condflag 1;
                else
                  
$condflag 0;        
                
    
// Rule #4 : USER is from Selected Userid(s)
          
if ($rules['userids'])
        {
            
$uids    = array();            
            
$uids    explode(','str_replace(' '''$rules['userids']));
             if (
in_array($vbulletin->userinfo['userid'], $uids))
              {
                 
$flag      1;
                
$condflag 1;
              }else {
                
$condflag 0;
             }
        }
        
    
// Rule #5 : USER is from Selected Username(s)
          
if ($rules['usernames'])
        {
            
$unames    = array();
            
$unames    explode(','str_replace(' '''$rules['usernames']));
             if (
in_array($vbulletin->userinfo['username'], $unames))
              {
                 
$flag      1;
                
$condflag 1;
              }else {
                
$condflag 0;
             }
        }
    
// All the Condition from Rule #6 - Rule #13 for VB Users....
if ($vbulletin->userinfo['userid'] > )
 {
    
// Rule #6 : User has More than X post(s)
          
if ($rules['postmore'])
        {
            if (
$vbulletin->userinfo['posts'] > $rules['postmore']) 
              {
                 
$flag      1;
                
$condflag 1;
              }else {
                
$condflag 0;
             }
        }

    
// Rule #7 : User has Less than X post(s)
          
if ($rules['postless'])
        {
            if (
$vbulletin->userinfo['posts'] < $rules['postless']) 
              {
                 
$flag      1;
                
$condflag 1;
              }else {
                
$condflag 0;
             }
        }

    
// Rule #8 : Join date is After xxx Date
          
if ($rules['joindateafter'])
        {
            if (
$vbulletin->userinfo['joindate'] > $rules['joindateafter']) 
              {
                 
$flag      1;
                
$condflag 1;
              }else {
                
$condflag 0;
             }
        }

    
// Rule #9 : Join date is Before xxx Date
          
if ($rules['joindatebefore'])
        {
            if (
$vbulletin->userinfo['joindate'] < $rules['joindatebefore']) 
              {
                 
$flag      1;
                
$condflag 1;
              }else {
                
$condflag 0;
             }
        }

    
// Rule #10 : Last visit is After xxx Date
          
if ($rules['lastactiveafter'])
        {
            if (
$vbulletin->userinfo['lastvisit'] > $rules['lastactiveafter']) 
              {
                 
$flag      1;
                
$condflag 1;
              }else {
                
$condflag 0;
             }
        }

    
// Rule #11 : Last visit is Before xxx Date
          
if ($rules['lastactivebefore'])
        {
            if (
$vbulletin->userinfo['lastvisit'] < $rules['lastactivebefore']) 
              {
                 
$flag      1;
                
$condflag 1;
              }else {
                
$condflag 0;
             }
        }

    
// Rule #12 : Last post is After xxx Date
          
if ($rules['lastpostafter'])
        {
            if (
$vbulletin->userinfo['lastpost'] > $rules['lastpostafter']) 
              {
                 
$flag      1;
                
$condflag 1;
              }else {
                
$condflag 0;
             }
        }

    
// Rule #13 : Last post is Before xxx Date
          
if ($rules['lastpostbefore'])
        {
            if (
$vbulletin->userinfo['lastpost'] < $rules['lastpostbefore']) 
              {
                 
$flag      1;
                
$condflag 1;
              }else {
                
$condflag 0;
             }
        }
 }
// All the Condition from Rule #6 - Rule #13 for VB Users....

    // Rule #14 : Rule apply for Child forum....
            
if (($parentids) and ($fid != $rules['forumid']))
            {    
             if ((
in_array($rules['forumid'], $parentids)==1) and ($rules['childforum']==1))
              {
                 
$flag      1;
                
$condflag 1;
               }
               else {
                
$condflag 0;
              }     
            }
                        
    
// Rules from URL     
                
$flag 0;
            if (
$condflag == 1)
             {                          
                     if (
$rules['fileurl'])
                      {
                    
$urlpos strrpos($urluri$rules['fileurl']);                                                                       
                     
// Rule #14 : Show Rules on URL match.....
                         
if (($rules['fileurl'] == $urluri) and ($rules['exactmatch']==1))
                         {
                              
$flag 1;
                              
$condflag 1;                  
                         } else {
                              
$condflag 0;
                         }
                              
                    
// Rule #15 : Show Rules on URL match.....
                         
if (($urlpos) and ($rules['exactmatch']==0))
                         {
                              
$flag 1;
                              
$condflag 1;                  
                         } else {
                              
$condflag 0;
                         }
              
// Rule #14 + 15 : Show Rules regardless to URL.....
                
if(($rules['fileurl']=='all') and ($rules['exactmatch']==0)) 
                {
                    
$flag 1;
                    
$condflag 1;
                } else {
                    
$condflag 0;
                }


                      }
             
    
// Rule #16 : First Thread ever in this Forum by this User
          
if (($rules['firstnewthread']) and ($fid!=0) and ($_REQUEST['do'] == 'newthread'))
        {
        
$result $vbulletin->db->query_first("SELECT * from " TABLE_PREFIX "thread 
            WHERE forumid = 
$fid and postuserid = " $vbulletin->userinfo['userid'] . " ");
            if (!
$result)
              {
                 
$flag      1;
                
$condflag 1;
              }else {
                
$condflag 0;
             }
        }
             
                          
    
// Rule #17 : Show Rules on New Thread....
          
if ($rules['newthread'])
        {        
            if (
$_REQUEST['do'] == 'newthread')
              {
                 
$flag      1;
                
$condflag 1;
              }else {
               
$condflag 0;
              }
        } else {
            
$condflag 0;
        }
                                     
    
// Rule #18 : Show Rules on New Post....
          
if ($rules['newreply'])
        {        
            if (
$_REQUEST['do'] == 'newreply' or $_REQUEST['do'] == 'postreply'
              {
                 
$flag      1;
                
$condflag 1;
              }else
                
$condflag 0;
        } else {
            
$condflag 0;
        }
    
    
// Rule #19 : Show Rules on View Forum....
          
if ($rules['viewforum'])
        {        
            if ((
$fid) and ($_REQUEST['do'] != 'newreply' and $_REQUEST['do'] != 'newthread' and $_REQUEST['do'] != 'postreply'))
              {
                 
$flag      1;
                
$condflag 1;
              }else {
                  
$condflag 0;              
              }
        }
            } else {
            
$condflag 0;
            }
                
    
// Rules End ... Thank you

        
if ($rules['conditions'])
            if (
$condflag == 0)
              
$flag 0;
                         
        if (
$flag == 1)
        {
            
$ruletitle    $rules['ruletitle'];
            
$ruleid        $rules['ruleid'];
          if (
$rules['allowbbcode'])
            {
            require_once(
DIR '/includes/class_bbcode.php');
            
$bbcode_parser =& new vB_BbCodeParser($vbulletinfetch_tag_list());
            
$ruletextbit    $bbcode_parser->parse($rules['ruletext']);
            }
            else
            {
            
$ruletextbit    $rules['ruletext'];
            }
        eval(
'$ruletext .= "' fetch_template('ruleshack_rulesbit') . '";');
        
$i++;
        }
    }        
        return 
$ruletext;
 }    
    
    function 
update_rules($rid ''$f 0)
    {
        global 
$vbulletin ;

        
// You gotta agree on this
        
        
if ($rid)
        {            
            
$vbulletin->db->query("UPDATE " TABLE_PREFIX "user SET agreedrule = '" 
            
iif($vbulletin->userinfo['agreedrule'], $vbulletin->userinfo['agreedrule'] . ",""") . $rid "' 
            WHERE userid = " 
$vbulletin->userinfo['userid']);            

                
vbsetcookie("rules["$rid ."]",$rid);
                
                    if (
$_REQUEST['do'] != 'postreply')
                
exec_header_redirect($vbulletin->GPC['oldurl']);
        }
        
        return 
1;
    }
    
function 
fetch_user_agreed_rules()
 {
    global 
$vbulletin$threadinfo$userinfo;
        
        if (
$_REQUEST['find'] == 'lastposter' AND $userinfo)
         {
             
$uid $userinfo['userid'];
         }        
    
$uid iif($_REQUEST['u'], $_REQUEST['u'], $uid);
    if (
$uid 0)
     { 
            
$Ruser fetch_userinfo($uid);        
        
$ruleids iif($Ruser['agreedrule'], $Ruser['agreedrule'], 0);
        
$result     $vbulletin->db->query("SELECT * from " TABLE_PREFIX "ruleshack 
                WHERE ruleid in (
$ruleids) AND ruleurl <> ''");

        while (
$ruleinfo $vbulletin->db->fetch_array($result))
         {
            
$agreedrules .= "<tr><td><a href='" $ruleinfo['ruleurl'] . "'>" $ruleinfo['ruletitle'] . "</a></td></tr>";
         }
     }
        return 
$agreedrules;
 } 
Then setup a rule with URL "all" (just type in these three letters in the url field) and set exact match to no.

That's all.

It's kind of a 'dirty' solution but it's working and should not have any negative consequences. I've setup some new forumrules for my 15k+ board and it's working very well.

Best,
Frank
Reply With Quote
  #99  
Old 01-04-2006, 01:35 AM
bcrooms bcrooms is offline
 
Join Date: Dec 2004
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I change the text in this hack......I want the checkbox to have a Mission Statement of my own writing in it. Where do I change that?

-B
Reply With Quote
  #100  
Old 01-05-2006, 08:41 AM
uae's Avatar
uae uae is offline
 
Join Date: Jul 2002
Location: Irvine, California
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kommuni
Hi together,
Then setup a rule with URL "all" (just type in these three letters in the url field) and set exact match to no.

That's all.

It's kind of a 'dirty' solution but it's working and should not have any negative consequences. I've setup some new forumrules for my 15k+ board and it's working very well.

Best,
Frank
Sorry guys, but I have been busy with the vB Pager hack and did not have the time to add any new featurs to the rules hack.

kommuni, again, I haven't tried your changes yet, but I'll do that as soon as I get the time.


bcrooms, I'm sorry, but I did not get it, are you talking about this text "I have read, and agree to abide by the ....."

if so, then you need to edit phrase "ruleshack_agree_abide_by_rules"
and if you were talking about a whole new rules, then you will need to create a new rule and add whatever text...all that can be done from your ADMINCP, just look @ the screen shots!
Reply With Quote
  #101  
Old 01-05-2006, 09:01 AM
kommuni kommuni is offline
 
Join Date: Apr 2004
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Sorry guys, but I have been busy with the vB Pager
so where is it?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:56 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05154 seconds
  • Memory Usage 2,537KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_php
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete