Previous Thread
Next Thread
Print Thread
Rate Thread
Beta-[6.4-6.5] User Memo 1.0
#276985 07/20/2004 1:45 PM
Joined: May 1999
Posts: 1,715
Gardener Offline OP
Addict
OP Offline
Addict
Joined: May 1999
Posts: 1,715
Mod Name / Version: User Memo 1.0

Description: Adds a link to your users My Home page that opens a popup window where they can read/update a short Memo message. This has only been tested on v6.4 but since it's quite stand-alone it should work fine on 6.2 and higher I believe.

Working Under: UBB.Threads 6.4-6.5

Mod Status: Beta

Any pre-requisites: None

Author(s): Gardener

Date: 07/20/04

Credits:

Files Altered: ubbt.inc.php, templates/default/myhome.tmpl, languages/english/controlpanel.php

New Files: memo.php, templates/default/memo.tmpl, languages/english/memo.php

Database Altered: New field U_OJ_Memo added to w3t_Users table

Info/Instructions: Installation instructions are available in the zip.

Update: Fixed two small bugs.

Update: Also fixed some problems with the instructions.

Update: Updated to work with v6.5.

Disclaimer: Please backup every file that you intend to modify.
If the modification modifies the database, it's a good idea to backup your database before doing so.

Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.

Attached Files
117019-ubbt_user_memo-1_0.zip (0 Bytes, 227 downloads)
Last edited by Gardener; 07/22/2004 11:04 PM.
Sponsored Links
Re: Beta-[6.4] User Memo 1.0
c0bra #276986 07/22/2004 10:41 PM
Joined: May 1999
Posts: 1,715
Gardener Offline OP
Addict
OP Offline
Addict
Joined: May 1999
Posts: 1,715
I had messed up the instructions a bit, I've uploaded a new version that hopefully works better.

Re: Beta-[6.4-6.5] User Memo 1.0
c0bra #276987 07/22/2004 11:04 PM
Joined: May 1999
Posts: 1,715
Gardener Offline OP
Addict
OP Offline
Addict
Joined: May 1999
Posts: 1,715
OK, I've updated this with some changes need for it to work with UBB.threads 6.5. There were some changes needed to the memo.php file and the instructions are a bit different for v6.5. The attachment in the main post has been updated with this latest version.

Last edited by Gardener; 07/22/2004 11:05 PM.
Re: Beta-[6.4-6.5] User Memo 1.0
c0bra #276988 07/26/2004 8:52 PM
Joined: Jan 2003
Posts: 141
dman_dup1 Offline
Journeyman
Offline
Journeyman
Joined: Jan 2003
Posts: 141
This is a sweet mod. Is there a way to make the link in the menubar instead of down on the bottom of "my home"? I tried to copy the script to the registerednav.tmpl but it only showed up when I was in the my home. Then I tried to put a regular link to the memo.php and it worked fine but when it closed the window it wouldn't go back since it wasn't actually a popup window and it closed the browser.

Re: Beta-[6.4-6.5] User Memo 1.0
#276989 07/26/2004 9:14 PM
Joined: May 1999
Posts: 1,715
Gardener Offline OP
Addict
OP Offline
Addict
Joined: May 1999
Posts: 1,715
The link should work just fine, the problem is that the language string for the link title is in the language file for the myhome script. So the link is there, but you just don't see it.

Add this to your languages/english/generic.php:
Code
$ubbt_lang['OJ_OPEN_MEMO'] = "Open Memo";


And remove the same line from controlpanel.php (or myhome.php if you're using v6.5).

Sponsored Links
Re: Beta-[6.4-6.5] User Memo 1.0
c0bra #276990 09/23/2004 1:34 PM
Joined: Aug 2000
Posts: 1,609
AKD96 Offline
Addict
Offline
Addict
Joined: Aug 2000
Posts: 1,609
Pardon my ignorance, but what are some uses of this mod?

Re: Beta-[6.4-6.5] User Memo 1.0
eslmix #276991 09/23/2004 1:41 PM
Joined: Feb 2002
Posts: 2,286
Ian_W Offline
Veteran
Offline
Veteran
Joined: Feb 2002
Posts: 2,286
Haven't installed this, but I am guessing that users can in effect have their own notepad on the site. They can store notes, and then return to that note on a future occasion. The alternative is to self PM (which always used to work)


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Re: Beta-[6.4-6.5] User Memo 1.0
Gorlum #276992 09/23/2004 2:51 PM
Joined: Aug 2000
Posts: 1,609
AKD96 Offline
Addict
Offline
Addict
Joined: Aug 2000
Posts: 1,609
What kind of notes would one take while at a website?

Re: Beta-[6.4-6.5] User Memo 1.0
eslmix #276993 09/23/2004 3:08 PM
Joined: Sep 2003
Posts: 803
DrChaos Offline
Coder
Offline
Coder
Joined: Sep 2003
Posts: 803
This was actually a mod that I was asking about but gardener whipped it up really quick. I personally use it on my forums because there are times when im on my forums and on instant messaging and I find that people always ask me to help with something on the site or a problem they had and I can easily type it into there instead of sending a pm to myself. I also have a "to do" list of things that I want/need to get done on the forums.

Re: Beta-[6.4-6.5] User Memo 1.0
Duck #276994 09/23/2004 6:15 PM
Joined: May 1999
Posts: 1,715
Gardener Offline OP
Addict
OP Offline
Addict
Joined: May 1999
Posts: 1,715
DLWebmaestro:
Yeah, quick reminder info is probably what it's most useful for, and it's quicker to reach than some odd PM.

TODO-list is a good idea as well, maybe I'll start using it for that.

I installed it on my site as well, but last I checked, only 7 users were using it I think.

Sponsored Links
Re: Beta-[6.4-6.5] User Memo 1.0
c0bra #276995 03/07/2005 4:06 PM
Joined: Oct 2005
Posts: 81
Harold Offline
Power User
Offline
Power User
Joined: Oct 2005
Posts: 81
I have a question regarding the basic functionality.

Is the text inside the memo saved when the memo box is closed? Or is it cleared to a blank box each time it is reopened?

Re: Beta-[6.4-6.5] User Memo 1.0
DVORAK #276996 03/07/2005 4:08 PM
Joined: Nov 2001
Posts: 10,369
JoshPet Offline
I type Like navaho
Offline
I type Like navaho
Joined: Nov 2001
Posts: 10,369
It should pull in the user's existing info when it's reopened.
You do have to "submit" the info though, not just close the window. If you just close the window, then nothing is saved.

Re: Beta-[6.4-6.5] User Memo 1.0
Daine #276997 03/07/2005 4:33 PM
Joined: Oct 2005
Posts: 81
Harold Offline
Power User
Offline
Power User
Joined: Oct 2005
Posts: 81
Ok. I see it now. The popup box isn't big enough to show the bottom of the memo with the save button. The popup isn't resizable, nor are there any scrollbars. I had to drag the left side down to see what you were talking about.

I imagine this is an issue with IE6 and my willingness to use it.

Re: Beta-[6.4-6.5] User Memo 1.0
DVORAK #276998 03/07/2005 5:29 PM
Joined: Nov 2001
Posts: 10,369
JoshPet Offline
I type Like navaho
Offline
I type Like navaho
Joined: Nov 2001
Posts: 10,369
We could alter the javascript link for the popup in the myhome.tmpl and either make the box bigger, or resizeable.

Re: Beta-[6.4-6.5] User Memo 1.0
Daine #276999 03/07/2005 7:06 PM
Joined: Oct 2005
Posts: 81
Harold Offline
Power User
Offline
Power User
Joined: Oct 2005
Posts: 81
Ok. I had the same result with Firefox. I'll be filling out another trouble ticket in a few days. There's a couple other things going on too.

Thanks Josh!


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,529
Posts293,721
Members13,834
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online 143
Topics Created 0
Posts Made 1
Users Online 2
Birthdays 17
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,795
Greg Hard 4,625
Top Posters(30 Days)
isaac 3
Top Likes Received
isaac 33
Gizmo 8
Brett 7
Morgan 2
Top Likes Received (30 Days)
isaac 3
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2020 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Snapshot build 20200217.dev)
Responsive Width:

PHP: 5.4.45 Page Time: 0.062s Queries: 46 (0.022s) Memory: 3.3624 MB (Peak: 3.6018 MB) Data Comp: Zlib Server Time: 2020-02-17 21:21:31 UTC
Valid HTML 5 and Valid CSS