You have to look to the added templates:
Quote:Templates Added:
Your THEME >thankyoulike- Template containing The block with the list of users who have Thanked/Liked a post for the default view.
[i]Your THEME >thankyoulike_classic[/i]- Template containing The block with the list of users who have Thanked/Liked a post for the classic view.
[i]Your THEME >thankyoulike_expcollapse[/i]- Template For the Expand/Collapse image which Expands/Collapses the block of Thank Yous/Likes
[i]Your THEME >thankyoulike_button_add[/i]- Template for the button to add Thank You/Like. If you do not want to use an image, change it to text here.
[i]Your THEME >thankyoulike_button_del[/i]- Template for the button to delete Thank You/Like. If you do not want to use an image, change it to text here.
[i]Your THEME >thankyoulike_users[/i]- Template for the list of users who have Thanked/Liked a post
[i]Your THEME >thankyoulike_postbit[/i]- Template for the block of Thanks Given/Thanks Received in the postbit
[i]Your THEME >thankyoulike_memprofile[/i]Template for the section added to user's profile which shows the number of Thank Yous/Likes stats.
If there is no code, take a look to the added templates in the mybb default theme and copy the corresponding code to your own theme template. It's all from my memory, so I'm not 100% sure.
Hello community,
first, many thanks for this great plugin
We has just updated from 1.805 to 1.812, unfortunalety we lost all our database entries (nearly all, except _ggt_tables - these are reduced by half). The table columns tyl_unumtyls, tyl_unumrcvtyls and tyl_unumptyls in table mybb_users now shows 0 for each user.
Latest database backup from 1.805 with tyl release #15 (think so) exists.
In the german mybb forum, one user wrote that data restoration isn`t possible:
https://www.mybb.de/forum/thread-31367-p...#pid220153
Can`t believe it, that would be not funny...
Another user told about to restore only the _ggt_ tables
https://www.mybb.de/forum/thread-31367-p...#pid220550
Hm, can'tbelieve it, too....that would be strange.I think the _ggt_ tables could be any references to the users, but i really don't know.
But my common sense is shure for one thing: The likes will be saved in the user table.
Now, what is the right procedure now, maybe the following would be the right solution?
In phpmyadmin:
At first, choose the data from the backup:
SELECT tyl_unumtyls, tyl_unumrcvtyls, tyl_unumptyls FROM mybb_users
Then export to sql file, i get:
INSERT INTO `mybb_users` (`tyl_unumtyls`, `tyl_unumrcvtyls`, `tyl_unumptyls`) VALUES
(x, y, z),
(0,0,0),
....and so on...
(0, 0, 0);
Now I have to drop the table columns from live database:
ALTER TABLE mybb_users DROP COLUMN tyl_unumtyls, tyl_unumrcvtyls, tyl_unumptyls
Afterwards, execute the dump that was generated to the sql file (INSERT INTO...).
The last step is to export the ggt tables from the backup, delete them in the live database and import the export to live database, similarly as before.
...eventually delete new registered users that have been added after the update of the board to ensure that the number of entries is correct...?
Can it really be so simple?
Or maybe i should rather work with Mysql UPDATE? If so, how is this exactly to do?