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 > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rating: Thread Rating: 5 votes, 5.00 average. Display Modes
Old March 17th, 2005, 06:07 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Mar 2003
Location: Orlando, FL. USA
Posts: 142
Question vB3 avatars and message editors

From the PhotoPost 5 Information posting....
Quote:
vB3 avatars improved to show file system avatars, db stored and site selected avatars
How do I get vB3 avatars to display with the users postings? All I'm seeing is the user title, registered, location and no. of posts detail from vB3.

Also, I saw over at Photopostdev and when posting replies or comments to a photo the vB3 quick reply editor was in use......how do set my site up to use the available vB3 message editors (quick reply, standard and/or enhanced) for when folks want to post a comment or reply?

All I'm currently seeing is the standard PP "Add Your Comments" dialog below a photo with "Rate this photo" and "Comments" section with BB Code and Smilies legend.

I'd like to utilize the vB3 dialogs instead - what am I missing? I have the 3 vB3 options set to "On" in the "CONFIG-INT.PHP Integration Variables" admin section.

I'm on vB 3.07 with PhotoPost PHP 5.02 vB3 Enhanced.

Other than that, integration is working great - good job!

Thanks.
funkmiester is offline   Reply With Quote
Old March 18th, 2005, 03:44 AM   #2 (permalink)
Senior Member
 
Join Date: Mar 2003
Posts: 1,319
Hi..

edit the file 'config-int.php' or goto your photopost admin and find > administration > edit integration > and simple alter the 'vB3 INTEGRATION' settings to ON as desired, remember to upload all the new templates from \templates\vb3enhanced\ to your default template directory.

Avatars must also be enabled in your photopost admin, check > showphoto options > Show Avatars When available, show avatars? (set to Yes)

-T
b6gm6n is offline   Reply With Quote
Old March 18th, 2005, 11:47 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Mar 2003
Location: Orlando, FL. USA
Posts: 142
Ok,thanks - got the message editor feature working - had forgotten to copy the 'vb3enhanced' templates to the default templates folder!!

I do have 2 problems - first with the WYSIWYG editor when selecting "Post A Comment" - the width of the whole dialog changes which misaligns my page - in other words, the page (showphoto.php) with the 'Quick Reply' editor displays fine, but if I choose to edit the resulting message or post with the enhanced editor, the page (comments.php) becomes wider and throws off my page style. I tried playing with the templates but can't figure out which one controls the page width. If I turn 'Off' the integration option "do you want to enable the vB3 WYSIWYG control in Post Comments?", the standard editor's dialog page width is fine and there is no misalignment, it's just the enhanced WYSIWYG editor page that is messing things up - that's what I need to adjust the width on.

The one other issue is that I still dont' see the Avatars displaying when a message is posted. The setting you mentioned was already set to 'Yes'. Any ideas?

Thanks.

Last edited by funkmiester; March 18th, 2005 at 11:58 AM.
funkmiester is offline   Reply With Quote
Old March 18th, 2005, 01:09 PM   #4 (permalink)
Senior Member
 
Join Date: Mar 2003
Posts: 1,319
Hi..

The width (while editing a comment) is set by vbulletins employed style (style settings : style vars) check that and play with the width settings there which would be reflected throughout photopost, also avatars, do you have an xbox? (broken image) maybe a user did'nt select an avatar? - are you using the database or filesystem to store avatars, if using a file system make sure the directory can be read, lemme know how you get on

-T
b6gm6n is offline   Reply With Quote
Old March 18th, 2005, 01:35 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Mar 2003
Location: Orlando, FL. USA
Posts: 142
Thanks Toney. I guess what's confusing is that the width display is fine on every other page (PhotoPost and vB), except when entering a comment within PP comments page with the vB enhanced editor. I'll take a look at the vB settings, but if I change something, it will as you know, effect vB & PP, when in fact, it's just this enhanced editor/PP comments combination that I'm trying to fix.

As for the Avatars, they're in the file system. There is no red-X, just nothing shown at all - also if you look at view source, there's no reference to the avatar. When you say, can the directory be read....I can link to the images, I can put the url to one in a browser and it will display, and of course, they work fine within vB.

Attached is an example of both issues.

I'll get back to you on the editing/display issue, hopefully it'll be straight forward. Thanks for your help so far.
Attached Images
File Type: jpg ppvbissues0305.jpg (36.2 KB, 15 views)

Last edited by funkmiester; March 18th, 2005 at 01:50 PM.
funkmiester is offline   Reply With Quote
Old March 18th, 2005, 03:34 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Mar 2003
Location: Orlando, FL. USA
Posts: 142
Ok, I managed to fix the display width issue without impacting vB too much via the 'Style Manager/StyleVars' section in the Admin control panel - thanks for that suggestion.

I'm just left with the Avatar issue as discussed above. Any ideas on that one?

Thanks.
funkmiester is offline   Reply With Quote
Old March 20th, 2005, 01:28 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Mar 2003
Location: Orlando, FL. USA
Posts: 142
*Bump*

Any ideas anyone? Thanks.
funkmiester is offline   Reply With Quote
Old March 22nd, 2005, 01:24 AM   #8 (permalink)
Member
Verified Customer
 
Join Date: Mar 2003
Location: Orlando, FL. USA
Posts: 142
I still have the issue with Avatars not displaying.....is it because they live in the file system and not the database? I read somewhere at somepoint this was the case. Again, I'm on vB 3.07 with PhotoPost PHP 5.02 vB3 Enhanced.

Thanks.
funkmiester is offline   Reply With Quote
Old March 22nd, 2005, 09:48 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,692
What are your avatar settings in VB?

if ( $hasav ) {
if ( isset($avpath) )
$userprofile[6] = "<img src=\"{$Globals['vbulletin']}/$avpath\" border=\"0\">"; // Avatar
elseif ( $vboptions['usefileavatar'] )
$userprofile[6] = "<img src=\"{$Globals['vbulletin']}/$vboptions[avatarurl]/avatar{$cuserid}_{$avrev}.gif\" border=\"0\">"; // Avatar
else
$userprofile[6] = "<img src=\"{$Globals['vbulletin']}/image.php?u=$cuserid\" border=\"0\">"; // Avatar
}
__________________
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 March 22nd, 2005, 11:16 AM   #10 (permalink)
Member
Verified Customer
 
Join Date: Mar 2003
Location: Orlando, FL. USA
Posts: 142
The above code is in my Photopost 'forums/vb3.php' file. In my VB ACP, Avatars are enabled, as are Profile Pictures and being served from the filesystem at ./customavatars - they work fine within VB.

Does the [6] have any meaning above where it says, "$userprofile[6]"?
funkmiester is offline   Reply With Quote
Old March 22nd, 2005, 11:30 AM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,692
This is what I get when looking at my vb3 profile for avatar

Your Current Avatar
Custom Avatar
Avatars are small graphics that are displayed under your username whenever you post.
Do not use an avatar
Note: if you have a custom avatar selecting this option will delete it.
Custom Avatar
If you have a custom avatar and want to keep it as it is, leave the fields below as they are.
Use Custom Avatar
You may upload a new custom image using the controls below. Either enter the URL to the image you wish to use, or use the upload control to upload an image directly from your own computer.
Enter Avatar URL:
Upload an Avatar From Your Computer:
Note: The maximum size of your custom image is 80 by 80 pixels or 19.5 KB (whichever is smaller).

My avatar shows in my comments

Have you copied the vb3enhanced templates to the main templates directory if your using vb32 enhancements?
__________________
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 March 22nd, 2005, 12:15 PM   #12 (permalink)
Member
Verified Customer
 
Join Date: Mar 2003
Location: Orlando, FL. USA
Posts: 142
Yes and Yes! Templates copied and my Avatar settings are as you described above - see attachement.
Attached Images
File Type: jpg ppvbissues0305-2.jpg (46.6 KB, 12 views)

Last edited by funkmiester; March 22nd, 2005 at 12:17 PM.
funkmiester is offline   Reply With Quote
Old March 22nd, 2005, 12:19 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,692
I would rather you post a url to your photopost

Nothing I can replicate with our product

http://www.reeftalk.com/gallery/showphoto.php?photo=219
__________________
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 March 22nd, 2005, 05:45 PM   #14 (permalink)
Member
Verified Customer
 
Join Date: Mar 2003
Location: Orlando, FL. USA
Posts: 142
Here's a URL where you can see what I'm talking about.
funkmiester is offline   Reply With Quote
Old March 22nd, 2005, 06:31 PM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,692
You have to have an avatar for one to be displayed

http://www.ghpg.net/gallery/showphoto.php?photo=1
__________________
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 March 22nd, 2005, 06:49 PM   #16 (permalink)
Member
Verified Customer
 
Join Date: Mar 2003
Location: Orlando, FL. USA
Posts: 142
I'm confused The user, 'Admin' does have an avatar, as does the user 'Paul' (click link above again) - both show up when posting in VB.

They're not custom avatars as in the VB User CP option 'Custom Avatar', but rather they're taken from the VB User CP option 'Pre-Defined Avatars'. Would this make a difference, if so, can they not be utilized?
funkmiester is offline   Reply With Quote
Old March 22nd, 2005, 07:09 PM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,692
okay so now we at least get to somewhere here

whats the avatar path in your database for the user?

I will try setting something up on my site but I really need to know whats in your avatar table for the users etc

PM me a link to your phpmyadmin
__________________
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; March 22nd, 2005 at 07:14 PM.
Chuck S is offline   Reply With Quote
Old March 22nd, 2005, 08:12 PM   #18 (permalink)
Member
Verified Customer
 
Join Date: Mar 2003
Location: Orlando, FL. USA
Posts: 142
Avatars are currently being served from the filesystem at ./customavatars
funkmiester is offline   Reply With Quote
Old March 22nd, 2005, 10:22 PM   #19 (permalink)
Member
 
Join Date: Apr 2003
Posts: 111
I'm noticing that some of the defaults in Photopost are set in a way that are not what is expected. You need to check ALL of them to make sure that permissions are set properly.

Last edited by shakeme; March 22nd, 2005 at 11:22 PM.
shakeme is offline   Reply With Quote
Old March 23rd, 2005, 01:52 PM   #20 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,692
In your vb3.php file find this line

if ( $hasav ) {

to

if ( $hasav != "" ) {


Dont get me to explain why as the first one should pull it if its not null but making that line change works
__________________
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
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
VB3.5.0 Avatars not showing after Update.(NOT A BUG) sfm_aceman Photopost Pro Bug Reports 3 October 6th, 2005 08:11 AM
user avatars, wysiwyg editors, etc. Ginger2 Photopost Pro How Do I...? 2 April 4th, 2005 08:16 AM


All times are GMT -5. The time now is 12:30 PM.

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