PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > ReviewPost Pro Support Forums > ReviewPost Installation & Upgrades

ReviewPost Installation & Upgrades If you're having problems getting ReviewPost Pro to work or receiving errors while running RP, seek help here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old November 9th, 2008, 08:44 PM   #21 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 426
BTW I just looked in my physical directory via ftp for signaturepics and every single image in that directory is a .gif file. I'll go check the database values as I think I see which table it is from your code snippet.
KenDude is offline   Reply With Quote
Old November 9th, 2008, 08:56 PM   #22 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 426
Ok I'm not sure I am looking at the right table, but there is a table in my database called "sigpic" it has a field in it called "filename" and most every entry in that field is a .jpg (saw a couple of .png).

So what I suspect "may" be happening is that when you check the checkbox to tell it to allow animated signatures that even if someone uploads a .jpg it converts the file and stores it as a .gif in the filesystem on the server. But that must mean that vbulletin code knows to change the extension at display time. Have you looked through the postbit code to see where it is grabbing the sigpic from and if it is doing something to the extension on the fly? I concur the filename variable in the sigpic table is almost always a .jpg but the actual file in the filesystem is a .gif on the server.
KenDude is offline   Reply With Quote
Old November 10th, 2008, 09:16 AM   #23 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,706
I have not torn apart the entire sigpic thing in vb.

I just wrote up the code to actually display them based on the data that I saw. I am not sure what option your talking about animated signatures I dont see that in the user profile signature box? If all your signatures are going to be gif extentions then you could alter our coding very easy to use a gif extention. I would definately need to look at things alot deeper though.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 10th, 2008, 09:55 AM   #24 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 426
The option for animated signatures is in the Usergroups Manager, just pull up a usergroup and scroll down it will say:

Can Upload Images for Signature Yes No

Can Upload Animated GIF for Signature Yes No

Signature Image Maximum Width (pixels)

Signature Image Maximum Height (pixels)

Signature Image Maximum Filesize (bytes)

Mine are both set to YES for all usergroups on my site.


It is my "assumption" that is you have the first one set to yes that vb is somehow converting all images to GIF format when storing them on the server hard drive in the file system. I have asked about this in the following topic on vbulletin.com:

Signature Pic - SigPic - use of JPG vs. GIF - vBulletin Community Forum

Can you tell me which table and which field you are reading the fileame value from for reviewpost? Is it table=sigpic value=filename or something else?
KenDude is offline   Reply With Quote
Old November 10th, 2008, 10:15 AM   #25 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,706
Well I am not sure what this option is called in the vb database. If I know what that option is called I may be able to query it and if it is set to yes and all your sigpics will be gif then code something in.

I got it coded to use both database and filesystem storage that is easy. It is just figuring out that animated setting. I myself cant even find where this is in the vb admin area.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; November 10th, 2008 at 10:23 AM.
Chuck S is offline   Reply With Quote
Old November 10th, 2008, 12:21 PM   #26 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 426
Quote:
Originally Posted by Chuck S View Post
Well I am not sure what this option is called in the vb database. If I know what that option is called I may be able to query it and if it is set to yes and all your sigpics will be gif then code something in.

I got it coded to use both database and filesystem storage that is easy. It is just figuring out that animated setting. I myself cant even find where this is in the vb admin area.
Yes, that was my thought, if that option is selected as yes, then make all filenames end in .gif. I have no idea in the vb config where that option is stored, other than it might be stored in whatever table stores information about the usergroups, since you could have one usergroup using it, but another not using it, it isn't a "universal" choice for the whole site. Is there a table that stores usergroup config options?

If it is just easier for you to hardcode .gif in the vb3.php file and produce 2 versions one for .jpg and one for .gif and just have me use the hardcoded .gif version I am happy with that until a more universal/permanent fix can be found.
KenDude is offline   Reply With Quote
Old November 10th, 2008, 03:31 PM   #27 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,706
You can download the reviewpost and classifieds builds and see where your at works from my side.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 10th, 2008, 04:45 PM   #28 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 426
Quote:
Originally Posted by Chuck S View Post
You can download the reviewpost and classifieds builds and see where your at works from my side.
You changed something today then? You know it might be faster if you just emailed me the changed file(s)....
KenDude is offline   Reply With Quote
Old November 10th, 2008, 04:52 PM   #29 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,706
You can download the builds and upload the changed files.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 10th, 2008, 07:21 PM   #30 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 426
Chuck,
As an FYI check that topic thread over on vbulletin.com they said that the files ALWAYS are converted to .GIF files and that they follow the pattern of

"sigpicUSER#_IMAGE#"

So for example if user #300 on your site uploaded his 4th signature picture attempt the file would be stored as "sigpic300_4.gif" but ALWAYS as a .gif file, so sounds like you could hardcode that...
KenDude is offline   Reply With Quote
Old November 10th, 2008, 07:25 PM   #31 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 426
Ok when I downloaded all files had the same time/date stamp so I couldn't see what was new in 4.04 (is that in the docs? forgot to look) but anyway copied over just the vb3.php file into the forums directory and Tada it works!

Kudos! Now I need to try the Classifieds and VBgallery, were those updated as well today?
KenDude is offline   Reply With Quote
Old November 10th, 2008, 09:36 PM   #32 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,706
No idea about vbgallery

Classifieds was updated yes.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 11th, 2008, 12:24 AM   #33 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 426
Ok I got the list of changed files from the changelog.txt file, they were listed as the following:

adm-misc.php
install.php
pp-inc.php
showfeature.php
showframe.php
showproduct.php

forums/vb3.php
forums/mybb.php
forums/fusion.php
forums/smf2.php

(although the pp-inc file was identical to what I had from 4.03...)

Off to go work on the classifieds now...
KenDude is offline   Reply With Quote
Old November 11th, 2008, 12:38 AM   #34 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 426
Ah man I should have quit while I was ahead. I wanted to make sure I got all of the updated files, not just the vb3.php file and so I copied up the rest of the new files and now it doesn't work again!!!

Ugh! Something in one of those other files broke it!

For example in this review:
Catback Exhaust System - My Articles

Look at my sigpic, it is trying to display http://www.caymanclub.net/signaturepics/sigpic3_4.gif

The problem is that my signature is actually:
http://www.caymanclub.net/signaturepics/sigpic3_7.gif

So something isn't right now in the math of how it figures the number of instances of uploads of the sigpic images and it was something in one of the other files that broke this... ugh!

Of course I didn't do a backup of those file, I just trusted that they will work. I am going to go to my 4.03 download and put the 4.03 file versions back on my server and just use the 4.04 version of vb3.php until the problem is tracked down.
KenDude is offline   Reply With Quote
Old November 11th, 2008, 12:52 AM   #35 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 426
Ok here is another example of where it works and doesn't work in the same review. Here is the review/article link first:

Catback Exhaust (686006_1705) Installed by TRG - My Articles

Scroll down until you get to the 4th comment left by KS-CS, his SigPic is showing up fine, the file is http://www.caymanclub.net/signaturep...gpic5646_4.gif

Scroll down 2 more comments to the one from grrlsix, her sigpic shows up as a red x. It is trying to show http://www.caymanclub.net/signaturep...gpic4859_4.gif when in fact her correct sigpic is here:
http://www.caymanclub.net/signaturep...gpic4859_3.gif

In other words the numerical value is a 3 instead of a 4, the code is trying to display an iteration 1 higher than what it truly is, whereas in my instance it is trying to show a suffix that is 3 less than the actual true value (4 instead of 7).

I loaded back the 4.04 files and confirmed the problem exists in 4.04, reverting back to the 4.03 files didn't fix it, I must simply have missed this earlier because I saw the one working from KS-CS.

Anyway you are getting closer, just not perfect yet!
KenDude is offline   Reply With Quote
Old November 11th, 2008, 05:57 AM   #36 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,706
You might just need to grab a coffee download the build and try the files again.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 11th, 2008, 09:50 AM   #37 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 426
Chuck did you change them since yesterday? I copied over the 4.04 files 3 times to check and see if they work and for some signature images they do and for some they do not. My site is running the 4.04 version, or are you saying you updated the files again this morning?
KenDude is offline   Reply With Quote
Old November 11th, 2008, 09:51 AM   #38 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,706
I made sure they are what I posted. They seem to work fine to me.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 11th, 2008, 10:11 AM   #39 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 426
Ok the vb3.php file in last nights 4.04 version was 22,945 bytes, the one in ths morning's 4.04 version is 22,303 bytes. I just uploaded the files again and now all of the signatures appear to work from the articles I looked at so far. I will continue to check them. I also noted that the SF2 file was 3 bytes different as well although I don't believe it has anything to do with the sigpics does it?
KenDude is offline   Reply With Quote
Old November 11th, 2008, 10:16 AM   #40 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 426
Yep found one that doesn't work, see this review:

Wall mount wheel hangers - My Articles

His sig pic in his reponse doesn't work, although the link shown there is correct. his signature pic is at:

http://www.caymanclub.net/signaturep...pic3437_32.gif as confirmed in our forums his sigpic shows up.

this article shows his sigpic link as http://www.caymanclub.net/signaturep...pic3437_32.gif which appears to be identical but it isn't rendering for some reason.

Could it be that his suffix is 32 and that is double digits where everyone else's has been single digits?
KenDude is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a way move Photos from one site to another scoles15 Photopost Pro How Do I...? 8 March 12th, 2007 07:55 AM
Server Move / Site Restore On New Server aaronp Photopost Pro How Do I...? 7 March 10th, 2007 07:35 PM
move site, file permissions? globalinsites Photopost Pro How Do I...? 1 September 27th, 2006 06:19 PM
Having a problem with this site Smoothie General Discussion 10 August 23rd, 2004 05:55 PM


All times are GMT -5. The time now is 03:28 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0