Results 1 to 15 of 45
Page 1 of 3
FirstFirst 1 2 3 ... LastLast

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

  1. #1
    Senior Member Fryzid is on a distinguished road Fryzid's Avatar
    Join Date
    Jun 2000
    Location
    im Garten
    Posts
    164
    This is just a re-release of a hack by AA. He made this hack for vB 1.x and I made some small changes to make it work with vb 2.x

    It adds a signature-editor with preview ability to your vB.

    It's very simple. You just have to create a new template (_editsignature) and copy sedit.php to your vB directory. Then add a link to sedit.php in the modifyprofile template. Done.

    Install instructions are included.

    Fryzid
     

  2. #2
    Senior Member JamesUS is on a distinguished road
    Join Date
    Aug 2000
    Location
    London, England
    Posts
    4,625
    Sounds great, thanks
    James Ussher-Smith
    .:.: SideLinks - Make your directory work for you :.:.
     

  3. #3
    Senior Member mrlister is on a distinguished road mrlister's Avatar
    Join Date
    Nov 2000
    Location
    Burnaby, BC
    Posts
    371
    not bad. good job
    - MrLister
     

  4. #4
    Senior Member express is on a distinguished road express's Avatar
    Join Date
    Apr 2001
    Location
    Flora Il
    Age
    47
    Posts
    1,457
    Does this work for vb2.0.1?

    Joey
     

  5. #5
    Senior Member Fryzid is on a distinguished road Fryzid's Avatar
    Join Date
    Jun 2000
    Location
    im Garten
    Posts
    164
     

  6. #6
    Senior Member express is on a distinguished road express's Avatar
    Join Date
    Apr 2001
    Location
    Flora Il
    Age
    47
    Posts
    1,457
    Here goes. I never had been using my signature before. I added it to my profile earlier today. After I did that I installed your hack. Program came up loaded when I clickd on it but it did not show the signature that I had in my profile I even tried tp preview it, Everything worked fine except it would not show me the signature.

    Joey
     

  7. #7
    Senior Member express is on a distinguished road express's Avatar
    Join Date
    Apr 2001
    Location
    Flora Il
    Age
    47
    Posts
    1,457
    Working! I had to change the number of lines from 4 to 10 in the sedit.php file.

    Thanks For A Great Hack
     

  8. #8
    New Member First-Man is on a distinguished road First-Man's Avatar
    Join Date
    Apr 2001
    Posts
    26
    Hi Ho
    Fryzid Echt Spitze Hack... der von AA (für 1.**) hatte bei mir nie richtig geklappt Der jetzt schon. Super.
    Danke
     

  9. #9
    Senior Member express is on a distinguished road express's Avatar
    Join Date
    Apr 2001
    Location
    Flora Il
    Age
    47
    Posts
    1,457
    Fryzid

    One question and it works great. This morning I tried something. I registered as a new user on my board. When setting up options for the new user your signature editor does not show up. Afterwards though when you sign into the board and look at your profile you can use the editor. So somehow I think it needs to be added to the register.php file.
    any idea's
     

  10. #10
    Senior Member Fryzid is on a distinguished road Fryzid's Avatar
    Join Date
    Jun 2000
    Location
    im Garten
    Posts
    164
    You need to put the link to the editor into the registeradult and registercoppa templates.

    But the problem so far is that there is no user entry in the database where the signature can be stored. So the editor will not work in these templates.

    The signature editor was intended to help building and viewing the signature. You want something like controlling the signature.
    This needs far more hacking and should be integrated into the vB php files.

    I would suggest controlling the signature exclusive via the editor. Delete the signature input fields from all templates and just offer the link to the editor. In the above mentioned register templates you can say that the signature is definable later in the user cp.
     

  11. #11
    Senior Member express is on a distinguished road express's Avatar
    Join Date
    Apr 2001
    Location
    Flora Il
    Age
    47
    Posts
    1,457
    I agree so you are saying leave what I have just add a comment in the register template that entitles the new user to edit his signature in the their profile after they register.

    That will work

    Joey

    Thanks For Time and For the hack
     

  12. #12
    Member Bad_Madman is on a distinguished road
    Join Date
    Jul 2001
    Posts
    69

    ... now with vB Code Editor

    Also erstmal @Fryzid: ein grosses super-cool-*freu*-genial wegen
    Deiner deutschen Style-Datei inkl. deutsche Grafiken

    Changes for vB Code Editor in Signature Editor:

    change content of template _editsignature.txt:
    replace with content of attached file

    edit sedit.php
    find:
    PHP Code:
    $signatureform=$signature;
    $signature=""
    replace with:
    PHP Code:
    $signatureform=$message;
    $message=""
    finished

    Madman
     

  13. #13
    Member JenniferS is on a distinguished road JenniferS's Avatar
    Join Date
    Dec 2000
    Age
    39
    Posts
    75

    excellent addition

    thank you very much!

    KALLISTI - currently
    under extreme construction

    www.kdpublish.com
     

  14. #14
    Senior Member VirtueTech is on a distinguished road VirtueTech's Avatar
    Join Date
    Jun 2000
    Posts
    561
    [size=large]See Post Below This one for better update[/size]

    FIX: For all of those using Bad_Madman's addition.

    At the top of sedit.php after
    Code:
    require("global.php");
    $noheader=1;
    Add this:

    Code:
      if ($bbuserinfo[showvbcode])
        $vbcode_buttons = getcodebuttons();
    You might also need to change reference to the 'sedit' script in Bad_Madman's new template to .php from .php3

    This is just a heads up
    Last edited by VirtueTech; Sun 29th Jul '01 at 5:09am.
    PaintballCity.com
    VB Board of the Month: October
     

  15. #15
    Senior Member VirtueTech is on a distinguished road VirtueTech's Avatar
    Join Date
    Jun 2000
    Posts
    561
    HACK UPDATE:
    I have updated this hack a bit with my fix above and some other additions as you'll see below. Credit goes to AA and Fryzid.

    Additions
    1. Adds new 'navbar' to header
    2. Adds Control Panel navbar to header
    3. Adds smilies window to signature editor
    4. Centralized Signature Limit Variable at top of script as an option.
    5. Ability to allow "Administrators" to have different siganture length.
    6. Fixes Bad_Madman's vbcode additon
    7. Cleans up HTML a bit
    Screenshot


    Directions
    The attached file contains the following new items:
    - '_editsignature' template
    - sedit.php

    Upgrading: Just replace the old template and php script with the new ones
    First Time Install: Read the modified install.txt

    07/29/01 6:19AM EST - First attachment had bad files. Please re-download.
    Last edited by VirtueTech; Sun 29th Jul '01 at 7:31am.
    PaintballCity.com
    VB Board of the Month: October
     

Page 1 of 3
FirstFirst 1 2 3 ... LastLast

Similar Threads

  1. Signature Preview
    By Mac Write in forum vBulletin Suggestions and Feedback
    Replies: 1
    Last Post: Tue 6th Aug '02, 1:01pm
  2. Signature editor
    By Mac Write in forum vBulletin 2 Suggestions and Feedback
    Replies: 0
    Last Post: Wed 31st Oct '01, 5:09pm
  3. [RE-RELEASED vB2.0.1] Upgraded Signature-Editor w/ Preview
    By VirtueTech in forum Releases: Version 2.x
    Replies: 89
    Last Post: Fri 5th Oct '01, 9:43am
  4. Signature Editor ?
    By Sven in forum vBulletin 2 'How Do I' and Troubleshooting
    Replies: 4
    Last Post: Tue 15th May '01, 6:42am
  5. [sug] Signature preview
    By s.molinari in forum vBulletin 2 Suggestions and Feedback
    Replies: 6
    Last Post: Mon 26th Mar '01, 6:22pm

Bookmarks

Posting Permissions

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