php forum
php mysql forum
php mysql smarty
 
Page 13 of 15 < 1 2 ... 11 12 13 14 15 >
Topic Options
#256622 - 09/15/03 11:04 AM Re: Beta-[6.3] HiveMail - Integration 1.0 [Re: MRLefferts]
Charles Offline
Veteran

Registered: 10/22/00
Posts: 2637
Loc: London, UK
_________________________
Do you believe in love at first sight,
or should I walk by again?

Top
#256623 - 09/15/03 11:12 AM Re: Beta-[6.3] HiveMail - Integration 1.0 [Re: egor]
donJulio Offline
Code Monkey

Registered: 06/17/02
Posts: 682
Loc: CA, USA
[] don Julio you will need to add {} around the database call. [/] <br />Why? Everything seems to be working fine for me now. What file would I do this in anyways?
_________________________
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
#256624 - 09/15/03 11:19 AM Re: Beta-[6.3] HiveMail - Integration 1.0 [Re: luan]
Charles Offline
Veteran

Registered: 10/22/00
Posts: 2637
Loc: London, UK
in doapproveuser.php because otherwise you will get an error when deleting a user in the queue.<br /><br />This makes me think I forgot to put in the zip the instruction for dodeleteuser.php for deleting the email account when you delete a user.
_________________________
Do you believe in love at first sight,
or should I walk by again?

Top
#256625 - 09/15/03 12:10 PM Re: Beta-[6.3] HiveMail - Integration 1.0 [Re: egor]
donJulio Offline
Code Monkey

Registered: 06/17/02
Posts: 682
Loc: CA, USA
[]Charles said:<br />in doapproveuser.php because otherwise you will get an error when deleting a user in the queue.<br /><br />This makes me think I forgot to put in the zip the instruction for dodeleteuser.php for deleting the email account when you delete a user. [/]<br /><br />I believe you're right about hte dodeleteuser.php, because when I deleted test users I set up, they still had their email accounts.
_________________________
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
#256626 - 09/15/03 02:59 PM Re: Beta-[6.3] HiveMail - Integration 1.0 [Re: luan]
Tom_H Offline
Journeyman

Registered: 08/20/03
Posts: 134
Just finished looking over the HiveMail 1.2.2 upgrade and line comparing the 3 change files in the integration hack. There does not seem to be any changes in the three 1.2.1 unhacked files and the 1.2.2 unhacked files. <br /> <br /> - conclusion - <br /> <br />Hacks to those files should not harm the upgrade and, for that matter - it appears that you can copy your hacked files and replace the 1.2.2 upgrade files. <br /> <br />When my upgrade to 1.2.2 is complete I will post any complications with the hack and 1.2.2 - if in fact there are any. <br /> <br />I do anticipate having to run the SQL command at the bottom of the hack instructions to change the prefix... <br /> "Replace all "vb_" parts with "ubbt_"" ... as the upgrade states that there are mySQL changes. <br /> <br />Tom

Top
#256627 - 09/15/03 04:04 PM Re: Beta-[6.3] HiveMail - Integration 1.0 *DELETED* [Re: mdr]
Tom_H Offline
Journeyman

Registered: 08/20/03
Posts: 134
Post deleted by Tom_H

Top
#256628 - 09/15/03 04:24 PM Re: Beta-[6.3] HiveMail - Integration 1.0 [Re: mdr]
Tom_H Offline
Journeyman

Registered: 08/20/03
Posts: 134
Charles - <br /><br />Great work on the "login name" as "email address name". It works great and is exactly what I needed to make this complete for my site.<br /><br />Kudos and Thank You for all your help.<br /><br />Tom

Top
#256629 - 09/15/03 05:18 PM Re: Beta-[6.3] HiveMail - Integration 1.0 [Re: mdr]
Tom_H Offline
Journeyman

Registered: 08/20/03
Posts: 134
There is a problem in the SQL part of the hack as combined with upgrade to 1.2.2.... <br /> <br />Here is a sample of the SQL error given in HiveMail when checking new messages: <br /> <br />---ERROR--------------------------------------------------- <br /> <br />MySQL error: You have an error in your SQL syntax near 'SET hm_emails = hm_emails - 1 <br /> WHERE hm_userid = 7 <br /> ' at line 2 <br />MySQL error number: 1064 <br />Script: /hivemail/read.email.php?hivesession=6b3cbc5cf552b93379b15d3b50c41f8b&messageid=58&hivesession=6b3cbc5cf552b93379b15d3b50c41f8b <br />Date: September 15, 2003, 5:14 pm <br /> <br />Invalid query: UPDATE <br /> SET hm_emails = hm_emails - 1 <br /> WHERE hm_userid = 7 <br /> <br />---ERROR--------------------------------------------------- <br /> <br />Tom

Top
#256630 - 09/15/03 05:20 PM Re: Beta-[6.3] HiveMail - Integration 1.0 *DELETED* [Re: mdr]
Tom_H Offline
Journeyman

Registered: 08/20/03
Posts: 134
Post deleted by Tom_H

Top
#256631 - 09/15/03 07:48 PM Re: Beta-[6.3] HiveMail - Integration 1.0 [Re: mdr]
Tom_H Offline
Journeyman

Registered: 08/20/03
Posts: 134
OK - I found it... <br /> <br />MySQL error 1064 is a parse error and since there wasn't anything blatantly wrong in the "read.email.php" hack I decided to replace the integer '1' with a variable set equal to one. It worked and now no errors. Charles please update the zip with this change as it will not affect HiveMail 1.2.1. <br /> <br />Here's what you need to do... <br /> <br />---CHANGES-------------------------------------------------- <br /> <br />In read.email.php <br />
Code:
 <br /> ---add as the first line of actual code below the comments--- <br /> <br />$digit = 1; <br /> <br />--------------------------- <br /> <br />---then change this-------- <br /> <br />$DB_site-&gt;query("UPDATE $threadsusertable <br />	SET hm_emails = hm_emails - 1 <br />	WHERE hm_userid = $hiveuser[userid] <br />		"); <br />	} <br /> <br />---to this----------------- <br /> <br />$DB_site-&gt;query("UPDATE $threadsusertable <br />	SET hm_emails = hm_emails - $digit <br />	WHERE hm_userid = $hiveuser[userid] <br />		"); <br />	}// added var $digit <br /> <br />
<br /> <br />---END CHANGES---------------------------------------------- <br /> <br />With this change everything seems to be working perfectly. If I come across any more errors I will post them and hopefully post the corrections. <br /> <br />Tom

Top
#256632 - 09/16/03 03:12 PM Re: Beta-[6.3] HiveMail - Integration 1.0 [Re: egor]
donJulio Offline
Code Monkey

Registered: 06/17/02
Posts: 682
Loc: CA, USA
[]Charles said:<br />just for info: HiveMail 1.2.2 has been released today, it is a bugfix version for 1.2.1 [/]<br /><br />Are there going to be any problems using this same hack w/ version 1.2.2 of Hivemail? I would hope not. I seem to have everything working correctly now and am almost afraid to tinker with any of it.
_________________________
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
#256633 - 09/16/03 03:22 PM Re: Beta-[6.3] HiveMail - Integration 1.0 [Re: luan]
Charles Offline
Veteran

Registered: 10/22/00
Posts: 2637
Loc: London, UK
now since it only fixes some bugs and doesn't intervene in hacked part you should have no problems.
_________________________
Do you believe in love at first sight,
or should I walk by again?

Top
#256634 - 09/16/03 03:28 PM Re: Beta-[6.3] HiveMail - Integration 1.0 [Re: egor]
donJulio Offline
Code Monkey

Registered: 06/17/02
Posts: 682
Loc: CA, USA
[]Charles said:<br />now since it only fixes some bugs and doesn't intervene in hacked part you should have no problems. [/]<br />Thanks! I wish Hivemail was a little more forthcoming about what's going into future version similar to the changelog for threads that Infopop maintains, as well as letting us know what bugs were fixed w/ the new version.
_________________________
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
#256635 - 09/16/03 04:23 PM Re: Beta-[6.3] HiveMail - Integration 1.0 [Re: luan]
Tom_H Offline
Journeyman

Registered: 08/20/03
Posts: 134
When editing and updating my profile I encountered this... <br /> <br />--ERROR---------------------------------------------------- <br />Fatal error: Cannot redeclare hivemail_check_name() (previously declared in /home/tomh68/public_html/hivemail/includes/ubbthreads_plugin.php:113) in /home/tomh68/public_html/hivemail/includes/ubbthreads_plugin.php on line 111 <br />--END ERROR------------------------------------------------ <br /> <br />I have changed "require" to "require_once" in changebasic.php and editbasic.php yet still get the error. <br />Any suggestions? <br /> <br /> <br />--EDIT----------------------------------- <br /> <br />Happens on all users when I try to <br />upgrade personal settings. <br /> <br />--END EDIT------------------------------- <br /> <br />Tom

Top
#256636 - 09/16/03 04:57 PM Re: Beta-[6.3] HiveMail - Integration 1.0 [Re: mdr]
Charles Offline
Veteran

Registered: 10/22/00
Posts: 2637
Loc: London, UK
ok tom will look into it
_________________________
Do you believe in love at first sight,
or should I walk by again?

Top
#256637 - 09/16/03 05:08 PM Re: Beta-[6.3] HiveMail - Integration 1.0 [Re: egor]
Tom_H Offline
Journeyman

Registered: 08/20/03
Posts: 134
The only call to hivemail_check_name() in the hacked files occurs in adduser.php line 230.

Top
#256638 - 09/16/03 05:12 PM Re: Beta-[6.3] HiveMail - Integration 1.0 [Re: egor]
Charles Offline
Veteran

Registered: 10/22/00
Posts: 2637
Loc: London, UK
try using require once in ubbt.inc.php
_________________________
Do you believe in love at first sight,
or should I walk by again?

Top
#256639 - 09/16/03 05:28 PM Re: Beta-[6.3] HiveMail - Integration 1.0 [Re: egor]
Tom_H Offline
Journeyman

Registered: 08/20/03
Posts: 134
BINGO!<br /><br />Nice work Charles - It is nice to know that I was on the right track.<br /><br />Should I change the other files back to 'require' or leave them 'require_once'?<br /><br />Tom

Top
#256640 - 09/16/03 09:46 PM Re: Beta-[6.3] HiveMail - Integration 1.0 [Re: egor]
donJulio Offline
Code Monkey

Registered: 06/17/02
Posts: 682
Loc: CA, USA
I've upgraded hivemail to version 1.2.2 and it's still working like a charm <img src="/forum/images/graemlins/smile.gif" alt="" /> Just remember that you have to replace vb_ with ubbt_ in the login template because the upgrade script reverts it back to the original version.
_________________________
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
#256641 - 09/16/03 10:56 PM Re: Beta-[6.3] HiveMail - Integration 1.0 [Re: luan]
Tom_H Offline
Journeyman

Registered: 08/20/03
Posts: 134
donjulio -<br /><br />Did you need to make the variable change in read.email.php - or did yours work without the change?<br /><br />Mine needed the fix because I was getting and error when attempting to read new emails - just wondering if yours did the same?<br /><br />Tom

Top
Page 13 of 15 < 1 2 ... 11 12 13 14 15 >


Moderator:  Ian_W 
Who's Online
0 registered (), 26 Guests and 12 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Wisdom needed
by Gizmo
Yesterday at 10:54 AM
How to hide sub forums from summary page
by blaaskaak
12/03/08 09:54 AM
Spell Check [beta]
by Bill B
12/01/08 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
12/01/08 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
12/01/08 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
12/01/08 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
Truth, David DelMonte, nick1, Begbie, cenk
13364 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks