Anasayfa FORUMLAR Üye Girişi Dosyalar Dersler İpuçları Yardımcı Araçlar Hakkımızda
KİMLER BAĞLI
Toplam Üye: 32638
Aktif Üye: 0
Aktif Ziyaretçi: 1255
Üye Adı
Şifre
Beni Hatırla
          Yeni Üye KayıtYeni Üye Kayıt
          Şifremi UnuttumŞifremi Unuttum
FORUMLAR
 ??? Sitem deki Haberleri ..
(25633 okuma, 26 yanıt)
 Free Hosta Php Nuke Kurul..
(16588 okuma, 14 yanıt)
 EKLENTİ: Misafire mesajın..
(37356 okuma, 38 yanıt)
 Php Nuke 9.0 Geliyor..
(21052 okuma, 19 yanıt)
 Bu başlık için mesaj bulu..
(14197 okuma, 15 yanıt)
 Facebook Sohbet Tipi Sohb..
(17988 okuma, 15 yanıt)
 üye aktivasyon..
(10727 okuma, 8 yanıt)
 Facebook tarzı altbar... ..
(6322 okuma, 1 yanıt)
 kaldırmak istediğim bölüm..
(6594 okuma, 2 yanıt)
 Resimli RSS..
(23413 okuma, 25 yanıt)
 Onay linkini kaldirmak..
(11159 okuma, 8 yanıt)
 Yardım :( Site açılırken ..
(6707 okuma, 2 yanıt)
 .Htaccess ile uzantıda ke..
(8374 okuma, 4 yanıt)
 block genişliği..
(5753 okuma, 1 yanıt)
 Haber Resimleri ve Slide ..
(14536 okuma, 12 yanıt)
 Foruma büyük boyutlu resi..
(7374 okuma, 3 yanıt)
 Php-Nuke 8.0 Paket..
(9500 okuma, 6 yanıt)
 Hangi sürümü önerirsiniz?..
(10573 okuma, 8 yanıt)
 ethai1 3..
(13288 okuma, 10 yanıt)
 Yeni PEHASPESEO..
(70672 okuma, 82 yanıt)
 Türkçe Karakter sorunu ?..
(38094 okuma, 36 yanıt)
 tek modul için sağ ve sol..
(11485 okuma, 8 yanıt)
 Php-nuke8.0 başlıklarda t..
(10663 okuma, 8 yanıt)
 Phpden iyi anlayan..
(5499 okuma, 1 yanıt)
 Php nuke 7.6 - 3.1 patch ..
(74073 okuma, 89 yanıt)
 Mp3 Üst Player Yardım..
(29887 okuma, 40 yanıt)
 Toplu üyelik silme?..
(11212 okuma, 8 yanıt)
 Çözümleyemediğim hata.....
(12500 okuma, 11 yanıt)
 bloğu kayan hale getirmek..
(6009 okuma, 2 yanıt)
 Makale modulu..
(8642 okuma, 5 yanıt)
 PHP-Nuke Haber V.1 Paylas..
(86278 okuma, 121 yanıt)
 title değiştirme..
(10446 okuma, 6 yanıt)
 Arkadaşlar bu sorunun çöz..
(10103 okuma, 6 yanıt)
 Php Nuke 8.1..
(4376 okuma, 0 yanıt)
 merhaba..
(10348 okuma, 9 yanıt)
 Anasayfa için boş modül o..
(13650 okuma, 13 yanıt)
 admin panelinde Access De..
(6463 okuma, 2 yanıt)
 Bu başlığa hiç cevap gelm..
(26642 okuma, 25 yanıt)
 Nuke Tema yapilisi..
(17214 okuma, 16 yanıt)
 Mavisce-net temasina bann..
(8786 okuma, 6 yanıt)
 PHP-Nuke wTeam - eklentil..
(6678 okuma, 2 yanıt)
 coppermine hata..
(10779 okuma, 8 yanıt)
 içerik tanıtımı..
(6338 okuma, 2 yanıt)
 Haber Ve İçeriğe Resim Ek..
(7223 okuma, 3 yanıt)
 google keywords..
(9034 okuma, 6 yanıt)
 8.0'da html sorunu..
(5542 okuma, 1 yanıt)
 PHP-Nuke_8.1.3.5+NukeSent..
(54818 okuma, 76 yanıt)
 üye olunurken gereksiz is..
(10102 okuma, 7 yanıt)
 Arkadaşlar kolifa haber s..
(6407 okuma, 2 yanıt)
 Hesabınız'a tıklayınca te..
(10606 okuma, 7 yanıt)
Netopsiyon Online: Forums
Netopsiyon Online :: Başlık görüntüleniyor - SquirrelMail'i pnuke'a entegre etmek!
 AramaArama   RütbelerRütbeliler   ProfilProfil   GirişGiriş 


SquirrelMail'i pnuke'a entegre etmek!

 
Bu forum kilitlendi: mesaj gönderemez, cevap yazamaz ya da başlıkları değiştiremezsiniz   Bu başlık kilitlendi: mesajları değiştiremez ya da cevap yazamazsınız    Netopsiyon Online Forum Ana Sayfa -> Php-Nuke
Önceki başlık :: Sonraki başlık  
Yazar Mesaj
-EM-
Mesaj: 1+
Mesaj: 1+





Kayıt: Aug 30, 2005
Mesajlar: 12
Konum: Yok

MesajTarih: 2006-06-23, 17:38:07    Mesaj konusu: SquirrelMail'i pnuke'a entegre etmek! Alıntıyla Cevap Gönder

Merhaba!
Ben SquirrelMail'i phpnuke'a entegre etmek istiyorum. Yani kullanici uye olundugu zaman kullanici adi ve shifresiyle maile de girish yapa bilsin. Boyle bir shey mumkunmu. Eger kucukde olsa bu konuda bilgisi olan varsa yardim etsin. Belki devamini kendim olushtura bilirim.
Yardiminiz ichin shimdiden teshekkurler!
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder
Bu Site Google Adsense ile Gelir Elde Ediyor









Tarih: 2024-06-26, 16:17:37    Mesaj konusu: Forum Arası Reklamlar


Başa dön
serserialper21
Mesaj: 1000+
Mesaj: 1000+





Kayıt: Jan 02, 2006
Mesajlar: 1660
Konum: Diyarbakır

MesajTarih: 2006-06-23, 17:41:25    Mesaj konusu: Alıntıyla Cevap Gönder

Sımdı sen kullanıcıya mail werecek isen bunu cpanel'den yapacan hem her kullanıcıyada mail veremessin kı mail'lerinde cpanel'de limiti vardır benim 200 tane mesela
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder E-posta gönder Yazarın web sitesini ziyaret et AIM Adresi Yahoo Messenger MSN Messenger
-EM-
Mesaj: 1+
Mesaj: 1+





Kayıt: Aug 30, 2005
Mesajlar: 12
Konum: Yok

MesajTarih: 2006-06-23, 17:48:44    Mesaj konusu: Alıntıyla Cevap Gönder

Yok ben cpanelden mail vermeyecegim.
SquirrelMail'i kendim mail hosting-de kuracagim.
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder
PVmaster
Mesaj: 200+
Mesaj: 200+





Kayıt: May 25, 2006
Mesajlar: 208
Konum: PV Ankara

MesajTarih: 2006-06-23, 21:10:29    Mesaj konusu: Alıntıyla Cevap Gönder

Bunun için phpnuke modülü var ama squirel mail mi horde mu neo mu kullanır bilmiyorum.
Modül adı: CPMail aynen bu google da ararsan örnek siteler görebilirsin. copyright bak birinde hangi sitenin ürünü olduğunu öğren ve o siteden indir kur sitene isteyen mail alabilsin.
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et MSN Messenger
yilmazmurat
Mesaj: 1000+
Mesaj: 1000+





Kayıt: Jul 28, 2004
Mesajlar: 2083
Konum: ısparta

MesajTarih: 2006-06-23, 23:03:03    Mesaj konusu: Alıntıyla Cevap Gönder

Ama arkadaş hem üyelik hemde mail hizmetini tek seferde halletmek istiyor.E buda biraz zor neden dersen nuke de nuke_user tablosu tutuyor bunları peki öbür sitem nerde tutyor başka bi sql de yani olayı tek sql e taşımak gerekiyor e buda biraz uzaman işi oluyor SquirrelMail tablolarını nuke_user a addapte etmek yani olayı biraz yeniden kodlamak gerek.
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
-EM-
Mesaj: 1+
Mesaj: 1+





Kayıt: Aug 30, 2005
Mesajlar: 12
Konum: Yok

MesajTarih: 2006-06-24, 10:36:50    Mesaj konusu: Alıntıyla Cevap Gönder

Evet amoki arkadashin dedigi gibi yapmak istiyorum.
Mesela FlashChat'i isterseniz ayri kuruyorsunuz, isterseniz php-nuke ve ya bashka bir cms'ye entegre bir shekilde kuruyorsunuz ve chata ayrica uye olmadan phpnuke uye adi ve shifrenizi yazarak girish yapa biliyorsunuz. Bunu da aynen oyle yapmak mumkunmu acab onu dushunuyorum.
http://www.messin.net/ diye bir site buldum bu konuyla ugrashan, o da shimdi Drupal kullandigi ichin artik phpnuke ichin destek vermiyor.
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder
caglarfatih
Mesaj: 50+
Mesaj: 50+





Kayıt: May 27, 2006
Mesajlar: 81
Konum: Merkezden

MesajTarih: 2006-06-24, 11:15:47    Mesaj konusu: Alıntıyla Cevap Gönder

Arkadaşlar ben ve arkdaşlarım yeni bişey bulduk ilkbaş cpanel den bir mail açıyoruz mesala@gencclup.net bunu msn den açılacak şekilde yapıyoruz sonra o üyenin msn den açılabilen bir maili oluyor ama mailine gelen mesajlara bakamıyor. Very HappyÇünkü cpanel den açılan mail i siliyoruz Ayrıca arkadaşım www.messin.net açılmıyor.
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
-EM-
Mesaj: 1+
Mesaj: 1+





Kayıt: Aug 30, 2005
Mesajlar: 12
Konum: Yok

MesajTarih: 2006-07-14, 17:09:11    Mesaj konusu: Re: SquirrelMail'i pnuke'a entegre etmek! Alıntıyla Cevap Gönder

Merhaba arkadaşlar! Bu konu hakkında bir yazı buldum! Sizinle paylaşmak istedim. Ben daha birşeyler yapamadım. Belki php-den daha iyi anlayanlar çözer.


Alıntı:
I am currently running PHPNuke 7.8 (heavily modded of course ). I am working on a mod that will semi-integrate Squirrelmail's (a PHP based webmail system) user/password MySQL database with PHPNuke's user database. The way it works follows. hMailServer has its tables named hm_*whatever* in the database called nuke. One of these is called hm_accounts. It stores account names, passwords, inbox max size, etc for a given user. It uses the same MD5 hashing as the password stores of PHPNuke. Hence the stored password hash for a user in PHPNuke is the same as a stored password hash for a user on hMailServer. I created the following lines of code to be used at around line 150 in the Your_Account/index.php file:

Kod:
#Mod for hMailServer integration - insert new user
   $inboxsize = "25"; //size in MB of account inbox
   $getuserid = $db->sql_fetchrow($db->sql_query("SELECT user_id from ".$user_prefix."_users where username='$username'"));
   $storeduserid = stripslashes($getuserid['user_id']);
   $getuserpw = $db->sql_fetchrow($db->sql_query("SELECT user_password from ".$user_prefix."_users where username='$username'"));
   $storeduserpw = stripslashes($getuserpw['user_password']);
   $db->sql_query("INSERT INTO hm_accounts VALUES ($storeduserid, 1, 0, '{$username}@crashanime.com', '$storeduserpw', 1, 0, '', '', $inboxsize, 0, '', '', 2)");
#End of hMailServer mod to insert new user



These lines of code effectively add a user into the hm_accounts table using the same information the user provided at the time of signup on the site (this chunk of code is in function activate section of the file). This code comes into play just after the user is fully activated and just before the users information is taken out of nuke_users_temp. So for example...
User A comes along and registers on the site with a username of coolguy33 with a password of "temporary" (temporary = d5197d93c063a2b1e22d1630a39b7aef after it is thrown through md5 hashing). Even though the function of user_id in nuke_users in NULL, which means it takes the next available number in a sequence, we can get this number by using these 2 lines:


Kod:
   $getuserid = $db->sql_fetchrow($db->sql_query("SELECT user_id from ".$user_prefix."_users where username='$username'"));
   $storeduserid = stripslashes($getuserid['user_id']);



Now that we have the user_id tag we have 3 pieces of info:
user_id, username, and userpassword (md5 of course). Lets just say that the user_id was 500. The following line....

Kod:
   $db->sql_query("INSERT INTO hm_accounts VALUES ($storeduserid, 1, 0, '{$username}@crashanime.com', '$storeduserpw', 1, 0, '', '', $inboxsize, 0, '', '', 2)");



... inserts a new user into the hm_accounts table with the same user_id as the PHPNuke user's that was just added. It also adds the username as username@domain.com (where domain.com can be changed to whatever the site's domain is and username is the username coolguy33 in this ex). So in this case it adds the account name of coolguy33@crashanime.com. Finally, the variable $storeduserpw is the MD5 hash of the user's password and it is stored as the password for that user in hmail (So now above and beyond a new PHPNuke user we also have a new e-mail address for him with the same password as his PHPNuke account). The next part of the mod is to make it so that when the user changes his password in Your_Account it changes his hMailServer account password too. This is accomplished at around line 1250 of Your_Account/index.php with the following lines of code:


Kod:
      #hMailServer account password update mod
      $getuserpw = $db->sql_fetchrow($db->sql_query("SELECT user_password from ".$user_prefix."_users where username='$username'"));
      $storeduserpw = stripslashes($getuserpw['user_password']);
      if ($ccpass == $storeduserpw) {
         } else {
         $db->sql_query("UPDATE `hm_accounts` SET accountpassword='$storeduserpw' WHERE accountid='$user_id'");
         }
      #End hMailServer account mod
      Header("Location: modules.php?name=$module_name");



Note: the final line ( Header("Location: modules.php?name=$module_name"); ) had to be moved to the end or else it wouldn't work for quite obvious reasons (it would get redirected before ever crunching my code). The variable $ccpass is a variable made available to us at the beginning of the profile page form. It holds the MD5 hash of the user's PHPNuke account password, regardless of whether or not we update the password of the account. Furthermore, this variable stays at what the user's password's MD5 hash was before submitting account info updates. So in other words even after updating nuke_users accountpassword with a new hash this variable will contain the password hash that existed before the newly updated password was put into the table. $storeduserpw variable just holds whatever the password is at the end of all updates. So simply put the if statement compares the passwords before and after user profile updates and if the password was changed, it executes the SQL commands to update the hm_accounts record for that user.

Now, all seems to be going smoothly right? Well..it is...except one thing. We have to disable or update all password changing systems in PHPNuke and Squirrelmail to update both the hm_accounts password and the nuke_users password. In Squirrelmail this is easily remedied by just redirecting the user to modules.php?name=Your_Account&op=edituser, which if you remember was just modified to change both passwords. The final brick in the block is the Forums (bb2nuke) profile page. We cannot just simply disable it because that would prevent users from using the avatar upload system. The simplest solution to me seems to be to delete the code that shows the Registration Information chunk at the top of the profile page. This section includes the username, email, and of course the password changing section. If we were to just delete the code that displays those password boxes we could remedy the situation (by virtue of disabling password changing capabilities). The problem is that I cannot find the location of the code within the forums module that displays these boxes. Does anyone know the location of this code so that I could modify or delete it? Also, if I were to successfully get this project finished, would anyone be interested in actually using it on their site? If I get enough "yes" responses from people I might host it on my site and improve upon the design (EX: add code to autologin to squirrelmail when the user is already logged into PHPNuke). The only drawback to this is that it is specifically coded for hMailServer e-mail server. The design approach could be applied to any SQL based mail server, it would only take a few modifications.

-------------------------------------------------------------------------------------


Newest piece of code in. Even though it's only one line of code I finally figured out where the update function was in the scripting of the forum's (bb2nuke) profile page was. I found the update function and added my code:
Kod:

                        $sql = "UPDATE " . USERS_TABLE . "
                                SET " . $username_sql . $passwd_sql . "user_email = '" . str_replace("\'", "''", $email) ."', user_icq = '" . str_replace("\'", "''", $icq) . "', user_website = '" . str_replace("\'", "''", $website) . "', user_occ = '" . str_replace("\'", "''", $occupation) . "', user_from = '" . str_replace("\'", "''", $location) . "', user_interests = '" . str_replace("\'", "''", $interests) . "', user_sig = '" . str_replace("\'", "''", $signature) . "', user_sig_bbcode_uid = '$signature_bbcode_uid', user_viewemail = '$viewemail', user_aim = '" . str_replace("\'", "''", str_replace(' ', '+', $aim)) . "', user_yim = '" . str_replace("\'", "''", $yim) . "', user_msnm = '" . str_replace("\'", "''", $msn) . "', user_attachsig = '$attachsig', user_allowsmile = '$allowsmilies', user_allowhtml = '$allowhtml', user_allowbbcode = '$allowbbcode', user_allow_viewonline = '$allowviewonline', user_notify = '$notifyreply', user_notify_pm = '$notifypm', user_popup_pm = '$popup_pm', user_timezone = '$user_timezone', user_dateformat = '" . str_replace("\'", "''", $user_dateformat) . "', user_lang = '" . str_replace("\'", "''", $user_lang) . "', user_style = '$user_style', user_active = '$user_active', user_actkey = '" . str_replace("\'", "''", $user_actkey) . "'" . $avatar_sql . "
                                WHERE user_id = '$user_id'";
                               
                        #hMailServer account password update mod
                        if (isset($new_password)) {
                        $db->sql_query("UPDATE hm_accounts SET accountpassword='$new_password' WHERE accountid='$user_id'");
                        }
                        #End hMailServer account mod
                         
                        if ( !($result = $db->sql_query($sql)) )
                        {
                                message_die(GENERAL_ERROR, 'Could not update users table', '', __LINE__, __FILE__, $sql);
                        } else {


The line in between the commented lines (The commented lines are the ones that say hMailServer account password update mod and the one that says End hMailServer account mod) is the added code. This is around line 520 of the file includes/user_cpregister.php. Integration is going well and the next thing up to fix is the password changer within SquirrelMail. It, like the Your_Account and Forums modules, must be updated with code to update the nuke_users user_password field and the hm_accounts accountpassword field at the same time. Once that is complete I will work on fixing ease of skinning/theming of the system. As is I'm having a hard time locating the code for the login error page of squirrelmail. The login page has been figured out and was easily re-coded to a theme. After all is done on modifying the main code I'll start on a theme system for the login/error page. The current theme system that SquirrelMail uses for itself will remain intact. If anyone out there knows where the code that renders the SquirrelMail login error page resides (what file, what lines, etc) please mail me at admin@crashanime.com.
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder
Bu Site Google Adsense ile Gelir Elde Ediyor









Tarih: 2024-06-26, 16:17:37    Mesaj konusu: Forum Arası Reklamlar


Başa dön
Önceki mesajları göster:   
Bu forum kilitlendi: mesaj gönderemez, cevap yazamaz ya da başlıkları değiştiremezsiniz   Bu başlık kilitlendi: mesajları değiştiremez ya da cevap yazamazsınız    Netopsiyon Online Forum Ana Sayfa -> Php-Nuke Tüm zamanlar GMT + 3 Saat
1. sayfa (Toplam 1 sayfa)

 
Geçiş Yap:  
Bu forumda yeni başlıklar açamazsınız
Bu forumdaki başlıklara cevap veremezsiniz
Bu forumdaki mesajlarınızı değiştiremezsiniz
Bu forumdaki mesajlarınızı silemezsiniz
Bu forumdaki anketlerde oy kullanamazsınız

Benzer Konular

Başlık Yazar Forum Cevaplar Tarih
Yeni mesaj yok pr 3 siteden link takas etmek isteyenler elektrik İnternet Üzerine 2 2010-05-09, 16:13:51 Son Mesajı Görüntüle
Yeni mesaj yok Genis Avatar Icad Etmek roman2009 Php Nuke Sorunlarınız 1 2010-04-22, 13:39:05 Son Mesajı Görüntüle
Yeni mesaj yok Image type control etmek kayserili Php Nuke Modülleri 4 2009-10-02, 03:31:21 Son Mesajı Görüntüle
Yeni mesaj yok Nsn News Resim Yukleme Kendimiz Enteg... soulfather Php Nuke Modülleri 6 2009-09-11, 07:38:05 Son Mesajı Görüntüle
Yeni mesaj yok Phpbb3 entegre yardım xcolornick PHP 4 2009-08-19, 20:43:30 Son Mesajı Görüntüle

Copyright © 2002-2024 Netopsiyon Bilişim Teknolojileri San. Tic. Ltd.Şti. - Bütün hakları saklıdır!
Bu site Netopsiyon.com.tr Sunucularında Barındırılmaktadır.
Netopsiyon Bilişim Teknolojileri San. Tic. Ltd.Şti. Netopsiyon Copyright