Previous Thread
Next Thread
Print Thread
Rate Thread
#276985 07/20/2004 2:45 PM
Joined: May 1999
Posts: 1,715
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 Images
117019-ubbt_user_memo-1_0.zip (0 Bytes, 227 downloads)
Last edited by Gardener; 07/23/2004 12:04 AM.
Sponsored Links
Joined: May 1999
Posts: 1,715
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.

Joined: May 1999
Posts: 1,715
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/23/2004 12:05 AM.
Joined: Jan 2003
Posts: 141
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.

Joined: May 1999
Posts: 1,715
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
Joined: Aug 2000
Posts: 1,609
Addict
Offline
Addict
Joined: Aug 2000
Posts: 1,609
Pardon my ignorance, but what are some uses of this mod?

Joined: Feb 2002
Posts: 2,286
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....)
Joined: Aug 2000
Posts: 1,609
Addict
Offline
Addict
Joined: Aug 2000
Posts: 1,609
What kind of notes would one take while at a website?

Joined: Sep 2003
Posts: 803
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.

Joined: May 1999
Posts: 1,715
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
Joined: Oct 2005
Posts: 81
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?

Joined: Nov 2001
Posts: 10,369
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.

Joined: Oct 2005
Posts: 81
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.

Joined: Nov 2001
Posts: 10,369
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.

Joined: Oct 2005
Posts: 81
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,545
Posts293,796
Members13,838
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online 344
Topics Created 0
Posts Made 0
Users Online 1
Birthdays 16
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,806
Greg Hard 4,625
Top Posters(30 Days)
isaac 20
Top Likes Received
isaac 44
Gizmo 10
Brett 7
Morgan 2
Top Likes Received (30 Days)
isaac 4
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2020 VNC Web Services

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

PHP: 5.4.45 Page Time: 0.066s Queries: 46 (0.031s) Memory: 3.3811 MB (Peak: 3.6658 MB) Data Comp: Zlib Server Time: 2020-09-18 12:54:55 UTC
Valid HTML 5 and Valid CSS