|
|||
|
You must add:
and for includes/function_posts.php (at the beginning)
and for includes/function_posts.php (at the end)
the original code for functions_post.php will be replaced with
As you can see I have also added the avatar update to the normal post update due to performance reasons. if you have also installed the DELETE UNUSED AVATARS mod, then you must change this mod according also to run correctly with this mod.
I hope it is understandable, if not ask. posted by Loeffel |
|||
|
|||
| in-my-opinion.orgTechnology, Computers, Science, InternetSoftware by the adminphpBB mod (freeware): Persistent Avatars + Avatar Toplist |
|
|||
|
Loeffel: I hope it is understandable, if not ask. Thank you very much! Were more changes than I have expected. posted by knn |
|||
|
|||
|
|||
|
No problem, why shouldn't I share my knowledge? I hope it will be useful for someone having the same problem. I could search for my own, but perhaps you know where to change. If I would use the voting option I would like to see bad / average / good / top instead of -1 / 0 / 1 / 2 in the toplist. Do you know where it is to be changed? posted by Loeffel |
|||
|
|||
|
|||
|
Loeffel: If I would use the voting option I would like to see bad / average / good / top instead of -1 / 0 / 1 / 2 in the toplist. Do you know where it is to be changed? Actually I don't what you mean. In the toplist you see averages. Something like "0.8 points" posted by knn |
|||
|
|||
|
|||
|
That's right, but on the right side there are two things. First what someone wrote to a voting and with what value he is posting (can this be seen by everyone or just by the admin?) this value is just shown as an numeric value. posted by Loeffel |
|||
|
|||
|
|||
|
Loeffel: First what someone wrote to a voting and with what value he is posting (can this be seen by everyone or just by the admin?) this value is just shown as an numeric value. That can only be seen by the admin. posted by knn |
|||
|
|||
|
|||
|
Where must I change the code to get texts for it? You know I'm a lazy guy and why need to think what the value means. posted by Loeffel |
|||
|
|||
|
|||
|
Loeffel: Where must I change the code to get texts for it? You know I'm a lazy guy and why need to think what the value means. OK, I have updated the code. You can download the mod again. You just need to upload "avatarsuite_toplist.php". posted by knn |
|||
|
|||
|
|||
|
Cool thanks! Now I should return to my real problem, the notification mails. some are send and some doesnīt seem to be send. posted by Loeffel |
|||
|
|||
|
|||
|
When using this mod I am getting the following error trying to access avatarsuite_toplist.php, specifically Fatal error: Call to a member function on a non-object in /home/betrayth/public_html/forum/includes/page_header.php on line 633
and here is the line from page_header.php $s_last_visit = $userdata['session_logged_in'] ? $user->date($userdata['user_lastvisit']) : '';
interestingly enough I do not get that error when accessing the other two php files that come with this mod. Thanks. posted by RMcGirr |
|||
|
|||
|
|||
|
RMcGirr: When using this mod I am getting the following error trying to access avatarsuite_toplist.php Did you install the mod correctly? I mean adding the mod lines to page_header.php? posted by knn |
|||
|
|||
|
|||
|
According to the mod I only needed to add those to have a link to avatar toplist on every page...which I didn't want. Did I not read the instructions correctly? #
#-----[ OPEN ]----------------------------------------- # # Note: You only need to edit this file, if you plan to have a link to the avatar toplist on every page # includes/page_header.php # Thanks for the reply. posted by RMcGirr |
|||
|
|||
|
|||
|
Hi, I havenīt got access to the mod right now, but normally you also need to modify the templates/subSilver/overall_heder.tpl file. posted by Loeffel |
|||
|
|||
|
|||
|
Uhmmm, I don't want a link on every page which, if I am understanding what I am reading, is what the edits to page_header.php and overall_header.tpl do. I just want to be able to view all the avatars on the site. Thanks. posted by RMcGirr |
|||
|
|||
|
|||
|
Thatīs right. So just donīt make the modification to the overall_header.tpl and the page_header.php You can make a normal link inside the forum somewhere to avatarsuite_listavatars.php or avatarsuite_toplist.php that will make it. posted by Loeffel |
|||
|
|||
|
The time now is 12 March 2010, 15:28 php B.B. |