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
  #62  
Old 02-24-2009, 02:41 AM
jayhawk785 jayhawk785 is offline
 
Join Date: Feb 2005
Location: Orlando
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im using some of the pp includes to show random images on the forum. I'm guessing the renaming ppimage applies to me as well? What was the workaround?
Code:
Fatal error: Cannot redeclare pp_is_image() (previously declared in /domains/www/asdf.com/board/tlb/pp_memberblock/plugins/pp_memberblock.php:59) in /domains/www/asdf/board/member.php(512) : eval()'d code on line 79
Reply With Quote
  #63  
Old 02-26-2009, 01:32 PM
tehtide tehtide is offline
 
Join Date: Dec 2007
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jayhawk785 View Post
Im using some of the pp includes to show random images on the forum. I'm guessing the renaming ppimage applies to me as well? What was the workaround?
Code:
Fatal error: Cannot redeclare pp_is_image() (previously declared in /domains/www/asdf.com/board/tlb/pp_memberblock/plugins/pp_memberblock.php:59) in /domains/www/asdf/board/member.php(512) : eval()'d code on line 79

You have a plugin that is using the hook member_complete that is declaring the same function. Find that plugin and disable it.


Sorry I've not updated this yet... work has been kicking my butt. I hope to sit down and collate all these updates and fixes into a concise update in the next couple days.
Reply With Quote
  #64  
Old 02-26-2009, 02:07 PM
b6gm6n's Avatar
b6gm6n b6gm6n is offline
 
Join Date: Aug 2002
Location: UK
Posts: 691
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this mod recently, last 2 days... worked, also another photopost plugin for a gallery members link in the profile, either this or the other is causing server crashes, massive core dumps, i had to remove 2000+ 50 meg core dump files, I'm investigating and i'll return with the results

yeah I'm pretty sure it was this, soon as i installed it the core dumps started, un-installed...they stopped! it almost cost me my host and server this mod for some reason, they were ready to blame me for it all... as i say, this made something crash and created 2000+ 50 meg files in my forums dir...be WARNED!

-b6
Reply With Quote
  #65  
Old 02-27-2009, 02:47 PM
Infopro Infopro is offline
 
Join Date: May 2003
Location: Pennsylvania
Posts: 267
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tauhid View Post
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.
You can do this. It's in the settings. Vbulletin options > TLB PP Memberblock Settings.


Quote:
Originally Posted by tehtide View Post
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.
I may have missed it, I've been using PP for years and never saw the protype=1 before this. Removing it from tlb_memberinfo_block_pp does kill the link from working correctly though. Takes you to the same place clicking a user name anywhere on the gallery does. To a profile page no one ever looks at. [IMHO]


Quote:
Originally Posted by tehtide View Post
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...
Nice idea for the option. Yes it takes you to cat=500 but there you see listed your other albums in the other cats. If you had set this to use say, cat=501 it does not show anything else other than that, cat=501. In contrast, cat=500 page displays all album groups for the user and the option link to create new album.



Quote:
Originally Posted by Teresa View Post
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

I used this, works fine. But I edited your size changes to match the ones located in your tlb_memberinfo_block_pp_image (see attach for result)

After I posted the other day about the space I realized it was being called from the memberinfo_css.

Quote:
Originally Posted by b6gm6n View Post
I installed this mod recently, last 2 days... worked, also another photopost plugin for a gallery members link in the profile, either this or the other is causing server crashes, massive core dumps, i had to remove 2000+ 50 meg core dump files, I'm investigating and i'll return with the results

yeah I'm pretty sure it was this, soon as i installed it the core dumps started, un-installed...they stopped! it almost cost me my host and server this mod for some reason, they were ready to blame me for it all... as i say, this made something crash and created 2000+ 50 meg files in my forums dir...be WARNED!

-b6
Not seeing any issues with this at all here. Might want to have your host look at your logs a bit closer to help you find out more.
Attached Images
File Type: jpg ppblklssspaceisgood.jpg (118.4 KB, 0 views)
Reply With Quote
  #66  
Old 02-27-2009, 02:54 PM
Infopro Infopro is offline
 
Join Date: May 2003
Location: Pennsylvania
Posts: 267
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BTW, Changing the sizes in that customized memberinfo_css section you suggested to:
height:60px;
width:85px;

Then number of pictures setting to be 15, fills the block perfectly. (For me)

I have vbadvanced integrated with this page so block space is limited. Centering solved.
Attached Images
File Type: jpg ppblklssMOspaceisbetter.jpg (116.8 KB, 0 views)
Reply With Quote
  #67  
Old 02-27-2009, 03:25 PM
Switch02 Switch02 is offline
 
Join Date: Nov 2006
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Interesting but i use another script gallery
Reply With Quote
  #68  
Old 02-28-2009, 01:12 PM
Tauhid Tauhid is offline
 
Join Date: Apr 2006
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks a lot @ infopro
Reply With Quote
  #69  
Old 03-13-2009, 11:01 AM
htscpl's Avatar
htscpl htscpl is offline
 
Join Date: Sep 2003
Location: Houston
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tehtide View Post
You have a plugin that is using the hook member_complete that is declaring the same function. Find that plugin and disable it.
Nice mod and I have installed it. :up: I have the mod you refer to in the above quote and I have disabled it. That mod however, had a on/off feature that the members could turn on or off depending if they wanted those photos on their profile. I have yet to find that with this mod. Is there a chance you could add that ?
Reply With Quote
  #70  
Old 03-18-2009, 07:51 AM
Saint_I_Am Saint_I_Am is offline
 
Join Date: Aug 2008
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am using a separate database and I get the following error when looking at someone's profile

Could not reselect vbulletin database
Reply With Quote
  #71  
Old 03-29-2009, 01:59 AM
Saint_I_Am Saint_I_Am is offline
 
Join Date: Aug 2008
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump
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 01:01 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05503 seconds
  • Memory Usage 2,355KB
  • Queries Executed 27 (?)
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
  • (5)bbcode_code
  • (7)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
  • (5)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_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