vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   PhotoPost PopUp vB Code (https://vborg.vbsupport.ru/showthread.php?t=60917)

memobug 02-03-2005 08:19 PM

It's a shame to see what is supposed to be a support thread for a hack turn into a slam against the product it supports. IMHO this has no place in the thread. I am glad to see that certain Premium Hack threads give the hack writer moderator privileges so this off-topic tripe can be removed. I am just glad there is an ignore feature. I used it twice on this page.

I come to vbulletin.org to get support for hacks and learn about new ones. If you're here to rant and complain about another product, maybe this particular thread isn't the best place to do it.

Regards,

Matt

MPDev 02-03-2005 11:00 PM

I agree, Matt; I thought I'd check in and see what was going on in this thread since I was getting ready to do an update and I find all this "junk"?

You post a mod, 100 people try it and 80 get it working with no problems. 18 give up for one reason or another and 2 people decide to be jerks about it. So what happens? The two people ruin it for everyone else.

nighteyes 02-04-2005 12:05 PM

Quote:

Originally Posted by MPDev
Sorry to hear that - although, most people who make such a claim rarely turn out to be anyone with any real experience with our support staff. I've never heard anyone say "sorry we cant help you" and if it did happen, I would be very disappointed as we spend alot of time and money on support.

I'll be redoing the mod for the upcoming PP5 release and will post it when its ready. I'm using it on PhotoPostDev.Com with no problems so far, but am in the process of updating with the current security releases.

More than likely, if you aren't getting the popup, then you didn't modify the code properly. It's not an overly complicated mod; but one that I'll look at again soon.

It's funny how you came running here to post within hours of two people slamming your product support. You hadn't posted in here in ages before that. :D I've licensed your photopost product since it was in Perl many years ago so I can assure you I have vast experience of dealing with your support personnel. ;) It really hasn't improved much since it was virtually a one-man show.

That said, the software is very good and I licensed another copy only in December. So if you know what you're doing and are unlikely to ever need to call on support I highly recommend it. :p

Maybe it's not entirely appropriate posting here... but I still believe it's useful knowledge for those frustrated trying to obtain support for your hack(s) on here to know the support is bad via official channels too, so unlikely you're going to get much on vbulletin.org.

Dean C 02-04-2005 09:04 PM

Guys, this thread is not for a platform to discuss the support over at photopost.com. It's to provide support for this modification. If you feel begrudged by a product or a service that relates to vBulletin you are quite welcome to post it up (as long as you do so in a polite manner) in the lounge to warn others of your experience.

Please keep the criticism aside from this thread from now on and leave it for specific support :)

Cheers,
- Dean

MPDev 02-04-2005 10:24 PM

Thank you, Dean. Since this is my thread, I feel entitled to have the last word since nighteyes continues to misrepresent our support. I'll let it go with a few words from our customers:

Quote:

I own 3 photopost licenses and 1 classified license, and have been a member here since April 2002. I have had numerous questions relative to technical support and have always been treated exactly like I would expect to be treated, being a paying customer. Scott, Michael and Chuck are excellent at what they do. The popularity of 2 of my sites is due solely to photopost and the PP crew.
Quote:

i've had nothing but great support and good advice concerning PP.. well worth every penny IMO.
Quote:

omegatron was friendly and helpful for my queries, though i had been lil rude to him
Quote:

Yes, omegatron = chuck.

One of the most helpful people i've ever met
Quote:

My post count indicates the number of times I've nagged you over the years, and Carole and I want to thank you for giving us so much of your time. (If somebody else had to wait for support it's probably our fault LOL).

Seriously, I can't even comprehend the stamina it takes to contend with multiples of me's at a time.
Its unfortunate if nighteyes had a negative experience with our support - it's certainly not from a lack of effort (but maybe a lack of sleep).

I'll have a new version of this mod out soon.

MPDev 02-11-2005 10:26 PM

This mod has been updated for use with PhotoPost 5 and is currently being used on PhotoPostDev.Com.

Changes in vB3 up to 3.0.6 required some changes to the pppanel.php script to take the variables and the filenames have been updated to work with the new PP5 filenames (no -thumb and -med filename changes).

Moncha 02-18-2005 05:52 PM

Quote:

Originally Posted by MPDev
This mod has been updated for use with PhotoPost 5 and is currently being used on PhotoPostDev.Com.

Changes in vB3 up to 3.0.6 required some changes to the pppanel.php script to take the variables and the filenames have been updated to work with the new PP5 filenames (no -thumb and -med filename changes).

Michael, since I'm not using the Beta 5 yet, any way of posting what changes need to be made to the script so the correct file & filename structure will work with the older version 4.86?

Moncha 02-28-2005 05:00 PM

I figured what was wrong. I don't know if how I got it working matches the original code or not but it works.
Here's what I needed to do.

in pppanel.php, find:
Code:

while ( $thisphoto = $DB_site->fetch_array($myphotos) ) {
under that, put:
Code:

$theext = get_ext( $thisphoto['bigimage'] );
next, find:
Code:

if ( $medsize > 0 ) $imgurl = "{$data_dir}/$ppcat/{$user}{$photo_name}-med{$theext}";
        else $imgurl = "{$data_dir}/$ppcat/{$user}{$photo}";
               
        $mthumb = "<img border=\"0\" src=\"{$data_dir}/{$ppcat}/thumbs/$photo\" alt=\"\" />";

and replace with:

To make clickable thumbnails in posts
Code:

if ( $medsize > 0 ) $imgurl = "[*url={$data_dir}/$ppcat/{$user}{$photo}][img]{$data_dir}/$ppcat/{$user}{$photo_name}-thumb{$theext}[/img][/url*]";
        else $imgurl = "https://vborg.vbsupport.ru/";
               
        $mthumb = "<img border=\"1\" src=\"{$data_dir}/{$ppcat}/$user$photo_name-thumb$theext\" alt=\"\" />";

(Removing the * in the [*url][/url*]

And need to change the template,
Find:
Code:

opener.document.vbform.message.value = BodyVal + '[img]' + UBBCode + '[/img]';
replace with:
Code:

opener.document.vbform.message.value = BodyVal + UBBCode;
Or if you want to have space between the thumbs, replace with this:
Code:

opener.document.vbform.message.value = BodyVal + UBBCode + ' ';
or:

To place medium images in the post or full sized if medium not available
Code:

if ( $medsize > 0 ) $imgurl = "[img]{$data_dir}/$ppcat/{$user}{$photo_name}-med{$theext}[/img]";
        else $imgurl = "https://vborg.vbsupport.ru/";
               
        $mthumb = "<img border=\"1\" src=\"{$data_dir}/{$ppcat}/$user$photo_name-thumb$theext\" alt=\"\" />";

If your DB's are separate but have the same password, change the FROM pp_photos in the query.
Code:

$query = "SELECT id,cat,title,bigimage,medsize FROM pp_photos WHERE userid ='{$user}' AND storecat=0 ORDER BY date DESC LIMIT $page,16";
to FROM databasename.photos so it looks sort of like this:
Code:

$query = "SELECT id,cat,title,bigimage,medsize FROM databasename.photos WHERE userid ='{$user}' AND storecat=0 ORDER BY date DESC LIMIT $page,16";
(Changing the databasename to match what your PP database name is)

Side note.. I had to include the [*img][*/img] tags in the code to get them to input if you get two sets, remove the ones inthe aove codes.

Gutspiller 08-02-2005 04:36 PM

Has anybody gotten this to work on 3.0.7? I installed it and I get this error:

Database error in vBulletin 3.0.7:

Invalid SQL: SELECT id,cat,title,bigimage,medsize FROM pp_photos WHERE userid ='1' AND storecat=0 ORDER BY date DESC LIMIT 0,16
mysql error: Table 'forumdbname.pp_photos' doesn't exist

mysql error number: 1146

Date: Tuesday 02nd of August 2005 12:30:28 PM
Script: http://www.leetforum.com/forumz/pppanel.php

When you say use the same database are you reffering to just the username/registration system or more?

P.S. ++++ you all (2) who think photopost sucks. I have had very good support from them and have made multiple suggestions that have ended up in later versions. (www.GamersGallery.com)


All times are GMT. The time now is 10:06 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.01167 seconds
  • Memory Usage 1,760KB
  • 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
  • (10)bbcode_code_printable
  • (7)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
  • (9)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