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)
-   -   Profile Enhancements - Personal Notepad (https://vborg.vbsupport.ru/showthread.php?t=161834)

Shazz 11-03-2007 08:16 PM

Its been in the mod graveyard. Ill look into this one :)
Its like admin notes in the admincp

Analogpoint 11-03-2007 08:27 PM

You've done a good job on this mod. Here's my personal wish list, if you're going to keep developing.

1. Left-align the title by default, so it matches the rest of the User CP, if someone wants it centered, they can edit the template.
2. Use the "raised" panel around the textarea, with the "save" button below the panel, so it better matches the User CP.
3. With the fluid width setting, make the textarea 95% wide instead of 100%, to give a bit of a margin on the sides.
4. At the bottom (beside the increase/decrease size links-- so it doesn't take more space), tell the user the max # of characters allowed in the notepad.
5. Add an onchange javascript handler to the textarea, and show the user how many characters are in the textarea, while they're typing. You can also stop accepting input when the limit is reached. Drop me a PM if you want the JS code for this.
6. Make the whole "personal notepad" block collapsible. See below.
7. Cache the template. Add $globaltemplates[] = 'personal_notepad'; to a plugin on the cache_templates hook.

That's all for now :) And thanks again for your work. :)


Make a collapsible box:

Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="180">
<thead>
<tr>
    <td class="thead">
        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('MYBOX')"><img id="collapseimg_MYBOX"

src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_MYBOX].gif" alt="" border="0" /></a>
        TITLE HERE
    </td>
</tr>
</thead>
<tbody id="collapseobj_MYBOX" style="$vbcollapse[collapseobj_MYBOX]">
<tr>
    <td class="alt1" nowrap="nowrap">CONTENTS HERE</td>
</tr>
</tbody>
</table>

see also
https://vborg.vbsupport.ru/showthread.php?t=119931

Snake 11-03-2007 08:58 PM

Whoa! I'm always a big fan of those notepad hacks. Thanks for your release! It's much better than the other released ones.

By the way, you sure this is gonna work just fine on v3.6.8?

asw 11-03-2007 09:00 PM

Thank you for this great hack!

Installed without issues!

johnrizz 11-03-2007 09:03 PM

just uninstalled old notepad and installed new.... thanks

Analogpoint 11-03-2007 09:25 PM

Quote:

Originally Posted by Snake (Post 1375110)
Whoa! I'm always a big fan of those notepad hacks. Thanks for your release! It's much better than the other released ones.

By the way, you sure this is gonna work just fine on v3.6.8?

I installed it on my 3.6.8 test forums with no problem.

Paul M 11-03-2007 09:25 PM

Quote:

Originally Posted by Shazz (Post 1374981)
I reported that mod too a while ago, and nothing was done lol.

I would hardly call one day "a while ago" :rolleyes:

In this case there was no clear evidence that the author had not given permission, so we contacted him. The post above (previous page) clearly demonstrates permission was not given, so it was removed this afternoon.

antialiasis 11-03-2007 10:22 PM

Quote:

Originally Posted by Analogpoint (Post 1375096)
You've done a good job on this mod. Here's my personal wish list, if you're going to keep developing.

1. Left-align the title by default, so it matches the rest of the User CP, if someone wants it centered, they can edit the template.
2. Use the "raised" panel around the textarea, with the "save" button below the panel, so it better matches the User CP.
3. With the fluid width setting, make the textarea 95% wide instead of 100%, to give a bit of a margin on the sides.
4. At the bottom (beside the increase/decrease size links-- so it doesn't take more space), tell the user the max # of characters allowed in the notepad.
5. Add an onchange javascript handler to the textarea, and show the user how many characters are in the textarea, while they're typing. You can also stop accepting input when the limit is reached. Drop me a PM if you want the JS code for this.
6. Make the whole "personal notepad" block collapsible. See below.
7. Cache the template. Add $globaltemplates[] = 'personal_notepad'; to a plugin on the cache_templates hook.

That's all for now :) And thanks again for your work. :)

Ah, damn, I keep forgetting to cache templates. Actually, now that you mention it, I intended to make it collapsible long ago and actually thought I'd done so already, but apparently not...

Anyway, they were good suggestions, so... I went and implemented all of them in some fit of workaholism. I've never liked textareas that make you stop typing when you exceed a character limit, so now it just gives a visual reminder that you've exceeded the limit and need to shorten the input (and, of course, still gives an error if the user submits the form when it's still too long). Enjoy version 3.0...

Quote:

In this case there was no clear evidence that the author had not given permission, so we contacted him.
Her. ;)

yoyoyoyo 11-03-2007 10:50 PM

I love the new update! I especially like the character counter :) I have been requesting that as a mod for all of the text boxes for awhile now! Is there anyway you can pull just that part of your code out and make it a product to add to all of the other text boxes on vb?

htscpl 11-03-2007 11:54 PM

Very nice! This will make a great addition for my members *** installs ***


All times are GMT. The time now is 08:13 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.01129 seconds
  • Memory Usage 1,746KB
  • 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_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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