vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Integration with vBulletin - Photopost Pro image block for Member page (https://vborg.vbsupport.ru/showthread.php?t=205046)

jayhawk785 02-24-2009 02:41 AM

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

tehtide 02-26-2009 01:32 PM

Quote:

Originally Posted by jayhawk785 (Post 1752898)
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.

b6gm6n 02-26-2009 02:07 PM

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

Infopro 02-27-2009 02:47 PM

1 Attachment(s)
Quote:

Originally Posted by Tauhid (Post 1751897)
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 (Post 1752613)
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 (Post 1752621)
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 (Post 1752854)
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 (Post 1755254)
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.

Infopro 02-27-2009 02:54 PM

1 Attachment(s)
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. :)

Switch02 02-27-2009 03:25 PM

Interesting but i use another script gallery

Tauhid 02-28-2009 01:12 PM

thanks a lot @ infopro

htscpl 03-13-2009 11:01 AM

Quote:

Originally Posted by tehtide (Post 1755224)
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 ? :confused:

Saint_I_Am 03-18-2009 07:51 AM

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

Could not reselect vbulletin database

Saint_I_Am 03-29-2009 01:59 AM

bump


All times are GMT. The time now is 04:27 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.01474 seconds
  • Memory Usage 1,755KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete