![]() |
Usercp Signature Preview
vbhacker v1.0.2 file
*Usercp Signature* - Limit limitations on register new user - Limit limitations on usercp after user register - Preview sig in usercp - Limit lines in sig - Limit images in sig - Limit width - Limit height Enjoy NOTE: Limit width/height only works on .gif, .jpg, .jpeg, and so on... not on .txt, .php, .cgi, .html and so on... if user might use them in [img ] [/img ] tag... Limits to limit extensions will come in future... UPDATED October 3 Added signature.mass.delete.php - Add that to your /admin, and run it only if you want all signatures deleted, it will erase all signatures in your database if you want limits to be set on existing registered users... LATEST VERSION DOWNLOAD: https://vborg.vbsupport.ru/attachmen...&postid=266936 ------------------------------------------------------------------------- Check out http://nekio.com. Check out http://hololith.com - my personal website. |
UPDATED 10/03/02
|
Please include textfiles of your hacks too...
|
screen2
|
Your instructions says:
PHP Code:
It's more &alt & & quot then real code :D |
Great hack Kinox! I love the signature limits on it. :)
The only suggestion I can make, a general miss by many hackers, is to make sure you include any custom templates into the $templatesused=''; list to prevent extra queries. |
Hmm..well, I just really installed it right now and I'm a bit confused on why you do this:
Code:
$userinfo=$DB_site-&(gt;query_first(&*quot; |
He probably tried to do it with some sort of Web Dev package...
Satan |
That's my guess, it's alittle annoying to fix though...I'll try to post some instructions up without these HTML thingies..
|
Cool thanks:)
Satan |
His VBHacker file is also quite corrupted towards the end, when you generate a text file that is. although it is minus the html codes..
|
Ok! Here is a "working" version (attached). I'm not sure why the code was so screwed up, luckily in both the vbhacker and text he attached above the queries were not screwed up..interestingly enough...hopefully he didn't do this on purpose :lick:
|
hey
this is nice fnx for sharing :) |
Lol...
Thanks Velo:) Satan |
Works Great! Thank you.
|
<---installing now...this should of been done a long time ago... lol
|
yeah I seem to forget that...
Quote:
|
great work, will try to put this in now!
|
+-------------------------------------------------------------------------------------------------+
Create a new template named hl_signature_usercp +-------------------------------------------------------------------------------------------------+ <table cellpadding="0" cellspacing="0" border="0" bgcolor="#0A293E" width="100%" align="center"><tr><td> <table cellpadding="4" cellspacing="1" border="0" width="100%"> <tr id="cat"> <td bgcolor="#336D95" background="https://vborg.vbsupport.ru/images/catagory_backing.gif" colspan="5" nowrap><normalfont color="#000000"><b>Signature Preview</b></normalfont></td> </tr> <tr> <td bgcolor="#1C5780" valign="top"><smallfont> $previewsignature </smallfont> </td> </tr> </table> </td></tr></table> +-------------------------------------------------------------------------------------------------+ and +-------------------------------------------------------------------------------------------------+ Create a new template named hl_signature_usercpno +-------------------------------------------------------------------------------------------------+ <table cellpadding="0" cellspacing="0" border="0" bgcolor="#0A293E" width="100%" align="center"><tr><td> <table cellpadding="4" cellspacing="1" border="0" width="100%"> <tr id="cat"> <td bgcolor="#336D95" background="https://vborg.vbsupport.ru/images/catagory_backing.gif" colspan="5" nowrap><normalfont color="#000000"><b>Signature Preview</b></normalfont></td> </tr> <tr> <td bgcolor="#1C5780" valign="top"><smallfont> You have no signature at the moment. </smallfont> </td> </tr> </table> </td></tr></table> +-------------------------------------------------------------------------------------------------+ have it linking to vb.org what sould that be ? |
Quote:
|
BTW, excellent hack! And Velocd, thanks for the translation. :)
|
Hi Kinox,
great hack, thank you! I installed it this morning and the preview is working fine, but the limit checking of images and number of lines isnt. Any ideas what might be wrong. i did create the error templates and the cp is showing up the limit settings, but its just not taking effect. tina ps. and yes i've double checked member.php |
look at the files in the ....+fix+.rar
<tr id="cat"> <td bgcolor="{ categorybackcolor }" colspan="5" nowrap><normalfont color="{ categoryfontcolor }"><b>Signature Preview</b></normalfont></td> </tr> Quote:
|
it works, I have tested it on vb 2.2.6...
please DL ..+fix+.rar it has all the files needed, that includes .txt file... v1.1 Quote:
|
Could you possibly zip that file? I can't open rar files.
|
Yeha me either, I tried to open the rar but it was corrupt, zip would be nice please :)
|
zip
|
<font size="3">BTW dont use "Velocd" file, its wrong</font>
|
Quote:
|
templates, file changes, mysql seems to look fine...
Quote:
|
ok, cool. It works fine too :) Your 2 templates had the replacement variables, his didn't.
|
Quote:
ok cool works perfect on 2.2.6 it'd be cool for this to be in 3.0 *:Clicks Install:* |
I'm getting this error, but only from this user:
PHP Code:
|
its not my code... threre is no
PHP Code:
|
I see it right in your install file:
In usercp.php, replace this code: PHP Code:
PHP Code:
|
oh hehe, forgot... was 12am when I made that post, I was tired...
I will update the zip in few min... |
did you update it yet? :)
|
yes its updated now, v1.2
post #1 |
i dont get it..
whats updated ?. i have no problems with it. is there anyway you could have a upgrade .txt ? |
I removed from usercp.php
$userinfo querie and allowsmilies and changed some vars in PHP Code:
so it looks like in the screenshot |
All times are GMT. The time now is 04:57 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:
|