Announcement

Collapse
No announcement yet.

sendmessage.php completion

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

  • sendmessage.php completion

    Someone just brought this to my attention on our forums. If someone uses the CONTACT US link which I've got set to use sendmessage.php, they get the message that the email has been sent, but when it tries to send them back to the forum page, it doubles the URL like this: https://forums.opensuse.org/https%3a....org/forum.php so it fails.

    Can you tell me where to go to fix that? Thanks. - Kim
    Our forums: http://forums.opensuse.org, http://forums.microfocus.com, http://forums.netiq.com, and http://forums.suse.com

  • #2
    This usually occurs with an improper URL specified in the settings under Settings -> Options -> Site Name / URL / Contact Details.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud customization and demonstration site.
    vBulletin 5 Documentation - Updated every Friday. Report issues here.
    vBulletin 5 API - Full / Mobile
    I am not currently available for vB Messenger Chats.

    Comment


    • #3
      Here's what I have configured. Can you see a problem?

      Forum URL: https://forums.opensuse.org
      Forum Component URL: [blank]
      CMS Component URL: [blank]
      Blog Component URL: [blank]
      Redirect Domain Whitelist: [blank]
      Disable Redirect Domain Checking: No
      Show Forum Link in Menu: No
      Homepage Name: openSUSE Forums
      Homepage URL: https://forums.opensuse.org
      Contact Us Link: sendmessage.php
      Allow Unregistered Users to use 'Contact Us': No
      Contact Us Options:
      OS Site Feedback
      OS Registration Problem
      OS Login / Posting Problem
      OS Complaint or Praise
      Allow to Send 'Other' Subject in Contact Us Page: Yes
      Webmaster's Email: forums@microfocus.com
      Contact Us Email: [blank]
      Privacy Statement URL: http://www.novell.com/company/policies/privacy/
      Terms of Service URL: https://forums.opensuse.org/faq.php?...#faq_novellgen
      Copyright Text: 2019 SUSE, All Rights Reserved.
      Company Name: SUSE
      Company Fax: [blank]
      Company Address: 1800 South Novell Place, Provo, UT 84606
      Our forums: http://forums.opensuse.org, http://forums.microfocus.com, http://forums.netiq.com, and http://forums.suse.com

      Comment


      • #4
        When you look at the rendered source code for the contact us page, what is the value for the hidden input "url" at the bottom of the form?
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud customization and demonstration site.
        vBulletin 5 Documentation - Updated every Friday. Report issues here.
        vBulletin 5 API - Full / Mobile
        I am not currently available for vB Messenger Chats.

        Comment


        • #5
          I assume you're looking for this section:
          Code:
          <form class="vbform block" action="sendmessage.php?do=contactus" method="post">
              <h2 class="blockhead">Send an Email to the Site Administrator</h2>
              <div class="blockbody formcontrols">
                  <h3 class="blocksubhead">Your Details</h3>
                  <div class="section">
                      <div class="blockrow">
                          <label for="name">Your Name:</label>
                          <input type="text" class="primary textbox" id="name" name="name" value="kgroneman" tabindex="1" style="background-image: url(&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABHklEQVQ4EaVTO26DQBD1ohQWaS2lg9JybZ+AK7hNwx2oIoVf4UPQ0Lj1FdKktevIpel8AKNUkDcWMxpgSaIEaTVv3sx7uztiTdu2s/98DywOw3Dued4Who/M2aIx5lZV1aEsy0+qiwHELyi+Ytl0PQ69SxAxkWIA4RMRTdNsKE59juMcuZd6xIAFeZ6fGCdJ8kY4y7KAuTRNGd7jyEBXsdOPE3a0QGPsniOnnYMO67LgSQN9T41F2QGrQRRFCwyzoIF2qyBuKKbcOgPXdVeY9rMWgNsjf9ccYesJhk3f5dYT1HX9gR0LLQR30TnjkUEcx2uIuS4RnI+aj6sJR0AM8AaumPaM/rRehyWhXqbFAA9kh3/8/NvHxAYGAsZ/il8IalkCLBfNVAAAAABJRU5ErkJggg==&quot;); background-repeat: no-repeat; background-attachment: scroll; background-size: 16px 18px; background-position: 98% 50%; cursor: auto;">
                      </div>
          
                      <div class="blockrow">
                          <label for="email">Email Address:</label>
                          <input type="text" class="primary textbox" id="email" name="email" value="kim.groneman@microfocus.com" tabindex="1">
                      </div>
                  </div>
          
                  <h3 class="blocksubhead">Subject</h3>
                  <div class="section">
                      <div class="blockrow">
                      <label>Subject:</label>
          
                          <ol class="group checkradio rightcol floatcontainer" id="subjects">
                              <li>
              <label for="rb_sub0">
                  <input type="radio" name="subject" id="rb_sub0" value="0" onclick="this.onchange();" onchange="javascript:document.getElementById('rb_subjother_deps').disabled=true;" tabindex="1">
                  OS Site Feedback
          
              </label>
          </li><li>
              <label for="rb_sub1">
                  <input type="radio" name="subject" id="rb_sub1" value="1" onclick="this.onchange();" onchange="javascript:document.getElementById('rb_subjother_deps').disabled=true;" tabindex="1">
                  OS Registration Problem
          
              </label>
          </li><li>
              <label for="rb_sub2">
                  <input type="radio" name="subject" id="rb_sub2" value="2" onclick="this.onchange();" onchange="javascript:document.getElementById('rb_subjother_deps').disabled=true;" tabindex="1">
                  OS Login / Posting Problem
          
              </label>
          </li><li>
              <label for="rb_sub3">
                  <input type="radio" name="subject" id="rb_sub3" value="3" onclick="this.onchange();" onchange="javascript:document.getElementById('rb_subjother_deps').disabled=true;" tabindex="1">
                  OS Complaint or Praise
          
              </label>
          </li><li>
              <label for="rb_sub4">
                  <input type="radio" name="subject" id="rb_sub4" value="4" onclick="this.onchange();" onchange="javascript:document.getElementById('rb_subjother_deps').disabled=true;" tabindex="1">
                  OS Other Forum Issue
              </label>
          </li>
          
                              <li>
                                  <label for="rb_subjother">
                                      <input id="rb_subjother" type="radio" name="subject" value="other" class="dep_ctrl" onclick="this.onchange();" onchange="javascript:document.getElementById('rb_subjother_deps').disabled=false;document.getElementById('rb_subjother_deps').focus();" tabindex="1">
                                      Other
                                  </label>
                                  <input id="rb_subjother_deps" type="text" class="textbox" name="other_subject" value="" onclick="javascript:document.getElementById('rb_subjother').checked=true;" tabindex="1">
                              </li>
          
                          </ol>
          
                      </div>
          
                  </div>
          
                  <h3 class="blocksubhead">Message</h3>
                  <div class="section">
                      <div class="blockrow">
                          <label>Message:</label>
                          <textarea class="textbox" rows="15" cols="100" name="message" tabindex="1"></textarea>
                      </div>
                  </div>
          
              </div>
          
              <div class="blockfoot actionbuttons">
                  <div class="group">
                      <input type="submit" class="button" value="Send" tabindex="1">
                      <input type="reset" class="button" value="Reset Fields" tabindex="1">
                  </div>
              </div>
          
              <input type="hidden" name="s" value="">
              <input type="hidden" name="securitytoken" value="1544474315-4c7dd99ee073b2ea2d8f343fa229e14db1debf4f">
              <input type="hidden" name="do" value="docontactus">
              <input type="hidden" name="url" value="https%3a//forums.opensuse.org/forum.php">
          </form>
          Our forums: http://forums.opensuse.org, http://forums.microfocus.com, http://forums.netiq.com, and http://forums.suse.com

          Comment


          • #6
            It is that %3a in the URL. You don't have a valid URL in the redirect. Make sure you have an ASCII colon ( : ) in the BB URL field.
            Translations provided by Google.

            Wayne Luke
            The Rabid Badger - a vBulletin Cloud customization and demonstration site.
            vBulletin 5 Documentation - Updated every Friday. Report issues here.
            vBulletin 5 API - Full / Mobile
            I am not currently available for vB Messenger Chats.

            Comment


            • #7
              Apologies, but you lost me at BB URL field. Where is that? Here's what's in the CONTACT DETAILS:
              Click image for larger version

Name:	2018-12-10 15_41_08-vBulletin Options - openSUSE Forums - vBulletin Admin Control Panel.png
Views:	1
Size:	41.4 KB
ID:	4404119Click image for larger version

Name:	2018-12-10 15_41_08-vBulletin Options - openSUSE Forums - vBulletin Admin Control Panel.png
Views:	2
Size:	41.4 KB
ID:	4404120
              Attached Files
              Our forums: http://forums.opensuse.org, http://forums.microfocus.com, http://forums.netiq.com, and http://forums.suse.com

              Comment

              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
              Working...
              X