vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   "You Got Slapped" Battle/Game.... (https://vborg.vbsupport.ru/showthread.php?t=107333)

Hellcat 02-05-2006 10:00 PM

"You Got Slapped" Battle/Game....
 
Hi everyone!

I made this one originally by request, but since the person who requested it told me "I don't need it anymore" once it was finished I decided to release it to the public.
If only ONE (maybe even two? ;)) folks around here might find this usefull it was at least worth the time spent.

What this does:
You all know those "battle" systems, where you fool someone into visiting a certain URL but all that they get is a message "You get tricked", "You got fooled" or, in this case, "You got slapped" (you can change the message to whatever you like).
Well this is what this does.

The visitor gets that message and the "slapcount" (shown in the postbit) of the user who fooled the other one increases by 1.

This thing uses phrases for every single bit, so you can very easy customize it to whatever you like.
The "slap page" can be fully edited and customized via a template.

Nothing hardcoded, everthing editable via the default AdminCP areas.


How to install
Upload one .php file, import the product .XML and make one template edit.
(details in the readme)



Like I said, maybe someone may find use for this....

influence 02-06-2006 08:53 PM

funny hack

will edit this

Xtrato 02-06-2006 09:09 PM

nice hack thanks!!

jrofosho 02-06-2006 09:21 PM

I'm getting the same "slap count" in every members postbit.

hiiped 02-06-2006 09:58 PM

Quote:

Originally Posted by jrofosho
I'm getting the same "slap count" in every members postbit.



then you got punked






















just a joke :)

nice hack idea

Daniel 02-06-2006 10:03 PM

I want to put the "Slaps" on the sinfo.php page, so it shows how many slaps they have on the page where it says "You got slapped by..." so I put this in the template:
Code:

<div class="smallfont">$vbphrase[slap_slaps]: $slapcount</div>
but it doesn't seem to appear.

Reeve of shinra 02-06-2006 10:07 PM

oh my god, I wish I had this 5 years ago... I'd get some people in teh hundreds.

Hellcat 02-06-2006 10:17 PM

Quote:

Originally Posted by jrofosho
I'm getting the same "slap count" in every members postbit.

Weird....
I'll check if there's still a bug hidden....
[high]* Hellcat runns
[/high]


Quote:

Originally Posted by Daniel
I want to put the "Slaps" on the sinfo.php page, so it shows how many slaps they have on the page where it says "You got slapped by..." so I put this in the template:
Code:

<div class="smallfont">$vbphrase[slap_slaps]: $slapcount</div>
but it doesn't seem to appear.

Yes, that's right, 'cause the counter isn't read at that time.
But while I'm hunting the above bug, I'll also add this!

[EDIT]
Done, and done :)
Bug seems fixed, and $slapcount is now also available in the slappage template.

To upgrade upload the new sinfo.php and re-import the new product .XML with "allow overwrite" enabled.


I'm also planning on adding a Top-10 list :)

GamerJunk.net 02-06-2006 10:58 PM

Funny mod but couldn't someone just highlight the link and see that it goes to the slapped page?

ambumann 02-06-2006 11:00 PM

I don't see the point, what does this hack really do?

Hellcat 02-06-2006 11:15 PM

Quote:

Originally Posted by RasMasta
Funny mod but couldn't someone just highlight the link and see that it goes to the slapped page?

That's why I called the script "sinfo.php" - someone who doesn't know your "game" shouldn't suspect a thing.
And you can still rename it to whatever you want, like "forumsdisplay.php" or "threadsview.php" - notive the extra "s" that's not there in the original vB filenames :D


Quote:

Originally Posted by ambumann
I don't see the point, what does this hack really do?

It's a game,
You get points by making ppl visit "your" slap-page. For every pageview you get one point.
You lure ppl to that page by making them think you are linking to something totally cool and interesting and then -> *BAM* just another point for you.

ImportPassion 02-07-2006 01:15 AM

what would be really cool is if anyone could make a link for it dynamically. maybe writing to .htaccess or something from their options profile? i dunno, just throwing things out there, cause ppl will figure it out after a few days.

Zia 02-07-2006 03:00 AM

GRRRRRRRRRRR..whats goin on here?
im always late

/me is going to install it

Snake 02-07-2006 01:32 PM

lol I like this.

[high]* Snake slaps this hack :D[/high]

Hellcat 02-07-2006 04:09 PM

Aaaaaand again another update :)

Not much, I just implemented the Top10 list I mentioned earlier.

Details are in the README of the updated archive.

Diana Notacat 02-07-2006 05:01 PM

Okay, I'll bite! I always link random amusing games that drive people insane. XD

bashy 02-07-2006 06:08 PM

hi m8..

Me installed thanks...Ya top 10 aint working though :(
I have made a few slaps but blank page for top 10

Hellcat 02-07-2006 07:35 PM

Did you re-import the new product .XML and put the "?do=toplist" at the end of the calling URL?

bashy 02-07-2006 07:57 PM

Hi...
Yes and yes lol

I only downloaded and installed after the top list update...

Please see here http://www.bashys-place.com/forums/sinfo.php?do=toplist

Hellcat 02-07-2006 08:05 PM

Uf, it kicks me right back to your front portal, even tho I called "sinfo.php"....

I'll check the installation on a fresh vB that never had it, maybe there's a problem with the product installation....

Anyone else getting this?

bashy 02-07-2006 08:07 PM

Ok m8 no worries....
Look forward to the outcome!! :o)

croportal 02-13-2006 09:35 PM

where can i view demo, thanks

Hellcat 02-14-2006 05:16 AM

Quote:

Originally Posted by bashy
Ok m8 no worries....
Look forward to the outcome!! :o)

I tested the installation on a fresh and virgin vB.
No problems there....

Maybe something else is interfering???


[EDIT]
Quote:

Originally Posted by croportal
where can i view demo, thanks

I just installed it on my own board.

So:
Slap-Page
Top 10

Hellcat 02-15-2006 01:01 AM

Quote:

Originally Posted by ExtProof
I said I didnt want it anymore, because it doesnt work right... SAFIN has developed a proper slap hack for me, sorry if your still mad.. but Im not paying for a hack with little features, and that doesnt even work...

a) you never said anything about any issues of getting it to work. Like you can see here -> IT WORKS
b) you never made a clear statement what features you need! Learn to express youself, where's the problem of saying "I also need this and that".
c) I don't just tell someone else to make something if I already had an agreement with another person. At least not without even sending a little note to the first one.
d) Why argue at all? You got what you want, the community got a hack more. Case closed! - Now move along and die in peace.


Quote:

Originally Posted by ExtProof
EDIT: the hack safin developed, along with my ideas... will be available for purchase soon, it has many features... :) stay tuned

Dare you to advertise your commercial thing in my thread, or I WILL report you the the administration of this board!

Go and make your own threads!


[EDIT]
*lol*
And now he deleted his posts....

fcreature 02-20-2006 05:36 PM

nice hack man! :)

Red Blaze 02-20-2006 06:07 PM

I'll give this a shot. Who knows, it could add some spice into my little forum. ^^:
Thanks. :)

bashy 02-21-2006 07:07 PM

Hi

If sommat else is interferring with the top 10 hwat could it be, i have like over 200 hacks installed...95% install ok, and the other 5% need tweaking from the coder...

Please can you advise on this as i have half a hack working :(

Hellcat 02-22-2006 01:27 AM

I get always bounced to your portal page when trying to take a look at it :(

You get the vB header and stuff, just the toplist is missing, or don't you get anything at all on the page?

Red Blaze 02-22-2006 03:06 PM

Installed it, and works just fine. I don't see anything on what it can interfear with. It's all its own thing.

bashy 02-22-2006 03:43 PM

Hi

I get all my blocks and, logo, and stuff like that but
diddly to do with any toplist or out :(

Quote:

Originally Posted by Hellcat
I get always bounced to your portal page when trying to take a look at it :(

You get the vB header and stuff, just the toplist is missing, or don't you get anything at all on the page?


rinkrat 02-23-2006 01:52 AM

Quote:

Originally Posted by croportal
where can i view demo, thanks

http://www.letsgokings.com/bbs/sinfo.php?f=1

SHANE-D-PAIN 03-13-2006 06:19 PM

One thing, this shows MY Slaps in the postbit of a PM from another User.

Exitilus 04-04-2006 09:43 PM

I've installed this but the Top 10 List doesn't work :(

http://forums.houseofcrazed.com/sinfo.php?do=toplist

Whether your logged in or not. It's pretty much completely blank ...

MSheraz86 04-05-2006 01:24 PM

Hilarious Mod!!! hahahaa!! :D Works great :) thanks.

Exitilus, I wonder how that happened, I wish I could help but I don't know myself how that problem occurred for you. You sure you uploaded the xml product file????

Is there any way to find out WHO got slapped???? My members and I are having A LOT of fun with this by luring people via our sigs, LOL! :D but we're VERY interested in knowing WHO we slapped :D.

Thanks for this brilliant mod and hope you could add a who got slapped feature :D.

Exitilus 04-05-2006 03:19 PM

Yup. I uploaded it. The slap portion works fine :) Just the info doesn't work :)

bashy 04-05-2006 03:24 PM

I have this very same issue, the top list does not work for me either :(

MSheraz86 04-05-2006 04:25 PM

I've no clue then, I'll try to fiddle around with it and see if I can work out some troubleshoots. In the meanwhile try clearing cache and making sure that u followed all of the steps properly.

IF sinfo.php was renamed then you'll need to rename the url link accordingly. I haven't renamed the sinfo.php or changed anything at all from it, so mine is working perfectly. Perhaps you might need to SLAP somebody for the top ten list to start working?

bashy 04-05-2006 04:28 PM

I have had this installed since day dot :)
Nothing chaged either, all of the hack is standard
Many slaps have been mad as well


The top list has never worked for m8 :(

Exitilus 04-08-2006 05:25 AM

I've tried looking at the code to figure out why the toplist doesn't work. The only thing I can guess is it's something wrong in the php file ... :(

Exitilus 04-08-2006 05:26 AM

I've tried looking at the code to figure out why the toplist doesn't work. The only thing I can guess is it's something wrong in the php file ... :(


All times are GMT. The time now is 05:00 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01341 seconds
  • Memory Usage 1,818KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete