|
|||
|
Yes, something like that would work too but I mean something more like this:
So basically a two-liner. BUT: You need to override the flood control within "submit_post" posted by knn |
|||
|
|
|||
| in-my-opinion.orgTechnology, Computers, Science, InternetSoftware by the adminphpBB mod (freeware): Persistent Avatars + Avatar Toplist |
|
|||
|
I just install this mod and it's great! One problem though... it worked for a few minutes then I could no longer see the avatars or the voting at all (I am under my admin account). I think others can see them because I looked and in the last 5 minutes many people voted. What did I do wrong? posted by candysmall |
|||
|
|||
|
|||
|
You mean, everyone sees the voting buttons except you (= the admin)? posted by knn |
|||
|
|||
|
|||
|
Question, How would I (or can I) reset the ratings and voting? I was testing the MOD and wanted to set it to new befor my members started using it. Thank you for your help posted by 5boomer5 |
|||
|
|||
|
|||
|
5boomer5: How would I (or can I) reset the ratings and voting? Go to phpMyAdmin and delete the Table "avatartoplist". Then vote for 1 avatar, to recreate it again. posted by knn |
|||
|
|||
|
|||
|
Hi - I installed this mod on my website and as soon as I ran avatarsuite_sql_installation.php, it caused all the avatars on my site to disappear. The error message said something along the lines of: Mod installation failure. Could not copy user avatars to post avatars. I have no idea what this means, but I have a feeling that this is the problem. The avatars disappeared on viewtopic.php even before I modified this. How do I reverse the modifications done with avatarsuite_sql_installation.php and get the the avatars back? posted by Jimbo |
|||
|
|||
|
|||
|
Jimbo: I have no idea what this means, but I have a feeling that this is the problem. The avatars disappeared on viewtopic.php even before I modified this. What does that mean? I think the avatars could disappear if you don't complete the installation = if you forget to change viewtopic.php Jimbo: The error message said something along the lines of:
Mod installation failure. Could not copy user avatars to post avatars. I have no idea what this means It means that the 2 fields in the database have not been added. Can you add "user_avatar" and "user_avatar_type" manually to phpbb_posts? This is strange. Are you using MySQL? Jimbo: How do I reverse the modifications done with avatarsuite_sql_installation.php and get the the avatars back? avatarsuite_sql_installation.php adds ADDITIONAL fields to the database. Has nothing to do with the disappearing of the avatars. Only the editing of viewtopic.php can make avatars disappear. posted by knn |
|||
|
|||
|
|||
|
Does the sql installer make any other changes? Does it copy avatars across to another location? ie, here is an example of the viewtopic.php - as you can see, the avatars don't appear. Using phpmyadmin, I've been able to see that the new tables have been entered successfully. Even when I change back to my original Viewtopic.php, the avatars fail to appear. This is very worrying! Is there any way to sort this out? Can I send you a copy of my viewtopic.php file? posted by Jimbo |
|||
|
|||
|
|||
|
Jimbo: Does the sql installer make any other changes? No, it just makes a copy of the avatar filenames. Jimbo: Is there any way to sort this out? Can I send you a copy of my viewtopic.php file? Yup, PM me your viewtopic.php posted by knn |
|||
|
|||
|
|||
|
Jimbo: I've been able to see that the new tables have been entered successfully.
Even when I change back to my original Viewtopic.php, the avatars fail to appear. I think I know what happened. It's easy to fix: For some reason the avatarfilenames have not been copied from the users table to the post table. Thus viewtopic.php gets only empty strings. posted by knn |
|||
|
|||
|
|||
|
Aha - this seems quite likely - do you know the SQL command I could need to sort this out? Your prompt responses are greatly appreciated! posted by Jimbo |
|||
|
|||
|
|||
|
Jimbo: Aha - this seems quite likely - do you know the SQL command I could need to sort this out? But then I don't understand why even your old viewtopic.php doesn't work. The command to re-copy the avatars is in the "avatarsuite_sql_installation.php". Simply rerun it. posted by knn |
|||
|
|||
|
|||
|
I did this and got the following message Mod Installation started... Error: Mod installation failure. Could not alter posts table. Most probably you have the Sticky Avatar mod installed already. Or you are running this installation for a second time. Error: Mod installation failure. Could not copy user avatars to post avatars. Mod installation finished! Please delete this file now and continue with the installation as written in the "readme.txt" I don't have the sticky avatar mod installed - and I'm running the file for maybe the fourth time! I looked in the phpbb_posts table and in the user_avatar table, everything seems to be blank and in the user_avatar_type table, everything is set to 0 Does this mean that they have somehow been deleted? posted by Jimbo |
|||
|
|||
|
|||
|
OK, PM me you login data, I will have a look posted by knn |
|||
|
|||
|
|||
|
I've tried registering about 10 times but it keeps telling me that there is 'wrong validation' - which details do you need and I can email them to you. posted by Jimbo |
|||
|
|||
|
The time now is 6 July 2008, 04:25 php B.B. |