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)

Phaedrus 04-01-2011 01:27 AM

Love the Mod...

Wish list:

1. A way to register an original username so that they can re-use it later and no other can take it even if it "ages".
2. List the "registered name" below their username in the postbit so that people can see who they are without having to go to their profile every time.

DragonByte Tech 04-01-2011 01:19 PM

It's doubtful we'll be expanding this mod any time soon, but we'll take them into consideration should we ever release a feature update :)


Fillip

DragonByte Tech 04-08-2011 12:30 PM

Please do not post the full product. If you wish to suggest template changes then please include them in [HTML] tags instead.

Don't get me wrong, I appreciate the effort, we'd just rather people didn't distribute modified versions of our products, even on this site :)


Fillip

HMBeaty 04-08-2011 07:32 PM

Post removed...

Phaedrus 04-11-2011 01:45 PM

Quote:

Originally Posted by HMBeaty (Post 2182400)
Post removed...

Post whatever changes you made in "code" tags. Especially if they are the ones that I had on my wish list...

:D

HMBeaty 04-11-2011 01:58 PM

Quote:

Originally Posted by DragonByte Tech (Post 2182288)
Please do not post the full product. If you wish to suggest template changes then please include them in [html] tags instead.

Don't get me wrong, I appreciate the effort, we'd just rather people didn't distribute modified versions of our products, even on this site :)


Fillip

FIXED < modified. Think about that ;)
Quote:

Originally Posted by Phaedrus (Post 2183425)
Post whatever changes you made in "code" tags. Especially if they are the ones that I had on my wish list...

:D

Replace the entire dbtech_username_change_editusername template with:
HTML Code:

</div>
<h3 class="blocksubhead">{vb:rawphrase dbtech_username_change_usernamechange}</h3>
<div class="section">
    <div class="blockrow">
    <vb:if condition="$show['dbtech_changeusername']"><label for="tb_editusername">{vb:rawphrase dbtech_username_change_edit_username}</label></vb:if>
    <div>
        <vb:if condition="$show['dbtech_changeusername']">
            <input type="text" class="primary textbox" name="username" id="tb_editusername" value="" maxlength="{vb:raw vboptions.ctMaxChars}" />
        <vb:else />
            {vb:raw dbtech_changeusername_reason}
        </vb:if>
    </div>
    <p class="description">
        <vb:if condition="$vbulletin->userinfo['permissions']['usernamechangepermissions'] & $vbulletin->bf_ugp_usernamechangepermissions['canchangeown']">
            <vb:if condition="$vbulletin->userinfo['permissions']['dbtech_username_changedelay'] > 0">
                {vb:rawphrase dbtech_username_change_description, {vb:raw bbuserinfo.permissions.dbtech_username_changedelay}}
            <vb:else />
                {vb:rawphrase dbtech_username_change_always}
            </vb:if>
        </vb:if>
        <vb:if condition="$dbtech_lastchange">
            <vb:if condition="$vbulletin->userinfo['permissions']['usernamechangepermissions'] & $vbulletin->bf_ugp_usernamechangepermissions['canchangeown']"><br /></vb:if>
            {vb:rawphrase dbtech_username_change_lastchange, {vb:raw dbtech_lastchange}}<br />
            <vb:if condition="$bbuserinfo['permissions']['dbtech_username_numchanges']">
            {vb:rawphrase dbtech_username_change_numchanges, {vb:raw dbtech_numchanges}, {vb:var bbuserinfo.permissions.dbtech_username_numchanges}}<vb:else />{vb:rawphrase dbtech_username_change_numchanges_nolimit, {vb:raw dbtech_numchanges}}</vb:if>
        </vb:if>
    </p>
</div>


Phaedrus 04-11-2011 02:18 PM

Sweet...

David Karol 04-12-2011 05:32 PM

Hi,

After upgrading to 4.1.3, in "Edit Profile" an error shows up where the Username Change is located: "You don't have permission to change your username. ".

Any Ideas?

Thanks.

DragonByte Tech 04-12-2011 06:28 PM

Please re-check your usergroup permissions, we're running 4.1.3 on DBTech and it's working fine here :)


Fillip

Seba123 04-14-2011 05:46 PM

Another version for 3.x?


All times are GMT. The time now is 07:42 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.01379 seconds
  • Memory Usage 1,748KB
  • 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
  • (1)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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