PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Bug Reports

Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old July 17th, 2005, 06:46 AM   #1 (permalink)
Registered User
 
Join Date: Jul 2005
Posts: 6
Exclamation 5.13 - Users with the same IP not counted(NOT A BUG)

Not really a bug in the sense it prevents the program from working, but the "ip_online" table uses MysQL "UPDATE"s based on the primary key "ipaddr" (IP address) in function update_whoonline (vb3.php in my case)

This as the side effect to "hide" different users surfing with the same IP (intranet, universities, or... me testing my website with 2 browsers).

There should be a real "unique key" not based on the sole IP.

You can do this this way :
1) DROP the primary key based on "ipaddr".
2) ALTER TABLE pp_iponline ADD PRIMARY KEY (userid,ipaddr)

Last edited by Sebbb; July 17th, 2005 at 07:18 AM.
Sebbb is offline   Reply With Quote
Old July 17th, 2005, 06:56 AM   #2 (permalink)
Registered User
 
Join Date: Jul 2005
Posts: 6
I also think this piece of code

Code:
Content visible to verified customers only.
in pp-inc.php

Should actually be part of vb3.php's procedure "update_whoonline" as it's only used once. The "600" should be a control panel option imho, as this "session timeout" can be changed in Vbulletin .

Finally, ipaddr is defined as a varchar(75), not sure why (might be a reason for that), but an IP cannot be bigger than XXX.YYY.ZZZ.WWW (15 chars). Okay it's a detail

Just a couple of suggestions.

Last edited by Sebbb; July 17th, 2005 at 07:25 AM.
Sebbb is offline   Reply With Quote
Old July 21st, 2005, 02:32 PM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,744
This is not a bug and the code is fine in pp-inc.php as whether we run it there or in the function it does not matter.

If you call update_whosoonline the code in that function or in pp-inc.php does the same and in fact the reason it is in pp-inc.php so we are not placing the code in 15 different integration files which would be lengthy
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Users browsing bug Johnny Doomo Photopost Pro How Do I...? 2 November 4th, 2005 11:32 AM
allowing unregistered users to upload...(NOT A BUG) Johnny Doomo Photopost Pro Bug Reports 6 July 18th, 2005 04:52 PM
Categories Not Counted In Limit ConqSoft vBGallery Suggestions 4 July 8th, 2005 04:43 PM


All times are GMT -5. The time now is 07:27 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0