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)

ThorstenA 11-05-2007 02:57 PM

You could make just a user profile field labeled "Notebook".

antialiasis 11-05-2007 04:36 PM

Quote:

Originally Posted by ThorstenA (Post 1376333)
You could make just a user profile field labeled "Notebook".

That's a lot harder to access, though, since it takes two clicks instead of one and requires the user to scroll down the page, if not to edit the field in the first place then definitely to save it. This is more convenient because it's easy to get to it and you can quickly just type in what you want and save it.

yoyoyoyo 11-05-2007 05:00 PM

wow thanks for the update

Pod 11-05-2007 05:17 PM

Quote:

Originally Posted by antialiasis (Post 1376278)
It was more thought of as a reminder that now they can't type more, but I guess it makes more sense the other way around.

Augh, forgot to phrase that thing. Will do. As for usergroup specific, that shouldn't be hard at all either. I'll go work on that stuff. :)


I originally intended to do it that way, but it only really works when the personal notepad is liquid-width - if it were fixed, those would land somewhere by the notepad's side, and it would look awkward. I might look into making it appear this way for liquid-width, I suppose...

EDIT: Okay, got that done.

Thank you! ;)

Glynn58 11-05-2007 05:58 PM

installed on 3.8, great mod

Thanks

hcmagix 11-05-2007 06:59 PM

Quote:

Originally Posted by antialiasis (Post 1374966)
That guy stole my original 3.5 code, renamed the variables, created a new template for the notepad and added an on/off option. Actually I got a report about it asking if I had given him permission (which I hadn't), and that made me get off my lazy behind and release a 2.0 version of this hack. This has more features, better grammar and no manual template edit at all, in addition to not being about to be removed from the site, so I suggest using this one instead.

Oh, yeah, forgot screenshots. I always forget something.

EDIT: Screenshots added.

Ouch, I will update to your version :)

aycan555 11-08-2007 12:19 AM

I have installed but there is nothing showing? What code i need to add into usercp template, i think the product hasn't done the template changes...

Triky 11-08-2007 08:09 AM

It would be fantastic with the WYSIWYG editor and the other things like [b], [i], [u], font, size, etc.
However, I will use this mod on my site! :)

pauloo 11-08-2007 06:33 PM

Nice thank you !
Installed

antialiasis 11-08-2007 10:21 PM

Quote:

Originally Posted by aycan555
I have installed but there is nothing showing? What code i need to add into usercp template, i think the product hasn't done the template changes...

Which vBulletin version are you using? This product uses template hooks, which were introduced in 3.6.something. I think it was 3.6.6 or 3.6.7. If you have an earlier version or didn't revert the template when you upgraded, then try finding this bit in the USERCP template:

Code:

<!-- ############## END PRIVATE MESSAGES ##############  -->
</if>

and adding this below it:

Code:

$template_hook[usercp_main_pos2]
If it still doesn't work then, you'll need to change the plugin code. Just tell me if you do.

Quote:

Originally Posted by Triky
It would be fantastic with the WYSIWYG editor and the other things like [b], [i], [u], font, size, etc.
However, I will use this mod on my site!

I never saw the point of parsing input in the personal notepad. After all, why would you need presentation on something that nobody other than you is going to be looking at? If you want to emphasize something in the notepad, there are plenty of text-only ways to do that. I think parsing it for formatting would get in the way more than it would help.

Triky 11-09-2007 08:58 AM

It could be more pretty and user friendly. Ok, no problem.

rolfw1 11-09-2007 10:10 AM

Thanks, Installed. :)

cbiweb 11-12-2007 07:04 PM

How is this different than User Notes that comes default with vB? Other than the extra bells & whistles, this Notepad seems redundant. :confused:

Analogpoint 11-12-2007 07:14 PM

Quote:

Originally Posted by cbiweb (Post 1381230)
How is this different than User Notes that comes default with vB? Other than the extra bells & whistles, this Notepad seems redundant. :confused:

This is for each user, not for the Admin Control Panel.

cbiweb 11-12-2007 07:55 PM

But there's a setting that allows all users to use the User Notes, and to make it so nobody else can view them, only the user himself. I'm just trying to think of a reason to use Notepad.

Analogpoint 11-12-2007 08:44 PM

User Notes is more akin to profile comments, and this mod is more like a personal (private) note to self. Not at all the same.

antialiasis 11-12-2007 10:13 PM

In order to use the user notes this way, you would necessarily be unable to also use them as they were intended (i.e. as a way for other users, often moderators, to comment on this user). Additionally user notes are a pain to get to, as in order to post or view them you need to view your own profile (something that requires you to either find one of your own posts, scroll down to the users online list and find yourself there, or use the quick links menu) and then click a further link from there, while to get to the notepad you only need one click in a very straightforward place. Of course you are free to use the user notes as a way for users to keep their own personal notepad, but this does have quite a few advantages provided that you are willing to install hacks on your board, which of course not all administrators are.

Personally, if I were unwilling to install hacks and wanted to achieve this effect through the default vBulletin features, I would rather simply use the suggestion posted on page three about adding a private profile field than start messing around with the user notes. Both are less accessible than the notepad, however.

MediaHound 12-06-2007 02:45 AM

Great hack, thanks!
Future version suggestion:
ajax reload, not a full page refresh
Thanks again, clicks install :)

arkkhoax 02-04-2008 08:10 PM

Everything works great except I get a message that says
Quote:

Could not find phrase 'notepad_saved'.
when I try to save data in the notepad.

I tried adding the phrase in the Phrase Manager, regenerating the style cache, and reinstalling but it still does not show up. Am I doing something wrong or missing something? Is there anything I should know about adding the phrase manually. My attempts seems to have failed. I am running 3.6.8.

arkkhoax 02-04-2008 11:23 PM

Ok, figured it out. Somehow my database got corrupted after installing this. After uninstalling the plugin, running a database repair, and running the tools.php file to fix the language files everything works! Yay!

Boofo 02-05-2008 12:33 AM

Does this work in 3.7.0 beta 4?

CLF 02-05-2008 01:53 AM

INSTALLED!!!

Thank you!

Mike-D 02-06-2008 03:29 PM

Quote:

Originally Posted by Boofo (Post 1436451)
Does this work in 3.7.0 beta 4?

Works excellent in 3.7, Bob :)

rnixon 03-05-2008 12:52 PM

This fits the bill perfectly for me, many thanks.

King Justice 03-06-2008 03:16 AM

How secure is this mod against SQL injections and XSL attacks etc?

l SKN l CHRIS 03-06-2008 06:56 PM

Great mod thanks

toucan42 04-09-2008 11:59 PM

awesome thanks!

Koroku 04-10-2008 09:07 PM

Exactly what I was looking for! Works great in vB3.7 RC3. :)

Truestyle 04-24-2008 06:49 AM

awesome quick install !
Works perfectly !
Thanks :)

Wobbly Goblin 04-25-2008 06:53 AM

This was working perfectly until I installed the "3.6.10" update. Now I'm getting the following error when I press the "Save Notepad" button.
Quote:

Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.
Is this happening to anyone else?

Thanks,
Nick

lood 04-25-2008 07:39 AM

Same problem as Wobbly

Wobbly Goblin 04-25-2008 07:50 AM

Quote:

Originally Posted by lood (Post 1498834)
Same problem as Wobbly

I posted it over at vbulletin.com as well (vBulletin 3.6.10 Release Discussion). This is the answer I was given.
Quote:

Originally Posted by Onimua
As stated in the announcement, modifications might need to be updated to be compatible with the new security token system in vBulletin. You will need to contact the author of that modification for the update.


Wobbly Goblin 04-26-2008 07:25 AM

Great news! Zero Tolerance wrote a nice little hack that fixed the problem I was having with the Personal Notepad & Event Attendance mods. Check it out --> Link

Boofo 04-26-2008 08:01 AM

Quote:

Originally Posted by Wobbly Goblin (Post 1499579)
Great news! Zero Tolerance wrote a nice little hack that fixed the problem I was having with the Personal Notepad & Event Attendance mods. Check it out --> Link

In the xml

Find:

<input type="hidden" name="do" value="savenotepad" />

And add below it:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />

and that will fix the security token error.

Wobbly Goblin 04-26-2008 04:32 PM

Quote:

Originally Posted by Boofo (Post 1499590)
In the xml

Find:

<input type="hidden" name="do" value="savenotepad" />

And add below it:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />

and that will fix the security token error.

Thanks Boofo...that worked perfectly! I still need Zero's hack for the "Event Attendance" mod, but the Notepad works great without it. I appreciate your help.

Nick

Boofo 04-26-2008 05:06 PM

Quote:

Originally Posted by Wobbly Goblin (Post 1499900)
Thanks Boofo...that worked perfectly! I still need Zero's hack for the "Event Attendance" mod, but the Notepad works great without it. I appreciate your help.

Nick

In the "Event Attendance"

Find:

<input type="hidden" name="e" value="$eventinfo[eventid]" />

BELOW it add:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />

Wobbly Goblin 04-26-2008 05:24 PM

Quote:

Originally Posted by Boofo (Post 1499927)
In the "Event Attendance"

Find:

<input type="hidden" name="e" value="$eventinfo[eventid]" />

BELOW it add:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />

Excellent...that worked great! Zero's hack is now disabled and my "Personal Notepad" & "Event Attendance" mods are working perfectly.

Thanks again Boofo :up:

Nick

RedeemedWarrior 04-28-2008 05:50 AM

works great

Boofo 05-01-2008 10:13 AM

Is there a way to add a default message to this like IPB does that explains what you can use this for?

Kaelon 05-05-2008 11:24 PM

Quote:

Originally Posted by Boofo (Post 1499590)
In the xml

Find:

<input type="hidden" name="do" value="savenotepad" />

And add below it:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />

and that will fix the security token error.

Perfect. For those who want to edit pre-existing installations, make the same edits in the "personal_notepad" template. :)


All times are GMT. The time now is 11:44 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.01303 seconds
  • Memory Usage 1,828KB
  • 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
  • (2)bbcode_code_printable
  • (16)bbcode_quote_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
  • (40)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