| |
Anyone know how to modify this? | |
|---|---|---|
| starteck2002 | Posted: 29.08.2005, 23:03 | |
Noob
registered: Jul 02, 2003
Posts: 4
Status: offline last visit: 30.08.05 |
This bit of code will display a gif image if there is any unread PM's. I purchased PMBOX Messenger from PortalZine and this code does not work for that (looks at wrong tables). Alex (of PortalZine) has not been around for a while due to illness so I can't ask him and to add to that he has encoded his block with ioncube so i can't look at that either Anyone have any ideas? I can give full access to my site for anyone who is interested in getting this working. TIA, Dave |
|
|
|
|
|
| Chestnut | Posted: 29.08.2005, 23:19 | |
|
Site Admin
registered: Jun 02, 2002
Posts: 1320
Status: offline last visit: 07.02.08 |
Little clean up first Now I modified the table call to give you a more easy way to change the table the code must look in : And I added the pnModDBInfoLoad that you will probably need if you are getting the tables of the pmBOX instead of the original ones. Just remove the // in front of it. Lastly, remember to change the "pathto/flashing/image....." :wink: Chestnut ! ![]() Site Admin |
|
|
|
|
|
| starteck2002 | Posted: 30.08.2005, 00:23 | |
Noob
registered: Jul 02, 2003
Posts: 4
Status: offline last visit: 30.08.05 |
I must be doing something wronmg I've changed the tables, added a bit to show the number of messages as well as the graphic but it's still not working. I've attached a screen grab of the DB. I suppose it might help if I actually understood what I was doing. Thanks very much for your help so far Frank ![]() |
|
|
|
|
|
| Chestnut | Posted: 30.08.2005, 01:06 | |
|
Site Admin
registered: Jun 02, 2002
Posts: 1320
Status: offline last visit: 07.02.08 |
Variables are not parsed between single quotes : And lastly, it is better to check if you have an sql error... As for the rest................ :?: By the way... only to put that question away... I hope for you that you have at least 1 unread message because if not... :wink: Chestnut ! ![]() Site Admin |
|
|
|
|
|
| Chestnut | Posted: 30.08.2005, 01:09 | |
|
Site Admin
registered: Jun 02, 2002
Posts: 1320
Status: offline last visit: 07.02.08 |
aw dammit....... SIGH !!!! SO WRONG !!!!!!! Should be : Chestnut ! ![]() Site Admin |
|
|
|
|
|
| starteck2002 | Posted: 30.08.2005, 10:32 | |
Noob
registered: Jul 02, 2003
Posts: 4
Status: offline last visit: 30.08.05 |
yes, there is at least one unread message I'll give this a go tonight and see if it works. This is all because I designed a theme and it requires the number of unread pm's to be displayed - i thought it was a really easy task Anyone heard any news about Alex (PortalZine)? Hope he's ok. |
|
|
|
|
|
| starteck2002 | Posted: 30.08.2005, 13:32 | |
Noob
registered: Jul 02, 2003
Posts: 4
Status: offline last visit: 30.08.05 |
This is now working but shows all messages, not just unread messages. Any ideas on what to do next? Thanks for your help, Dave EDIT : Code tag, code tag, code tag, code tag.... |
|
|
|
|
|
| Chestnut | Posted: 30.08.2005, 14:25 | |
|
Site Admin
registered: Jun 02, 2002
Posts: 1320
Status: offline last visit: 07.02.08 |
mmm... I don't see much... The where is there. Chestnut ! ![]() Site Admin |
|
|
|
|
|
Powered by pnForum Version 2.0.1




