vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   End-User Options - Personal Notepad for 3.7 (https://vborg.vbsupport.ru/showthread.php?t=181811)

Extrateknik 07-16-2010 08:47 PM

Thanks

3.8.6 Installed

Crashh 07-25-2010 04:18 PM

Amiga Harrison, thank you, my friend! New version worked on 4.0.5!

Hippy 09-01-2010 01:24 AM

I know this thread is old
anyway

the templater is not all that needs to be fixed Like Boofo said the template is out of standard
the template need to be updated so it looks like this..

the mod works tho

gimlot79 11-29-2010 09:09 AM

cool hack..thx , i like it :-)

Scandal 12-10-2010 01:09 PM

If anyone wants the notepad ONLY on a separate page (for example, you want to put it on a popup window):
1. Download the vbnotepad.php (it attached on this post) and upload it to your forum directory.
2. Set a new template to your style with the name vbNotepad and paste inside it the following code:
Code:

<head>
<title>$vboptions[bbtitle]</title>
$headinclude
</head>
<body>

<if condition="!$show['member']">

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle]</title>
$headinclude
</head>
<body>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

<tr>
        <td class="tcat"><strong>System Message:</strong></td>
</tr>
<tr><td class="alt1">
        <div style="margin: 5px 20px 20px;">
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tbody><tr>
                <td class="panel">
                       
                               
<br>
<br>
This function is only for Member. <a href="/register.php" target="_blank">Click here</a> to register !
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>

                       
                </td>
        </tr>
        </tbody>
  </td>
</table>
</div>
</tr>
</table>
</body>
</html>

<else />

<if condition="$vboptions['personal_notepad_onoff']==1">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
        <td class="tcat"><strong>Personal Notepad</strong></td>
</tr>


<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>

<tbody id="collapseobj_notepad" style="$vbcollapse[collapseobj_notepad]">
<tr>
<td class="panelsurround" align="center">
<div class="alt1">
<textarea name="notepad" id="notepad" rows="25" cols="$vboptions[personal_notepad_cols]"<if condition="$vbulletin->options['personal_notepad_liquid']"> style="width:95%"</if>><if condition="$vbulletin->userinfo['notepad']">{$vbulletin->userinfo['notepad']}<else />$vbphrase[personal_notepad_explanation]</if></textarea>
<tr>
<td class="alt2" align="center">
<input type="hidden" name="do" value="savenotepad" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="submit" value="Save" />
</td>
</tr>
</td>
</tr>
</tbody>
</table>
</form>
</table>

<else />


$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle]</title>
$headinclude
</head>
<body>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
        <td class="tcat"><strong>System Message:</strong></td>

</tr>
<tr>
        <td class="alt1">The service is temporary unavailable!</td>
</tr>
</table>
</body>
</html>
</if>
</if>
</body>
</html>

3. Go to Admincp > Plugins & Products > Plugin Manager and open the plugin Save personal notepad and add template. Find usercp.php and replace it with vbnotepad.php
4. Find the template personal_notepad and delete its content.
5. Done! :D Visit the link http://www.youforum.x/vbnotepad.php to see the personal notepad!

6. It is not based on vbulletin phrase system. If you want to change phrases, find them on the template vbNotepad and make the changes...
Sorry if my English are bad...

Nirjonadda 05-17-2014 06:35 PM

Please can update for work on vB 4.2.2 ?


All times are GMT. The time now is 01:36 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.01057 seconds
  • Memory Usage 1,737KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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