php forum
php mysql forum
php mysql smarty
 
Page 1 of 15 1 2 3 ... 14 15 >
Topic Options
#256382 - 08/10/03 10:14 PM Beta-[6.3] HiveMail - Integration 1.0
Stefan_dup1 Offline
Power User

Registered: 02/12/02
Posts: 70
[:"red"]This modification is for experienced users only.[/] <br /> <br />Mod Name / Version: HiveMail - Integration 1.0 <br /> <br />Description: This hack integrates UBB.threads™'s user database with HiveMail and viceversa. When users registers at your forums, they can request an email account too, the internal registration of HiveMail could be optionally switched off. Users will be notified about new mails automatically similar to the pm-system of UBB.threads™. <br /> <br />Working Under: UBB.threads™ 6.3.1 & HiveMail 1.21 <br /> <br />Mod Status: Beta <br /> <br />Any pre-requisites: Working HiveMail 1.21 <br /> <br />Author(s): Charles/marsdev.net & Stefan/thinkfactory.de <br /> <br />Date: 08/10/03 <br /> <br />Files altered in UBB.threads™: adduser.php, changebasic.php, editbasic.php, newuser.php, ubbt.inc.php, ubbthreads.php, editbasic.tmpl, newuser_signup.tmpl, doapproveuser.php, newpm.gif <br /> <br />Files altered in HiveMail: global.php, options.password.php, read.email.php and the Template 'login' <br /> <br />New Files in UBB.threads™: newem.gif <br /> <br />New Files in HiveMail: includes/ubbthreads_plugin.php <br /> <br />Database altered for UBB.threads™: Yes - see documentation. <br /> <br />Database altered for HiveMail: Yes - see documentation. <br /> <br />Info/Instructions: "Remember: Safe often, save early" (Leisure Sweet Larry I from Sierra, 1991) - so make a backup before changing anything! <br /> <br /> <br />Download: Click here! <br /> <br />[]http://www.thinkfactory.de/downloads/counter/test.png[/] <br /> <br /> <br />Disclaimer: Please backup every file that you intend to modify. If the modification modifies the database, it's a good idea to backup your database before doing so. <br /> <br />Note: If you modify your UBB.threads™ code, you may be giving up your right for "official" support from Infopop. If you need official support, you'll need to restore unmodified files. <br />


Edited by Stefan (02/18/04 06:44 AM)

Top
#256383 - 08/10/03 10:22 PM Re: Beta-[6.3] HiveMail - Integration 1.0 [Re: MRLefferts]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Wow - Nice Job. <img src="/forum/images/graemlins/grin.gif" alt="" /><br /><br />Thank you! <img src="/forum/images/graemlins/waytogo.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#256384 - 08/10/03 10:56 PM Re: Beta-[6.3] HiveMail - Integration 1.0 [Re: MRLefferts]
shortbus Offline
Code Monkey

Registered: 04/19/02
Posts: 631
Loc: Enid, Oklahoma
Awesome! Great Job man!

Top
#256385 - 08/11/03 04:52 AM Re: Beta-[6.3] HiveMail - Integration 1.0 [Re: wilstephens]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
Excellent - looked at hivemail myself recently would be a great add on.
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#256386 - 08/11/03 07:41 AM Re: Beta-[6.3] HiveMail - Integration 1.0 [Re: Gorlum]
jluerken Offline
Member

Registered: 08/27/02
Posts: 233
Please remember that UBB.threads/UBB.threads.sql must look different if you're using table prefixes.<br />
Code:
<br />ALTER TABLE w3t_user ADD hm_userid int(10) unsigned NOT NULL default "0";<br />
<br />must be changed to <br />
Code:
<br />ALTER TABLE ***PREFIX***_user ADD hm_userid int(10) unsigned NOT NULL default "0";<br />
where ***PREFIX*** is your table prefix.<br /><br />For the hivemail.sql its not needed to do any changes cause in the actual version hivemail does not support prefixes <img src="/forum/images/graemlins/laugh.gif" alt="" />
_________________________
Ciao jluerken
--------------------
www.uce-clan.de www.clanforums.com

[]http://www.uce-clan.de/images/uce_banner2.gif[/]

Top
#256387 - 08/11/03 07:44 AM Re: Beta-[6.3] HiveMail - Integration 1.0 [Re: edr]
jluerken Offline
Member

Registered: 08/27/02
Posts: 233
One additional thing again: <br /> <br />Within UBB.threads.sql the line must be <br />
Code:
 <br />ALTER TABLE w3t_Users ADD hm_userid int(10) unsigned NOT NULL default "0"; <br />
<br />and not <br />
Code:
 <br />ALTER TABLE w3t_user ADD hm_userid int(10) unsigned NOT NULL default "0"; <br />
<br /> <br />I phoned Stefan and he changed the .Zip File already <img src="/forum/images/graemlins/laugh.gif" alt="" />
_________________________
Ciao jluerken
--------------------
www.uce-clan.de www.clanforums.com

[]http://www.uce-clan.de/images/uce_banner2.gif[/]

Top
#256388 - 08/11/03 07:45 AM Re: Beta-[6.3] HiveMail - Integration 1.0 [Re: edr]
Stefan_dup1 Offline
Power User

Registered: 02/12/02
Posts: 70
Zip fixed <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Gruß/Regards
Stefan
thinkfactory™

Top
#256389 - 08/11/03 08:33 AM Re: Beta-[6.3] HiveMail - Integration 1.0 [Re: MRLefferts]
msula Offline
Addict

Registered: 02/18/02
Posts: 1969
Loc: Lansing, Michigan
Oh my, you are my hero!<br /><br />One question.. do you have any provisions for allowing hivemail to access to only certain groups? For example I just want my paying members to be able to setup accounts, not everyone <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />Othewise, looks awesome!

Top
#256390 - 08/11/03 09:14 AM Re: Beta-[6.3] HiveMail - Integration 1.0 [Re: palmen]
Stefan_dup1 Offline
Power User

Registered: 02/12/02
Posts: 70
Hi Jeremy,<br /><br />the hack actually doesn't know anything about usergroups from threads ...
_________________________
Gruß/Regards
Stefan
thinkfactory™

Top
#256391 - 08/11/03 09:14 AM Re: Beta-[6.3] HiveMail - Integration 1.0 [Re: palmen]
ericgtr Offline
Junior Member

Registered: 05/12/03
Posts: 1109
If anyone get's this working under 6.2.3 let me know, looks like a great addition.

Top
#256392 - 08/11/03 09:29 AM Re: Beta-[6.3] HiveMail - Integration 1.0 [Re: palmen]
Charles Offline
Veteran

Registered: 10/22/00
Posts: 2637
Loc: London, UK
In fact this would be quite easy to add. just remove the bit on registration page and in the my home part modify the code so that it check for the user group beforehand.<br /><br />I do not have the code with me right now but if you need some help let me know I'll post it.
_________________________
Do you believe in love at first sight,
or should I walk by again?

Top
#256393 - 08/11/03 09:34 AM Re: Beta-[6.3] HiveMail - Integration 1.0 [Re: egor]
Charles Offline
Veteran

Registered: 10/22/00
Posts: 2637
Loc: London, UK
oups mistake <img src="/forum/images/graemlins/tongue.gif" alt="" />


Edited by Charles (08/11/03 09:34 AM)
_________________________
Do you believe in love at first sight,
or should I walk by again?

Top
#256394 - 08/11/03 10:01 AM Re: Beta-[6.3] HiveMail - Integration 1.0 [Re: egor]
msula Offline
Addict

Registered: 02/18/02
Posts: 1969
Loc: Lansing, Michigan
Hmm.. well the basis of the hack is perfect, clean interface, easy to use.. so I guess what I'm looking to do is disable the ability for new users to choose an email when they sign up. And essentially, only allow users in my "paying" groups to have the webmail link in their top window and if they don't have an account when they click on it they see the email signup page.<br /><br />I know that is probably a bit beyond a "simple" fix.. but if anyone is interested in making this possible, please let me know <img src="/forum/images/graemlins/wink.gif" alt="" />

Top
#256395 - 08/11/03 10:10 AM Re: Beta-[6.3] HiveMail - Integration 1.0 [Re: palmen]
Charles Offline
Veteran

Registered: 10/22/00
Posts: 2637
Loc: London, UK
not it is an easy fix I can do it for you
_________________________
Do you believe in love at first sight,
or should I walk by again?

Top
#256396 - 08/11/03 10:15 AM Re: Beta-[6.3] HiveMail - Integration 1.0 [Re: egor]
msula Offline
Addict

Registered: 02/18/02
Posts: 1969
Loc: Lansing, Michigan
That would be great charles, just let me know if you need any specific information or if I didn't explain what I needed clearly <img src="/forum/images/graemlins/smile.gif" alt="" />

Top
#256397 - 08/11/03 10:24 AM adding group control [Re: palmen]
Charles Offline
Veteran

Registered: 10/22/00
Posts: 2637
Loc: London, UK
in editbasic.php <br /> <br />at the top of file <br /> <br />modify the auth line to have something like: <br />
Code:
 <br />$user = $userob -&gt; authenticate("U_Groups"); <br />
<br /> <br />find what you added for the modification: <br />
Code:
 <br />//If user has HiveMail Account do not show Form <br />if  ($hm_userid != '0') { <br />	$choosehmname = ""; <br /> <br />} <br />
<br /> <br />replace by: <br />
Code:
 <br />//If user has no rights or has HiveMail Account do not show Form <br />if( (!preg_match("/-5-/",$user['U_Groups'])) or ($hm_userid != '0')) { <br />	$choosehmname = ""; <br />} <br />
<br />replace 5 by your group number <br /> <br />this is not tested let me know how it goes <br />
_________________________
Do you believe in love at first sight,
or should I walk by again?

Top
#256398 - 08/11/03 10:26 AM Re: adding group control [Re: egor]
msula Offline
Addict

Registered: 02/18/02
Posts: 1969
Loc: Lansing, Michigan
[]Charles said:<br />in editbasic.php<br /><br />at the top of file<br /><br />modify the auth line to have something like:<br />
Code:
<br />$user = $userob -&gt; authenticate("U_Groups");<br />
<br /><br />find what you added for the modification:<br />
Code:
<br />//If user has HiveMail Account do not show Form<br />if  ($hm_userid != '0') {<br />	$choosehmname = "";<br /><br />}<br />
<br /><br />replace by:<br />
Code:
<br />//If user has no rights or has HiveMail Account do not show Form<br />if( (!preg_match("/-5-/",$user['U_Groups'])) or ($hm_userid != '0')) {<br />	$choosehmname = "";<br />}<br />
<br />replace 5 by your group number<br /><br />this is not tested let me know how it goes<br /> [/]<br /><br />Great, I'll give it a try a little later today. Thanks!

Top
#256399 - 08/11/03 11:11 AM Re: Beta-[6.3] HiveMail - Integration 1.0 [Re: palmen]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
[]Jeremy said:<br />Oh my, you are my hero!<br /><br />One question.. do you have any provisions for allowing hivemail to access to only certain groups? For example I just want my paying members to be able to setup accounts, not everyone <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />Othewise, looks awesome! [/]<br /><br />But it looks like you signup in the profile.... it would be very easy to restrict access to that part (hide it) in the profile and only display it for certain groups. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#256400 - 08/11/03 11:11 AM Re: Beta-[6.3] HiveMail - Integration 1.0 [Re: Daine]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Never mind - I see it was already addressed when I got to page 2. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#256401 - 08/11/03 11:42 AM Re: Beta-[6.3] HiveMail - Integration 1.0 [Re: Daine]
Charles Offline
Veteran

Registered: 10/22/00
Posts: 2637
Loc: London, UK
I told you that once I got back to threads it would be nasty <img src="/forum/images/graemlins/tongue.gif" alt="" /><br /><br />this makes it my second *offical* modification for threads <img src="/forum/images/graemlins/tongue.gif" alt="" />
_________________________
Do you believe in love at first sight,
or should I walk by again?

Top
Page 1 of 15 1 2 3 ... 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