![]() |
Love calculator
simple hack, its not completely done I still want to add in avatar support and a few other small peice to it, but the core works
Its fairly simple it use a small calculation based on the users name and calculates a % of possible love, this could be used also as a hate calculator or whatever you want it calculate. note i didnt write the algorythum i had it in a list of older scriptlets I collected I dont know who wrote the original peice so sorry to that person i cant give you credit create a new template called "loveme" insert the following PHP Code:
PHP Code:
PHP Code:
|
What the...... picture?
|
http://gamer-networks.com/forums/images/loveme.gif
forgot to attach the image for the loveme icon here is a Sc of what it looks like in operation http://gamer-networks.com/forums/images/loveme.jpg |
It's kinda fun :p
|
hehe cool :D
|
So, does it work out your and the person's button you click "love"
or do you click "love" and enter a name? ie. If I clicked joe's "love" button, will it show me and joe, or joe and a username I enter? |
nice hack
|
LMAO, funny hack! :p What if everyone who goes to your forum is currently a guy....? :rolleyes:
|
Way cool! :)
I will surely follow this development, installing on test board now. brb. Why use: src="https://vborg.vbsupport.ru/images/loveme.gif ? [update] Quote:
[I][/I] in between {[I][/I]..} |
Quote:
|
Installation instructions (also included in .zip file + screenshots & templates)
I have made a little alternation, so the file can be called without an action, and with the action help. (both result in the same help page) And I have made a better integration with vBulletin, so users dont get a broken nested table. Hope that helps a few. Note: Dymo, I just LOVE your hack, and I will use it on my forum @ http://www.creations.nl/ and you are free to use my modifications. Enjoy! Hope this helps you and others. Step 1: (Modify loveme template) Replace the content of current loveme template with the content of the file: loveme template.txt file from .zip Step 2: (Add loveme_help template) Add a new template called: loveme_help (content is in loveme_help template.txt file from .zip) Step 3: (Modify postbit template) In postbit template, find: Code:
name1=$bbuserinfo[username]&name2=$post[username]&calculate=love Code:
name1=$bbuserinfo[username]&name2=$post[username]&calculate=love&action=loveme Step 4: (Upload loveme.php) Upload (and overwrite) loveme.php to forum root Done! let me know what you think :) It works perfectly on my forum. Though I get a lot of 0% and 14,5% results - with both this version and your original version (same calculation code!) |
|
some nice ideas for it, i will look at implementing them tommorrow
On friday I am gonna shoot to release an E-pack for Vb, its an entertainment pack, which contains the two game style hacks love me and the 8ball as well as four more simple single player style games. i will post some updates later tonite for the individual peices. i looked at xiphoid update not bad works very well, and the ideas he had some are very usable and easily doable, but i probably wont add the admin features to the individual release but to all the Epack instead, why do the work twice :) Dymo |
ok here is what i have done already
Admin option to turn the love on or off will display a sorry the love is off template, but still shows the image added custom message for a user who trys to love himself, with admin option to change that message better error correction and corrected the check for logged in user. added custom message for users who have 0% love there is no way to have 100% love :) 99% is the max 100% would require duplicate names and would give the stop loving yourself message adding support to record the number of times a user loves and a top 10 loving users list :)~ i got bored i will post the installer in a bit |
One word: Sweeeeeet
I am happy to see that you still complete this one, as a seperate hack, since I might not have an interest in all the other stuff (or not all of them). You have one a lot of work, let me know when I can download the update! :) |
sorry this has gotten pushed back our board was attacked last nite and a ton of password reset so we restored from a 2 day old backup but in so doing i lost all the templates i had done as well as the admin tool inserts, so i will have to re do those again, but priority is to find out how they got in and comprimised the board
|
Wow,
I am sorry to hear that. I do hope you can find and procecute the hackers/crackers or however those lame abusers want to call themselves. Happy that you had a backup :> And I hope you find out that it isn't a bug in vB 2.2.5 :> Take your time, because the current version we can download works just fine :) [update 4 mins later] Ah, I think I know what went wrong. You have an old vBulletin version! vB 2.2.1 There are like 5 exploits out there for vBulletin, download vB 2.2.5 from vBulletin.com "Members Area" and upgrade A.S.A.P.! They probably did some cross site exploiting or maybe through upload exploit with php older then 4.1.2 (or whatever, see vBulletin.com announcements and php.net announcements) - If it was php, inform your provider. Also, .htpasswd/.htaccess your /admin/ & /mod/ directory, so they can't exploit and then login as an administrator. Also, check the admin log and write down all the IP's. Maybe you also want to have a copy of the hacked board in .sql so you can go through that with notepad or ultraedit or whatever, and find IP's from users who just signed up, (and admin log) and compare those against the servers syslog. vBulletin 2.2.5 announcement thread. PHP Vulnerability -- File Uploads thread. vBulletin.com members area php.net Vulnerability security release (www.php.net for sources) Hope this helps. |
its actually 2.2.5 code just on a 2.2.1 db thats been heavily moddified i just havent had the patience to go thru and look for the var for the version info
|
You can just run upgrade18.php from vb225 to only alter the version number (check the source)
|
worked perfect thanks, i already patched two known exploits used by passing template info thru the global, just add a line to clear the template cache array, and the memberlist hack both i already fixed but i am still not sure how they managed to get in, but i have alot of logs to use to find out
|
How is the process on the updated version going?
|
Quote:
Can't Wait :) |
/me stamps his feet to the ground!
By the way, did you found out who hacked your board? And can you maybe give us some info on how you are taking this guy down for hacking? |
It' s nice. Just changed % to USD. :laugh:
More close to real life... |
xiphoid, i put yours in on top of the original, like u said, every now and then it gives blank pages.
any idea? |
Then you didn't call the right function, probably, did you also find/replace the code? And alter templates?
|
*food for thought* (or otherway around) hehe
Maybe it is because some users have spaces in their name or other characters that are filtered out? Which might cause the script to end up with a blank space, go check if you can reproduce the error and try to notice what differs from the URL |
still nothing yet? Any estimated time on when this will be up?
|
*when its done*
|
repost of what i said on the irc notifier, i have been on the road for awhile and just getting back into the swing of coding again, i had a major update complete before our boards were attacked, xiphod knows more about that issue, but the persons who attacked the board once realising they could steal the database as it was too large 120meg :) decided to destroy the coding we had and erased all my tempaltes, luckily i had backups of a few of the changes but not all, and it has taken alot of time to pretty much recode everything we had done before, but i feel better with what i have now, and i really hope to have a full updated and final release within 48 hours latest from now.
dymo |
*I hate abusers*
|
will be waiting anxiously
|
so funny....haha...
|
Can you tell me how exactly it determines the love percentage? My members are getting curious and I dont know how to answer.
|
That's the end of the thread? No one has released it in final form?
|
All times are GMT. The time now is 11:17 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:
|