![]() |
Oops;)
Satan |
*Updated .zip File:)*
Satan |
Also, Satan, you might want to add this to the modifications.txt file:
https://vborg.vbsupport.ru/showthrea...649#post318649 It's not currently in there, but it should be. As a suggestion, to make the tables in the UserCP like the other tables (so that the outline is the right specified color), use this code instead of the one N9ne made: Code:
<table cellpadding="{tableouterborderwidth}" width="100%" bgcolor="{tablebordercolor}" cellspacing="0" border="0" align="center"><tr><td> |
!!! - I realised the error, thats why 3.0+ was released - It already has the usercp.php change:)
And the N9ne code error was due to vBulletin parsing the { imagesfolder } variable - I have now put all changes in .php format so they are not parsed:) Satan |
So it wasn't my fault eh:D
|
Quote:
|
My table looked fine for me though...;)
|
As it did for me:)
@!!! - Have you made other graphical modifications to your Usercp template? If so, this could be why it didnt look right;) Satan |
Quote:
|
I see...Well the colour would have been due to vB.org parsing the code...
Hence why all files are in .php format;) Satan |
Quote:
So, what I did was use the other tables in the usercp and set the signature one up like them. Some people, like me (sadly), do use black cellspacing! :) But, whatever. I suppose if it bothers people (as it bothered me), they can spend the time to edit it theirself. |
Lol...:)
Hopefully everyone will find it good - Btw: You dont have to install it;) - That is just an optional addon... Satan |
Quote:
|
Uhuh:)
Im not a HTML guru, so if you wanna provide the HTML to an alternative usercp template mod, please do:) Satan |
Quote:
Check page six. |
Ah ok:)
Satan |
i just found an error, in /admin/user.php you must replace with this code
[php] if ($modifyavatar) { $action = "avatar"; } else if ($modifysignature) { $action = "signature"; } else { $action = "modify"; } } [\php] |
Actually LangTuDaTinh - You can replace it with:
PHP Code:
Satan |
i tried that but when i go to admin cp and tried to modify user avatar, it doesn't work. (error seems like $action="avatar" doesn't run) but when i change to the code that i put above, i can modify avatar and signature both .
|
Weird...
It works for everyone else I do believe...:( Try: PHP Code:
|
something is wrong /w height checking...my users was able to update an image /w any height ...the width checking is correct...and yes, i did set max height and width in admin cp options.
|
tried that i but it doesn't work cause it's missing a close bracket ( } ),
somehow my height checking code doesn't work because my users can upload an image larger than my max height. which code should i check ? thanks hellsatan |
ok, i tried with setting wide = 400 , height = 60
result : ok /w images' size: 400x50, 400x 70, 400x100, 300x200, 400x399 fail with images' size: 500x70, 401x40, 400x401, so the result is they use only 1 width setting. for both width and height. how can i fix this ... setting width 60 , height 100 fail : 60x200, 61x200, 50x200, 61x101, 100x101 pass: 100x99, 100x20 now if the height setting from admin cp is larger than width it only check for height and skip width.... what is the problem???? |
and can u explain more to me about this setting...like what will it do if i put 5 and 5 in the box
Display Height How many rows of signature images do you wish to display to the user when selecting a signature? Display Width How many columns of signature images do you wish to display to the user when selecting a signature? |
There is an edit button you know ;)
|
I dont know why your height variable does not work...
I works for other people:( And the first code I posted does work... Perhaps you should try a total re-install? Satan |
Great hack keep up the good work. :cool:
|
Thanks:)
Satan |
thanks i test it now
|
Just installed today. Has anyone figured out how to make the image appear if there is no text signature defined?
Also, I think you mentioned before v3 came out that you were going to add the ability to make the image a link. Any progress on that feature? |
Oooops. Wrong thread.
|
heres a question maybe someone can help me with
got the hack installed on ym board (2.2.9) and works fine. ive got alot of peeps on the board using flash sigs and what have you. what id like to do is grandafather them in somehow i can remove the manual signature fields in the edit profiles stuff, so new peeps would have to go through the signature system hack to put in new signatures. the problem is, when old users want to replace their sigs using the signature hack functions, it doesnt delete the old one, it just displays both signatures. any ideas? also, has this hack been made to support flash sigs yet? |
@Palyntir - Unfortunately, I dont know how to add a Flash function to the allowed files - I dont know if it is wise either...
You will have to edit the member.php, register.php, and admin/user.php files, and remove the update queries on a Signature field - It isnt advisable - Just delete the signature field from the template, and then run a Query to set all user signatures to blank... [sql]UPDATE user SET signature='0'[/sql] That will set all the signatures to blank (not the signature images though) If you want to do it on a user by user basis, do the following query for the specific user (Remember to replace "X" with the userid) [sql]UPDATE user SET signature='0' WHERE userid=X[/sql] :) Satan |
How about allowing blank text sigs and sig images (now if the text sig is blank the sig image doesn't show).
I thought I was close, but ended up with it working in all but the initial post of the thread. Ideas? LangTuDaTinh, I appear to have the size check problem as well. What other hacks are you running? |
thansk, hell...your query worked, but it left a big "0" where ever sig used to be...is there a way to just remove that?
nm, i got it /me slaps forehead great hack, thanks. |
nevermind, i havent fixed it
i can set the sig field to " " or blank in the query, but then it wont show a sig when i put in a new one. if i set it to "0", it will show the sig, but it will also show the "0" above it... thoughts? |
That's the problem I've been posting about. If the text sig is blank, the sig image doesn't show.
There's got to be some conditional where it checks for the sig being blank that we can add a check for sig image (I thought I found it in the functions.php, but it doesn't seem to work 100%) |
You can just do the following:
Edit the "postbit_signature" template: Remove: Code:
$post[signatureimg] Add: Code:
$post[signatureimg] :) Satan |
Quote:
|
the alterations work, hellsatan, but i gues its a less than elegant solution. it'll work until something better comes along. thanks alot!
one more thing, what about people who just want text sigs? i mean quotes or words instead of images? the biggest problem with this hack seems to be that its just a flat out war to get it reconciled with the existing sig functions in vbb... if i wipe every existing sig and remove the existing sig functions, i get that blasted ")" in my sig fields on the boards... if i move that to code to postbit, i have to manually insert the white barrier above the sig code into the html... if i then go back and try to put in an old sig via the admin panel, the old functions insert a new white barrier above that sig, while the one i had to manually insert into the postbit template appears below... plus, putting sigs in manually using the admin cp, they dont show up in the sig panel in the usercp, just the dead link. its just gonna confuse the hell out of people. and, now, with the postbit hack, sigs put in the admin cp only appear in some posts....i gotta guy with four posts on one thread, the sig shows in some posts, like first, third and fourth, but not second...no idea whats causing that... this is a great hack and it would really be usedful if it was possible to work it into the existing site functionality, or have them interact somehow. or, this would fix everything, if you could have one or the other work by default or by user, that way, you could use the admin panel to handle text sigs and flash or anything, and have the usercp hack for new members...or whatever...a function to disable basic sig functionality on the board without disabling the hack and vice versa... is this possible? as it is, its just a monster headache getting it to work properly. still havent been able to do it. |
All times are GMT. The time now is 04:21 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:
|