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)

tehtide 02-10-2009 10:00 PM

Photopost Pro image block for Member page
 
1 Attachment(s)
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... :D
  • 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...

tehtide 02-11-2009 05:20 PM

Reserved...

mfowler70 02-11-2009 05:42 PM

Very nice. Installed!

;)

GlitterKill 02-12-2009 01:13 AM

Thanks for putting this together! Going to give it a try and will leave feedback after. :)

SgtSling 02-12-2009 03:36 PM

Installed and works great!

SgtSling 02-12-2009 03:54 PM

For some reason only 1 image is showing in my profile.. when I have selected to show 6?

Is this because I am using PhotoPost vBGallery v2.4.3?

topmedic 02-12-2009 05:27 PM

It did not work for me. Does it matter if my Photopost directory is not in the forum root? i.e. mine is http://www.mysitexyz.com/photopost, not http://www.mysitexyz.com/forum/photopost. I made sure the paths (directory and URL) were correct.

Mr Peabody 02-12-2009 08:11 PM

great idea but no worky for me either.

Reeftanksonline 02-12-2009 08:15 PM

I cant get it working.

Reeftanksonline 02-12-2009 08:26 PM

Quote:

Originally Posted by SgtSling (Post 1742005)
Installed and works great!

you are using PhotoPost vBGallery does anyone know if it works with the listed software or was this a missprint? Photopost Pro image block for Member page

Ricsca 02-12-2009 10:02 PM

In my site dont work...

http://www.tartaportal.it/forums/member.php?u=4

tehtide 02-13-2009 12:40 AM

Quote:

Originally Posted by SgtSling (Post 1742017)
For some reason only 1 image is showing in my profile.. when I have selected to show 6?

Is this because I am using PhotoPost vBGallery v2.4.3?

This only works for Photpost Pro version 6.X... I don't know if it'll work for vbGallery or not.

tehtide 02-13-2009 12:41 AM

Quote:

Originally Posted by Reeftanksonline (Post 1742256)
you are using PhotoPost vBGallery does anyone know if it works with the listed software or was this a missprint? Photopost Pro image block for Member page

It is for Photopost pro... not vbGallery.

tehtide 02-13-2009 12:41 AM

Quote:

Originally Posted by topmedic (Post 1742115)
It did not work for me. Does it matter if my Photopost directory is not in the forum root? i.e. mine is http://www.mysitexyz.com/photopost, not http://www.mysitexyz.com/forum/photopost. I made sure the paths (directory and URL) were correct.

No... it shouldn't matter. Did you make sure to end the directory and url with a trailing slash? ie "/"

tehtide 02-13-2009 11:29 AM

I'm willing to jump in on you setup and take a look around and see what the issues are.

I just need access to the vbulletin admin control panel, photopost control panel, FTP access and MAYBE access to your sql database to take a look at how the queries are shaping up.

If you want PM me the details and I'll take a look.

topmedic 02-13-2009 02:48 PM

Quote:

Originally Posted by tehtide (Post 1742425)
No... it shouldn't matter. Did you make sure to end the directory and url with a trailing slash? ie "/"

Yes, I used the trailing slash. I'll try your updated version when time permits. Thanks.

tehtide 02-13-2009 05:56 PM

Quote:

Originally Posted by topmedic (Post 1742955)
Yes, I used the trailing slash. I'll try your updated version when time permits. Thanks.

Ok... Is you vbulletin database and your photopost database the same one or are they different?

Mr Peabody 02-13-2009 08:31 PM

still no go for me, my PP and VB are in the same database.

Reeftanksonline 02-13-2009 08:53 PM

vBulletin 3.8.1
6.2 Photopost pro
Trialing slash is all correct
PP and VB are in the same database.
Not working even with update.

tehtide 02-14-2009 01:13 PM

Quote:

Originally Posted by Mr Peabody (Post 1743238)
still no go for me, my PP and VB are in the same database.

Quote:

Originally Posted by Reeftanksonline (Post 1743256)
vBulletin 3.8.1
6.2 Photopost pro
Trialing slash is all correct
PP and VB are in the same database.
Not working even with update.

Ok... if either of you would like pm some details to access an ftp server and admin access to your forums and I can take a look. It is probably something weird how I'm doing the queries. Also... if possible if you have access to phpadmin or something similar that would be good as well.

tehtide 02-14-2009 01:15 PM

Also... if you enable debug mode does anything showup on your member.php page?

Also... the hook that you want it to show up in your page must be in your MEMBERINFO template.

Check for these:

$template_hook[profile_left_first]
$template_hook[profile_left_last]
$template_hook[profile_right_first]
$template_hook[profile_right_mini]
$template_hook[profile_right_album]
$template_hook[profile_right_last]

If the one that you want isn't in your template it isn't going to show up.

Tauhid 02-14-2009 02:23 PM

thank you so much, will have it installed asap!

Tauhid 02-14-2009 11:07 PM

Ok I installed everything as instructed. Photopost and VB is in the same database as well. Nothing appears on the hook locations at my end. All the hook locations are already in all my styles/templates. Nothing shows up anyways. Can you please confirm if you can take a look at my site? I can pm you the details right away if you say so.

motowebmaster 02-15-2009 12:03 AM

Unfortunately it didn't work for me either, but it's a great idea :up:

Reeftanksonline 02-15-2009 07:21 PM

Thank you for trying to get this working but I now have a conflict and nothing shows up I understand that its hard to make this work and your work has gone noted ,,thank you, But its not for me.

Tauhid 02-15-2009 08:36 PM

I think the new update shall work on most websites. It's working on mine, the mod author has fixed it for me. You can have a look at my profile in my site to be sure of it.

http://wheelsbd.com/forum/member.php?u=1

tehtide 02-15-2009 08:52 PM

Quote:

Originally Posted by Reeftanksonline (Post 1745202)
Thank you for trying to get this working but I now have a conflict and nothing shows up I understand that its hard to make this work and your work has gone noted ,,thank you, But its not for me.

Did you update to latest version of the product and upload the files? If so can you post me your website so I Can take a look?

Tauhid 02-15-2009 10:51 PM

Quote:

Originally Posted by tehtide (Post 1745293)
Did you update to latest version of the product and upload the files? If so can you post me your website so I Can take a look?

hey man, thanks for mentioning my name. appreciate it a lot. hope to see few more minor mods for photopost and vbulletin from you :P

Reeftanksonline 02-15-2009 11:55 PM

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?

Terrie 02-16-2009 12:13 AM

Great mod! Too bad it cannot be placed in one of the profile tabs

Deviant K1 02-16-2009 01:12 AM

To tehtide:

Thanks for the hack... MARK AS INSTALLED!!! :)

This mod was what I was looking for to add to my guild's site and it works great. The only two things I wish there was an option to not allow right clicking on images and change the "frame", (like drop-shadow) on how the image is shown. I know if someone really wants to save an image they can... if they know where and how to look but if one is annoyed enough by getting "No Right Clicking Allowed on Site" messages every time they tried, they would more than likely opt to not worry about it and keep trying to right click :p.

Anyway, I did find a way to not allowed right clicking once the image is enlarged, (doesn't show the right click menu), but I won't post it unless tehtide gives me the okay too or post it himeself.

Great work and I'm looking forward to any updates or add-ons added to this hack :D

Tauhid 02-16-2009 02:05 AM

@ code author, please try to make something like "View My Gallery" link in users postbit in a different modification if you can. that would be lovely!

Mr Peabody 02-16-2009 06:39 AM

great mod working for me now! Cheers :)

tehtide 02-16-2009 11:45 AM

Quote:

Originally Posted by Terrie (Post 1745444)
Great mod! Too bad it cannot be placed in one of the profile tabs

Which profile tabs? If you are talking about different places on the member page then take a look... all the template hooks are there and you can put them wherever you want.

tehtide 02-16-2009 12:17 PM

Quote:

Originally Posted by Deviant K1 (Post 1745479)
Anyway, I did find a way to not allowed right clicking once the image is enlarged, (doesn't show the right click menu), but I won't post it unless tehtide gives me the okay too or post it himeself.

Great work and I'm looking forward to any updates or add-ons added to this hack :D


PM that to me... I'll take a look at it. If I include it you get full credit. :D

Reeftanksonline 02-16-2009 12:19 PM

Thank you Tehtide for showing what I was doing wrong you fix everything! Your the best. And this mod rocks!

tehtide 02-16-2009 12:22 PM

Quote:

Originally Posted by Tauhid (Post 1745520)
@ code author, please try to make something like "View My Gallery" link in users postbit in a different modification if you can. that would be lovely!

I'll see what I can do. :D

topmedic 02-16-2009 04:34 PM

Works now. Many thanks for this :) .

Mukashi 02-17-2009 11:02 AM

Latest version doesn't work here. Get the following error displaying on profile pages.

Quote:

Warning: mysql_query() [function.mysql-query]: Access denied for user 'nobody'@'localhost' (using password: NO) in [path]/tlb/pp_memberblock/plugins/pp_memberblock.php on line 161

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in [path]/tlb/pp_memberblock/plugins/pp_memberblock.php on line 161

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

tehtide 02-17-2009 11:23 AM

Quote:

Originally Posted by Mukashi (Post 1746763)
Latest version doesn't work here. Get the following error displaying on profile pages.

Yep... I apologize. I see exactly what the error is. I'll have an updated version here in a couple minutes.


All times are GMT. The time now is 01:50 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.01528 seconds
  • Memory Usage 1,816KB
  • 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
  • (15)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