php forum
php mysql forum
php mysql smarty
 
Page 1 of 4 1 2 3 4 >
Topic Options
#260193 - 10/08/03 09:28 AM Photopost Pal 1.3
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Okay this is a modification from code posted here based on Michael Pierce's main index hack which pulls Photopost on the main page. I have been using this for quite a while and made a multiple photo pal for my site which many people have requested so here you go. <br />


Attachments
96544-photopal1.3.zip (235 downloads)

_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#260194 - 10/08/03 08:56 PM Re: Photopost Pal 1.3 [Re: sf49rminer]
AllenAyres Administrator Online   content
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
thank you <img src="/forum/images/graemlins/waytogo.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#260195 - 10/12/03 10:07 AM Re: Photopost Pal 1.3 [Re: SurfMinister]
AllenAyres Administrator Online   content
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
thank you again, was finally able to get around to installing this last night, works very well <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#260196 - 10/26/03 11:00 AM Re: Photopost Pal 1.3 [Re: SurfMinister]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
Also while we are at it..<br /><br />in the photopal 1.3 mod the only lines I changed were in<br /><br />costombox3.php<br /> [] require ("/home/scroungr/public_html/ubbthreads/photopost.inc.php");[/]<br /><br />and photopost.inc.php<br /> []$url_path = "http://www.couch-tomatoe.cc/photopost/data/3003/"; //URL of your photo album, where the index.pl is (with / at end)<br />$data_dir = "http://www.couch-tomatoe.cc/photopost/data/3003/"; //URL of your photo dir where those jpeg stored (with / at end)<br /> [/] <br /><br />and my query fails everytime.. I cannot find the gallery directoy which according to that mod has a index.pl now only thing I do find is the data directory which has the gifs under them...<br /><br />Any clearer information as to what these should be set to would be helpfull..
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#260197 - 10/26/03 11:14 AM Re: Photopost Pal 1.3 [Re: 234234]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Scoungr, <br /> <br />I see your problem without blinking <img src="http://www.ubbdev.com/forum/images/graemlins/wink.gif" alt="" /> <br /> <br />$url_path = "http://www.couch-tomatoe.cc/photopost/data/3003/"; //URL of your photo album, where the index.pl is (with / at end) <br /> <br />It asks you here the directory to your scripts not your data directory. You should have this set to this <br /> <br />$url_path = "http://www.couch-tomatoe.cc/photopost/"; //URL of your photo album, where the index.pl is (with / at end) <br /> <br /> <br /> Now as far as your query failing I would recheck your mysql access information. Did you edit the prefix variable right under the path to the include file in the pal box?
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#260198 - 10/26/03 11:54 AM Re: Photopost Pal 1.3 [Re: sf49rminer]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
Thanx <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /> Will have to check.. I might have had another brain fart <img src="http://www.ubbdev.com/forum/images/graemlins/grin.gif" alt="" /> it was late. good thing they turned the clocks last nite <img src="http://www.ubbdev.com/forum/images/graemlins/grin.gif" alt="" />
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#260199 - 10/26/03 01:30 PM Re: Photopost Pal 1.3 [Re: 234234]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
Just wanna check a few more things in<br /><br />photopost.inc.php should it read<br /><br />[]<br />$data_dir = "http://www.couch-tomatoe.cc/photopost/data/3003/"; //URL of your photo dir where those jpeg stored (with / at end)[/]<br /><br />or <br /><br />[]<br />$data_dir = "http://www.couch-tomatoe.cc/photopost/data/"; //URL of your photo dir where those jpeg stored (with / at end)<br />[/]<br /><br />and in custombox3pal.php should the following change?<br /><br />[]<br /><?<br />require [:"red"]("/home/scroungr/public_html/ubbthreads/photopost.inc.php");[/]<br /><br />//<br />// Featured Photos Code<br />// Follow down to End Feature Photos Code<br />//<br /><br />$Globals['pp_db_prefix'] = "[:"red"]w3t_[/]";<br /><br />// leave blank for no customization, otherwise list cats you only want images to appear from<br />$forcats = "";<br /><br />// which type of images do you want to show<br />$q_switch = "random";<br /><br />switch ($q_switch) {<br /> case "most_view":<br /> $query = "SELECT id,user,userid,cat,title,bigimage,views FROM {$Globals['pp_db_prefix']}photos WHERE bigimage!='' AND approved='1' $forcats ORDER BY views DESC LIMIT 5";<br /> break;<br /> case "lastest":<br /> $query = "SELECT id,user,userid,cat,title,bigimage,views FROM {$Globals['pp_db_prefix']}photos WHERE bigimage!='' AND approved='1' $forcats ORDER BY date DESC LIMIT 5";<br /> break;<br /> case "random":<br /> $query = "SELECT id,user,userid,cat,title,bigimage,views FROM {$Globals['pp_db_prefix']}photos WHERE bigimage!='' AND approved='1' $forcats ORDER BY RAND() DESC LIMIT 5";<br /> break;<br />}<br /><br />$result = mysql_query($query)or die("Query failed");<br /><br />echo <<<UBBTPRINT<br />$tbopen<br /><tr class="darktable"><br /><td class="tdheader" align="center"><br />Featured Photos<br /></td><br /></tr><br /><br />UBBTPRINT;<br /><br />while ($line = mysql_fetch_array($result, MYSQL_ASSOC)) {<br /> $photo = $line["bigimage"];<br /> $photolen = strlen($photo);<br /> $photo_name = substr($photo, 0, -4);<br /> $theext = substr( $photo, $photolen-3, $photolen);<br /> <br /> print "<tr><td align=\"center\" class=\"lighttable\">";<br /> print "<br /><a href=\"". $url_path ."/showphoto.php?photo=". $line["id"]. "\">";<br /> $temp_user = ($line["userid"]);<br /><br /> $img_width = $imgsize[0];<br /> $img_height = $imgsize[1];<br /> print "<img border=\"0\" src=\"".$data_dir.$line["cat"]."/".$line["userid"].$photo_name."-thumb.$theext\" alt=\"\" />";<br /> print "</a><font size=\"1\" face=\"verdana,arial\">";<br /> <br /> if ($q_switch == "most_view") {<br /> print "<a href=\"". $url_path ."/showphoto.php?photo=". $line["id"]. "\">".$line["title"]."<br />".$line["views"]." times</a><br /></font><br />";<br /> } else {<br /> print "<a href=\"". $url_path ."/showphoto.php?photo=". $line["id"]. "\"><br />".$line["title"];<br /> print "</a><br />by ".$line["user"]."</font><br />";<br /> }<br /> <br /> print "</td></tr>";<br />}<br /><br />mysql_free_result($result);<br /><br />echo <<<UBBTPRINT<br />$tbclose<br /><br /><br />UBBTPRINT;<br /><br />//<br />// End Featured Photos Code<br />//<br /><br />mysql_select_db('[:"red"]DATABASE[/]') or die("Could not select database '[:"red"]DATABASE[/]'\n"); <br /><br />?><br />[/] <br /><br />Should I be putting my photopost or my ubbthreads database where it says 'DATABASE' or leave it the way it is?
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#260200 - 10/26/03 04:20 PM Re: Photopost Pal 1.3 [Re: 234234]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Okay Let me go down your list<br /><br />this is correct<br /><br />$data_dir = "http://www.couch-tomatoe.cc/photopost/data/"; //URL of your photo dir where those jpeg stored (with / at end)<br /><br /><?<br />require ("/home/scroungr/public_html/ubbthreads/photopost.inc.php");<br /><br />//<br />// Featured Photos Code<br />// Follow down to End Feature Photos Code<br />//<br /><br />$Globals['pp_db_prefix'] = "w3t_"; <<<<THIS DOES NOT SEEM RIGHT<br /><br />You would set this to whatever prefix your photopost install has if any. If your tables read settings photos etc etc without a prefix this is set to blank. This is not set to your forums prefix which you have it set to unless you made the prefix to photopost this.<br /><br />and the last line as I stated in the instructions. On most hosts expecially when using the sidebar you need to fill in the database for threads here since you will get errors if you do not have this line in there. DATABASE is set to your forums database.<br /><br />
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#260201 - 10/26/03 05:06 PM Re: Photopost Pal 1.3 [Re: sf49rminer]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
Cool thanx Got it to Work <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /> Just had to change that last DATABASE Line to the ubbthreads one <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /> and yeah I set the photopost to w3t_ to be similiar to threads <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /> Thanx for all your help I can style it from here like now I wanna take out that link so they can't click and get to the graphics page <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#260202 - 11/04/03 03:28 PM Re: Photopost Pal 1.3 [Re: 234234]
donJulio Offline
Code Monkey

Registered: 06/17/02
Posts: 682
Loc: CA, USA
Omegatron,<br /><br />Does this mod pull photos out of private member albums also? I would hope not <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
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="" />

Top
#260203 - 11/04/03 03:55 PM Re: Photopost Pal 1.3 [Re: luan]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Well don't know I have to look at it. It randomly pulls images. There is some code that can be added to restrict it to display only specific cats if you want.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#260204 - 11/04/03 10:30 PM Re: Photopost Pal 1.3 [Re: sf49rminer]
donJulio Offline
Code Monkey

Registered: 06/17/02
Posts: 682
Loc: CA, USA
I'm up to over 30 categories, so maybe it would be easier to exclude any category in the 3000s, which I think are the Personal Albums.
_________________________
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="" />

Top
#260205 - 11/05/03 12:15 PM Re: Photopost Pal 1.3 [Re: luan]
donJulio Offline
Code Monkey

Registered: 06/17/02
Posts: 682
Loc: CA, USA
FYI, it DOES pull images from Private Albums <img src="http://www.ubbdev.com/forum/images/graemlins/tongue.gif" alt="" />
_________________________
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="" />

Top
#260206 - 11/05/03 12:18 PM Re: Photopost Pal 1.3 [Re: luan]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
Which is NOT always a good thing since alot of people often UPLOAD things they don't want any but a few select to see <img src="http://www.ubbdev.com/forum/images/graemlins/tongue.gif" alt="" />
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#260207 - 11/09/03 10:30 AM Re: Photopost Pal 1.3 [Re: 234234]
PhotoPost Offline
Hacker

Registered: 02/03/02
Posts: 989
In 4.1 and below you would need to add cat < 3000 for private albums to be ignored. In 4.5 (now in beta), you would need to check for cattype='c'
_________________________
[]http://www.danasoft.com/vipersig.jpg[/]
Viper Alley - http://www.viperalley.com
Extreme Fitness - http://www.extremefitness.com[/b]

Top
#260208 - 11/10/03 02:30 PM Re: Photopost Pal 1.3 [Re: gailg]
donJulio Offline
Code Monkey

Registered: 06/17/02
Posts: 682
Loc: CA, USA
Do I just add this anywhere to the pal .php file?
_________________________
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="" />

Top
#260209 - 11/10/03 05:15 PM Re: Photopost Pal 1.3 [Re: luan]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
That would be added in the queries AFTER THE WHERE statement in the query place the following depending on version<br /><br /> AND cat < '3000'<br /><br /> AND cattype='c'
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#260210 - 01/06/04 04:59 PM Re: Photopost Pal 1.3 [Re: sf49rminer]
smoknz28 Offline
Enthusiast

Registered: 04/10/03
Posts: 393
Loc: Washington, D.C.
I've found an issue with using this Pal... <br /> <br />Members thumbnails from their 'Private Albums' will show up in in this Pal. <br /> <br />However, once you click on the thumbnail that is marked as Private, PhotoPost will pick up on it at that point and prompt the user to: <br /> <br />Password Required <br /> This forum requires a password for access! <br /> <br />Anyway to fix this so that a member's Private Albums with thumbnails will not be viewable in this Pal? <br /> <br />I've taken this Pal offline until I can get this fixed.
_________________________
F-Body Hideout
Project Speedy

Top
#260211 - 01/06/04 05:32 PM Re: Photopost Pal 1.3 [Re: General_Failure]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Easily fixed download it again
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#260212 - 01/10/04 04:00 PM Re: Photopost Pal 1.3 [Re: sf49rminer]
deltajo Offline
Power User

Registered: 09/05/00
Posts: 61
Loc: Vancouver, British Columbia, C...
Hey Chuck I get only the Pal table header saying "Featured Photos" but it doesn't pick up any photos. <br /> <br />My photopost.inc.php has: <br />$url_path = "http://www.domain.com/threads/photopost/"; <br />$data_dir = "http://www.domain.com/threads/photopost/data/"; <br /> <br />...and my database name and user info below that. <br /> <br /> <br />My customboxpal has: <br />require ("/home/myaccount/public_html/threads/photopost/photopost.inc.php"); <br /> <br />...and my photopost prefix info ($pp_db_prefix = "jopho_";) plus my database name at the bottom (my photopost database and my threads database are the same) <br /> <br />Any suggestions?


Edited by deltajo (01/10/04 04:03 PM)

Top
#260213 - 01/10/04 04:05 PM Re: Photopost Pal 1.3 [Re: icewind]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
I would double check your path and user information. This is the exact same thing I use on my site as long as your access info is correct all should be good.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#260214 - 01/11/04 10:09 PM Re: Photopost Pal 1.3 [Re: icewind]
smoknz28 Offline
Enthusiast

Registered: 04/10/03
Posts: 393
Loc: Washington, D.C.
Chuck, I don't know if there's something I did wrong when I applied the changes you made....or if there's something wrong in the code. <img src="http://www.ubbdev.com/forum/images/graemlins/confused.gif" alt="" /><br /><br />Can you please just verify that the code is correct?<br /><br />Thanks...
_________________________
F-Body Hideout
Project Speedy

Top
#260215 - 01/11/04 10:19 PM Re: Photopost Pal 1.3 [Re: sf49rminer]
AllenAyres Administrator Online   content
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
worked well for me, thank you <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#260216 - 01/11/04 10:22 PM Re: Photopost Pal 1.3 [Re: SurfMinister]
smoknz28 Offline
Enthusiast

Registered: 04/10/03
Posts: 393
Loc: Washington, D.C.
[]AllenAyres said: <br />worked well for me, thank you <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /> [/] <br /> <br />When did you install this? If you installed it prior to January 6th then that's the same code I had as well and I had no problems with it....it's only after the changes were made on the 6th with the code that I'm having troubles with.
_________________________
F-Body Hideout
Project Speedy

Top
#260217 - 01/11/04 10:26 PM Re: Photopost Pal 1.3 [Re: General_Failure]
smoknz28 Offline
Enthusiast

Registered: 04/10/03
Posts: 393
Loc: Washington, D.C.
In the instructions for photopost.inc.php where it reads: <br /> <br />[:"red"]//URL of your photo album, where the index.pl is (with / at end)[/] <br /> <br />Is this a misprint because I don't know where this file is. I am assuming, and that's usually where I go wrong, that it's to read index.php (inside the PhotoPost directory).
_________________________
F-Body Hideout
Project Speedy

Top
#260218 - 01/11/04 11:04 PM Re: Photopost Pal 1.3 [Re: General_Failure]
AllenAyres Administrator Online   content
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
I installed it a few minutes ago <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /><br /><br />http://www.fiebre.com <img src="http://www.ubbdev.com/forum/images/graemlins/peace.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#260219 - 01/11/04 11:08 PM Re: Photopost Pal 1.3 [Re: General_Failure]
smoknz28 Offline
Enthusiast

Registered: 04/10/03
Posts: 393
Loc: Washington, D.C.
Okay interesting.... <br /> <br />With this pal in place (I left the name of it as custombox3pal.php and overwrote the default file) on the left of the page layout...I get the same error in the center and right side of the page layout: <br /> <br />[]http://members.cox.net/gonzo_family/misc/IIP_1.gif[/] <br /> <br />[]http://members.cox.net/gonzo_family/misc/IIP_2.gif[/] <br /> <br />This is what's on line 133 of mysql.inc.php: <br /> <br />$this->row = mysql_fetch_array($sth); <br /> <br />As I move this integrated pal into the middle of the page, the same error gets less. And as I move this pal into the right side of the page layout, the error is gone but I do get a little error note on the bottom left corner: <br /> <br />[]http://members.cox.net/gonzo_family/misc/IIP_3.gif[/] <br /> <br /> <br />My PhotoPost database is not inside of my Threads database. I made a seperate database just for the PhotoPost.
_________________________
F-Body Hideout
Project Speedy

Top
#260220 - 01/11/04 11:45 PM Re: Photopost Pal 1.3 [Re: General_Failure]
AllenAyres Administrator Online   content
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
mine too... did you remember to edit the bottom of the custompal3.php file to point back to your forum's database?
_________________________
- Allen wavey
- What Drives You?

Top
#260221 - 01/12/04 12:52 AM Re: Photopost Pal 1.3 [Re: General_Failure]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
What you reported is not the error.<br /><br />The real error is "Error only visible to Admins".<br /><br />Check your admin logs for the real error, and that'll give us a clue.<br /><br />That line 133 thing is an error whenever a query has failed. But what we realy need to know is the error its hiding. <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#260222 - 01/12/04 09:38 AM Re: Photopost Pal 1.3 [Re: Daine]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Exactly what Allen said<br /><br />Photopost/Reviewpost cause havoc when used in IIP and the sidebar you must always switch back to the threads database.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#260223 - 01/12/04 12:43 PM Re: Photopost Pal 1.3 [Re: sf49rminer]
AllenAyres Administrator Online   content
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
suggestion: rename the custompal3.php to custompalx.php to prevent me from overwriting someone's already in use custompal3 <img src="http://www.ubbdev.com/forum/images/graemlins/smash.gif" alt="" /> <br /> <br />I had renamed it to custompal7 but accidently clicked on the old one after opening an ftp connection smirk I don't have a backup either <img src="http://www.ubbdev.com/forum/images/graemlins/smash.gif" alt="" /> Users will still need to rename it to something else, but there won't be a custompal3 sitting on their harddrive to overwrite another one <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#260224 - 01/12/04 12:56 PM Re: Photopost Pal 1.3 [Re: SurfMinister]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
I am up to custombox90000pal.php already...
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#260225 - 01/12/04 10:32 PM Re: Photopost Pal 1.3 [Re: SurfMinister]
smoknz28 Offline
Enthusiast

Registered: 04/10/03
Posts: 393
Loc: Washington, D.C.
[]AllenAyres said:<br />mine too... did you remember to edit the bottom of the custompal3.php file to point back to your forum's database? [/]<br /><br />Grrrr....hate when that happens!<br /><br />Figures it was something simple that I was overlooking. <img src="http://www.ubbdev.com/forum/images/graemlins/blush.gif" alt="" /><br /><br />Thanks guys.
_________________________
F-Body Hideout
Project Speedy

Top
#260226 - 01/14/04 09:50 AM Re: Photopost Pal 1.3 [Re: sf49rminer]
deltajo Offline
Power User

Registered: 09/05/00
Posts: 61
Loc: Vancouver, British Columbia, C...
It's odd...... on mine, I found I couldn't get this to work unless I commented-out the last line. When I put my forum database name in there, it stopped working. The only problem I've found is that the Max Online in the ShortStats Pal (which is below the PhotoPost Pal along with other Pal boxes) doesn't convert the Unix time into normal time. Or at least I think that's the only problem.<br /><br />I also tried adding above the last line:<br />mysql_connect ('localhost', 'name-of-my-database', 'password');<br />...and that worked just the same as when the last line is commented-out.

Top
#260227 - 01/14/04 11:10 AM Re: Photopost Pal 1.3 [Re: icewind]
Pasqualist Offline
Member

Registered: 01/30/03
Posts: 285
Loc: Amsterdam, The Netherlands
I'm also allowing multimedia uploads (short movies) in photopost and this causes a "N/A" in my Photopost Pal.<br />Any idea how I could prevent this ?

Top
#260228 - 01/14/04 04:28 PM Re: Photopost Pal 1.3 [Re: sf49rminer]
Pasqualist Offline
Member

Registered: 01/30/03
Posts: 285
Loc: Amsterdam, The Netherlands
Any idea what might be causing this? >>> <br /> <br />As soon as I activate my Photopost Pal in IIP, my status box gets messed up. <br /> <br />I also tried this with a different user and the same problem occurs (with that same 'p') <br /> <br />The statusbox shout read: <br />... you as Pasqual (Pasqual), Administrator, with 513 posts. You have 255 (0 new) private messages. <br /> <br /> <br />When I switch it off, statusbox is ok.


Attachments