![]() |
Quote:
|
ha ha ha - awesome hack.... however, i dont know if my car community (consisitng 95% of males) would enjoy it. :)
good work anyway! Christian |
Is it possible to have the secret admirer report sent to the users PMs instead of via email?
There's something with the server configuration here that blocks all of the forums sent out emails. :( |
Quote:
**Never mind - I found it. But what should the text of the report say? Right now it just says "secret_admirer_report_email". |
Quote:
https://vborg.vbsupport.ru/attachmen...chmentid=16862 And the zip file contains the TXT file named: secret_admirer_report_email.txt Of which the content is: Code:
Hiya $bbuserinfo[username], here is you Secret Admirer report as requested. Quote:
|
Thanks! :) I saw that about the txt files but didn't know where they were. Thanks again :)
|
Great hack.
I found a small avatar you can use for Roger Lodge, host of America's Blind Date. Much funnier to use for us folks on this side of the pond. https://vborg.vbsupport.ru/ |
Quote:
|
For his user info I put his website as www.blinddatetv.com and location is Los Angeles. I don't know of a birth date for him though. I also changed all the templates to say Roger instead of Celia. My users were laughing their asses off having Roger Lodge run the crush system.
|
This is just whay my Singles board needs, but I am using 1&1 for hosting and I don't know if it will allow me to set up the table prefixes. They don't really let you access the database manually. Has anyone using 1&1 tried this yet?
|
Quote:
Sure, you may need to create the database table by pasting the code into PhpMyAdmin or something like that (even vBulletin lets you run SQL in the AdminCP!), but the simple bit is that if you had permissions to create the vbulletin database originally and can perform updates (which usually modify tables), then you pretty much should be fine to proceed with this hack :) |
Thanks buro9. I will look over it again. I am thinking that this may be a little over my head as far as the install goes, but I do want to get it done. Luckily, I think I can get a friend to do it for me.
|
Quote:
|
/me clicks Install
Thanks for this great hack. |
Install went easy. Appears to be working fine. Thanks.
|
For this:
$EXCLUDED_USERGROUPS = array(1,3,4,9,12); Can we leave it blank so everyone can use it? |
Quote:
* Spiders such as Google will follow the link and trigger false admirations. * You can only have 1 unregistered user perform an admiration because of the way the database table works. * The admired person wouldn't be able to reciprocate against an unregistered user as the unregistered user couldn't be notified by either mail or PM that a match occured. So whilst you can remove the usergroups such as banned users, etc... you really should leave in the unregistered usergroup as otherwise it will be a bit of a mess, |
Yeah never thought about that... Just seen all them numbers and I belive since I am an admin I was in group 1... Why would I want to disallow admins?
|
Quote:
1 = Unregistered 3 = Awaiting Email Confirmation 4 = COPPA Awaiting Confirmation And then I have a couple of custom ones which I'm sure if you have the equivalent of you want to exclude too: 9 = Miserable Users (See the miserable users hack) 12 = Banned So Admins, etc can all use it, but those who are anonymous or inactive are excluded, and those whom the board have banned or taken action against are also excluded. |
DUH I feel stupid now hehe
I keep thinking when I see 1 that its me because I am user 1.. Have not hacked a board in a long time and just setting up a new site with VB3 and going to shut down an old one that uses VB2* as soon as the new site is set up how I want it. Thanks! |
Just had a great idea.... but may send too many emails...
send valentines cards on feb 14 from the admirers... ;p |
it is a really good mod, but i don't want to install it if i don't have any control over it.
i really need an admin section to check users aren't adding literally everyone to their list, and i need to be able to monitor new guests (like perverts and such ((as i run a teenager forum for a certain location )) and make sure people with 0 - 20 posts aren't adding more than 1 or 2 people ) some equation like, 1 person added per 10 posts (without informing them they need to post more to receive another, but rather inform them they will receive another slot "very soon" ) |
Quote:
This can be an alternative method of prevent flooding alongside the time based method currently available. I could also do a usergroup based permissioning, this would let you use promotions to control the availability of the secret admirer thing via thresholds that you define through the promotion system. Thus far there is no reporting whatsoever, and I'm afraid that whilst I understand your concerns re: perverts, I shall not be building a reporting system for this as I do not want my users to believe that just because I created a reporting function I do such things as examine who admired who, etc. However, I'm not a closed source hack writer, and anyone who wants to make such changes and additions can do, and I will happily roll them into the first post for new vBulletin admins to get if they wish to use reporting tools with this hack. |
This is what I'm getting...
Quote:
|
Strange, no-one else has had this problem.
The function it can't find is within the functions_secretadmirer.php file that you should have uploaded to your includes folder. Could you check that you have done this. If you have done this, have you changed your includes folder from the default path (it's looking relative to the profile.php file for a subfolder named 'includes'). If you have done both of those... have you in any way modified the chunk of code that the install instructions asked you to put into profile.php? Specifically the chunk of logic that currently looks like thus: PHP Code:
Try that first (checking the file is where it should be). Cheers David K |
All of my forum files are in the site root, and my includes folder is a subdirectory of this. I have added the code to profile.php as required...
I guess I should have also let you know that I get this error when clicking the link in the profile, to register romantic interest... Just to let you know. I was also admiring myself as a test - this seemed to work when I had 3.01 installed - it was working 100% [I'm now re-hacking for the 3.03 upgrade]. I'm usually pretty good at tracking errors down, even though I'm not too PHP savvy, but this is beyond me heh. Thanks for your time buro9. |
I'm getting a database error when I click to get the report. Also, when I try to admire someone to test it, it says it's a duplicate. Any ideas?
|
I've still not fixed this. Anyone having a similar problem?
|
Quote:
You did upload the two files into the includes directory right? Do you have a phpinfo page accessible too? Not that I can imagine why this doesn't work. |
I am trying to install this, but I dont understand the mySQL part. could someone explain how I install this part in more detail please. The rest seems fairly striaght forward.
Thanks Robert |
thx ^^ it workx :D
|
Quote:
The next bit, template creation. Go to: AdminCP > Styles & Templates > Style Manager Then for each style... or just one if you have a master one... you need to add those text files as templates. This is done by using the drop down select list and choosing Add Templates. The title of each template is the name of the text file, and the contents of each file is the content of each text file :) Couldn't be easier :D Well... it could... but hey, this helps you learn the AdminCP stuff anyway ;) |
it keeps on saying....uve already registered ur admiration for the member....(no..i didnt register....it says the samething for everyone)
why is that? |
Quote:
I use a MySql index trick to determine whether duplicates are being made... but the essence of that is that I catch a database error. So if you have database errors, it would incorrectly report it as being a duplicate. So: 1) Check that the table exists and that you ran the SQL correctly. 2) Check that the table doesn't need repairing. You can use phpMyAdmin to do both of those :) |
buro9, where should I send the file?
Thanks! |
Quote:
|
Hi David, email sent... Thanks a lot! :)
|
All working now! Woohoo! :D
|
Extremely Cool! *install*
-Mika- |
Working ok on swanseasucks.com
Although had to edit one of the templates as by default it has an extra /forum/ which wasn't necessary in my case for linking to the memberlist. Hopefully when my site gets a bit busier with a better male/female ratio it'll become quite fun. Looking forward to Valentines with this one.... |
All times are GMT. The time now is 11:36 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|