 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
March 17th, 2005, 07:07 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Mar 2003 Location: Orlando, FL. USA
Posts: 142
| 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.
|
| |
March 18th, 2005, 04:44 AM
|
#2 (permalink)
| | Senior Member
Join Date: Mar 2003
Posts: 1,296
|
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
|
| |
March 18th, 2005, 12:47 PM
|
#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 12:58 PM.
|
| |
March 18th, 2005, 02:09 PM
|
#4 (permalink)
| | Senior Member
Join Date: Mar 2003
Posts: 1,296
|
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
|
| |
March 18th, 2005, 02: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.
Last edited by funkmiester; March 18th, 2005 at 02:50 PM.
|
| |
March 18th, 2005, 04: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.
|
| |
March 20th, 2005, 02:28 AM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Mar 2003 Location: Orlando, FL. USA
Posts: 142
|
*Bump*
Any ideas anyone? Thanks.
|
| |
March 22nd, 2005, 02: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.
|
| |
March 22nd, 2005, 10:48 AM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,796
|
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
}
|
| |
March 22nd, 2005, 12:16 PM
|
#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]"?
|
| |
March 22nd, 2005, 12:30 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,796
|
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?
|
| |
March 22nd, 2005, 01: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.
Last edited by funkmiester; March 22nd, 2005 at 01:17 PM.
|
| |
March 22nd, 2005, 06: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.
|
| |
March 22nd, 2005, 07: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?
|
| |
March 22nd, 2005, 08:09 PM
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,796
|
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
Last edited by Chuck S; March 22nd, 2005 at 08:14 PM.
|
| |
March 22nd, 2005, 09: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
|
| |
March 22nd, 2005, 11: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 23rd, 2005 at 12:22 AM.
|
| |
March 23rd, 2005, 02:52 PM
|
#20 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,796
|
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
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 11:24 AM. | |