Miranda NG Official Community Forum
Forum for English speaking Miranda NG users => Support/Help => Topic started by: rotefantas2 on 22 06 2023, 09:39:58
-
hi,
where are my chats from last year? i can only see the last 30 days.
-
What protocol are you talking about?
-
jabber xmpp
-
Please post version info (https://wiki.miranda-ng.org/index.php?title=Version_information) report here
-
rotefantas2,
1. which history plugin do you use?
2. if you could download any SQLITE Browser for Windows, you'd be able to open this profile and execute a query like
SELECT * FROM events WHERE contact_id = XXX;
where XXX is the contact id, you can find it in dbeditor++ in the list of Contacts
-
Please post version info (https://wiki.miranda-ng.org/index.php?title=Version_information) report here
VersionInfo
CPU: Intel(R) Pentium(R) CPU G4560 @ 3.50GHz [Intel64 Family 6 Model 158 Stepping 9] [DEP Enabled] [4 CPUs]
Installed RAM: 16235 MBytes
Microsoft Windows 10 Professional Edition, 64-bit (build 19045)
Internet Explorer: 9.11.19041.0 (build 919041)
Administrator privileges: No
OS Languages: (UI | Locale (User/System)) : German/German | German/German
Free disk space on Miranda partition: 232365 MBytes
Miranda NG Version: 0.96.3 build #25684 (e313c689e1) x64
Build time: 13 Jun 2023 18:24:12
Profile: C:\Users\Nutzer\AppData\Roaming\Miranda NG\Arbeitsplatz\Arbeitsplatz.dat
Database driver: SQLite database driver
Profile size: 548864 Bytes
Profile creation date: 15 Sep 2021 11:01:54
Language pack: German (DE) [0407]
Service Mode: No
SRMM Log Viewer: built-in
Active Plugins (19):
¤ AVS.dll v.0.98.1.6 [13 Jun 2023 18:24:20] - Avatar service
¤ Clist_modern.dll v.0.9.1.12 [13 Jun 2023 18:25:16] - Modern contact list
¤ CrashDumper.dll v.0.2.0.1 [13 Jun 2023 18:25:22] - Crash dumper
¤ Db_autobackups.dll v.0.1.0.7 [13 Jun 2023 18:24:30] - Db autobackuper
¤ DbChecker.dll v.0.96.3.1 [13 Jun 2023 18:27:08] - Database checker
¤ Dbx_sqlite.dll v.0.96.2.4 [13 Jun 2023 18:27:02] - Miranda NG SQLite database driver
¤ Dummy.dll v.0.2.0.1 [13 Jun 2023 18:26:26] - Dummy protocol
¤ Facebook.dll v.0.1.0.11 [13 Jun 2023 18:27:08] - Facebook
¤ GG.dll v.0.96.3.1 [13 Jun 2023 18:24:42] - Gadu-Gadu protocol
¤ ICQ.dll v.0.96.3.3 [13 Jun 2023 18:27:06] - ICQ-WIM protocol
¤ Import.dll v.0.96.3.1 [13 Jun 2023 18:24:58] - Import contacts and messages
¤ IRC.dll v.0.96.1.4 [13 Jun 2023 18:24:22] - IRC protocol
¤ Jabber.dll v.0.95.11.1 [13 Jun 2023 18:25:16] - Jabber protocol
¤ NewEventNotify.dll v.0.2.2.7 [13 Jun 2023 18:25:18] - NewEventNotify
¤ PluginUpdater.dll v.0.2.1.5 [13 Jun 2023 18:25:30] - Plugin updater
¤ StatusManager.dll v.1.2.0.6 [13 Jun 2023 18:26:48] - Status manager
¤ TabSRMM.dll v.3.6.2.6 [13 Jun 2023 18:24:36] - TabSRMM
¤ TopToolBar.dll v.0.8.0.5 [13 Jun 2023 18:25:04] - TopToolBar
¤ VoiceService.dll v.0.1.3.1 [13 Jun 2023 18:27:14] - Voice Service
Protocols and Accounts:
-------------------------------------------------------------------------------
JABBER 1 - Enabled 0 - Disabled Loaded
Icon Packs:
-------------------------------------------------------------------------------
Proto_Dummy.dll [13 Jun 2023 18:31:00]
Proto_Facebook.dll [13 Jun 2023 18:31:00]
Proto_GG.dll [13 Jun 2023 18:30:58]
Proto_ICQ.dll [13 Jun 2023 18:31:00]
Proto_IRC.dll [13 Jun 2023 18:30:58]
Proto_Jabber.dll [13 Jun 2023 18:30:58]
Proto_MetaContacts.dll [13 Jun 2023 18:31:00]
Proto_MRA.dll [13 Jun 2023 18:31:00]
TabSRMM_icons.dll [13 Jun 2023 18:30:58]
Toolbar_icons.dll [13 Jun 2023 18:30:58]
xStatus_Jabber.dll [13 Jun 2023 18:30:58]
-
rotefantas2,
1. which history plugin do you use?
2. if you could download any SQLITE Browser for Windows, you'd be able to open this profile and execute a query like
SELECT * FROM events WHERE contact_id = XXX;
where XXX is the contact id, you can find it in dbeditor++ in the list of Contacts
1. none
2. where is the path of the profile? which browser do you recommend ? this one?
https://sqlitebrowser.org/dl/
-
rotefantas2,
1. by default = Profiles subfolder of your Miranda NG installation path, or ProfilePath variable in your mirandaboot.ini
2. yes, why not
-
i have no idea where to search. do i have to look for .db-files or .sqlite-files?
-
mirandaboot.ini -> ProfileDir=<profile path>
<profile path>/<profile name>/<profile name>.dat = it is your database
-
browser says no. miranda ng still opened.
-
ok this looks good (after closing miranda ng)
-
i have no idea how to start a query and use dbeditor++ in the list of Contacts.
..
-
SELECT * FROM events WHERE contact_id = XXX;
where XXX is the contact id, you can find it in dbeditor++ in the list of Contacts
1. Install the DbEditorPP plugin
2. Right-click on contact -> Open in Database Editor -> See contact ID (dec value)
In my case, it is 447
3. Open db in SQLite Browser (always use a copy, do not experiment on your real db)
4. Switch to Execute SQL
5. Execute SELECT * FROM events WHERE contact_id = 447; command
6. See SQL Log
-- EXECUTING ALL IN 'SQL 1'
--
-- At line 1:
SELECT * FROM events WHERE contact_id = 447;
-- Result: 325 rows returned in 149ms
325 events in history for this contact
7. See timestamp for event 1 (1 is the oldest event in contact history)
1634160132
8. Convert this UNIX timestamp to date with https://www.unixtimestamp.com
GMT Wed Oct 13 2021 21:22:12 GMT+0000
Result: the history of conversations with this contact in my database starts with Oct 13 2021 21:22:12 GMT
This is in complete agreement with what the history viewer plugin History++ shows me in Miranda (Oct 13 21:22:12 GMT = Oct 14 0:22:12 GMT+3)
This way you will find out if there is a history older than 30 days in the database or not.
-
If there is no history older than 30 days in the database... well, for some reason it is erased. I have no idea why.
If there is a history older than 30 days in the database, perhaps this is some kind of bug in the history viewer, and it simply cannot show it. Try another history viewer (HistoryPP plugin or Basic History). Or create new database and import all contacts and history from old database to the new one.