النتائج 1 إلى 1 من 1

الموضوع: هل من الممكن دمج الهايف ميل مع phpbbاو النيوك الرجاء الدخول

  1. #1
    عضو نشيط
    تاريخ التسجيل
    Jun 2003
    المشاركات
    189

    هل من الممكن دمج الهايف ميل مع phpbbاو النيوك الرجاء الدخول



    السلام عليكم

    اكيد كلكم تعرفون بالسكربت هايف ميل الذي يقدم حسابات بريد مجانيه مثل الهوتميل

    فانا اتسال هل من الممكن دمجه مع phpbbبمعني التسجيل يكون هنا وهناك هو من اصل فيه دمج مع الvbفهل من الممكن تحويله للphpbb

    فانا سوف اعطيكم بعد الاختصارات حوله هناك ملف اسمه hivevb_install.php اضعه في مجلد الadminثم استدعيه وسوف يثبت جداول في التمبلت ومن ثم اقوم

    ادخل الى التمبلت وابحث عن Registration Templates

    وادخل الى registeradult

    ومن ثم ابحث عن $customfields_required

    واضيف بعدها
    ">
    كود:
    <!-- *** -->
    <tr>
    	<td bgcolor="{tableheadbgcolor}" colspan="2">
    	<normalfont color="{tableheadtextcolor}" class="thtcolor">
    	<b>Sign Up for an Email Account</b>
    	</normalfont>
    	<smallfont color="{tableheadtextcolor}" class="thtcolor">
    	This section is optional.
    	</smallfont></td>
    </tr>
    <!-- *** -->
    <tr>
    	<td bgcolor="{firstaltcolor}"><normalfont>
    	<b>Get your own $hive_domainname email account?</b>
    	</normalfont><br><smallfont>
    	If you select yes please choose an account name below.
    	</smallfont></td>
    	<td bgcolor="{firstaltcolor}"><normalfont>
    		<input type="radio" name="hive_signup" value="yes" checked> yes
    		<input type="radio" name="hive_signup" value="no"> no
    	</normalfont></td>
    </tr>
    <tr>
    	<td bgcolor="{secondaltcolor}"><normalfont>
    	<b>Account name:</b>
    	</normalfont><br><smallfont>
    	The password for your email account will be the same as your forum account.
    	</smallfont></td>
    	<td bgcolor="{secondaltcolor}"><normalfont>
    	<input type="text" name="hive_username" class="bginput" />
    		<select name="hive_userdomain">
    			$hive_domainname_options
    		</select>
    	</normalfont></td>
    </tr>
    <!-- *** -->
    ومن ثم افتح ملف الmember.php

    وابحث عن
    كود:
      if ($newpassword!=$newpasswordconfirm) {
        eval("standarderror(\"".gettemplate("error_passwordmismatch")."\");");
        exit;
      }
    ومن ثم افتح ملف register.php

    وابحث عن
    كود:
    if ($url==$HTTP_REFERER) {
      $url=urlencode($url);
    }
    واضيف بعدها

    كود:
    // @@@@@@@@@@
    // <hivemail>
    $hivemail_filepath = '/home/yoursite/public_html/hivemail';
    
    if ($action == 'mailsignup') {
      if ($bbuserinfo['userid'] != 0) {
        $action = 'register';
        define('VB_PLUGIN', true);
        require($hivemail_filepath.'/includes/vbulletin_plugin.php');
        if ($bbuserinfo['hiveuserid'] != 0 and
          $hiveuser = $DB_Hive->query_first("
            SELECT userid FROM hive_user
            WHERE userid = $bbuserinfo[hiveuserid]
          ")) {
          header('Location: usercp.php');
        }
        eval('dooutput("'.gettemplate('hivemail_signup').'");');
        exit;
      } else {
        $action = 'signup';
      }
    }
    
    if ($HTTP_POST_VARS['action'] == 'addmail') {
      if ($bbuserinfo['userid'] != 0) {
        $action = 'register';
        define('VB_PLUGIN', true);
        require($hivemail_filepath.'/includes/vbulletin_plugin.php');
        if ($bbuserinfo['hiveuserid'] != 0 and
          $hiveuser = $DB_Hive->query_first("
            SELECT userid FROM hive_user
            WHERE userid = $bbuserinfo[hiveuserid]
          ")) {
          header('Location: usercp.php');
        }
        $email = $bbuserinfo['email'];
        hivemail_register_user($bbuserinfo['userid'], false);
        hivemail_update_password($bbuserinfo['password'], $bbuserinfo['userid']);
        eval('standardredirect("'.gettemplate('hivemail_thankyou').'", "usercp.php");');    
        exit;
      } else {
        $action = 'signup';
      }
    }
    
    define('VB_PLUGIN', true);
    require($hivemail_filepath.'/includes/vbulletin_plugin.php');
    if (($action == 'signup' or $action == 'register') and
      $bbuserinfo['userid'] != 0 and
      !$allowmultiregs and
      ($bbuserinfo['hiveuserid'] == 0 or
      !$hiveuser = $DB_Hive->query_first("
        SELECT userid FROM hive_user
        WHERE userid = $bbuserinfo[hiveuserid]
      "))) {
      header('Location: register.php?action=mailsignup');
      exit;
    }
    // </hivemail>
    // @@@@@@@@@@@
    وفي نفس الملف ابحث عن
    كود:
      $userid=$DB_site->insert_id();
    واضيف بعدها

    كود:
      // @@@@@@@@@@
      // <hivemail>
      if ($hive_signup == 'yes') {
        hivemail_register_user($userid);
      }
      // </hivemail>
      // @@@@@@@@@@@
    وارجوا من خبراء التحويل بين ال vbوالphpbb

    ان يساعدوني وشكرا

    والملف hivevb_install.php في المرفق للتجربة

    وللمزيد http://manual.hivemail.com/topic/vb_2_121

    او هل من الممكن دمجه مع النيوك





    الملفات المرفقة الملفات المرفقة
    __________________
    تفضلوا بزيارة موقع بحرين فوريو
    بوابة مملكة البحرين
    http://www.bahrain4you.net
    -----------------------------------------
    حمل ملفاتك الان بمساحة 20غيغا
    http://www.upfordown.com
    abdulla89 غير متواجد حالياً






ضوابط المشاركة

  • لا تستطيع إضافة مواضيع جديدة
  • لا تستطيع الرد على المواضيع
  • لا تستطيع إرفاق ملفات
  • لا تستطيع تعديل مشاركاتك
  •  

أضف موقعك هنا| اخبار السيارات | حراج | شقق للايجار في الكويت | بيوت للبيع في الكويت | دليل الكويت العقاري | مقروء | شركة كشف تسربات المياه | شركة عزل اسطح بالرياض | عزل فوم بالرياض| عزل اسطح بالرياض | كشف تسربات المياة بالرياض | شركة عزل اسطح بالرياض