View Full Version : Miscellaneous Hacks - vBSigHosting v1.0.1
Logikos
04-13-2004, 10:00 PM
vBSigHosting v1.0.0
====================
Author: Ken 'LiveWire' Iovino
Site: www.vbhacks.us (http://www.vbhacks.us/)
Version: 1.0.1
====================
Updates
Fixed bug with profile pic showing avatar.
If your using 1.0.0 please read upgrad_from_1.0.0.txt for the bug fixes
What this does
vBSigHosting is a free image hosting hack for remote hosting of signatures for your forums. This will allow members to upload there signature to your site and use it on your site. Each user gets one upload, with a file width, height, and size limit that you specified in the admin cp.
Features:
Completely Admin CP controlled.
Turn on/off for diffrent usergroups.
File sizes, width, and height restrictions (pixels) via ACP.
One user equals one signature image at a time.
When user uploads new signature, old signature will erase.
All images are stored in database.
And more...
To do list...
Time to install: 15-20 minutes
Queries to run: 2
File Mods: 5
/admincp/usergroup.php
/includes/init.php
/includes/functions_upload.php
/forum/profile.php
/forum/image.php
Templates to edit: 1
Templates to add: 1
New Phrases: 14
Click It
https://vborg.vbsupport.ru/ (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=63841)
Please read carefully and make all the necessary changes at stated. This is will work if installed properly. I've tested this hack on 3 diffrent vBulletin boards running version 3.0.0. PLEASE REMEMBER TO BACKUP BEFORE YOU BEGIN! If you like this hack, please be kind and click on the "Install" button, i will have some updated versions soon.
Help & Support
Before asking for support Please make sure you have done all necessary changes! If you still need support please post a reply.
Please post bugs and errors here. Hope you like, feedback welcomed.
https://vborg.vbsupport.ru/external/2004/12/1.gif (https://www.paypal.com/xclick/business=iovinojr%40msn.com&item_name=Initial+Z+Free+Scripts&no_note=1&tax=0¤cy_code=USD)
Logikos
04-13-2004, 11:28 PM
One more Screenshot
\[]emesis']One more Screenshot
very nice dude! you saved the day! :)
nice hack, will use when I upgrade to vb3 :)
GamerJunk.net
04-14-2004, 12:23 AM
Great hack. This should be featured in the next VBulletin!
lasto
04-14-2004, 12:29 AM
nice one m8 been after this for ages :)
* lasto clicks install but will install 2morrow
Logikos
04-14-2004, 12:49 AM
Glad everyone likes :)
Vivi Ornitier
04-14-2004, 02:38 AM
nice man, works perfectly.
Mijae
04-14-2004, 02:50 AM
Been waiting for this since the day vB3 went gold :P
LittleBoy
04-14-2004, 03:05 AM
/me installs
SnowBot
04-14-2004, 03:32 AM
OK its late so bare with me on this one...LOL Late as in i have not slept in 2 days.
OK is there a way to incorporate this in the Payed Subscriptions?
I think it would be a nice feature.
Logikos
04-14-2004, 04:29 AM
OK its late so bare with me on this one...LOL Late as in i have not slept in 2 days.
OK is there a way to incorporate this in the Payed Subscriptions?
I think it would be a nice feature.
Thats a great idea, i will definitly start on that tonight when i get back from some good ol drinking. :)
\[]emesis']Thats a great idea, i will definitly start on that tonight when i get back from some good ol drinking. :)
anyway to have it resize down any oversized uploads?
btw, great hack. I just know my users would have a headake with images too large to use..
milkmycow
04-14-2004, 04:55 AM
if this is installed, and they required to use this? or can they still make their own BS giant sigs?
Logikos
04-14-2004, 05:07 AM
if this is installed, and they required to use this? or can they still make their own BS giant sigs?
They are not 'required' to use it, this is just so members have a place to upload there images. Alot of people have problems finding a good sig hosting place that will not delete there sigs every x days. Plus helps keep red x's off the forums. :p But they can still use the default signature option.
Like i said, just so members can have there image hosted.
Logikos
04-14-2004, 05:08 AM
anyway to have it resize down any oversized uploads?
btw, great hack. I just know my users would have a headake with images too large to use..
There is a script that i could implement to do that. Getting ready to leave now. So i'll see what i can do for the next version for you guys :)
Skyline_GT
04-14-2004, 05:08 AM
can this limited to certain usergroup?
also is it possible to have a water mark on the image since they might use it on other places.
SnowBot
04-14-2004, 05:30 AM
\[]emesis']Thats a great idea, i will definitly start on that tonight when i get back from some good ol drinking. :)
A man on the same lines as me :) hehee start hacking / coding / modding when you have had a skin full :)
Great that you are gonna look in to this, i will install on the next version when you have this working :) :)
ive installed this however this is how it looks...and on my dark styles you cant see it at all its a total black spot...how do i fix this ?
sabret00the
04-14-2004, 07:07 AM
very cool, is it possible to integrate this to the store at all?
Logikos
04-14-2004, 07:48 AM
can this limited to certain usergroup?
also is it possible to have a water mark on the image since they might use it on other places.
Im looking into water marking as we speak. Just got back home.
Logikos
04-14-2004, 07:49 AM
ive installed this however this is how it looks...and on my dark styles you cant see it at all its a total black spot...how do i fix this ?
Thats a error i made when coding it, i need to fix the alt1, alt2 code. I'll post an update ASAP.
Logikos
04-14-2004, 07:49 AM
very cool, is it possible to integrate this to the store at all?Which store do you want to use it on? I can talk to the author of which ever store you want to have it on and see what we can do.
ChrisSy
04-14-2004, 09:39 AM
is there anything to stop members linking to the image and using it on other forums?
Vb-Hispano
04-14-2004, 10:01 AM
is there anything to stop members linking to the image and using it on other forums?
it is very important to solve this :D
Floris
04-14-2004, 10:02 AM
\[]emesis']vBSigHosting v1.0.0
====================
Author: Ken 'LiveWire' Iovino
Site: www.vbhacks.us (http://www.vbhacks.us/)
Version: 1.0.0
====================
What this does
vBSigHosting is a free image hosting hack for remote hosting of signatures for your forums. This will allow members to upload there signature to your site and use it on your site. Each user gets one upload, with a file width, height, and size limit that you specified in the admin cp.
Features:
Completely Admin CP controlled.
Turn on/off for diffrent usergroups.
File sizes, width, and height restrictions (pixels) via ACP.
One user equals one signature image at a time.
When user uploads new signature, old signature will erase.
All images are stored in database.
And more...
To do list...
Time to install: 15-20 minutes
Queries to run: 2
File Mods: 5
/admincp/usergroup.php
/includes/init.php
/includes/functions_upload.php
/forum/profile.php
/forum/image.php
Templates to edit: 1
Templates to add: 1
New Phrases: 14
Please read carefully and make all the nessisary changes at stated. This is will work if installed properly. I've tested this hack on 3 diffrent vBulletin boards running version 3.0.0. PLEASE REMEMBER TO BACKUP BEFORE YOU BEGIN! If you like this hack, please be kind and click on the "Install" button, i will have some updated versions soon.
Help & Support
Before asking for support Please make sure you have done all necessary changes! If you still need support please post a reply at vBulletin.org, or vBhacks.us. My time is very limited and i will try to support this hack as much as i can.
Note: You will get a faster respond if you make a post at vBhacks.us, snice my activity at vBulletin.org is limited.
Please post bugs and errors here. Hope you like, feedback welcomed.
This is a nice idea, especially for those situations where the newbies have no clue how to process their signature.
Expanding the signature feature(s) with a hosting solution would be great, however, in return .. does it support GD watermarking? Would be cool to have a small pixel line added to the img by gd that included the url to the site (or preset txt).
is there anything to stop members linking to the image and using it on other forums?
Yep, I agree. A permission check would be great! :)
BarHopper
04-14-2004, 01:18 PM
Very good
/me clicks install.
lasto
04-14-2004, 01:50 PM
Yep, I agree. A permission check would be great! :)
how hard would it be to put a permission check in place ?
sHORTYWZ
04-14-2004, 01:56 PM
how hard would it be to put a permission check in place ?
Even better than a simple permission check would be expanding this a little bit more to include transfer limits. If incorporated with the paid subscriptions, I would like to be able to offer a couple of different plans with say 50mb transfer/month, 100mb, etc... could just track everytime the image is hit and add up the bytes or something.. this would be GREAT!
lasto
04-14-2004, 02:33 PM
Even better than a simple permission check would be expanding this a little bit more to include transfer limits. If incorporated with the paid subscriptions, I would like to be able to offer a couple of different plans with say 50mb transfer/month, 100mb, etc... could just track everytime the image is hit and add up the bytes or something.. this would be GREAT!
your idea does sound good m8 but for us mere mortals we just want to stop people using the same sig on every other forum.
sHORTYWZ
04-14-2004, 02:38 PM
your idea does sound good m8 but for us mere mortals we just want to stop people using the same sig on every other forum.
Hehe, a permission check could easily be implemented with a .htaccess file just like you should have setup for your avatar and attachment.php files.
alkatraz
04-14-2004, 04:09 PM
nice hack, will use when I upgrade to vb3 :)
ditto!
msimplay
04-14-2004, 04:41 PM
i have to enable dynamic urls for this hack
it would be better if it was uploaded to a directory on the host itself
and it would also save database size
ps how risky is it to allow dynamic urls for [img] tag ?
gmarik
04-14-2004, 05:30 PM
interesting, but why not integrate it into other img support hacks?
Okay, it says in the features that:
Completely Admin CP controlled.
but I only see the Usergroup Manager option. I mean is there no where for us to edit members signatures in the admincp user options page?
Skyline_GT
04-14-2004, 06:42 PM
\[]emesis']Im looking into water marking as we speak. Just got back home.
Looking forward to it..
Chris|vB
04-14-2004, 07:04 PM
Nice hack man.
Chris|vB
04-14-2004, 09:35 PM
* Clicks Install.
Zelda-King
04-14-2004, 10:11 PM
Hmm... if you get miffed at someone can you block them from the function and disable/delete their image/s?
Mijae
04-14-2004, 11:42 PM
Hmm... if you get miffed at someone can you block them from the function and disable/delete their image/s?
Hrm...some users can't upload, actually, no one can except me.
I can upload pics from my admin account, I also created another user account and put the account in the registered group and I could upload. The problem is that none of my members can. Whats wrong??
Logikos
04-14-2004, 11:47 PM
Hrm...some users can't upload, actually, no one can except me.
I can upload pics from my admin account, I also created another user account and put the account in the registered group and I could upload. The problem is that none of my members can. Whats wrong??
make sure the permissions in the registered group is set to yes.
SnowBot
04-14-2004, 11:51 PM
Any update on the new features people have suggested? No rush but i realy like this idea.
Mijae
04-15-2004, 12:04 AM
\[]emesis']make sure the permissions in the registered group is set to yes.
The thing is that they are. I created a new user and I was able to upload, but none of my other members can!
\[]emesis']Thats a error i made when coding it, i need to fix the alt1, alt2 code. I'll post an update ASAP.
looking foward to that update...
nice hack! ;) but one idea: why you made extra menu line? why you not put it all in "Edit Signature" area? it`ll be handy there more! ;) Spetially with copy\paste code ;)
Good Luck!
Logikos
04-15-2004, 02:14 AM
Thanks for the suggesions, the update will be tonight or tomorrow lastest.
Logikos
04-15-2004, 02:21 AM
The thing is that they are. I created a new user and I was able to upload, but none of my other members can!
check over your code, i just re-installed the hack with my instrcustions and worked fine for all users.
msimplay
04-15-2004, 10:54 AM
can someone tell me how risky is it to allow dynamic urls on the forum
coz i heard that you can redirect the whole site if you get it right ?
\[]emesis']Thanks for the suggesions, the update will be tonight or tomorrow lastest.
Thanks, just wondering, would that include an admincp 'edit user's signature' option too? :)
paratek
04-15-2004, 02:42 PM
Having a slight problem. I installed without any probs, and i have rechecked my code several times and all is as indicated in your instructions. I myself currently have a sig installed prior to this hack. I do not get the new modify sig screen as shown in your included pics. If i upload a new sig, it thanks me for updating but nothing new displays and the old sig is still in place. However, if i create new admin accounts or use test accounts i have created using the registered user group i can upload no prob and the new modify screens display appropriately. It is almost as if you already have a signature it is blocking this hack from working properly. Is this possible?
Logikos
04-15-2004, 06:35 PM
Having a slight problem. I installed without any probs, and i have rechecked my code several times and all is as indicated in your instructions. I myself currently have a sig installed prior to this hack. I do not get the new modify sig screen as shown in your included pics. If i upload a new sig, it thanks me for updating but nothing new displays and the old sig is still in place. However, if i create new admin accounts or use test accounts i have created using the registered user group i can upload no prob and the new modify screens display appropriately. It is almost as if you already have a signature it is blocking this hack from working properly. Is this possible?
The reason why is cause this hack only host the signature for users. If a member already has a signature lets say. [ img] www.somehostingsite.com/sigs/user.jpg [ /img]. And the user wants to hose the signature on you site then he would simply just upload the signature, and delete his old [ img] tags, and replace it with the new one that is giving to the user after the upload.
Logikos
04-15-2004, 06:36 PM
Thanks, just wondering, would that include an admincp 'edit user's signature' option too? :)
I think i could do that, snice there in the database. Shouldn't be to much of a problem.
Mijae
04-15-2004, 08:15 PM
\[]emesis']The reason why is cause this hack only host the signature for users. If a member already has a signature lets say. [ img] www.somehostingsite.com/sigs/user.jpg [ /img]. And the user wants to hose the signature on you site then he would simply just upload the signature, and delete his old [ img] tags, and replace it with the new one that is giving to the user after the upload.
I have members who have NO images and they still can't upload.
Logikos
04-15-2004, 08:20 PM
I have members who have NO images and they still can't upload.
PM me your Homepage and let me check it out.
Mijae
04-15-2004, 08:44 PM
\[]emesis']PM me your Homepage and let me check it out.
Ok, I PMed you.
I just took a random inactive user and tried to upload an image, it worked. I then logged in in one of my Mod's account and tried to upload, and it didnt work! It just refreshed the page.
\[]emesis']I think i could do that, snice there in the database. Shouldn't be to much of a problem.
Yep, you can have a look at the way vbulletin has the avatar/picture profile option too... just need to go to:
yourboardurl/admincp/usertools.php?do=profilepic&userid=1
FrOgZ
04-15-2004, 09:44 PM
I'm lovin' it.
Logikos
04-15-2004, 09:53 PM
Ok, I PMed you.
I just took a random inactive user and tried to upload an image, it worked. I then logged in in one of my Mod's account and tried to upload, and it didnt work! It just refreshed the page.Everything is working for me, i joined your board, uploaded a sig, added it to my sig option and it is there. I pmed you on your board to show you that my sig is hosted on your board.
Logikos
04-15-2004, 09:55 PM
Yep, you can have a look at the way vbulletin has the avatar/picture profile option too... just need to go to:
yourboardurl/admincp/usertools.php?do=profilepic&userid=1
Thats what i was going to do. :)
Mijae
04-15-2004, 10:38 PM
\[]emesis']Everything is working for me, i joined your board, uploaded a sig, added it to my sig option and it is there. I pmed you on your board to show you that my sig is hosted on your board.
It works....but not for people who registered BEFORE the hack, except some exceptions. In conclusion, none of my active members can upload a signature.
Buczilla
04-16-2004, 12:46 AM
Hmmmmmm.....I used to know how to do this, but now I forget.........
Is there a simple way to add a new $post[whatever] tag, for example, placing something like $post[usersig] in the postbit, so it would automatically change their sig for them once they uploaded a new one?
If I remember correctly, something like this can be done with the custom profile fields. Anyways, I haven't taken the time to mess around with this yet.......so I was j/w.
Logikos
04-16-2004, 01:50 AM
Hmmmmmm.....I used to know how to do this, but now I forget.........
Is there a simple way to add a new $post[whatever] tag, for example, placing something like $post[usersig] in the postbit, so it would automatically change their sig for them once they uploaded a new one?
If I remember correctly, something like this can be done with the custom profile fields. Anyways, I haven't taken the time to mess around with this yet.......so I was j/w.
calling it can be done. I could prolly add in the postbit template. $post[uploadedsig] and define that call to grab the uploaded signature.
dont want to be a bum but any updates on this? :)
Logikos
04-17-2004, 03:08 AM
Not yet, I just installed it on my main board to see how it reacts with the users. I've been getting alot of people saying that some users can't upload and i wan't to know why.
CHeeKY
04-17-2004, 04:24 AM
I have having the same issues as others I have tried this hack both on and offline and I cant get it to accept the sig, I get a blank space everytime.
But for new users the get the option, its doesnt replace my sig, and on the first go round it actually showed my avartar, I took the avartar option off, and now I get nothing.
Help!
We are basically saying that this hack doesnt work on existing members and only for new members, so is this a working hack?
I am sorry I dont think it is until you release fixes, if you require showing of my issues please pm me and I will let you use an existing account!
Logikos
04-17-2004, 05:15 AM
I have having the same issues as others I have tried this hack both on and offline and I cant get it to accept the sig, I get a blank space everytime.
But for new users the get the option, its doesnt replace my sig, and on the first go round it actually showed my avartar, I took the avartar option off, and now I get nothing.
Help!
We are basically saying that this hack doesnt work on existing members and only for new members, so is this a working hack?
I am sorry I dont think it is until you release fixes, if you require showing of my issues please pm me and I will let you use an existing account!
If you have an existing account that i may log into please PM me the site url user and pass so i can see what is going on. I installed on my site and just waiting for the feedback from existing accounts.
still waiting for that update...
Choclo
04-18-2004, 01:39 PM
hehehe... me too!
GamerzWorld
04-18-2004, 04:13 PM
My phrases all gave a sql error but appeared to be added. They are all added but none work (no text), also the uploading doesnt work and the link is black areggsdg
GamerzWorld
04-18-2004, 06:12 PM
Anyone help :(
Logikos
04-19-2004, 12:11 AM
My phrases all gave a sql error but appeared to be added. They are all added but none work (no text), also the uploading doesnt work and the link is black areggsdg
Then it seems you have added the phrases incorrectly. I will not be able to support this hack here at vb.org. You my get support at www.vbhacks.us from here on out with this hack.
Any updates on this? :D :p
All images are stored in database.
Is it possible to not store the images in database? Because... since vb3 now can upload avatars and not stored in db, I want this the same too...
I want the database to store data only - not with images and such
thanks.
zsmom
05-02-2004, 03:33 AM
ive installed this however this is how it looks...and on my dark styles you cant see it at all its a total black spot...how do i fix this ?
Can anyone tell me how to fix this?
I installed the hack and it seems to be working fine for me the group of members who are testing it for me, so that's good! But this one thing is bugging me and I just don't know enough to know how to fix it...
mwhoob
05-26-2004, 08:41 PM
nice hack :banana:
"All images are stored in database"
I'll prefered : "All images are stored in ftp" ^^
Logikos
05-27-2004, 09:00 PM
I'll prefered : "All images are stored in ftp" ^^
Well it's possiable, I preferer you to code that. Maybe use
$_SERVER['REQUEST_URI'] to get the full request URI including the userid
Then in .htaccess you make the no-extention file sigs be a php file:
<Files sigs>
ForceType application/x-httpd-php
</Files>
nando415
05-29-2004, 07:26 AM
\[]emesis']Thats a error i made when coding it, i need to fix the alt1, alt2 code. I'll post an update ASAP.
still no update? its not that complicated is it? or is the update already been added
thanks
Great mod
Works like a charm on 3.0.1
Thanks Live Wire
Milhouse
06-08-2004, 06:25 AM
Is It me or is the VBhacks.us website not loading anymore? I wanted to get some support on this hack.
Here is my question anyways:
Is it possible to allow the user to upload more then one sig ?? I want my users to be able to host 3 sigs in the forums.
From the looks of it it just overwrites the current one.
PranK
06-08-2004, 06:36 AM
nice work!
thanks!
/me clicks install
Logikos
06-08-2004, 08:29 PM
Is It me or is the VBhacks.us website not loading anymore? I wanted to get some support on this hack.
Here is my question anyways:
Is it possible to allow the user to upload more then one sig ?? I want my users to be able to host 3 sigs in the forums.
From the looks of it it just overwrites the current one.
We are moving to a new server, will be up tonight.
Keyser S?ze
06-08-2004, 10:54 PM
i got it installed and things seem ok, i turned on the permissions but still i go to my user cp and i dont see a link to upload the sig
also in the admin cp theres no text for the permissions, very odd, but doable
any help on the first problem?
thanks, see the two attached images
Again, sorry for any trouble and I hate to be a pain in the neck, but these two ideas are the only things that are stopping me from installing it live on my board:
https://vborg.vbsupport.ru/showpost.php?p=500646&postcount=36
https://vborg.vbsupport.ru/showpost.php?p=500478&postcount=27
As you can probably see, my board is huge and it's hard to keep track of members signature.
Any updates/ ETAs on a new release would be much appreciated.
cheers, :)
M1th
ChuanSE
06-09-2004, 09:58 PM
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/www/digitainment.org/www/community/profile.php(2674) : eval()'d code on line 16
:(
Logikos
06-10-2004, 09:36 PM
i got it installed and things seem ok, i turned on the permissions but still i go to my user cp and i dont see a link to upload the sig
also in the admin cp theres no text for the permissions, very odd, but doable
any help on the first problem?
thanks, see the two attached images
You have to add the Phrases bud.
Logikos
06-10-2004, 09:38 PM
Again, sorry for any trouble and I hate to be a pain in the neck, but these two ideas are the only things that are stopping me from installing it live on my board:
https://vborg.vbsupport.ru/showpost.php?p=500646&postcount=36
https://vborg.vbsupport.ru/showpost.php?p=500478&postcount=27
As you can probably see, my board is huge and it's hard to keep track of members signature.
Any updates/ ETAs on a new release would be much appreciated.
cheers, :)
M1th
Im having a problem with watermarks, cant seem to figure it out so i don't see that happening. Once the new server problem is fixed i will update the code to view sigs and delete them.
Logikos
06-10-2004, 09:38 PM
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/www/digitainment.org/www/community/profile.php(2674) : eval()'d code on line 16
:(
what version of vB are you using?
ChuanSE
06-10-2004, 09:54 PM
latest 3.0.1 :)
Hmm, i found out that the gd isn't equiped with gif resizing support. and it's not gd2 either. Could that be the problem?
egyptsons
06-13-2004, 08:52 AM
nice :)
neo|d3fx
06-25-2004, 07:49 AM
hmm.. I also noticed that it will not work properly if you're a member of multiple usergroups. As soon as I removed all but my primary group of administrator, it worked just fine.
Steve123
07-05-2004, 10:33 AM
\[]emesis']Thats a error i made when coding it, i need to fix the alt1, alt2 code. I'll post an update ASAP.
any etas for this?
Ecron Daemon
07-07-2004, 03:03 PM
Is it Possible to Upload the images on a directory of the forum? I prefer to have the images on the file system and not in the database.
Ecron Daemon
07-08-2004, 10:39 AM
Anyone could solve the problem?
sabret00the
07-08-2004, 10:58 AM
\[]emesis']Which store do you want to use it on? I can talk to the author of which ever store you want to have it on and see what we can do.
for the UCS (link and zak) would love this mod, would let me be able to offer this :D
Deska
07-08-2004, 11:30 AM
How if I want images store as files?
Thank;s...
Ecron Daemon
07-09-2004, 08:58 AM
Up, Help to store the images in the file system and not in the db :(
InsaneContender
07-21-2004, 06:45 AM
This isn't compatible with 3.0.3... is it?
Ecron Daemon
07-21-2004, 05:06 PM
This isn't compatible with 3.0.3... is it?
Sure, but it stores the images on the db and not in the FS :(
BamaStangGuy
08-04-2004, 10:07 PM
has anyone noticed that when you install this hack profile pictures stop working? Sorry if this is already known in a hurry. Using 3.0.3
BamaStangGuy
08-05-2004, 12:34 AM
To add on to that. When I go to upload a Profile picture it shows my avatar... if I dont have a avatar it shows nothing......
I uninstalled the hack and nopw the profile pics work correctly
Reeve of shinra
08-05-2004, 01:59 AM
I would like to see this as an option on the ustore.
Logikos
08-05-2004, 02:12 AM
Sorry guys im no longer supported this hack, if someone wants to work on it then i give em full permissions.
BamaStangGuy
08-05-2004, 02:13 AM
Sigh anyone else?
Reeve of shinra
08-05-2004, 02:32 AM
Thanks Livewire for making this possible.
Dorign
08-06-2004, 02:12 AM
Sigh anyone else?
Yeah, it's a simple fix. I'm not even a "coder," but I managed to find out what was causing it. :D
In the instructions of the mod, it tells you this..
Open: /forum/image.php & Find (around line 177):
if ($_REQUEST['type'] == 'profile')
{
$data = 'profilepicdata';
$table = 'customprofilepic';
// No permissions to see profile pics
if (!$vboptions['profilepicenabled'] OR (!($permissions['genericpermissions'] & CANSEEPROFILEPIC) AND $bbuserinfo['userid'] != $userid))
{
header('Content-type: image/gif');
readfile("./$vboptions[cleargifurl]");
exit;
}
}
Under Add:
if ($_REQUEST['type'] == 'siguploader')
{
$data = 'siguploaderdata';
$table = 'customsiguploader';
}
Doing that divides an "else" code from the profile picture code. So instead of adding that code there, add it under..
if ($_REQUEST['type'] == 'profile')
{
$data = 'profilepicdata';
$table = 'customprofilepic';
// No permissions to see profile pics
if (!$vboptions['profilepicenabled'] OR (!($permissions['genericpermissions'] & CANSEEPROFILEPIC) AND $bbuserinfo['userid'] != $userid))
{
header('Content-type: image/gif');
readfile("./$vboptions[cleargifurl]");
exit;
}
}
else
{
$data = 'avatardata';
$table = 'customavatar';
}
That way, the code stays together, the profile pictures work, and the signature uploader works too, or so I think..
Which brings me to my problem.. if a user is in multiple usergroups, s/he cannot upload a picture (uploading just refreshes the page, showing no error and no confirmation).
It would be very cool if this hack could adopt some options from the old vB2 hack that allows me to have 2 images and it has an insert option so when they click one of the images it will be inserted in the signature.
BamaStangGuy
08-07-2004, 05:02 AM
Yeah, it's a simple fix. I'm not even a "coder," but I managed to find out what was causing it. :D
In the instructions of the mod, it tells you this..
Open: /forum/image.php & Find (around line 177):
if ($_REQUEST['type'] == 'profile')
{
$data = 'profilepicdata';
$table = 'customprofilepic';
// No permissions to see profile pics
if (!$vboptions['profilepicenabled'] OR (!($permissions['genericpermissions'] & CANSEEPROFILEPIC) AND $bbuserinfo['userid'] != $userid))
{
header('Content-type: image/gif');
readfile("./$vboptions[cleargifurl]");
exit;
}
}
Under Add:
if ($_REQUEST['type'] == 'siguploader')
{
$data = 'siguploaderdata';
$table = 'customsiguploader';
}
Doing that divides an "else" code from the profile picture code. So instead of adding that code there, add it under..
if ($_REQUEST['type'] == 'profile')
{
$data = 'profilepicdata';
$table = 'customprofilepic';
// No permissions to see profile pics
if (!$vboptions['profilepicenabled'] OR (!($permissions['genericpermissions'] & CANSEEPROFILEPIC) AND $bbuserinfo['userid'] != $userid))
{
header('Content-type: image/gif');
readfile("./$vboptions[cleargifurl]");
exit;
}
}
else
{
$data = 'avatardata';
$table = 'customavatar';
}
That way, the code stays together, the profile pictures work, and the signature uploader works too, or so I think..
Which brings me to my problem.. if a user is in multiple usergroups, s/he cannot upload a picture (uploading just refreshes the page, showing no error and no confirmation).
Awsome that worked
Dorign
08-07-2004, 08:53 PM
woot ^_^
Logikos
08-08-2004, 02:02 AM
I've updated this hack, im no longer supporting this hack here. vBhacks will the only place that i support this.
Highlander
08-08-2004, 04:50 AM
why its not uploaded here , when you are publishing it here?
i registered to the vbhacks.us page but its confusing.. cant download any attachment .. please release it or leave it .. you can give support in vbhacks.us .. but posting this here should also include to publish it here ..
Logikos
08-08-2004, 10:24 AM
I do not wish to have my hacks released here any longer. Therefor i removed them. I will have a mod move these threads to the trash asap.
Is this another way to get members over there :(
"Hack Un-Install"
Logikos
08-11-2004, 08:18 PM
Is this another way to get members over there :(
"Hack Un-Install"
No, if members want my free hack and my support for a feature that i spent my time on. they can go to my site there selfs. They know where it is and they know how to get it. Clicking on the uninstall button won't hurt my feelings as this thread is pending to me moved to the can.
ChuanSE
08-12-2004, 05:17 AM
Live Wire,
what happened that you took this decision mate?
ChuanSE
08-12-2004, 05:19 AM
Is this another way to get members over there :(
"Hack Un-Install"
Your signature script sucks? it displays info we know ^^
kiddo :p
Logikos
08-12-2004, 07:15 PM
Your signature script sucks? it displays info we know ^^
kiddo :p
Do you even know what your talking about?
LizerisCHN
08-14-2004, 12:10 AM
I don't know if you know this or not, and I'm not going to sort through the 8 pages of posts, but...
You misplaced php code.
Open: /forum/image.php & Find (around line 177):
if ($_REQUEST['type'] == 'profile')
{
$data = 'profilepicdata';
$table = 'customprofilepic';
// No permissions to see profile pics
if (!$vboptions['profilepicenabled'] OR (!($permissions['genericpermissions'] & CANSEEPROFILEPIC) AND $bbuserinfo['userid'] != $userid))
{
header('Content-type: image/gif');
readfile("./$vboptions[cleargifurl]");
exit;
}
}
Under Add:
if ($_REQUEST['type'] == 'siguploader')
{
$data = 'siguploaderdata';
$table = 'customsiguploader';
}
should be changed to:
find:
else
{
$data = 'avatardata';
$table = 'customavatar';
}
add under:
if ($_REQUEST['type'] == 'siguploader')
{
$data = 'siguploaderdata';
$table = 'customsiguploader';
}
or else it calls the avatar both for the avatar AND for the profile pics. It totally cancels out the display of the signature in the usercp. This confused both me, and a few collegues with vbulletin installed, so we went through a couple of things and decided "who, this isnt right."
Hope it helps.
Logikos
08-14-2004, 01:36 AM
Thats allready been fixed in my last update.
Your signature script sucks? it displays info we know ^^
kiddo :p
You're One Smart Kid :D
But your right, it sucks, time to place a new one since this one is more than a year old.
No, if members want my free hack and my support for a feature that i spent my time on. they can go to my site there selfs. They know where it is and they know how to get it. Clicking on the uninstall button won't hurt my feelings as this thread is pending to me moved to the can.
Live Wire.
My statement was nothing personal (in fact I think your hacks are great), I'm just tired of all these sites that have hacks that let us sign up and a month later they are gone, we have seen enough of that already in the past.
Logikos
10-03-2004, 07:38 PM
vBSigHosting is back and has been updated with a small bug fix. New .Zip added and .txt file for upgrade instructions from 1.0.0 to 1.0.1
Next update will be to view the users sigs. The ammount of space it's using in the database, save files a .gif image, and watermark images for images outside of your site.
InsaneContender
10-04-2004, 08:25 PM
I get this error message:
Database error in vBulletin 3.0.3:
Invalid SQL: UPDATE usergroup SET
### UPDATE QUERY GENERATED BY fetch_query_sql() ###
title = 'Administrators',
description = '',
usertitle = 'Administrator',
opentag = '<i><b>',
closetag = '</b></i>',
passwordexpires = '0',
passwordhistory = '0',
siguploader = '1',
siguploadermaxwidth = '500',
siguploadermaxheight = '150',
siguploadermaxsize = '524288000',
arcademinposts = '0',
arcademintime = '0',
attachlimit = '0',
avatarmaxwidth = '100',
avatarmaxheight = '100',
avatarmaxsize = '50000',
profilepicmaxwidth = '100',
profilepicmaxheight = '100',
profilepicmaxsize = '65535',
pmquota = '100',
pmsendmax = '5',
forumpermissions = '393215',
pmpermissions = '3',
calendarpermissions = '31',
wolpermissions = '31',
adminpermissions = '3',
genericpermissions = '3145663',
genericoptions = '23',
arcadepermissions = '31',
articlepermissions = '4095'
WHERE usergroupid=6
mysql error: Unknown column 'siguploader' in 'field list'
mysql error number: 1054
Date: Monday 04th of October 2004 02:16:55 PM
Script: http://www.communityforums.net/forum/admincp/usergroup.php
Referer:
I followed directions perfectly as well...
Logikos
10-04-2004, 08:28 PM
You forgot to run the SQL queries as instructed.
These are the ones you need to run:
create table customsiguploader
( userid int unsigned not null default 0
, siguploaderdata mediumtext not null
, dateline int unsigned not null default 0
, filename varchar(100) not null default ''
, visible smallint not null default 1
, filesize int unsigned not null default 0
, primary key (userid)
)
And
ALTER TABLE usergroup ADD (
siguploadermaxwidth SMALLINT UNSIGNED NOT NULL DEFAULT '0',
siguploadermaxheight SMALLINT UNSIGNED NOT NULL DEFAULT '0',
siguploadermaxsize INT UNSIGNED NOT NULL DEFAULT '0',
siguploaderpermissions INT(10) UNSIGNED NOT NULL DEFAULT '0'
)
Blam Forumz
10-04-2004, 08:45 PM
Installed :p
Erwin
10-05-2004, 01:15 AM
Are you able to make it so that the files are not in the database but in the filesystem? :)
Logikos
10-05-2004, 02:13 AM
Are you able to make it so that the files are not in the database but in the filesystem? :)
I'm trying to figure out an easy way to do that, but the way i was trying still kept the image in the database. I was just going to use $_SERVER['REQUEST_URI'] to get the full request URI including the userid Then in .htaccess you make the no-extention file sigs be a php file:
<Files sigs>
ForceType application/x-httpd-php
</Files>
And everyone sigs will point to, www.yoursite.com/forums/sigs/1
1 being the userid.
I you can figure out how we can do it to upload to a specific directory that would be great, cause i know you have a huge site, and you need to access the database as less as possilbly.
Deimos
10-05-2004, 08:25 AM
I think it's a great hack, keep up the good work Livewire.
Gemma
10-26-2004, 09:49 PM
Great Hack *clicks install*
parajsa
10-31-2004, 03:07 PM
Is there a way not to show the link Upload Signature to the Control Panel of the users which are not on the permited usergroup? Mean the ones, that this feature is turned off.
To make it more clear, what <if condition="?"></if> should i use to this template code, that is put on the USER_SHELL template:
<tr>
<td class="$navclass[signature]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editsiguploader">$vbphrase[upload_signature]</a></td>
</tr>
Best regards, and it is a very wonderfull hack,
ntloc
10-31-2004, 11:52 PM
dont know why, i just updated but i still get this error:
Fatal error: Call to undefined function: remote_filesize() in /home/username/public_html/forums/includes/functions_upload.php on line 110
Any idea, please help. Thanks.
ntloc
10-31-2004, 11:56 PM
one more thing is that it's working with the upload sig from comp location, it only gives me that errror if i enter the url to the image instead of uploading from my computer.
Logikos
11-01-2004, 05:41 AM
Very strang ntloc, this must be due to another hack you have installed as the only function i mod with this hack is the process_image_upload() function not the remote_filesize().
As in my instructions:
In includes/functions_upload.php find:
// profile pic
case 'profilepic':
$checkperm = CANPROFILEPIC;
break;
Under Add:
case 'siguploader':
$checkperm = CANSIGUPLOADER;
break;
animeonline
11-01-2004, 01:03 PM
Hi :)
First off I would like to thank Livewire for what seems like it will be a great and usefull hack. Your work is very appreciated.
With that said, I am seem to be having a slight issue. After installing the hack properly as well as setting up my permissions, it seems that no signatures (or avatars, for that matter) are showing up once uploaded. I don't get an error or anything, there is simply nothing there.
If I could get some assistance on this matter that would be great. Thank you very much for your time :)
P.S. Running the latest VB as well as the latest version of VBsighost.
ntloc
11-01-2004, 02:26 PM
Very strang ntloc, this must be due to another hack you have installed as the only function i mod with this hack is the process_image_upload() function not the remote_filesize().
As in my instructions:
In includes/functions_upload.php find:
// profile pic
case 'profilepic':
$checkperm = CANPROFILEPIC;
break;
Under Add:
case 'siguploader':
$checkperm = CANSIGUPLOADER;
break;
Well, i hve that in there and i double check it lots of times. It's working fine when i was using vb3 gold but from since i upgrade to vb3.0.3, the url upload sig is not working propertly anymore and it was working fine with other hack on vb3.0.0 gold.
ntloc
11-01-2004, 02:26 PM
right now i'm using vb3.0.3 by the way
animeonline
11-01-2004, 04:14 PM
Never mind my last post, I got it :D Thanks
parajsa
11-06-2004, 01:48 AM
Live Wire, any solution about what i asked?
Thank u for ur help.
I can not get mine to work at all. I have checked all the code and instructions and all is set accordingly. When one tries to add a sig, it just refreshes? I have 3.0.3
Any help would be appreciated
Andrew
11-07-2004, 02:28 AM
I have this running perfectly on my majorly hacked 3.0.3 so I don't think it's a problem with the version. Might be a conflict with another hack you are using or could be a file edit somewhere.
Anyways - Great hack Live Wire !! My members love being able to host their sig images now !!
/me clicks install.
Logikos
11-07-2004, 03:16 AM
Thanks, i have an update coming soon, and this will be included with an installer. The newest update will have the following.
-View Users Sig in ACP
-Option to upload to database, or web directory
-Edit users sigs in ACP
-And maybe some more ;)
I have this running perfectly on my majorly hacked 3.0.3 so I don't think it's a problem with the version. Might be a conflict with another hack you are using or could be a file edit somewhere.
Anyways - Great hack Live Wire !! My members love being able to host their sig images now !!
* True.Rooster clicks install.
The only other hacks I have installed is the arcade mod. As for the file edit somewhere , I have went over everything many many times and everything is where it should be. I would really love to get this hack installed as our users would love it :D
I have noticed that in the instructions where it says Still in: /admincp/usergroup.php Find (around line 221):
it says find print_input_row($vbphrase['profile_picture_max_filesize'] . '<br /><span class="smallfont">1KB = 1024 bytes</span>', 'usergroup[profilepicmaxsize]', $usergroup['profilepicmaxsize']);
However, mine says print_input_row($vbphrase['profile_picture_max_filesize'] . '<br /><span class="smallfont">1KB = 1024 bytes</span>', 'usergroup[profilepicmaxsize]', $usergroup['profilepicmaxsize'], 1, 20);
Not sure if this would make any difference?
OK ,It's working now , however, only if its a new member. None of the existing members can upload ? Sorry if I have over looked a fix for this?
Andrew
11-07-2004, 04:52 PM
I have noticed that in the instructions where it says Still in: /admincp/usergroup.php Find (around line 221):
it says find print_input_row($vbphrase['profile_picture_max_filesize'] . '<br /><span class="smallfont">1KB = 1024 bytes</span>', 'usergroup[profilepicmaxsize]', $usergroup['profilepicmaxsize']);
However, mine says print_input_row($vbphrase['profile_picture_max_filesize'] . '<br /><span class="smallfont">1KB = 1024 bytes</span>', 'usergroup[profilepicmaxsize]', $usergroup['profilepicmaxsize'], 1, 20);
Not sure if this would make any difference?
Yeah - That's where his notation of the approximate line number came in handy. When I installed it some of the lines of code were different - Odds are they were just changes in the versions. I don't remember any of them being too different from what was written to find - It just took a little extra work to find the lines.
OK ,It's working now , however, only if its a new member. None of the existing members can upload ? Sorry if I have over looked a fix for this?
So is there a fix for this?
Thanks, i have an update coming soon, and this will be included with an installer. The newest update will have the following.
-View Users Sig in ACP
-Option to upload to database, or web directory
-Edit users sigs in ACP
-And maybe some more ;)
That'd rock! I really dont have the time to implement those myself so I was waiting for someone else to come up with it. :P Thanks
Does anyone know if there is a fix for this ?
Logikos
11-09-2004, 05:03 AM
csrs, what other hacks do you have installed at the moment? I have just added my hack to a clean vb install and all old members and new members are able to use this.
csrs, what other hacks do you have installed at the moment?
The only other hack I have installed is the arcade mod.
Logikos
11-10-2004, 04:03 AM
I'm not to sure then, i personaly would try to reinstall the hack, or at least take your time and go over every bit of code that you need to install from my install.html file. And make sure you save the usergroups. Go to the register usergroup and just set the settings and click save.
Tru Smiles
11-12-2004, 06:09 PM
I tried installing this program, but couldn't get it working. So I uninstalled it, and everything was fine. Till I tried to edit a usergroup, and I got this error message:
Database error in vBulletin 3.0.3:
Invalid SQL: UPDATE usergroup SET
### UPDATE QUERY GENERATED BY fetch_query_sql() ###
title = 'Guest',
description = '',
usertitle = 'Guest',
opentag = '',
closetag = '',
passwordexpires = '0',
passwordhistory = '0',
avatarmaxwidth = '80',
avatarmaxheight = '80',
avatarmaxsize = '20000',
profilepicmaxwidth = '100',
profilepicmaxheight = '100',
profilepicmaxsize = '65535',
pmquota = '50',
pmsendmax = '0',
forumpermissions = '4103',
pmpermissions = '0',
calendarpermissions = '0',
wolpermissions = '1',
adminpermissions = '0',
genericpermissions = '1',
genericoptions = '8',
journalpermissions = '0',
siguploaderpermissions = '0',
arcadepermissions = '0'
WHERE usergroupid=1
mysql error: Unknown column 'siguploaderpermissions' in 'field list'
mysql error number: 1054
^ Now, I have tried re-installing my forum without the hack ever touching it, but I still get that error. I'm posting it here because of the 'siguploader' thing that I uninstalled. Any idea what could be causing it, so I can go fix the problem? >_>
Thankie!
Logikos
11-12-2004, 06:29 PM
You haven't fully uninstalled then, you need to unedit anything in the admincp/usergroup.php that i have had you add. Thats why i tell everyone to backup. Backup the files your going to edit, then install the hack, if the hack don't work, then upload the old files that you backed up and your finished.
Don't know why this isn't working for you, i've installed this hack countless amount of times on friends, and customers websites, and never once had a problem, and i've followed my own instructions.
Sweet Evil
11-14-2004, 07:19 AM
In the users CP the upload link is not using my forums style.. and its ugly.. Where is this code so I can fix it? Thanks!
Tru Smiles
11-14-2004, 09:04 AM
You haven't fully uninstalled then, you need to unedit anything in the admincp/usergroup.php that i have had you add. Thats why i tell everyone to backup. Backup the files your going to edit, then install the hack, if the hack don't work, then upload the old files that you backed up and your finished.
Don't know why this isn't working for you, i've installed this hack countless amount of times on friends, and customers websites, and never once had a problem, and i've followed my own instructions.
Thats the thing, I ALWAYS make back ups, and even when uploading them again, I still get this strange My SQL error. I even reinstalled a fresh forum and wiped the database, yet I still got this error. It's mighty strange o_O
Andrew
11-14-2004, 02:33 PM
siguploaderpermissions = '0',
arcadepermissions = '0'
WHERE usergroupid=1
mysql error: Unknown column 'siguploaderpermissions' in 'field list'
Thats the thing, I ALWAYS make back ups, and even when uploading them again, I still get this strange My SQL error. I even reinstalled a fresh forum and wiped the database, yet I still got this error. It's mighty strange o_O
If thats what you get after installing on a clean database then the database isn't really empty. If you look at what I bolded it still shows the column 'siguploaderpermissions' in the database. Might want to use phpMyAdmin and drop the tables manually to be sure they are completely gone.
Logikos
11-14-2004, 03:29 PM
True.Rooster is almost correct. The reason why your getting that error is because you still have code in the usergroup.php file. When you try to save any usergroup, its trying to save the siguploader permissions cause there still code in the usergroup.php file. If you go into phpmyadmin, your not going to find that feild cause it don't exisit.
In usergroup.php Find and Remove:
, 'siguploader' => 1
Then Find and remove:
'siguploadermaxwidth' => 500, 'siguploadermaxheight' => 125, 'siguploadermaxsize' => 25000
Then find and remove:
print_table_header($vbphrase['signature_uploading_permissions']);
print_yes_no_row($vbphrase['can_upload_signature'], 'usergroup[siguploader]', $ug_bitfield['siguploader']);
print_input_row($vbphrase['upload_signature_max_width'], 'usergroup[siguploadermaxwidth]', $usergroup['siguploadermaxwidth']);
print_input_row($vbphrase['upload_signature_max_height'], 'usergroup[siguploadermaxheight]', $usergroup['siguploadermaxheight']);
print_input_row($vbphrase['upload_signature_max_filesize'] . '<br /><span class="smallfont">1KB = 1024 bytes</span>', 'usergroup[siguploadermaxsize]', $usergroup['siguploadermaxsize']);
print_table_break();
Thats all the code that belongs in usergroup.php to make my hack work. So get rid of it all and it will be fine.
Sweet Evil
11-14-2004, 05:16 PM
In the users CP the upload link is not using my forums style.. and its ugly.. Where is this code so I can fix it? Thanks!
Well I changed
<td class="$navclass[uploadsig]"
to
<td class="$navclass[signature]"
and seems ok now, hopefully this does no effect anything else. :)
indie
11-16-2004, 08:26 PM
Hi:
this looks great!
This thread is huge so please excuse my questions if redundant...
1) Can I pick a certain usergroup that can use this?
2) If i have IMG tags disabled for members in signatures, will it affect this mod? because I'd like to keep that setting off, so only usergroups with this mod can use images (banners)...
3) When is the update mentioned coming
thanks!
skitzo
11-17-2004, 10:48 AM
where do the phrases go?
Lethal
11-18-2004, 02:51 AM
Well I changed
<td class="$navclass[uploadsig]"
to
<td class="$navclass[signature]"
and seems ok now, hopefully this does no effect anything else. :)
this will just make the "Upload Signature" the same alt color as the "Edit Signature" link when you click on "Edit Signature"
Scerina
11-19-2004, 08:04 PM
nice one m8 been after this for ages :)
* lasto clicks install but will install 2morrow
I installed this hack and whenever someone try to upload an signature...it won't let them and it says the maximium file size and pixel size is zero and I know I set it to 1 kb for each usergroup...how can i fix this?
joeychgo
11-20-2004, 09:35 AM
I installed this hack and whenever someone try to upload an signature...it won't let them and it says the maximium file size and pixel size is zero and I know I set it to 1 kb for each usergroup...how can i fix this?
I have this same problem -- Help anyone??
Logikos
11-20-2004, 03:50 PM
Someone IMed me lastnight about that same problem, and when i logged into the Admincp, they never set the chages for the usergroups.
joeychgo
11-20-2004, 07:22 PM
I went through and set EVERY usergroup - I just did it again to be sure --- same problem remains
joeychgo
11-23-2004, 05:09 AM
Hello???
joeychgo
11-26-2004, 04:44 AM
?????????????? Help??
joeychgo
12-01-2004, 07:23 PM
12 pages of posts and the Author goes AWOL when I have a question LOL thats my luck
rh2004
12-06-2004, 12:39 PM
Hi its great thank you, but how come its a different colour...?
Can I change it to normal colour :)
Thanks Brent,
You saved this from an 'uninstall'
SupremeWeapon
01-06-2005, 05:04 PM
so this doesnot work with 3.0.3? it says 3.0.0 tried installing it on 3.0.3 and cant the
Open: /admincp/usergroup.php & Find (around line 101) is different
install says
// set default yes permissions (bitfields)
$ug_bitfield = array(
'showgroup' => 1, 'canview' => 1, 'canviewmembers' => 1,
'canviewothers' => 1, 'cagetattachment' => 1, 'cansearch' => 1,
'canmodifyprofile' => 1, 'canthreadrate' => 1, 'canpostattachment' => 1,
'canpostpoll' => 1, 'canvote' => 1, 'canwhosonline' => 1,
'allowhidden' => 1, 'showeditedby' => 1, 'canseeprofilepic' => 1,
'canusesignature' => 1
);
and the actual file says
// set default yes permissions (bitfields)
$ug_bitfield = array(
'showgroup' => 1,
'canview' => 1,
'canviewmembers' => 1,
'canviewothers' => 1,
'cagetattachment' => 1,
'cansearch' => 1,
'canmodifyprofile' => 1,
'canthreadrate' => 1,
'canpostattachment' => 1,
'canpostpoll' => 1,
'canvote' => 1,
'canwhosonline' => 1,
'allowhidden' => 1,
'showeditedby' => 1,
'canseeprofilepic' => 1,
'canusesignature' => 1,
'cannegativerep' => 1,
'canuserep' => 1,
);
Sweet Evil
01-06-2005, 07:32 PM
Im running it on 3.03, just add what needs to be added.. look at the code and figure it out :)
nathanaus
01-07-2005, 07:24 AM
never mind. user error :)
rh2004
01-08-2005, 12:44 AM
Hi... I had this installed for around a month I just tried it and it doesn't work now...
What happens you find your image and click upload and it just refreshes the page in
a few seconds, I read through all the topic and found another user had the problem
but no answer was given does anyone know whats gone wrong here...
If someone could reply that would be great, thanks
rh2004
01-08-2005, 02:31 AM
Found the problem it is when you have users in additional usergroups... ?
So how can I fix this I want them to have permissions to upload too when they
are in an additional usergroup
Anyone know
SiXXGuNNZ
01-08-2005, 02:37 AM
whenever I upload a sig it doesn't save the image and shows me my avatar, when I delete the uploaded sig the avatar is still there.
BamaStangGuy
01-08-2005, 02:59 AM
Works fine for me
SiXX you pu the part in image.php in the wrong place
Check the line numbers the install gives you
There are two instances of that first line that you are more than likely using to search for
SiXXGuNNZ
01-08-2005, 06:38 AM
Works fine for me
SiXX you pu the part in image.php in the wrong place
Check the line numbers the install gives you
There are two instances of that first line that you are more than likely using to search forthanks, I moved it, now it works :)
Jason McConnell
01-13-2005, 05:45 AM
Anyone have any trouble getting this to work with 3.0.5? I used it with 3.0.1 and 3.0.3, and aside from the slightly darker shaded table cell it worked fine.
joeychgo
01-16-2005, 07:56 PM
I couldnt get it to work at all before 3.05 -
**Clicks UN install**
BlasterT3
01-25-2005, 08:45 PM
This hack doesnt work for members with more then one usergroup. Is there going to be a fix for this?
btw im running vB 3.0.6
fuse3k
02-04-2005, 02:41 AM
Well I changed
<td class="$navclass[uploadsig]"
to
<td class="$navclass[signature]"
and seems ok now, hopefully this does no effect anything else. :)
Thank You!
btw for those curious, this change is done in the USERCP_SHELL Template
Glenn379
02-23-2005, 08:13 PM
I have a problem :/
The only image that will ever come up is if a member has a custom avatar. Otherwise it doesn't sow. Also, the image then shows the custom avatar as opposed to the uploaded sig. This is not helpful... >_<
PS: Help please :nervous:
Kruppa
02-24-2005, 01:40 PM
Well I've just gone over the steps for the 3rd time and I'm done going over them. I've installed many hacks successfully before so I know I'm not totally incompetent. 1) The options don't appear in the admin panel (under usergroups) and 2) in the User CP when you click the link to upload your signature it takes me to a blank page.
I'm running version 3.0.6 and I've gone through every page of this thread, including the link to the forum where the coder of this hack gives support but has a message saying he's having issues and won't be around for a while.
If anyone has any ideas please share. But I think I'll try installing another one, preferably one that works. ;)
Glenn379
02-24-2005, 06:59 PM
Yes, just so you know, the other one is more simple and does indeed work! Danny has released the hack here: https://vborg.vbsupport.ru/showthread.php?t=76740
Hi would this hack sole this problem for me?
I have disabled signatures to all users on my VB 3. However I would like to be able to allow a certain 2 usergroups the abilty to be able to use images in thier signatures. The two user groups are:
1. Paying Members - We are turning our site into an offical club and this would be one of the advantages to being a "paid" member.
2. Supporting Traders - We have a number of companies wanting to advertise with us and this is one of the benifits they would like. As the use the forums as well as the members.
I would also like to do this for avaitors?
Many thanks for any help.
Logikos
02-28-2005, 09:02 PM
Yes you can enable/disable this feature fot certain usergroups
Scerina
03-13-2005, 12:57 AM
I have installed this hack on my forum at:
http://www.underworld-chaos.net/boards and I remember contacting the creator of this hack for assistance cuz I ran into some lil problems (which are still left unsolved and need to be fixed). I am wondering if the creator has updated and released a new version with all the bugs fixed since than.
I remember I was unable to upload signature graphics and if they did upload they did not show..my question to the creator of this hack...were you able to fix this lil bug?
bigwest
03-26-2005, 06:22 AM
This hack would be really cool except....
A. I don't want certain usergroups to images in their signature at all. This hack will not solve this issue.
B. The user CP option for this hack does not show up properly or at all in some themes.
Otherwise... super cool!
WA007
04-16-2005, 10:09 AM
it works accept the <td class= thing, we are running version 3.0.7 and I have in USERCP_SHELL:
<if condition="$show['siglink']">
<tr>
<td class="alt2" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td>
</tr>
</if>
<tr>
<td class="alt2" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editsiguploader">$vbphrase[upload_signature]</a></td>
</tr>
<tr>
And I had the problem that only new users were able to use the siguploader and excisting users could not use it.. but the problem was that with the excisting users I tried with were in a additional usergroup, as soon as you take them out then it or make that primary then it works for excisting users also.
I would have expected it to add it immediately in the signature but instead you have to manually copy paste into the editsig option.. that could be automated I think.
aberg
05-08-2005, 02:43 PM
I get a error after instal:
Database error in vBulletin 3.0.7:
Invalid SQL: UPDATE usergroup SET
### UPDATE QUERY GENERATED BY fetch_query_sql() ###
title = 'Registered Users',
description = '',
usertitle = '',
opentag = '',
closetag = '',
passwordexpires = '0',
passwordhistory = '0',
attachlimit = '0',
avatarmaxwidth = '80',
avatarmaxheight = '80',
Any idea??
mcyates
06-02-2005, 01:49 PM
When i click on Upload signature on my site which is this link:
http://www.myfootballforum.com/profile.php?do=editsiguploader
Its just a blank screen. Any ideas?
MustangLisa
07-03-2005, 03:27 PM
Great hack, thanks. I installed and everything is fine . . . except when I go to upload a pic, it never shows up. The page refreshes, but never shows the image I just uploaded. (I've tried with some really small ones to be sure it wasn't the image size causing a problem.) Everything else seems to be fine.
Logikos
07-03-2005, 03:36 PM
Do you secondary usergroups. Usergroup A is also apart of Usergroup B? If so there is a bug that shows a blank page that i can't figure out.
MustangLisa
07-03-2005, 03:41 PM
This hack doesnt work for members with more then one usergroup. Is there going to be a fix for this?
btw im running vB 3.0.6
Same thing is happening to me. I'm running vB 3.0.7.
HELP!!!
akanevsky
07-11-2005, 07:49 PM
/me Installed.
BamaStangGuy
07-27-2005, 05:16 PM
Anyway someone can port this to 3.5?
Logikos
07-28-2005, 12:58 AM
I don't plan on porting this untill 3.5.0 Gold is out. Reason why is, Mike Sullivan from vb.com hinted that this might become a default feature. So i'm going to wait.
BamaStangGuy
07-28-2005, 01:38 AM
I don't plan on porting this untill 3.5.0 Gold is out. Reason why is, Mike Sullivan from vb.com hinted that this might become a default feature. So i'm going to wait.
Ok that would be nice if it would become one.
Club3G
08-08-2005, 05:53 PM
Great mod, getting this error however. The first query ran successfully:
Error
SQL-query:
ALTER TABLE usergroup ADD (
siguploadermaxwidth SMALLINT UNSIGNED NOT NULL DEFAULT '0',
siguploadermaxheight SMALLINT UNSIGNED NOT NULL DEFAULT '0',
siguploadermaxsize INT UNSIGNED NOT NULL DEFAULT '0',
siguploaderpermissions INT( 10 ) UNSIGNED NOT NULL DEFAULT '0'
)
MySQL said:
#1146 - Table snipped.usergroup' doesn't exist
Logikos
08-08-2005, 05:56 PM
Do you have a table prefix? Its weird that the first would work but not the second.
Table snipped.usergroup not sure whats thats all about, but maybe thats your table prefix name..
commTRU
08-10-2005, 02:09 PM
Do you secondary usergroups. Usergroup A is also apart of Usergroup B? If so there is a bug that shows a blank page that i can't figure out.
My forum uses a variety of usergroups and was wondering if they may be a fix for this in the future. I appreciate the effort you have gone through to make this hack ^^;; But maybe someone will be able to help figure out why it's causing such an odd problem in regards to multiple usergroups? o_O
Logikos
08-10-2005, 02:33 PM
My forum uses a variety of usergroups and was wondering if they may be a fix for this in the future. I appreciate the effort you have gone through to make this hack ^^;; But maybe someone will be able to help figure out why it's causing such an odd problem in regards to multiple usergroups? o_O
I'm going to port it over to 3.5 in hopes that I can figure this bug out, when I port it I will port it as a beta release and i'll see what that brings up. Theres not much I can do now for this version, most of my time is with vB 3.5 or My job. :)
yahoooh
08-11-2005, 12:34 AM
give me white page!
yahoooh
08-11-2005, 01:23 AM
ok fixed
BamaStangGuy
10-11-2005, 11:28 PM
I'm going to port it over to 3.5 in hopes that I can figure this bug out, when I port it I will port it as a beta release and i'll see what that brings up. Theres not much I can do now for this version, most of my time is with vB 3.5 or My job. :)
Any progress on the port?
C.Birch
11-05-2005, 05:27 PM
yep can this be ported to 3.5.1 please my users are really missing this and them useing crap free hosting sites to host there signs is slowing stuff down lol
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.