Announcement

Collapse
No announcement yet.

error_reputationtoomany

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • error_reputationtoomany

    Why can't I find this in my Phrases? Code from reputation.php contains:

    PHP Code:
    eval(print_standard_error('error_reputationsameuser')); 
    and I'd like to add a new phrase in and reference that in the code based on other conditions but I can't even find this one?
    Matthew Yette
    [email protected]
    antsmarching.org - People in every direction

  • #2
    It shouldn't have a gap in the name for a start. Did you take that code directly from the source ?
    Dean Clatworthy - Web Developer/Designer

    Comment


    • #3
      Originally posted by Dean C
      It shouldn't have a gap in the name for a start. Did you take that code directly from the source ?
      It just pasted wrong. No, there aren't gaps in the name. Disregard the pasting error. Shouldn't I find this in the phrase manager?
      Matthew Yette
      [email protected]
      antsmarching.org - People in every direction

      Comment


      • #4
        Basically I want to add another condition to my reputation page, which comes up if the user does not enter a comment along with their rating. I could easily add another phrase, but I'm not confident it would even come up if I can't find out where the current ones are located.
        Matthew Yette
        [email protected]
        antsmarching.org - People in every direction

        Comment


        • #5
          The phrase is named 'reputationsameuser' Search for that and you'll find it right away !
          Dean Clatworthy - Web Developer/Designer

          Comment


          • #6
            Originally posted by Dean C
            The phrase is named 'reputationsameuser' Search for that and you'll find it right away !
            Thank you!
            Matthew Yette
            [email protected]
            antsmarching.org - People in every direction

            Comment


            • #7
              Maybe I should create a new thread about this, but for the sake of reducing clutter, I'll post in here:

              if (!($permissions['adminpermissions'] & CANCONTROLPANEL))

              That right there says, if the user isn't an admin and can't access the control panel. (correct?)

              What if I wanted to modify that statement to also include if the user isn't a moderator. So in other words, if they're a mod (or an admin), skip what's in that if statement?
              Matthew Yette
              [email protected]
              antsmarching.org - People in every direction

              Comment


              • #8
                That permission just checks to see if the user can access the control panel, nothing more. What directory/file is that in?
                Dean Clatworthy - Web Developer/Designer

                Comment


                • #9
                  Originally posted by Dean C
                  That permission just checks to see if the user can access the control panel, nothing more. What directory/file is that in?
                  That's /reputation.php.

                  Basically I want to be able to check if the user is a member of a certain usergroup (moderator, for example) within that file, but I'm not sure of the variable arrays that are available to me on that page.
                  Matthew Yette
                  [email protected]
                  antsmarching.org - People in every direction

                  Comment


                  • #10
                    Any word on this Dean, or anyone?
                    Matthew Yette
                    [email protected]
                    antsmarching.org - People in every direction

                    Comment


                    • #11
                      For questions on how to modify vBulletin's source code I'd reccomend asking over at www.vBulletin.org
                      Dean Clatworthy - Web Developer/Designer

                      Comment

                      Loading...
                      Working...
                      X