Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Bug Reports
 PowerHome Messageboard : PowerHome Bug Reports
Subject Topic: ph_setccbtn Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
fasttimes
Groupie
Groupie


Joined: March 12 2006
Online Status: Offline
Posts: 63
Posted: October 16 2006 at 13:41 | IP Logged Quote fasttimes

Dave,

I can no longer get this function to work at all. It always evaluates to !
Back to Top View fasttimes's Profile Search for other posts by fasttimes
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: October 16 2006 at 14:05 | IP Logged Quote TonyNo

Check the changes.txt file. I bet it changed in the last version.
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
fasttimes
Groupie
Groupie


Joined: March 12 2006
Online Status: Offline
Posts: 63
Posted: October 16 2006 at 20:13 | IP Logged Quote fasttimes

Yup, it was deleted.

Dave, can you explain which function replaces this and how the function call works?

Edited by fasttimes - October 16 2006 at 20:33
Back to Top View fasttimes's Profile Search for other posts by fasttimes
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: October 17 2006 at 16:33 | IP Logged Quote dhoward

Fasttimes,

Yep, the ph_setccobj function replaced the ph_setccbtn function. Actually, all of the ph_getccbtn??? and ph_setccbtn??? functions have been replaced with equivalent ph_getccobj??? and ph_setccobj??? functions.

All of the parameters remain the same except for the second parameter which was originally an integer named "sequence" which corresponded to the button sequence number. This parameter is now a string named "ID" and is the objects' ID instead. When your database was upgraded, all existing buttons were given default ID's.

Let me know if you have any problems,

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum