vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - vMail - Verify Mail before registration. (https://vborg.vbsupport.ru/showthread.php?t=162642)

gabrielt 05-06-2008 04:16 PM

Hi there,

Just found another bug.

On plugin called NLP vMail - Functions, function vB_version, where is a "=" should be a "==", marked in red below.

function vB_version($_ver)
{// GET current vBulletin version.
if(empty($_ver)){return false;}
require_once('./includes/version_vbulletin.php');
//include('./includes/version_vbulletin.php');
$_current = explode('.', FILE_VERSION_VBULLETIN);
if($_current[1] == $_ver)
{
return true;
}else{
return false;
}
}

Also this function loads vBulletin version number from version_vbulletin.php file, which isn't the correct way to do this. This file is empty! So you need to edit and change this file to:

<?php

define('FILE_VERSION_VBULLETIN', '3.7.0');

?>

I asked vBulletin team about this file and they replied this:
http://www.vbulletin.com/forum/showthread.php?p=1556890

The developer should then correct this code!

I hope to have helped other people using this great mod.

Cheers,
Gabriel.

gabrielt 05-06-2008 04:33 PM

There is a bug on the lost code template. You need to edit nlp_vmail_lostcode template and replace the following code:

Look for:
Code:

        <td class="panelsurround" align="center">
        <div class="panel">
                <div style="width:70%" align="$stylevar[left]">
                $vbphrase[nlp_vmail_lostcodetdesc]<br />
                $vbphrase[email_address]:<br /><input type="text" class="bginput" name="email" size="35" maxlength="90" value="" dir="ltr" />
                $imagereg
$human_verify</div>
        </div>
        <div style="margin-top:$stylevar[cellpadding]px">
                <br />
                <input type="submit" class="button" value="$vbphrase[nlp_vmail_lostcodetbtn]" accesskey="s" />
        </div>

Replace with:
Code:

<td class="panelsurround" align="center">
        <div class="panel">
                <div style="width:70%" align="$stylevar[left]">
                        <fieldset class="fieldset">
                                <legend>$vbphrase[email_address]</legend>
                                <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="400">
                                <tr>
                                        <td>
                                                $vbphrase[nlp_vmail_lostcodetdesc]<br />
                                                $vbphrase[email_address]:<br /><input type="text" class="bginput" name="email" size="35" maxlength="90" value="" dir="ltr" />
                                        </td>
                                </tr>
                                </table>
                        </fieldset>
                        $imagereg
                        $human_verify
                </div>
        </div>
        <div style="margin-top:$stylevar[cellpadding]px">
                <br />
                <input type="submit" class="button" value="$vbphrase[nlp_vmail_lostcodetbtn]" accesskey="s" />
        </div>


gabrielt 05-06-2008 06:54 PM

Another bug that must be manually fix is the one that I described on a previous post, where you click on the link saying "already have a code" and you are redirected to the forums main page.

To fix this, edit the template nlp_vmail_verifymail and change:

From:
<a href="#" onclick="vMail_to_redir()">
To:
<a href="/register.php?do=vMail#" onclick="vMail_to_redir()">

And from:
<a href="#" onclick="vMail_to_new()">

To:
<a href="/register.php?do=vMail#" onclick="vMail_to_new()">

With all fixes I posted today finally this mod is working 100% fine with vBulletin 3.7.

Cheers,
Gabriel.

JHC 05-07-2008 05:30 PM

I'm not MANUALLY fixing anything else.
*UNINSTALLED*

Mrdby 05-07-2008 06:02 PM

Quote:

Originally Posted by JHC (Post 1511820)
I'm not MANUALLY fixing anything else.
*UNINSTALLED*

lololol

Seiyaboy 05-07-2008 06:51 PM

This still does not fix the birthday issue in 3.6.10. Sorry, but UNINSTALLED.

bijju 05-08-2008 04:18 PM

Help me it says to me
The following dependencies were not met:
  1. This product is not compatible with version 3.7.0 of vBulletin. (Compatible starting with 3.6.0 / Incompatible with 3.7 and greater)

I used this one also
Allow Overwrite
If you wish to upgrade a product, you must set this to yes.
Yes No


and still i am getting this message
The following dependencies were not met:
  1. This product is not compatible with version 3.7.0 of vBulletin. (Compatible starting with 3.6.0 / Incompatible with 3.7 and greater)

Seiyaboy 05-09-2008 10:51 AM

Quote:

Originally Posted by bijju (Post 1512823)
Help me it says to me
The following dependencies were not met:
  1. This product is not compatible with version 3.7.0 of vBulletin. (Compatible starting with 3.6.0 / Incompatible with 3.7 and greater)
I used this one also
Allow Overwrite
If you wish to upgrade a product, you must set this to yes.
Yes No


and still i am getting this message
The following dependencies were not met:
  1. This product is not compatible with version 3.7.0 of vBulletin. (Compatible starting with 3.6.0 / Incompatible with 3.7 and greater)

Open up [product] vMail (English).xml

Find:
Code:

        <dependencies>
                <dependency dependencytype="vbulletin" minversion="3.6.0" maxversion="3.7" />
        </dependencies>

And remove it from the file.

Then you install the product as you would with any other mod. You may wish to backup database in case of problems.

Lilyandy 05-11-2008 01:36 PM

翻譯:繁體中文版 + 簡體中文版

Translate : Traditional Chinese + Simplified Chinese version

By Lilyandy ^_^

TheSupportForum 05-12-2008 06:44 AM

This Version Does Not Work With Version 3.7.0 Gold Please Can Someone Get This To Work With It Please


All times are GMT. The time now is 11:11 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01342 seconds
  • Memory Usage 1,755KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete