Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Photopost Pro image block for Member page Details »»
Photopost Pro image block for Member page
Version: 1.0.4, by tehtide tehtide is offline
Developer Last Online: May 2010 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 3.8.x Rating:
Released: 02-10-2009 Last Update: 02-16-2009 Installs: 42
Uses Plugins
Re-useable Code Additional Files  
No support by the author.

This product provides a block that goes onto the member page and displays images from Photopost Pro 6.X Gallery.

Using the options you can place the block at any of the 6 standard template hook locations in the MEMBERINFO template.

This mod has been tested with Photopost Pro 6.2, but it should work just fine with Photopost Pro 6.X and above... and maybe version 5.

This mod has been tested with vBulletin version 3.8 and should work with version 3.7 and up.


CHANGELOG
  • Version 1.0.1 - Initial release
  • Version 1.0.2 - Minor bug fixes, added debug mode.
  • Version 1.0.3 - Fixed dumb coder (me) issues...
  • Version 1.0.4 - Updated database code
Debug mode is available in the .php file. Instruction on how to use it are included in the readme file. This data will be useful to try and detect where any issues are.


Thanks goes to Tauhid and his patience in allowing me to debug this thing on his site...

Download Now

File Type: zip TLB Photopost Memberblock V1.0.4.zip (290.7 KB, 274 views)

Screenshots

File Type: jpg ADMINCP Settings.jpg (218.8 KB, 0 views)
File Type: jpg Memberinfo Block.jpg (36.7 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 02-20-2009, 09:40 PM
Infopro Infopro is offline
 
Join Date: May 2003
Location: Pennsylvania
Posts: 267
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tehtide View Post
I'll fix it in the next release.

I'm hoping to have it ready in a couple days.


Any suggestions for other features?
Great, thanks.

As for suggestions, I've got mine set to show 15 images to fill the block up real nice. But I've got almost 1/2 an image width of space between the rows (5 per row). Too much, IMO. Would be nice to remove some of that wasted space if possible. Also, those 15 images are left aligned. Can they be centered in the block?

What's the protype=1; for exactly at the end of URL?
Attached Images
File Type: jpg pproimgblk15.jpg (52.1 KB, 0 views)
Reply With Quote
  #53  
Old 02-21-2009, 11:39 AM
Infopro Infopro is offline
 
Join Date: May 2003
Location: Pennsylvania
Posts: 267
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tehtide View Post
I'll fix it in the next release.

I'm hoping to have it ready in a couple days.


Any suggestions for other features?

I was able to fix those up. The errors were carrying across the entire site (with firebug on alerting me to it) so I had to.

One other thought I had, on the bottom of the block, "Vist Your Gallery" link.
It points to this URL (snipped off the irrelevent stuff):

member.php?uid=mynumberhere&protype=1;

But this link points to an ugly side of photopost I don't care for people to see if I can help it. Like many areas of the photopost gallery.

If you are in your pp gallery and click the "My Photos" link in pp toolbar, it takes you to this page instead.

showgallery.php?cat=500&ppuser=mynumberhere

Which to me is a lot nicer looking presentation page. (at least it is on mine)

Just a thought.
Reply With Quote
  #54  
Old 02-21-2009, 07:21 PM
Teresa Teresa is offline
 
Join Date: Jan 2004
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Reeftanksonline View Post
Fatal error: Cannot redeclare pp_is_image() (previously declared in /home/*****/public_html/forum/tlb/pp_memberblock/plugins/pp_memberblock.php:59) in /home/*****/public_html/forum/member.php(512) : eval()'d code on line 55

any ideas?
I get this exact same error. What was the fix?
Reply With Quote
  #55  
Old 02-23-2009, 12:19 AM
Tauhid Tauhid is offline
 
Join Date: Apr 2006
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Infopro View Post
Great, thanks.

As for suggestions, I've got mine set to show 15 images to fill the block up real nice. But I've got almost 1/2 an image width of space between the rows (5 per row). Too much, IMO. Would be nice to remove some of that wasted space if possible. Also, those 15 images are left aligned. Can they be centered in the block?

What's the protype=1; for exactly at the end of URL?
wow, how can this be done, the one you showed in your attachment. random photos showing up in the tabs....that would be lovely if that could be done.
Reply With Quote
  #56  
Old 02-23-2009, 07:49 PM
tehtide tehtide is offline
 
Join Date: Dec 2007
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Teresa View Post
I get this exact same error. What was the fix?
The fix is that pp_isimage is delcared in another plugin or product.... PM me and let's see if we can fix it temporarily. I'm renaming my stuff to make it compliant and remove these issues with the next release.
Reply With Quote
  #57  
Old 02-23-2009, 07:51 PM
tehtide tehtide is offline
 
Join Date: Dec 2007
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Infopro View Post
Great, thanks.

As for suggestions, I've got mine set to show 15 images to fill the block up real nice. But I've got almost 1/2 an image width of space between the rows (5 per row). Too much, IMO. Would be nice to remove some of that wasted space if possible. Also, those 15 images are left aligned. Can they be centered in the block?

What's the protype=1; for exactly at the end of URL?
That is something that came from photopost itself... if you look in photopost you'll see that on the end of many of the links.

As for centering it... I'm fighting that myself. I'm not the best HTML coder... but I'm getting there.

On the next release I hope to have the visual stuff cleaned up and more presentable.
Reply With Quote
  #58  
Old 02-23-2009, 07:57 PM
tehtide tehtide is offline
 
Join Date: Dec 2007
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Infopro View Post
If you are in your pp gallery and click the "My Photos" link in pp toolbar, it takes you to this page instead.

showgallery.php?cat=500&ppuser=mynumberhere

Which to me is a lot nicer looking presentation page. (at least it is on mine)

Just a thought.
Yeah... I thought about that but that only shows the pictures that are in that category (500). And if you have multiple pictures in multiple categories then it doesn't quite work out... As for my other mod that is a typo on my end... I didn't mean for it to go there.

Maybe what I need to do is add an option to give you a choice what link you want... to the member profile in photopost or to category 500...
Reply With Quote
  #59  
Old 02-24-2009, 12:41 AM
Teresa Teresa is offline
 
Join Date: Jan 2004
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tehtide View Post
The fix is that pp_isimage is delcared in another plugin or product.... PM me and let's see if we can fix it temporarily. I'm renaming my stuff to make it compliant and remove these issues with the next release.
It worked after disabling (unchecking the active box) this old product from the Plug In Manager: PhotoPost Gallery Photos in profile, on this hook: member_complete.

I guess I wasn't using it anyway. Got that info from Reef... Thanks Reef.

I also want to get rid of that huge extra space between each row of photos (ASAP!).

And I'd like the ability to show either both or whichever link on "Visiting X's Gallery." I think both versions have their place.
Reply With Quote
  #60  
Old 02-24-2009, 01:35 AM
Teresa Teresa is offline
 
Join Date: Jan 2004
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When the next version comes out, I'll change this, but in the meantime, here's my fix for the extra space:

in template: memberinfo_css, I copied this:

Code:
li.memberinfo_tiny {
	height:105px;
	width:75px;
	overflow:hidden;
	float:$stylevar[left];
	text-align:center;
	margin:1px;
}
and added this right below it:

Code:
li.memberinfo_tiny_murphy {
	height:68px;
	width:75px;
	overflow:hidden;
	float:$stylevar[left];
	text-align:center;
	margin:1px;
}
Since my name is Murphy, I know that it's MY mod to come out later.

Then I changed this template: tlb_memberinfo_block_pp_image

to this:
Code:
<li class="memberinfo_tiny_murphy">
     <a href="{$data_dir}/{$pcat}/{$photo}" class="highslide" onclick="return hs.expand(this)"><img style="margin-top: 0px" width="80" height="60" src="{$data_dir}/{$pcat}/thumbs/$photo" border="0" title="Click to enlarge" alt=""/></a>
</li>
Results are here: http://www.guineapigcages.com/forum/...avyspirit.html
Reply With Quote
  #61  
Old 02-24-2009, 02:05 AM
Teresa Teresa is offline
 
Join Date: Jan 2004
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also, I need to be able to change the "Latest Photos" to something else, like "Latest Gallery Photos" to help us distinguish between the member albums on our site.

THANKS!
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 11:47 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04396 seconds
  • Memory Usage 2,346KB
  • Queries Executed 29 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete