vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - [DBTech] Username Change v1 (vB4) (https://vborg.vbsupport.ru/showthread.php?t=236980)

DragonByte Tech 11-03-2010 05:14 PM

There exists other mods for vB 3.8 already, Marco's username management mod for one :)


Fillip

HyperActiv 11-04-2010 04:55 AM

Is there any possibility that it going to work on vB 3.7.2?

DragonByte Tech 11-04-2010 03:55 PM

The template structure is vastly different but beyond that, it might. It's not something we're able to give support for at this point in time, though.

Fillip

sung 11-18-2010 02:04 AM

4.0.8 seems to have changed something (CSS probably?) so now the tabs in the user profile don't look quite right.

https://vborg.vbsupport.ru/external/2011/01/18.png

Notice the extra space around the tab between the light and dark blue lines as I'm hovering over the tab in the screen shot.

I haven't had a chance yet to look to see what needs to be changed to fix, but iTrader also had this issue until its newest update, so maybe that could help in narrowing down the problem?

ALBCODERS 11-21-2010 05:34 PM

nice Idea thankyou.
Installed

Markos 12-04-2010 12:52 AM

doesn't seem to work in 4.1.0PL2 cant see nothing in other users profile but can see it in my own

Markos 12-04-2010 01:03 AM

oops sorry my mistake see it now i looked at some ones profile whose name had never been changed seems to work fine in 4.1

rob01 12-06-2010 06:50 PM

it doesn't seem to work in the new vb 4.1, cant see anything

any idea?

DragonByte Tech 12-08-2010 01:07 PM

Are you sure you didn't make the same mistake as Markos? It works fine for him :)


Fillip

Iguana Goddess 01-03-2011 12:42 PM

Just installed on 4.1 and no conflicts with other modifications. Works great thanks!

Markos 01-03-2011 12:51 PM

I don't know if that has been brought up but my users complain that if they change there names then try change it back to what it was before it comes back saying *this user name is already in use*

Iguana Goddess 01-03-2011 01:08 PM

Quote:

Originally Posted by Markos (Post 2143265)
I don't know if that has been brought up but my users complain that if they change there names then try change it back to what it was before it comes back saying *this user name is already in use*

Might be that you have set in your admincp that names can't be reused for x amount of days.

Markos 01-03-2011 01:15 PM

Quote:

Originally Posted by Iguana Goddess (Post 2143276)
Might be that you have set in your admincp that names can't be reused for x amount of days.

thanks will check it out

Edit: just had a look cant see that option in usergroup settings if its not in there where do i change that

Markos 01-03-2011 02:06 PM

its ok i found it

Skyrider 01-04-2011 11:11 AM

Is it possible this plugin can have the ability to post a reply OR a new thread regarding the namechange in a specific section? We have a thread in a moderation section (single thread) where all replies are being made for username changes. This is so we can keep up with the changes and who has changed to what.

DragonByte Tech 01-04-2011 12:51 PM

Quote:

Originally Posted by FF|Skyrider (Post 2143826)
Is it possible this plugin can have the ability to post a reply OR a new thread regarding the namechange in a specific section? We have a thread in a moderation section (single thread) where all replies are being made for username changes. This is so we can keep up with the changes and who has changed to what.

We don't currently have any plans to add any new features to this, but if we do, we will take it under consideration :)


Fillip

tokenyank 01-06-2011 03:13 PM

*RESOLVED*
I didn't go far enough back to see this post. The heading is under:

Settings > Options > User Registration Options > Username Reuse Delay

I have disabled the reuse function and will have users test - if problem resolved, we're good. If problem persists, I'll be back! :)

Thanks for the great mod!

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


Erg! Help! :)

I've gone through most things myself, even went as far as uninstalling and reinstalling mod.

I installed the mod just before Christmas as our users wanted to change their names to 'Christmas' themed names, and it was getting troublesome for me to do all and sundry whilst also working full time so I installed this mod.

The initial changing of names worked without a hitch, however, since Christmas, the most users are unable to revert to their old usernames. Some are successful in reverting, but 95% get this error:
Quote:

vBulletin Message
That username is already in use or does not meet the administrator's standards. If you are *username* and you have forgotten your password, click here.
My current settings for the mod are set for:
Yes
No
Yes
Yes
0
5
0

Can you shed any light on this problem for me please?

Using vB4.1.0PL2

DragonByte Tech 01-06-2011 03:21 PM

Somewhere in vBulletin Options is Username Reuse Delay, by default is set to a high number. Setting that to 0 will take care of your problem :)


Fillip

tokenyank 01-06-2011 03:24 PM

Oops, cross posted, I've just edited my original post to reflect that option.

Apologies for bringing you here to answer a question you already answered! :(

DragonByte Tech 01-06-2011 03:31 PM

No worries :)


Fillip

inshooter 01-08-2011 03:00 PM

Tagged for when I can accept donations to change names.

Brew 01-09-2011 05:31 PM

Getting an error when installing this on ver 4.1pl2

Warning: require_once([path]/dbtech/username_change/includes/hooks/cache_templates.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/class_bootstrap.php(1309) : eval()'d code on line 74

I've uploaded the files to [path]/forums/

Any ideas?

DragonByte Tech 01-09-2011 05:42 PM

I'm confused... You can clearly see what path the folder structure is, so why did you upload it to [path]/forums/ ?

Fillip

Brew 01-09-2011 05:53 PM

Quote:

Originally Posted by DragonByte Tech (Post 2146537)
I'm confused... You can clearly see what path the folder structure is, so why did you upload it to [path]/forums/ ?


Fillip

According to the structure within the download should it not be:

/public_html/forums/dbtech/
/public_html/forums/includes/
/public_html/forums/modcp/

I've uploaded to the same paths other than it being "forums" instead of "forum"....since my setup is in the forums directory.

DragonByte Tech 01-09-2011 06:02 PM

From the readme.txt file:

---
1. Upload all files from the "forum" folder to your forums directory.
---

Meaning, the contents of that folder goes in the folder where your forum files are :)


Fillip

Brew 01-09-2011 06:17 PM

I don't mean to sound argumentative, but that's exactly what I did.

Once it is unzipped (locally) and you open the "forum" folder the folders within it are exactly what I described above.

Thusly:

/root/forums/dbtech/username_change/includes/ (and a couple folders below this as well)

/root/forums/dbtech/username_change/install/ (another "install" folder and some files, including core.php are in here)

/root/forums/includes/xml/

/root/forums/modcp/

By "root", and by [path], I mean "usr/home/server/public_html/"

Is that not correct?

DragonByte Tech 01-09-2011 06:22 PM

Within your /forums/ directory, do the vBulletin files exist?

Because according to your error message, this does not appear to be the case.

The files need to be uploaded to the same folder as the vBulletin files, like forum.php, ajax.php and the likes.

Fillip

Brew 01-11-2011 05:44 PM

Quote:

Originally Posted by DragonByte Tech (Post 2146561)
Within your /forums/ directory, do the vBulletin files exist?

Because according to your error message, this does not appear to be the case.

The files need to be uploaded to the same folder as the vBulletin files, like forum.php, ajax.php and the likes.


Fillip

My site is set up to have politicalforums.net main page show the vbCMS and the actual forums are within the /forums directory.

The forums are working correctly, other than this mod. :cool:

But I did get it to work. What I had to do is to upload the files to the root folder, not the forums folder.

I'll play around with it to see if it works satisfactorily.

But it should be able to be installed in the /forums/ folder instead.

DragonByte Tech 01-11-2011 05:52 PM

There is no way to make it able to be installed in any other way than you have installed it atm, unfortunately.

Fillip

TeknoSounds 01-12-2011 02:23 AM

I think the confusion comes from the installation file where it says "Upload the forum folder to your forums directory"
Instead the wordage should be something like "Upload to your messageboard root directory" or "forum root directory"

DragonByte Tech 01-12-2011 10:24 AM

I'll rename the folder to "upload" instead, to be consistent with other DBTech products :)


Fillip

blue7 01-12-2011 04:04 PM

Very useful, thanks a lot...installed.

sung 01-14-2011 03:25 PM

Quote:

Originally Posted by sung (Post 2123017)
4.0.8 seems to have changed something (CSS probably?) so now the tabs in the user profile don't look quite right.

https://vborg.vbsupport.ru/external/2011/01/18.png

Notice the extra space around the tab between the light and dark blue lines as I'm hovering over the tab in the screen shot.

I haven't had a chance yet to look to see what needs to be changed to fix, but iTrader also had this issue until its newest update, so maybe that could help in narrowing down the problem?

Fixed this myself, which requires 2 changes.
  1. Add a new template called: "dbtech_username_change_membertab_css"
    with the following contents:
    Code:

    #usernamehistory-tab, #usernamehistory-tab a:hover {
            height:25px;
            display:inline;
            background-color:transparent;
            margin:0px;
            padding:0px;
            text-align:center;
            border:none;
            <vb:if condition="$stylevar['textdirection'] == 'rtl'">
            float: {vb:stylevar left};
            <vb:else/>
            clear:both;
            </vb:if>
    }

    a:hover#usernamehistory-tab {
            background:transparent;
    }

  2. Add this to the bottom of the "Member Profile: Add Username History Tab" plugin (the one that uses the member_build_blocks_start hook):
    Code:

    if (version_compare($vbulletin->options['templateversion'], '4.0.8', '>='))
    {
        $template_hook['memberinfo_css'] .= vB_Template::create('dbtech_username_change_membertab_css')->render();
    }


smnet 01-14-2011 10:23 PM

With such a large board I would love to see a feature whereby admins can see who has changed their username between X time period. Without that things could get very very difficult to track.

midnz 01-15-2011 03:24 AM

Quote:

Originally Posted by smnet (Post 2149172)
With such a large board I would love to see a feature whereby admins can see who has changed their username between X time period. Without that things could get very very difficult to track.

Asked and answered.

Quote:

Originally Posted by midnz (Post 2114707)
Is there are way of searching for a username that has since changed, apart from knowing in advance what their user ID number is?
Example: John changes his name to Jack. How do you find John if you need to contact him and don't know that he has changed his username?

Quote:

Originally Posted by DragonByte Tech (Post 2116727)
Nope that's not possible, though someone could write a mod that searches vBulletin's Profile History (which this mod utilises) - it's not something we've currently got planned, though.


Fillip

I agree with you smnet.

smnet 01-15-2011 08:07 AM

Quote:

Originally Posted by midnz (Post 2149282)
Asked and answered.
I agree with you smnet.

Could anyone provide the sql query? I could *maybe* wrap it inside a mod - been looking for the chance to get dirty with vB4.

Paul. 01-15-2011 04:21 PM

I can't figure out where to put the files in the DBTech folder.. /actions/hooks folders have things in them.. :( Lost now

Guessed a few things but failed.

http://img207.imageshack.us/img207/2...namechange.jpg

DragonByte Tech 01-15-2011 04:34 PM

Please follow the instructions in the readme.txt file :)


Fillip

Paul. 01-16-2011 04:17 PM

Hi Fillip, I have tried my best to do so and not sure now if I should find everything I added and just remove them. The folder named 'bdtech' is what confuses me. I know where to place the files from the other two folders.
Thanks for your reply.

DragonByte Tech 01-16-2011 04:39 PM

Step 1: Download the .zip file.
Step 2: Extract it.
Step 3: Open the "forum" folder, select all files, hit Copy
Step 4: Open your FTP program, navigate to your Forum folder (as per your screenshot)
Step 5: Paste the files.

If Copy / Paste doesn't work, substitute Copy and Paste with Drag and Drop, which should work.

Hope that helps :)


Fillip


All times are GMT. The time now is 10:05 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.01505 seconds
  • Memory Usage 1,830KB
  • 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
  • (2)bbcode_code_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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