![]() |
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 |
Sounds great, thanks :)
|
not bad. good job
|
Does this work for vb2.0.1?
Joey |
It should.
|
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 |
Working! I had to change the number of lines from 4 to 10 in the sedit.php file.
Thanks For A Great Hack |
Hi Ho
Fryzid Echt Spitze Hack... der von AA (f?r 1.**) hatte bei mir nie richtig geklappt :) Der jetzt schon. Super. Danke |
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 |
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. |
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 |
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:
PHP Code:
Madman |
thank you very much!
|
[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"); Code:
if ($bbuserinfo[showvbcode]) This is just a heads up :) |
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
https://vborg.vbsupport.ru/ 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. |
please help me!!!!!!!!!
ive done as the install.txt tells me, but i still dont get it as on the screenshot, here is a screenshot of how it looks at my friends board: please help |
DOH! :eek:
Sorry....I zipped the wrong file. Please re-download the zip file. |
THANKS YOU VERY MUCH!!!!!!!!!!!!!!!!!!!!!!
now it all works, thanks for re-uploading the file! |
can u tell me the code for a standard buttn called "Signature Editor" that links to "sedit.php?action=show" because i have tryed different codes, and most of them doesnt work, or screw up the whole code... can u help me?
|
@VirtueTech > ohhhh, I forgot this ($vbcode_buttons = getcodebuttons(); ) in my reply - I am soooo forgetful - Sorry :(
but the smiles-hack in signature editor is nice :) :) Madman |
Pretty cool! My girls are going to love this, thank you!
|
If you go to the usercp click on edit profile than on Signatur editor it shows the bug in the attachment, if you click on prewiew (also without changes) it seems OK
|
This is a very nice hack...
Also, the instructions were very simple and it was extremely easy to install (even for the Urkels of hacks like myself..) Thanks very much. :) |
Hi,
i must change in my members.php the following: find: ------------------------------------------------------------------------------- $DB_site->query("UPDATE user SET birthday='".addslashes($birthday)."',signature='". addslashes($signature)."',cust omtitle='$customtitle',usertitle='".addslashes($cu stomtext)."',email='".addslash es(htmlspecialchars($email))."',parentemail='".add slashes(htmlspecialchars($pare ntemail))."',coppauser='$coppauser',homepage='".ad dslashes(htmlspecialchars($hom epage))."',icq='".addslashes(htmlspecialchars($icq ))."',aim='".addslashes(htmlsp ecialchars($aim))."',yahoo='".addslashes(htmlspeci alchars($yahoo))."',usergroupi d='$bbuserinfo[usergroupid]' WHERE userid='$bbuserinfo[userid]'"); and replace with: ------------------------------------------------------------------------------- $DB_site->query("UPDATE user SET birthday='".addslashes($birthday)."',customtitle=' $customtitle',usertitle='".add slashes($customtext)."',email='".addslashes(htmlsp ecialchars($email))."',parente mail='".addslashes(htmlspecialchars($parentemail)) ."',coppauser='$coppauser',hom epage='".addslashes(htmlspecialchars($homepage))." ',icq='".addslashes(htmlspecia lchars($icq))."',aim='".addslashes(htmlspecialchar s($aim))."',yahoo='".addslashe s(htmlspecialchars($yahoo))."',usergroupid='$bbuse rinfo[usergroupid]' WHERE userid='$bbuserinfo[userid]'"); In the old SQL-Statement was the Signature Field in the Database updated with a non-existing Form-Field of the Site. So i removed the Signature-Filed from the SQL-Statement. Before this, the Signature was deleted when saving the Profile, because the Filed was missing. |
so the code does?? sorry if you explained it in your text, but im not so good at english!
|
Quote:
|
worked fine for me with 2.0.3
What parse error are you getting what line number |
I did it again (as I changed it back to the original) and it worked fine! Sorry for the false alarm!
|
I am getting this error after I install the hack and try to edit my sig:
Warning: Undefined variable: REQUEST_URI in D:\Inetpub\gummibears\www\forum\global.php on line 39 Warning: Undefined index: HTTP_POST_VARS in D:\Inetpub\gummibears\www\forum\global.php on line 64 Warning: Undefined index: action in D:\Inetpub\gummibears\www\forum\global.php on line 64 Warning: Undefined index: action in D:\Inetpub\gummibears\www\forum\global.php on line 67 I am using version 2.0.3 with only the Change User Name hack installed. Any suggestions? |
I fixed the error/warning message, by adding the following line right under the first line ( <$php ) in sedit.php:
error_reporting(7); |
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 |
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? |
Fixed.
To make it compatible with online.php, open online.php. Find: Code:
default: Code:
case 'sedit.php': Code:
default: Code:
case 'editsig': |
Is no one else having the problem I am having with the Location, Bio, etc NOT SAVING after adding this hack??
|
Nope. Works fine for me. What version of vB are you using? Make sure you modified the files correctly.
|
What a great addition! Thank you to all who put effort into this easy-to-install hack!
|
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. |
Just add
Code:
_editsignature|||[templatedata]||| |
how would i limit smilies/images to 4 per sig?
|
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 |
All times are GMT. The time now is 02:41 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|