View Full Version : Who's My Secret Admirer? v1.0
paul41598
08-23-2006, 10:00 PM
Who's My Secret Admirer? :)
Do you have The Secret Admirer (https://vborg.vbsupport.ru/showthread.php?t=96393&highlight=secret) hack? Do you know how frusturating it is not to know who admired you or your users? This addon is for you!
Inspiration:
Personally I have the secret admirer hack installed, and it was frusturating to me, let alone my members not knowing who admired them. I know thats the point of the hack, but what about a backdoor?
What This Hack Does:
If permissions are set, for instance only allowing PREMIUM MEMBERS access to this hack, if that particular member has an admirer, it will output WHO and the DATECREATED in their USERCP.
Features:
Usergroup Permissions!
Pagination
Delete Own Admirers
Usergroup Permissions For Deleting Own Admirers
Installation:
1.) 1 Template Edit
2.) 1 Product Upload
3.) Upload Bitfield to Includes/XML
4.) Upload delete.gif to images/misc
3.) Enjoy Release
Notes:
- Adds 1 extra query
If you find any bugs, have comments, questions feel free to post them. I'll do my best to accomidate anything.
Disclaimer: Any modification to this hack, must get prior consent/authorization by me first.
Remember To Click INSTALL
bada_bing
08-24-2006, 03:25 AM
Holy crap thanks man I will install now.. Yes this is what I was looking for.. Would be event better if it would not only list the admirer but a small profile pic and if they dont have one a default one.. That would be awesome
Also the amount of admirers to display
unitedpunjab
08-24-2006, 07:25 AM
will this work on 3.6 ?
FleaBag
08-24-2006, 10:16 AM
Outstanding addition. :)
bonjurkes
08-24-2006, 10:20 AM
it works at vb 3,6,0 but i didnt get how it works?
I upload the product and copy the xml but nothing changed, is the only option is can see their secret admirer?
How someone can be my secret admirer?
paul41598
08-24-2006, 11:35 AM
it works at vb 3,6,0 but i didnt get how it works?
I upload the product and copy the xml but nothing changed, is the only option is can see their secret admirer?
How someone can be my secret admirer?
I can't verify this works on 3.6, so use at your own risk. With that said, did you do the template edit?
bada_bing
08-24-2006, 02:38 PM
Holy crap thanks man I will install now.. Yes this is what I was looking for.. Would be event better if it would not only list the admirer but a small profile pic and if they dont have one a default one.. That would be awesome
Also the amount of admirers to display
Any chance of doing the above?
bada_bing
08-24-2006, 02:42 PM
Aww almost forgot.. When a secret admirer get added how long does it remain in the members secret admirer list, can the member delete them from the list.
Very Important hate to have unlimited admirers with no limit or delete options?
Wired1
08-24-2006, 03:30 PM
it works at vb 3,6,0 but i didnt get how it works?
I upload the product and copy the xml but nothing changed, is the only option is can see their secret admirer?
How someone can be my secret admirer?
Do you have the Secret Admirer Hack installed?
Snake
08-24-2006, 04:05 PM
Thanks man! :D
bada_bing
08-24-2006, 07:06 PM
Aww almost forgot.. When a secret admirer get added how long does it remain in the members secret admirer list, can the member delete them from the list.
Very Important hate to have unlimited admirers with no limit or delete options?
Any updates to this?
IncredibleHawk
08-24-2006, 07:36 PM
Very kool indeed
paul41598
08-24-2006, 07:39 PM
Any updates to this?
That'll be in the next version. Unfortuntely it's going to take some time to write that part of the code...so be patient
I do however have the DELETE function already done
paul41598
08-25-2006, 12:20 AM
Update:
I have pagination & delete functions almost written. This will add some more functionality to this awesome hack
bada_bing
08-25-2006, 02:35 AM
Update:
I have pagination & delete functions almost written. This will add some more functionality to this awesome hack
Great this is a nice next step to a great hack
paul41598
08-25-2006, 11:06 AM
Who's My Secret Admirer? v1.1 :)
New Features:
Pagination
Delete Own Admirers
Usergroup Permissions For Deleting Own Admirers
New Instructions:
1.) Upload Bitfield to includes/XML (overwrite)
2.) Upload delete.gif to images/misc
3.) Uninstall old product
4.) Reinstall new product
5.) Set Permissions via Usergroup Manager
6.) Enjoy Release
Screenshots in original thread.
bada_bing
08-25-2006, 11:57 AM
I have followed the upgrade proceedures and in the group permissions I dont get the option for allowing Delete??? Im running this hack on my 3.5.4 site
paul41598
08-25-2006, 12:03 PM
I have followed the upgrade proceedures and in the group permissions I dont get the option for allowing Delete??? Im running this hack on my 3.5.4 site
Sorry, redownload, reupload the bitfield XML to includes/XML.
bada_bing
08-25-2006, 12:16 PM
Cool that worked.. Thanks:D
bada_bing
08-25-2006, 12:22 PM
OK another problem.. Now if I allow the usergroup to delete own secret admirer and save then go back into the usergroup the setting is turned off???
paul41598
08-25-2006, 12:32 PM
It's probably because you just reupload the file..and needed to rebuild the bitfields. Uninstall the product entirely, make sure the templates are gone too. Reupload the XML to includes/XML. Reinstall the product. Then goto usergroup manager and click on GO for whichever usergroup your setting permission for. It should say Rebuilt Bitfields Successfully
Dont forget when your reinstalling the product, set overwrite to YES. It'll work
bada_bing
08-25-2006, 12:46 PM
It's probably because you just reupload the file..and needed to rebuild the bitfields. Uninstall the product entirely, make sure the templates are gone too. Reupload the XML to includes/XML. Reinstall the product. Then goto usergroup manager and click on GO for whichever usergroup your setting permission for. It should say Rebuilt Bitfields Successfully
Dont forget when your reinstalling the product, set overwrite to YES. It'll work
Ok that worked ..Thanks
abramelin
02-26-2007, 05:44 PM
does this work on 3.6.4?
Nordinho
03-08-2007, 03:25 PM
Hey Paul,
Thanks for the hack. Great for my premium members. I'm having some troubles however. Since installing the hack. It seems to be deleting admirers. When I installed it I had 51 admirers. Two days later i was down to 30. (I deleted 3 of them, not 20). The crush report showed:
Thus far, you have registered your admiration for 3 forum users... and in turn, 28 users have registered their admiration for you.
Here are the people that you have successfully matched with:
person a person b
Here are the people whom you have registered your admiration, but have not yet matched with:
person c
You still have 26 users who admire you, whom you have not yet matched with.
And right now, without deleting admirers it's down to this:
Thus far, you have registered your admiration for 0 forum users...
and in turn, 23 users have registered their admiration for you. Here are the people that you have successfully matched with: No matches yet!
Here are the people whom you have registered your admiration, but have not yet matched with: You haven't registered your admiration for anyone yet!
You still have 23 users who admire you, whom you have not yet matched with. :)
Also, persons that I matched with are deleted or at least don't show up as matches anymore. Running a patched VB3.52.
Any help is appreciated!
oaddah
12-05-2007, 01:47 PM
thank you
BellaMama
12-08-2007, 04:34 PM
I've installed it on my 3.6.8 and It gives me a database error for now I have it just under Administrator (usergroup use) and this is what i get.. when I click on USERCP on my forum.
Database error in vBulletin 3.6.8:
Invalid SQL:
SELECT count(*) AS count
FROM secretadmirer AS secretadmirer
LEFT JOIN user ON (secretadmirer.userid = user.userid)
WHERE secretadmirer.admiresuserid = 1;
MySQL Error : Table 'bella614_1vbulletin.secretadmirer' doesn't exist
Error Number : 1146
Date : Saturday, December 8th 2007 @ 12:33:34 PM
Script : http://www.hotmomshangout.com/usercp.php
Referrer : http://www.hotmomshangout.com/index.php
IP Address : **.***.***.***
Username : Bella Mama
Classname : vb_database
Hmmmmm..
FleaBag
08-19-2008, 09:51 PM
Shame the original hack is gone. I should have backed up the files!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.