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)

Mukashi 02-17-2009 11:25 AM

Thank you. =)

tehtide 02-17-2009 11:38 AM

Updated version available. I had hardocded a database reference... please update and let me know if this fixes it or not.

Mukashi 02-17-2009 11:54 AM

Makes no difference I'm afraid, still the same error.

Deviant K1 02-17-2009 07:58 PM

Quote:

Originally Posted by tehtide (Post 1745846)
PM that to me... I'll take a look at it. If I include it you get full credit. :D

Sorry Buddy... took me a day or so to get back here and check... I sent you a PM :D

ekool 02-17-2009 09:28 PM

Works like a champ, looks great. Love the highslide integration.

Infopro 02-19-2009 11:49 AM

Nice mod. :)

Firebug tells me:
Warning: Selector expected. Ruleset ignored due to bad selector.
Source File: mydomainhere.com/member.php?u=xxx
Line: 35

Warning: Unexpected end of file while searching for closing } of invalid rule set.
Source File: mydomainshere.com/member.php?u=xxx
Line: 35

Points to the highside and style stuff this adds.

If I disable this mod, no errors. Anyone have a live site I can check to see if it errors there as well or if this a prob on my end.

tehtide 02-19-2009 02:32 PM

I'll fix it in the next release.

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

Any suggestions for other features?

ekool 02-19-2009 09:12 PM

There should be some options to set it up if your photopost is in a different database. I am unable to get that working.

Mukashi 02-19-2009 10:44 PM

Replying here just because you'll probably see it before my email tehtide, but the 1.0.5 beta you sent me still gives me the same error, I'm afraid. I expect this may be because I have seperate users for vB and Photopost, even though it's the same database.

tehtide 02-20-2009 12:28 PM

Quote:

Originally Posted by ekool (Post 1749351)
There should be some options to set it up if your photopost is in a different database. I am unable to get that working.

The script should detect that and adjust as required. What errors, if any, are you getting?

This is actually how my site is setup. Photopost and vbulletin are in different databases.

Infopro 02-20-2009 09:40 PM

1 Attachment(s)
Quote:

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

Infopro 02-21-2009 11:39 AM

Quote:

Originally Posted by tehtide (Post 1749049)
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. ;)

Teresa 02-21-2009 07:21 PM

Quote:

Originally Posted by Reeftanksonline (Post 1745433)
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?

Tauhid 02-23-2009 12:19 AM

Quote:

Originally Posted by Infopro (Post 1750199)
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.

tehtide 02-23-2009 07:49 PM

Quote:

Originally Posted by Teresa (Post 1750913)
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.

tehtide 02-23-2009 07:51 PM

Quote:

Originally Posted by Infopro (Post 1750199)
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.

tehtide 02-23-2009 07:57 PM

Quote:

Originally Posted by Infopro (Post 1750619)
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...

Teresa 02-24-2009 12:41 AM

Quote:

Originally Posted by tehtide (Post 1752611)
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.

Teresa 02-24-2009 01:35 AM

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

Teresa 02-24-2009 02:05 AM

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!

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

ggr 03-31-2009 04:04 PM

Installed and works great!

funkmeister 05-18-2009 07:39 PM

I'm getting this error...any ideas why? Thanks.

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in [path]/tlb/pp_memberblock/plugins/pp_memberblock.php on line 165

Having to Uninstall for now.

motowebmaster 05-19-2009 11:52 PM

I too am interested in this Mod, whenever you've got time to update it.

My problems were similar, couldn't declare pp_is_image. The script couldn't access the database either (think I know why), and my efforts to modify the script weren't successful.

It's uninstalled for now, but would be happy to try again.

vbreal 05-25-2009 02:42 PM

Quote:


Warning: include([path]/tlb/pp_memberblock/plugins/pp_memberblock.php) [function.include]: failed to open stream: No such file or directory in [path]/includes/init.php(298) : eval()'d code on line 17

Warning: include() [function.include]: Failed opening '[path]/tlb/pp_memberblock/plugins/pp_memberblock.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in [path]/includes/init.php(298) : eval()'d code on line 17


im getting this error and all the files are there in place.

vbreal 05-27-2009 05:56 PM

anyone?

quasan 06-07-2009 06:02 PM

Quote:

Originally Posted by Teresa (Post 1752875)
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!

yap me too. i cannot find the text in the phrases or in the templates :(


update. ok found it in the pp_memberblock.php

pengrus 06-16-2009 03:50 PM

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,

-b6

Could you please share where I can find the photopost Gallery Members Link in the Profile instruction?

Thanks a lot!

pengrus 06-16-2009 03:58 PM

Quote:

Originally Posted by Saint_I_Am (Post 1770971)
I am using a separate database and I get the following error when looking at someone's profile

Could not reselect vbulletin database

I have the same error. Did you fix it?

Bernd Glasstett 06-18-2009 07:47 AM

Great mod. Two small things: The height should not be limited, as pictures will look strange, if done so. And the phrases showing the Tab should be done as phrases. Had to patch the mod, as we are a german board.

Scalemotorcars 11-09-2009 01:43 PM

How can I change it from Highslide to VB default Lightbox? Thanks


All times are GMT. The time now is 05:18 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.01657 seconds
  • Memory Usage 1,852KB
  • 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
  • (8)bbcode_code_printable
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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