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)
-   -   End-User Options - Ajax Check Username (https://vborg.vbsupport.ru/showthread.php?t=127004)

da420 10-13-2006 06:35 PM

Thanks magnus, works perfectly. More products should include the template edits, but then again that would make upgrading and reverting templates too easy. ;)

Shazz 10-13-2006 06:52 PM

Quote:

Originally Posted by magnus
I got bored, so I modified the plugin to perform automatic template edits. I, personally, hate having to reapply template edits on upgrades/reverts/etc. so whenever possible I try to hardcode the template edits.

Just import and enable. Done! :)

* Note: This was modified using the Default style on a fresh 3.6.2 installation. That shouldn't matter, but still. :P

What does this do?
Automatic updates?

trilljester 10-13-2006 06:56 PM

Quote:

Originally Posted by eNforce
Now that is really weird, it was working when I posted that it was. Reuploaded the product and it started working again. (it's working right now)

yep, now it's working. You might want to change the color from green to orange or something, it's hard to see with the black background. Looks good though!

Distance 10-14-2006 06:24 PM

Hi i cant figure out how to get these both to work together..

Username and Email

magnus 10-14-2006 06:40 PM

Quote:

Originally Posted by Shazz
What does this do?
Automatic updates?

No. If you've installed the original adaptation of this plugin, then you'll remember there were template edits to be performed. My modifications simply eliminate those steps and performs the template edits automatically, like many other more recent plugins.

No new features. No fixes. Just automatic template edits -- oh, and I renamed all instances of "Ajax" to "AJAX" -- just because I'm a stickler.

Shazz 10-14-2006 06:54 PM

Quote:

Originally Posted by magnus
No. If you've installed the original adaptation of this plugin, then you'll remember there were template edits to be performed. My modifications simply eliminate those steps and performs the template edits automatically, like many other more recent plugins.

No new features. No fixes. Just automatic template edits -- oh, and I renamed all instances of "Ajax" to "AJAX" -- just because I'm a stickler.

Oh... I get it, Thanx for the letting me know :)

Distance 10-15-2006 08:31 PM

Quote:

Hi i cant figure out how to get these both to work together..


Username and Email
my message.. ;)

Shazz 10-15-2006 08:42 PM

Quote:

Originally Posted by Distance
my message.. ;)

I think it would be a seperate modification... But it would be nice to have :)
Like
' passwords do not match'
and the rest.
IPB has this built in :(

Aerox95 10-27-2006 05:21 AM

hi, great hack. would click install if it works on my board ^^ but i've no idea what you're meaning with allowing guest access on misc.php - but i'm sure it's only a matter of time until i'll find it out :p but maybe you should describe exactly what you're meaning with this....

and maybe you thought about including a check for censored words? this would be a nice feature :)

thx & best regards ausm Saarland! ^^

Aerox95 10-27-2006 06:26 AM

okay, problem solved, but it wasn't misc.php.... :-/

elrafei 11-06-2006 03:11 PM

than u man :)

elrafei 11-06-2006 04:10 PM

i have a problem after i install the hack

when u go to register u find this 2 lines in the top of page


PHP Code:

var phrase_checkusernameok 'This username is not yet taken. Feel free to use it!'; var phrase_checkusernametaken 'This username is already taken. Please choose another one.'

please help me to fix this problem >>

mauro1947 11-17-2006 06:59 PM

Hi!
This mods works fine with vBulletin 3.6.3?
Somebody has probed???
Thanks, and excuse my english!

Shazz 11-17-2006 07:00 PM

Quote:

Originally Posted by mauro1947 (Post 1119515)
Hi!
This mods works fine with vBulletin 3.6.3?
Somebody has probed???
Thanks, and excuse my english!

Yes...

mauro1947 11-17-2006 07:02 PM

Hi!
Thanks for your FASTEST reply!
Thanks again
Bye!

Shazz 11-17-2006 07:08 PM

Your welcome, have a nice day...

da420 11-17-2006 11:13 PM

Quote:

Originally Posted by Shazz (Post 1119526)
Your welcome, have a nice day...

Would you like fries with that?

blogtorank 11-17-2006 11:30 PM

Thanks for the great hack!!! *Installed*

Masked Crusader 11-25-2006 01:16 AM

Great mod especially with the number of users I already have :)

*Installed*

Shazz 11-25-2006 04:26 AM

Quote:

Originally Posted by da420 (Post 1119663)
Would you like fries with that?

Um..
..?

Brew 01-02-2007 03:47 AM

I've seen something like this on some web site and I was impressed.

Now I have it on mine :cool:

Woot!

Terminatoronly 01-02-2007 06:51 AM

nice hack installed :D it would be great if you make it for the password and the email too it will look much better when it appear it like that with a picture with right and wrong pictures thats awsem

grandfso 01-08-2007 11:30 PM

Well, I switched to vB 3.6.4 and on register.php?do=register I get:
Quote:

var phrase_checkusernameok = 'This username is not yet taken. Feel free to use it!'; var phrase_checkusernametaken = 'This username is already taken. Please choose another one.';
Is this something with the mod not supporting newest vB or it's me?

mrahul 01-11-2007 05:34 AM

how can I allow guests to view misc.php ?? & is it safe to use, i.e no probs from hackers ?

tankaya61 01-11-2007 05:51 AM

its working 3.6.4
thanks

yuriy 01-11-2007 03:12 PM

what did I do wrong? wow, I am not a n00b at this but these are my results on registration, check my screenshot to see a problem, I am running vB3.6.4 and I have 2 username input boxes, please help me, Thanks!


EDIT: everything is working fine, in instructions it says:

PHP Code:

# now FIND

            
<div class="smallfont" style="margin-bottom:$stylevar[formspacer]px">
                <
strong>$vbphrase[username]</strong>:<br />
                <
input type="text" class="bginput" name="username" size="50" maxlength="$vboptions[maxuserlength]value="$username/>
            </
div>
            
            
            
# and REPLACE it with:

            
<div class="smallfont" style="margin-bottom:$stylevar[formspacer]px">
                <
strong>$vbphrase[username]</strong>:<br />
                <
input type="text" class="bginput" name="username" size="50" maxlength="$vboptions[maxuserlength]value="$username<if condition="$vboptions['checkusernameactive']">onblur="checkUsername(this.value)"</if> />
                <if 
condition="$vboptions['checkusernameactive']"><div id="checkusername"></div></if>
            </
div


but I usually search for: the first couple of letters like <div class="smallfont" style="margin-bottom:$ :) but I didn't see little lower another same text was there :) so yea no probs with this, it's working GOOD!

as you can see in my template I got 2 alike ones:

PHP Code:

            <div class="smallfont" style="margin-bottom:$stylevar[formspacer]px">
                <
phrase 1="$vboptions[bbtitle]">$vbphrase[to_post_must_first_register]</phrase>
            </
div>
            
            <
div class="smallfont" style="margin-bottom:$stylevar[formspacer]px">
                <
strong>$vbphrase[username]</strong>:<br />
                <
input type="text" class="bginput" name="username" size="50" maxlength="$vboptions[maxuserlength]value="$username/>
            </
div

at first I edited the first text, and I had that dumb thing thats in my screenshot, as soon as I edited the second one, and replaced the first one, everything is GOOD!

magnus 01-12-2007 02:21 PM

I posted a version earlier in the thread that will perform the template edits automatically. So, if you're not comfortable editing templates you can try that one.

Rabbitoh Warren 09-03-2007 01:51 PM

Is this hack working on vB 3.6.8?

funinthesun 11-17-2007 02:46 PM

Thank you for this - installed.

It's working fine for me on 3.6.8

dfc005 03-25-2008 03:37 AM

Does this hack work on 3.7.0 rc1?

dfc005 03-31-2008 05:24 AM

Anyone?

Robert9 04-20-2008 04:19 PM

Has anyone an idea how to add an regexp to proof the new username?
I php i do something like: ^[0-9a-zA-Z\.\-_]+$
but i have no clue how to do this is js.

dfc005 05-17-2008 01:08 AM

I guess this hack is no longer supported.

Anyone know of a similar one or got this working for vB 3.7.0

Welshy2008 08-07-2008 07:49 PM

Thank You MrNase.

RCA 09-10-2008 09:13 AM

this mod isn't working in vb 3.7.3


All times are GMT. The time now is 11:44 PM.

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.01219 seconds
  • Memory Usage 1,808KB
  • 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_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (35)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