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 Suggestions

ReviewPost Suggestions Suggest ways to improve ReviewPost Pro.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old August 28th, 2005, 07:45 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 179
IPB2 avatars in posts

Around line 209 after ppmysql_free_result( $results ); add this:

Code:
Content visible to verified customers only.
I've hardcoded the table name and the forum description, but they can easily be replaced with the correct global definitions, I just wanted to write the code quickly.
Arnie is offline   Reply With Quote
Old August 29th, 2005, 09:02 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
Well your code did not need to be an extra query

I already included avatars in ib2.php in the profile function download and see thanks for the example
__________________
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 August 29th, 2005, 09:04 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 179
Ah it's updated in the current online version? How's about I raise you a location select addition on that one?

Code:
Content visible to verified customers only.

Last edited by Arnie; August 29th, 2005 at 09:24 AM.
Arnie is offline   Reply With Quote
Old August 29th, 2005, 09:16 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
yes no need to do some additional query remember we already connect to the members_extra table in the profile query to grab the website
__________________
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 August 29th, 2005, 09:53 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 179
Ah I edited my above post, hows the addition of the location to the query look to you?
Arnie is offline   Reply With Quote
Old August 29th, 2005, 10:08 AM   #6 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 179
Okay wierd coding after the line "// call get_profiledata to get all the links possible" in showproduct.php

$upostline[$itemnum] = $postline; is stated twice, and $culoc is never used as far as I can see.

$clocation is used in the if statements (f ($clocation != "") $uclocation[$itemnum] =...) but I'm pretty sure that it should be $culoc, same error goes for the signature data.

I think that section that deals with profile data needs a bit of a rewrite/tidy up

As is, if you pass data in from ib2.php in $userprofile[5] it's not used or displayed using standard templates.

I haven't tested yet but I guess the same goes for the signature data.

Apologies, suggestion has progressed into a bit of a bug report
Arnie is offline   Reply With Quote
Old August 29th, 2005, 10:18 AM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
Well I you better look at how you name things and look at our other forum integrations.

No worries I need to update the build with your little catimage thing so I can properly code in a location field in the profile data. It must be defined as $clocation
__________________
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 August 29th, 2005, 10:20 AM   #8 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 179
Ah noooooooo I have enough brain hurt here getting used to one forum integration
Arnie is offline   Reply With Quote
Old August 29th, 2005, 10:22 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
This is what I would show as the proper coding of what your trying to achieve

Note even through you rename some variables calling profiledata makes the $clocation other fields etc available. If you find a signature field let me know

Code:
Content visible to verified customers only.
__________________
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; August 29th, 2005 at 10:25 AM.
Chuck S is offline   Reply With Quote
Old August 29th, 2005, 10:30 AM   #10 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 179
The signature data can be found in the field signature in the same [ibf_]member_extra table. It contains simple formatted html that's been parsed through IPB (so it's pretty trustworthy and secure to display).

Here's the code:
Code:
Content visible to verified customers only.
just tested and it works too

Last edited by Arnie; August 29th, 2005 at 10:38 AM.
Arnie is offline   Reply With Quote
Old August 29th, 2005, 10:51 AM   #11 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 179
Another addition for you:

in ib2.php the line for reg date should be:

$userprofile[4] = $tdate ; // Registered Date

and in showproduct.php:

if ($cureg != "") $uregdate[$itemnum] = "<br /><br />{$Globals['pp_lang']['registered']}: " . formatppdate($cureg, "month yyyy");

Now the registered date appears properly. Although I'd suggest "dd/mm/yy" as a reg'd date or at least include the day of registration, not just the month/year.
Arnie is offline   Reply With Quote
Old August 29th, 2005, 11:31 AM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
If you look at my code above you see $regdate is $regdate not $tdate
__________________
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combine new Gallery Posts with New forums Posts CSS59 How Do I? - vBulletin 3.0.X 11 March 24th, 2008 06:24 PM
IPB2 avatars(FIXED) ljcook ReviewPost Bug Reports 9 September 4th, 2005 10:16 AM
PP, IPB2 on different subdomains balazsp Photopost Pro Installation & Upgrades 10 June 24th, 2005 08:58 AM
IPB2 login? ljcook ReviewPost Installation & Upgrades 2 April 12th, 2005 03:57 PM


All times are GMT -5. The time now is 05:34 PM.

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