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)

antialiasis 06-05-2006 06:29 PM

Quote:

Originally Posted by antialiasis
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.

Quoting myself, too. :p

evesve, good idea. I'll add collapsing to the next version of this.

Stop 06-06-2006 08:00 AM

<div align="center">:surprised:
Sorry but I didn't see it though I checked the thread 4 times.
Anyway,I would love to see this added to the next version.
Thanks.</div>

antialiasis 06-07-2006 11:14 PM

Yeah, I probably will add it. I think I have a thing for releasing hacks with no user instructions included...

GrCh_Jeff 06-09-2006 03:01 PM

Quote:

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
I agree.I have another vB which I just set up and added it to it.It worked the same way with or without forum width code for me.Well, It's here in this thread if they want to try it.Thank you again.This hack is useful.I have already had 4 or 5 members tell me how glad they are that I added it.
INSTALLED!!!

Chadi 06-09-2006 06:51 PM

Odd. I edited usercp with the added code, saved and plugin uploaded/enabled yet I see nothing in the user area.

This is my usercp

Code:

<if condition="$show['privatemessages']">
<!-- ############## PRIVATE MESSAGES ##############  -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
        <tr>
                <td class="tcat" colspan="2">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_pms')"><img id="collapseimg_usercp_pms" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_pms].gif" alt="" border="0" /></a>
                        <a href="private.php$session[sessionurl_q]">$vbphrase[new_private_messages]</a><span class="normal">: ($numpms)</span>
                </td>
        </tr>
</thead>
<tbody id="collapseobj_usercp_pms" style="$vbcollapse[collapseobj_usercp_pms]">
        $messagelistbits
</tbody>
</table>
<br />
<!-- ############## END PRIVATE MESSAGES ##############  -->
</if>

<!-- ############## START REFERRER BY ADAM GESSEL ####################  -->
<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('usercp_reflink')"><img id="collapseimg_usercp_reflink" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_reflink].gif" alt="" border="0" /></a>
<a href="register.php?referrerid=$bbuserinfo[userid]">Refer Friends URL</a><span class="normal"></span>
</td>
</tr>
</thead>
<tbody id="collapseobj_usercp_reflink" style="$vbcollapse[collapseobj_usercp_reflink]">
<tr>
<td class="alt1" align="center" colspan="7"><b>Invite your friends to join our forum by linking them here via the following link:</b> <br /><a href="register.php?referrerid=$bbuserinfo[userid]">$vboptions[bburl]/register.php?referrerid=$bbuserinfo[userid]</a></td>
</tr>
</tbody>
</table>
<br />
<!-- ############## END REFERRER BY ADAM GESSEL ####################  -->

<!-- ############## START ABUSE REPORT ####################  -->
<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('usercp_reflink')"><img id="collapseimg_usercp_reflink" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_reflink].gif" alt="" border="0" /></a>
<font color="#FF0000">Abuse Report</font></td>
</tr>
</thead>
<tbody id="collapseobj_usercp_reflink" style="$vbcollapse[collapseobj_usercp_reflink]">
<tr>
<td class="alt1" align="center" colspan="7"><b>Did you receive an abusive pm or
spam? Someone soliciting you?<br>
</b><a href="http://www.talkjesus.com/sendmessage.php">Click here to report
immediately. Please provide all proof possible</a></td>
</tr>
</tbody>
</table>
<br />
<!-- ############## END START ABUSE REPORT ####################  -->

<!-- ############## SUBSCRIBED THREADS ##############  -->

<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('usercp_subthreads')"><img id="collapseimg_usercp_subthreads" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_subthreads].gif" alt="" border="0" /></a>
                        <a href="subscription.php?$session[sessionurl]do=viewsubscription">$vbphrase[new_subscribed_threads]</a><span class="normal">: ($numthreads)</span>
                </td>
        </tr>
</thead>
<tbody id="collapseobj_usercp_subthreads" style="$vbcollapse[collapseobj_usercp_subthreads]">
        <if condition="$show['threads']">
                <tr class="thead">
               
                        <if condition="$show['threadicons']">
                                <td class="thead" colspan="2">&nbsp;</td>
                        <else />
                                <td class="thead">&nbsp;</td>
                        </if>
                       
                        <td class="thead" width="100%">$vbphrase[thread] / $vbphrase[thread_starter]</td>
                        <td class="thead" width="150" align="center" nowrap="nowrap">$vbphrase[last_post]</td>
                        <td class="thead" align="center">$vbphrase[replies]</td>
                        <td class="thead" align="center">$vbphrase[views]</td>
                </tr>
                $threadbits
        <else />
                <tr>
                        <td class="alt1" align="center" colspan="7"><strong>$vbphrase[no_subscribed_threads_to_display]</strong></td>
                </tr>
        </if>
        <tr>
                <td align="$stylevar[right]" colspan="7" class="tfoot">
                <span class="smallfont"><a href="subscription.php?$session[sessionurl]do=viewsubscription&amp;folderid=all">$vbphrase[view_all_subscribed_threads]</a></span>
                </td>
        </tr>
</tbody>
</table>
<br />
<!-- ############## END SUBSCRIBED THREADS ##############  -->

<if condition="$show['favoritethreads']">
<form action="usercp.php" method="post">
<input type="hidden" name="entry_type" value="thread" />
<!-- ############## FAVORITE THREADS ##############  -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
        <tr>
                <td class="tcat" colspan="2">
                        $vbphrase[vbfavorites_favthreads]
                </td>
        </tr>
</thead>
<tbody>
        $favoritethreadbits
        <tr>
                <td class="tcat" colspan="2">
                        <center><input type="submit" name="deletefavorites" class="button" value="$vbphrase[vbfavorites_deleteselected]" /></center>
                </td>
        </tr>
</tbody>
</table>
<br />
<!-- ############## END FAVORITE THREADS ##############  -->
</form>
</if>

<if condition="$show['favoriteposts']">
<form action="usercp.php" method="post">
<input type="hidden" name="entry_type" value="post" />
<!-- ############## FAVORITE POSTS ##############  -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
        <tr>
                <td class="tcat" colspan="2">
                        $vbphrase[vbfavorites_favposts]
                </td>
        </tr>
</thead>
<tbody>
        $favoritepostbits
        <tr>
                <td class="tcat" colspan="2">
                        <center><input type="submit" name="deletefavorites" class="button" value="$vbphrase[vbfavorites_deleteselected]" /></center>
                </td>
        </tr>
</tbody>
</table>
<br />
<!-- ############## END FAVORITE POSTS ##############  -->
</form>
</if>

<if condition="$show['favoriteusers']">
<form action="usercp.php" method="post">
<input type="hidden" name="entry_type" value="user" />
<!-- ############## FAVORITE USERS ##############  -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
        <tr>
                <td class="tcat" colspan="2">
                        $vbphrase[vbfavorites_favusers]
                </td>
        </tr>
</thead>
<tbody>
        $favoriteuserbits
        <tr>
                <td class="tcat" colspan="2">
                        <center><input type="submit" name="deletefavorites" class="button" value="$vbphrase[vbfavorites_deleteselected]" /></center>
                </td>
        </tr>
</tbody>
</table>
<br />
<!-- ############## END FAVORITE USERS ##############  -->
</form>
</if>


<if condition="$show['forums']">
<!-- ############## SUBSCRIBED FORUMS ##############  -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
        <tr>
                <td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_forums')"><img id="collapseimg_usercp_forums" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_forums].gif" alt="" border="0" /></a>
                        $vbphrase[subscribed_forums]
                </td>
        </tr>
</thead>
<tbody id="collapseobj_usercp_forums" style="$vbcollapse[collapseobj_usercp_forums]">
        <tr align="center" valign="bottom">
                <td class="thead" width="2%">&nbsp;</td>
                <td class="thead" align="$stylevar[left]" width="80%">$vbphrase[forum]</td>
                <td class="thead">$vbphrase[last_post]</td>
                <td class="thead">$vbphrase[threads]</td>
                <td class="thead">$vbphrase[posts]</td>
                <if condition="$vboptions['showmoderatorcolumn']">
                <td class="thead" width="20%">$vbphrase[moderator]</td>
                </if>
        </tr>
        $forumbits
</tbody>
</table>
<br />
<!-- ############## END SUBSCRIBED FORUMS ##############  -->
</if>


<if condition="$show['reputation']">
<!-- ############## NEW REPUTATION ##############  -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
        <tr>
                <td class="tcat" colspan="$reputationcolspan">
                        <span class="smallfont" style="float:$stylevar[right]">
                                <phrase 1="$bbuserinfo[reputation]">$vbphrase[x_points_total]</phrase>
                                &nbsp; &nbsp;
                                <a href="#top" onclick="return toggle_collapse('usercp_reputation')"><img id="collapseimg_usercp_reputation" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_reputation].gif" alt="" border="0" /></a>
                        </span>
                        $vbphrase[latest_reputation_received]
                </td>
        </tr>
</thead>
<tbody id="collapseobj_usercp_reputation" style="$vbcollapse[collapseobj_usercp_reputation]">
        <tr>
                <td class="thead" colspan="2">&nbsp; &nbsp; $vbphrase[thread]</td>
                <td class="thead">$vbphrase[date]</td>
                <if condition="$vboptions['showuserraters']">
                <td class="thead" nowrap="nowrap">$vbphrase[posted_by]</td>
                </if>
                <td class="thead">$vbphrase[comment]</td>
        </tr>
        $reputationcommentbits
</tbody>
</table>
<br />
<!-- ############## END NEW REPUTATION ##############  -->
</if>
<form name="personalnotepad" method="post" action="usercp.php$session[sessionurl_q]">
<table class="tborder" width="100%" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" align="center">
<tr>
<td class="tcat" align="center">$vbphrase[personal_notepad]</td>
</tr>
<tr>
<td class="alt1" align="center">
<textarea name="notepad" rows="7" cols="45">{$vbulletin->userinfo['notepad']}</textarea>
<input type="hidden" name="do" value="savenotepad" /></td>
</tr>
<tr>
<td class="alt2" align="center"><input type="submit" value="$vbphrase[save_notepad]" /></td>
</tr>
</table>
</form>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
        <td width="100%">&nbsp;</td>
        <td align="$stylevar[right]">$forumjump</td>
</tr>
</table>


antialiasis 06-09-2006 10:48 PM

Are you sure you edited it in all your styles?

Chadi 06-09-2006 10:50 PM

Actually I found it. I was subscribed to about 300 threads and the notepad was burried under the big list :)

Thanks

Snake 07-19-2006 09:46 AM

Thank you very much!

Also is it possible to change the content message size to "smallfont"?

X Quiz 07-21-2006 08:17 AM

Thanks a lot!

Is it possible to set a limit for the contents of this Notepad?

Example: 1,000 words.

Because, someone may write lots of words which may damage the SQL!

Muellmann 08-01-2006 05:06 PM

I like this! I always lost so many in my Clipboard with copy and re-copy.
Now I save temporary in this cool notepad :)


All times are GMT. The time now is 04:43 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.01280 seconds
  • Memory Usage 1,822KB
  • 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_code_printable
  • (2)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