Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
"You Got Slapped" Battle/Game.... Details »»
"You Got Slapped" Battle/Game....
Version: 1.12, by Hellcat Hellcat is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 02-05-2006 Last Update: 06-05-2006 Installs: 39
Uses Plugins Template Edits
Additional Files  
No support by the author.

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....

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-06-2006, 08:53 PM
influence influence is offline
 
Join Date: Jan 2002
Location: inside a bullet
Posts: 207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

funny hack

will edit this
Reply With Quote
  #3  
Old 02-06-2006, 09:09 PM
Xtrato's Avatar
Xtrato Xtrato is offline
 
Join Date: Feb 2005
Location: New Jersey
Posts: 510
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice hack thanks!!
Reply With Quote
  #4  
Old 02-06-2006, 09:21 PM
jrofosho jrofosho is offline
 
Join Date: Apr 2005
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm getting the same "slap count" in every members postbit.
Reply With Quote
  #5  
Old 02-06-2006, 09:58 PM
hiiped hiiped is offline
 
Join Date: Jan 2006
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #6  
Old 02-06-2006, 10:03 PM
Daniel's Avatar
Daniel Daniel is offline
 
Join Date: Jul 2005
Location: USA
Posts: 707
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 02-06-2006, 10:07 PM
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
Location: NYC
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh my god, I wish I had this 5 years ago... I'd get some people in teh hundreds.
Reply With Quote
  #8  
Old 02-06-2006, 10:17 PM
Hellcat Hellcat is offline
 
Join Date: May 2003
Location: Germany
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #9  
Old 02-06-2006, 10:58 PM
GamerJunk.net's Avatar
GamerJunk.net GamerJunk.net is offline
 
Join Date: Jan 2004
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Funny mod but couldn't someone just highlight the link and see that it goes to the slapped page?
Reply With Quote
  #10  
Old 02-06-2006, 11:00 PM
ambumann ambumann is offline
 
Join Date: Jun 2004
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:09 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04655 seconds
  • Memory Usage 2,290KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete