Version: 1.00, by NTLDR (Coder)
Developer Last Online: Oct 2004
Version: 3.0.0
Rating:
Released: 03-11-2004
Last Update: Never
Installs: 6
Is in Beta Stage
No support by the author.
Signature Image System v1.0
Firstly if you use profile pictures on your forum, this hack isn't for you. Basicly this hack uses the user profile picture option in vB3 to upload an image for users to use in there signature on your site only.
This has been tested on vB3 Gamma, but should work on the RC's too.
Upload signature.php to your forums directory and make the following changes:
// EDIT ########################################################################
// do sig image
if ($vboptions['profilepicenabled'] AND ($permissions['genericpermissions'] & CANPROFILEPIC)) {
$previewmessage = preg_replace('/\[signatureimage\]/i', fetch_signature_url($bbuserinfo['userid']), $previewmessage);
}
<if condition="$show['profilepic'] AND $never_show_this">
Now you will need to visit the edit profile picture page in the User CP (profile.php?do=editprofilepic) and edit the phrases in the phrase manager to suit your needs. Searching for the text is easy so I'm not going to list all the phrases.
Now users can use [signatureimage] in there signature where they want the uploaded image to appear. Note you'll need to edit the usergroups permissions for Profile Pictures in the Usergroup Manager, where you can specify image size and file size restrictions.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
It should work, but as said I've not tested on the RC's as I use Gamma and I don't see much point when gold is out next week.
Whats the URL for the image? Note signature.php must be called within ~60 seconds of the page load and your browser must pass on the referer of the page and this must match the page that your trying to use the image on.
"Now you will need to visit the edit profile picture page in the User CP (profile.php?do=editprofilepic) and edit the phrases in the phrase manager to suit your needs. Searching for the text is easy so I'm not going to list all the phrases.
Now users can use [signatureimage] in there signature where they want the uploaded image to appear. Note you'll need to edit the usergroups permissions for Profile Pictures in the Usergroup Manager, where you can specify image size and file size restrictions."
Can somneone explain this to me. I did the rest of the templates but when i go to user cp and click picture it stillc omes up with old page. I know i have to change it to the signature .php which it tells you how to do inm that bit up above but i dont undertsna dwhat exactly i do
The edit profile picture page becomes the edit signature image page, you need to edit the text shown on that page via the phrase manager to suit your needs.
The edit profile picture page becomes the edit signature image page, you need to edit the text shown on that page via the phrase manager to suit your needs.
My users are pretty novice (had to show one how to check his email...), so this would probably be best if it could automatically be called in the postbit. That should be possible, right? Do an if statement, and call it. Then when they post, it will appear automatially, and they can also have a signature (even though most are not even aware what a signature even is).