vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Personal Notepad (https://vborg.vbsupport.ru/showthread.php?t=117444)

Cedric_FP 06-03-2006 03:12 AM

Installed. Great hack - should be extremely useful on my writing forum.

antialiasis 06-03-2006 04:30 AM

Quote:

Originally Posted by GrCh_Jeff
I found this:
Code:

<td class="alt1" align="center">
<textarea name="notepad" rows="7" cols="45">{$vbulletin->userinfo['notepad']}</textarea>
<input type="hidden" name="do" value="savenotepad" /></td>

And changed it to this:
Code:

<textarea name="notepad" rows="12" cols="80">{$vbulletin->userinfo['notepad']}</textarea>
Here is a screenshot and no the forum width isn't messed up :

Interesting. It doesn't stretch the table cell around it at all, you say?

Hmm, never knew that. *mental note*

Stop, you can add a description if you want just above the textarea or something. Try something like finding

Code:

<textarea name="notepad" rows="7" cols="45">{$vbulletin->userinfo['notepad']}</textarea>
in the template and adding above it something in the direction of

Code:

<div class="smallfont">Your personal notepad can store anything you can think of: notes, memos, half-finished posts, image URLs, quotes you like... Just type it in, save, and access it again here anytime you want.</div>
That's just a description made-up on the spot, so by all means edit it (if you have a board in multiple languages, by all means phrase it too), but that's all you'd have to do. Might add it as a hack feature, but this will have to do for now.

FunaGuy 06-03-2006 06:42 AM

Installed
Working Properly but sir i have problem
i also installed this hack too [https://vborg.vbsupport.ru/showthread.php?t=112594]

when i turn on Member Profile in UserCP Home hack personal notepad goes off
when i turn off Member Profile in UserCP Home its showing up


please solve this problem

antialiasis 06-03-2006 02:09 PM

That hack replaces the USERCP template (which is what you edited for this hack) with another template, USERCP_PLUS, so the problem is simply that USERCP_PLUS is what you should be editing instead of USERCP. :) Admittedly, this makes your User CP home page so big that if I were you, I'd probably put the personal notepad at the top of the page instead of at the bottom - in fact, I'd take the whole thing from this:

Code:

<if condition="$show['privatemessages']">
<!-- ############## PRIVATE MESSAGES ##############  -->

to this

Code:

<!-- ############## END NEW REPUTATION ##############  -->
</if>

and move it to the top of it, placing the personal notepad below what I just moved. But that's just what I would do - I just think new subscriptions and PMs belong in a more prominent place than at the very bottom of that very large template.

GrCh_Jeff 06-03-2006 02:29 PM

Quote:

Originally Posted by antialiasis
Interesting. It doesn't stretch the table cell around it at all, you say?

Hmm, never knew that. *mental note*

Not on my forum.Now if I put this above 80 It will stretch the page out.
Code:

cols="80">

carrie31 06-03-2006 04:15 PM

very nice hack ! installed ! thank you ^^

just wonder... is it possible to use AJAX when save the content in the personal notepad ?

moreover, are there words limited ?

FunaGuy 06-03-2006 06:27 PM

Thanks
its working now

antialiasis 06-04-2006 12:53 AM

Quote:

Originally Posted by GrCh_Jeff
Not on my forum.Now if I put this above 80 It will stretch the page out.
Code:

cols="80">

Ah, then you probably just hit the right number of cols. You can't make any assumptions about all forums out there, so I'm not going to put that into the hack by default...

carrie31, there is no word limit - well, perhaps the sky-high one set by the database, but that's barely a limit.

As for AJAX, yes, it almost definitely is possible, but the problem is that I don't know AJAX, at least not at the moment. Might start messing around with it soon, though. :p

Stop 06-05-2006 12:17 AM

Quote:

Originally Posted by Stop
The members may not know what to do with this or how to get benefit, so maybe you can add a little description text to it appears when they hover on Personal Notepad.

Quoting my self !!!

evesve 06-05-2006 08:20 AM

Isn?t this better to use the collapse funktion?
Code:

<!-- ############## START NOTEPAD ##############  -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="7">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('notepad')"><img id="collapseimg_notepad" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_notepad].gif" alt="" border="0" /></a>
$vbphrase[personal_notepad]<span class="normal"></span>
</td>
</tr>
</thead>
<tbody id="collapseobj_notepad" style="$vbcollapse[collapseobj_notepad]">
<tr>
<td class="alt1" align="center" colspan="7">
<form name="personalnotepad" method="post" action="usercp.php$session[sessionurl_q]">
<textarea name="notepad" rows="7" cols="75">{$vbulletin->userinfo['notepad']}</textarea>
<input type="hidden" name="do" value="savenotepad" /></td>
</tr>
<tr>
<td class="alt2" align="center" colspan="7"><input type="submit" value="$vbphrase[save_notepad]" /></td>
</tr>
</form>
</tbody>
</table>
<br />
<!-- ############## END NOTEPAD ##############  -->

for me it look nice!


All times are GMT. The time now is 06:02 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.01102 seconds
  • Memory Usage 1,751KB
  • 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
  • (9)bbcode_code_printable
  • (4)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
  • (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