Getinfo was renamed MemberInfo in vb3. it would appear that the getinfo instructions have been left in by mistake, scroll down to the bottom of the install instructions to get the correct link to add to memberinfo.
Installed and working great, thanks a lot for updating this, my members really appreciate it.
GetInfo was indeed a leftover from the VB2 version... sorry, I only collated the files straight after work and failed to remove that line.
I've updated the installer... just ignore the GetInfo instructions if you used the installer downloaded prior to this posts date..
GetInfo was indeed a leftover from the VB2 version... sorry, I only collated the files straight after work and failed to remove that line.
I've updated the installer... just ignore the GetInfo instructions if you used the installer downloaded prior to this posts date..
Some users on my site have asked if it's possible to limit the number of admirations a single user can make in a designated time frame.
i.e. to restrict each user to making no more than 5 admirations per month.
The logic behind this is that whilst you cannot admire the same person twice, it does prevent users just flooding the system with admirations in an attempt to figure out who admired them.
So it places a higher value on an admiration.
What do you all reckon? Something you want to see?
Also... it appears that users are receiving PM notification emails as well as their e-mail... I'm going to look at this some time... I think it's permissioning... or my logic with bitflags.
Requested by a few people, I was planning on going to straight to release version... but I'm wise enough to have it tested by others first.
I'll iron bugs over the next two weeks and then go to gold with it.
So... from the top of the install file:
And below you can find the install file.
There is an upgrade route for those who installed it before (renaming a table) as well as instructions for a fresh install.
Cheers
David K
UPDATE1: Fixed install to remove GetInfo reference which was a VB2 leftover. Included in install a line saying that the configuration is changed in secretadmirer.php.
UPDATE2: 2004-02-17 22:44 GMT: Modified ./includes/functions_secretadmirer.php as it was sending two e-mails instead of one if someone had PMs and PM notification both enabled.
Another mild update... it was sending out two emails for each admiration if the receiving user had both PM enabled and PM notification.
Now it just sends the one email in that case.
This only affected ./includes/functions_secretadmirer.php
So you can just upload that and it's fixed
So far, so good. There was a little problem in editing the last template where it did not exactly match up. I picked the closest thing and it worked. This was the part of the instructions:
But other than that this thing is working good....probably a couple more installs and you can move it out of Beta mode. Thanks for your patience and efforts with this hack.
So far, so good. There was a little problem in editing the last template where it did not exactly match up. I picked the closest thing and it worked. This was the part of the instructions:
But other than that this thing is working good....probably a couple more installs and you can move it out of Beta mode. Thanks for your patience and efforts with this hack.
I've adjusted that part of the instructions to this:
Code:
TEMPLATE SECTION: Member Info Templates
TEMPLATE: MEMBERINFO
FIND (about 1/3rd of the way down within the 'button row' section):
<if condition="can_moderate()">
<td class="vbmenu_control"><a href="moderator.php?$session[sessionurl]do=useroptions&u=$userinfo[userid]">$vbphrase[user_options]</a></td>
</if>
ABOVE IT ADD:
<td class="vbmenu_control"><a href="profile.php?$session[sessionurl]do=admire&userid=$userinfo[userid]">Register your admiration for $userinfo[username]</a></td>