#268376 - 01/30/0401:41 PMRe: Beta-[6.3-6.4] My Photos 1.0
[Re: Kelly]
donJulio
Code Monkey
Registered: 06/17/02
Posts: 682
Loc: CA, USA
I haven't used this yet, but does it allow me to browse the photo categories to find photos quicker? I have 50 galleries and some users have hundreds of photos. So any way to browse the photos quicker would be cool. Also it would be cool if they could use any photo in this. What I mean is not just thier photos (that they themselves have uploaded to their member galleries or public galleries), but all photos in their personal gallery (not other members galleries) and all photos in the public galleries, regardless of who posted them.
_________________________
Too many men. There's too many people making too many problems, and not much love to go around. Can't you see this is the Land of Confusion? <img src="http://www.ubbdev.com/forum/images/graemlins/confused.gif" alt="" />
Steelhead<br /><br />At the top of that file you need to have the information to connect to photopost database. Try putting the select threads database at the bottom of the file or try it without it since it operates in another window.<br /><br />Don Julio<br /><br /> This mod only pulls your photo's however if you look at the query I am sure you can adjust things to your liking. I beleive the default is ORDER BY date DESC
Chuck ... I tried with out and with it at bottom.. no luck<br /> I have the database stuff at the top. <br /><br />BTW steelhead is the other guy, but I knew you meant me <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
Marty,<br /><br /> Ok If the username and password to access the first database are the same you can just put this before the query in pppanel.php<br /><br />mysql_select_db ("DATABASENAME")or die("Could not select database");
is the database named changed to match my sites? If so I got errors again.<br /><br />SQL ERROR: Database error only visible to forum administrators<br /><br />Warning: Supplied argument is not a valid MySQL result resource in /home2/www/steelheader/ubbthreads/mysql.inc.php on line 133<br />SQL ERROR: Database error only visible to forum administrators<br /><br />Warning: Supplied argument is not a valid MySQL result resource in /home2/www/steelheader/ubbthreads/mysql.inc.php on line 160<br /><br />Warning: Supplied argument is not a valid MySQL result resource in /home2/www/steelheader/ubbthreads/mysql.inc.php on line 133
It seems, that many people have trouble with the databaseswitching. It would be fine to put another modified file in your archiv with sample settings for people who have installed in seperate default databases.
Chuck, this looks like an awesome hack and I'm trying to get it implemented. <br /> <br />I'm running into an issue with this hack however and I'm sure it's something simple. <br /> <br />- A user clicks on post or reply. <br />- User clicks on the "Insert My Photos into Post" <br />- The users is shown the infamous red x with boxes that are suppose to show his/her photos. <br /> <br />I did not continue hacking into the showflat.tmpl or showthreaded.tmpl files as I don't use the quick reply hack. <br /> <br />Also, I'm assuming I'm to upload the pppanel.php file into the ubbthreads directory. <br /> <br />Now, a little background. <br /> <br />I'm running two seperate databases. One for my ubbthreads and one for the photopost. <br /> <br />I added the same user from ubbthreads to my photopost database. So that the same user can share the database. <br /> <br />I've tried following some of the thread here, but get a bit lost. <br /> <br />Any help on this is greatly appreciated. <br /> <br />[]http://members.cox.net/gonzo_family/misc/myphotos_error.gif[/]
#268386 - 01/31/0409:59 AMRe: Beta-[6.3-6.4] My Photos 1.0
[Re: sf49rminer]
fishtails
Enthusiast
Registered: 06/19/02
Posts: 307
Loc: Fernandina Beach, FL
I'm just curious. Could the js for the photopanel conflict with the js for the font colors? My font colors no longer render on the posting form. Example here.
Anything is possible.<br /><br />However I would double check your hacking first.<br /><br />There are multiple instances of defined functions under that script call and the only thing broken is your colors.
[]Omegatron said: <br />What is this setting? <br /> <br />$data_dir=""; [/] <br /> <br />Yea, I was a bit confused on this one as I wasn't sure where I should point this to as the jpeg files are stored in seperate subdirectories off of the data directory. <br /> <br />$data_dir = "http://www.f-bodyhideout.com/gallery/data/" ; //URL of your photo dir where those jpeg stored (with / at end)
Duhhhh....damn, do you ever get tired of dealing with knuckle-heads like me?? <img src="http://www.ubbdev.com/forum/images/graemlins/doah.gif" alt="" />
#268393 - 01/31/0404:24 PMRe: Beta-[6.3-6.4] My Photos 1.0
[Re: sf49rminer]
fishtails
Enthusiast
Registered: 06/19/02
Posts: 307
Loc: Fernandina Beach, FL
I'll check my hacking. On another note, if you are not logged in and click the My Photos, it throws mysql errors because there's no unumber. So, there needs to be a check for valid user so it doesn't throw the errors. But, awesome hack at any rate. Thanks for the hack Michael.
Do you allow anonymous posting?<br /><br />Just checking cause if you have quick reply mod installed and you have no right to post thus the quick reply does not show so the my photos link would not work<br /><br />Also in your posting screens if you have no photos it says you have no photos<br /><br />So I am assuming that you allow anonymous posting?
#268395 - 01/31/0407:30 PMRe: Beta-[6.3-6.4] My Photos 1.0
[Re: sf49rminer]
fishtails
Enthusiast
Registered: 06/19/02
Posts: 307
Loc: Fernandina Beach, FL
Yes, I do allow anonymous posts of messages, but not uploading of any sort. I don't use the quick reply and thus don't have it installed. Yes, it does say that you have no photos, but not until it throws out the mysql errors when not logged in.