Announcement

Collapse
No announcement yet.

[RE-RELEASE vB2.0] signature-editor with preview

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

  • #31
    Help!

    HELP! Nothing UNDER the signature line will save! (if you try to edit it)
    Biography:
    Location:
    Interests:
    Occupation:

    None of these will save any added (edited) data!

    Here is my forums: http://www.sirstevesguide.com/forums

    Comment


    • #32
      Hm...on the "Who's online" page in vB 2.0.3 it says " Unknown Location: /forums/sedit.php?&action=show"

      How do I fix this?
      Seriously! - The Definitive Home of All Things Serious
      Seriously! Forums

      To recieve support on these forums, enter your username here.

      Comment


      • #33
        Fixed.

        To make it compatible with online.php, open online.php.

        Find:
        Code:
          default:
            $userinfo[activity] = 'unknown';
          }
        BEFORE that, add this:
        Code:
          case 'sedit.php':
            $userinfo[activity] = 'editsig';
            break;
        Then find this:
        Code:
            default:
              // Let's show the admin the location but put something false up for everyone else..
              if ($bbuserinfo[usergroupid] == 6) {
                 $userinfo[location] = htmlspecialchars(stripslashes(replacesession($userinfo[location])));
                $userinfo[where] = "<b>Unknown Location:</b> <a href=\"$userinfo[location]\">$userinfo[location]</a>";
              } else {
                // We were unable to parse the location
                $userinfo[where] = "$bbtitle <a href='index.php?s=$session[sessionhash]'>Main Index</a>";;
              }
        BEFORE that, add this:
        Code:
            case 'editsig':
              $userinfo[where] = "Changing Forum Signature";
              break;
        Seriously! - The Definitive Home of All Things Serious
        Seriously! Forums

        To recieve support on these forums, enter your username here.

        Comment


        • #34
          ??????

          Is no one else having the problem I am having with the Location, Bio, etc NOT SAVING after adding this hack??

          Comment


          • #35
            Nope. Works fine for me. What version of vB are you using? Make sure you modified the files correctly.
            Seriously! - The Definitive Home of All Things Serious
            Seriously! Forums

            To recieve support on these forums, enter your username here.

            Comment


            • #36
              What a great addition! Thank you to all who put effort into this easy-to-install hack!
              Last edited by NYI Fan; Wed 19th Sep '01, 6:14pm.

              Comment


              • #37
                Add in stylename.style file

                Hi,

                Thanks for your hack, i have question:

                can we add template name _editsignature in style file. If yes HOW?

                bacause every time i upload new template.style file then i lost the _editsignature session.

                Thanks.
                Thanks

                Comment


                • #38
                  Just add
                  Code:
                  _editsignature|||[templatedata]|||
                  to the end of your style file where [templatedata] is replaced by the _editsignature content.
                  this is my sig

                  Comment


                  • #39
                    how would i limit smilies/images to 4 per sig?

                    Comment


                    • #40
                      it also seems like it will not display the limited number of lines per sig. i set it and it still does not show up...

                      the code:
                      $adminsiglimit = 20;
                      $regsiglimit = 12;

                      but when i save and reload there is not number there it just says

                      Signature Limits
                      - lines or less
                      - 10 pictures/smilies or less

                      so can someone help

                      Comment


                      • #41
                        Originally posted by Pogo
                        Just add
                        Code:
                        _editsignature|||[templatedata]|||
                        to the end of your style file where [templatedata] is replaced by the _editsignature content.
                        Thanks Pogo but still not working, the _editsignature template not add in the template files.

                        It's had otherway or can you give me exacly how i can do, cauz is said create on custom template.

                        Thanks.
                        Thanks

                        Comment


                        • #42
                          sounds kewl

                          Comment


                          • #43
                            installed in less than 5 minutes and it seems to work great

                            thanks
                            "Twenty years from now you'll be more disappointed by the things you didn't do than by the ones you did."
                            - Mark Twain

                            Comment


                            • #44
                              @neogeniseva: I hacked the following to enable the maximum length settings:

                              In sedit.php Line 95:

                              Change


                              PHP Code:
                              if ($action=="show") {
                                if (
                              trim($origsignature)!="") {
                                 
                              $splitsig explode("\n"$origsignature);
                                   if (
                              $bbuserinfo['usergroupid']==6) {
                                   
                              $siglimit "$adminsiglimit";
                                   } else {
                                      
                              $siglimit "$regsiglimit";
                                   } 
                              to look like:

                              PHP Code:
                              if ($action=="show") {
                                  if (
                              $bbuserinfo['usergroupid']==6) {
                                   
                              $siglimit "$adminsiglimit";
                                   } else {
                                      
                              $siglimit "$regsiglimit";
                                   }
                              if (
                              trim($origsignature)!="") {
                                 
                              $splitsig explode("\n"$origsignature); 
                              Works for me then.

                              Cheers.

                              Comment


                              • #45
                                Love this hack! Thanks alot, was an absolute breeze to install on 2.0.3 and everything is working great

                                Comment

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