Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Ibproarcade new post on highscore Details »»
Ibproarcade new post on highscore
Version: 2.0, by stangger5 stangger5 is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.7.0 Rating:
Released: 05-23-2008 Last Update: Never Installs: 101
Supported Uses Plugins
Additional Files  

This should work with any version of ibproarcade..

This will make a new post only when a member bets anther members score...

Thanks goes to chatpalace24 for the main code !!

This modification may not be copied, reproduced or published elsewhere without my permission.

Step #1
Upload the lang_Arcade_en.php:
arcade/lang/lang_Arcade_en.php and over write the old file..

or you can just add this to your lang file...

PHP Code:
#thread on new highscore
hs_post_text2     => "The highscore of [b]",
hs_post_text3     => "[/b] in the game ",
hs_post_text4     => "  [b]",
hs_post_text5     => "[/b] got beaten by [b]",
hs_post_text6     => "[/b] ,with a score of [i]",
hs_post_text7    => "[/i].\n",
hs_post_text8    => "arcade.php?do=stats&gameid=",

hs_post_text9    => "]Click here[/url] to check the highscores or [url=",

hs_post_text10    => "arcade.php?do=play&gameid=",
hs_post_text11    => "]here[/url] to play the game and claim back the highscore !\n\n\nEnjoy the Arcade :)\n\n"


Step #2
Import the product-newpostonhighscore.xml file..

Step #3
Go into your admincp >> vBulletin Options: IBPro Arcade Post on New Highscore

Add:
Under which exisiting Username will make the New Post.

Add: The exisiting User ID who makes the Highscore Post.

Add: The Thread ID where we append the New Highscore Posting.


Step #4
Now go bet someone elses score to see the Post..

Enjoy !!

Show Your Support

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

Comments
  #12  
Old 05-25-2008, 01:35 PM
Zaiaku's Avatar
Zaiaku Zaiaku is offline
 
Join Date: Jul 2007
Location: 3rd Level of Hell
Posts: 502
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I never got the error personally myself, actualyl didn't hear about it til you just posted it but that adding image in there does make it tempting for me.
Reply With Quote
  #13  
Old 06-02-2008, 01:03 PM
TaBaTaN TaBaTaN is offline
 
Join Date: Dec 2005
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you modifi it to post i a a forum instead of a thread ?
Reply With Quote
  #14  
Old 06-21-2008, 10:32 PM
rigodiaz rigodiaz is offline
 
Join Date: Jul 2006
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you.
Reply With Quote
  #15  
Old 08-23-2008, 12:16 AM
newguy's Avatar
newguy newguy is offline
 
Join Date: Nov 2007
Location: USA
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Might be a dumb question but how do I find the thread ID? Is it the URL of the thread?
Reply With Quote
  #16  
Old 08-23-2008, 03:15 AM
stangger5's Avatar
stangger5 stangger5 is offline
 
Join Date: Jan 2005
Location: Online
Posts: 1,130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by newguy View Post
Might be a dumb question but how do I find the thread ID? Is it the URL of the thread?
Its the number at the end of the thread url...
Reply With Quote
  #17  
Old 09-09-2008, 05:04 PM
Fireproof Fireproof is offline
 
Join Date: Apr 2007
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm having problem with Step 1. When I go into adminCP, and look to upload a language file, it's asking for an XML file, not a php file.

Please help clarify Step #1 as I've never messed with languages/phrases and don't know what I'm doing, LOL>

Thanks,
Reply With Quote
  #18  
Old 09-09-2008, 06:58 PM
Daisyboo Daisyboo is offline
 
Join Date: Jul 2008
Location: Somerset UK
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you not import the xml file provided for download?
Reply With Quote
  #19  
Old 09-09-2008, 07:22 PM
Fireproof Fireproof is offline
 
Join Date: Apr 2007
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Fireproof View Post
I'm having problem with Step 1. When I go into adminCP, and look to upload a language file, it's asking for an XML file, not a php file.

Please help clarify Step #1 as I've never messed with languages/phrases and don't know what I'm doing, LOL>

Thanks,
Okay - nevermind - I figured it out. I discovered you meant to upload it to my server via FTP. And that worked like a charm.

Thanks.
Reply With Quote
  #20  
Old 09-23-2008, 06:23 AM
UKDarkstar UKDarkstar is offline
 
Join Date: Nov 2007
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got a problem with this :

Have installed and it's sort of working but the text in the post is not diaplaying properly.

Have edited the lang file as per instructions but this just seems to trash the whole arcade.

Any suggestions ?

Thanks
Reply With Quote
  #21  
Old 09-23-2008, 07:32 AM
UKDarkstar UKDarkstar is offline
 
Join Date: Nov 2007
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by UKDarkstar View Post
Got a problem with this :

Have installed and it's sort of working but the text in the post is not diaplaying properly.

Have edited the lang file as per instructions but this just seems to trash the whole arcade.

Any suggestions ?

Thanks
scratch that ! All seems to be working ok now
Reply With Quote
Reply


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 01:24 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.06019 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_php
  • (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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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