Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > ibProArcade Archive
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Modifying template Details »»
Modifying template
Version: , by doubleclick doubleclick is offline
Developer Last Online: Jul 2015 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 01-23-2009 Last Update: Never Installs: 0
 
No support by the author.

Hello -

I want to modify the arcade screen that displays after a user clicks the "submit" button on the flash game itself. What happens now is that the page that follows displays a table with the game, followed by a second table with the highscore. At the bottom of this second table is where the player can add a comment and save his/her score.

How do I move this second table to the top of the page so the users don't miss the step of saving their socre? Or better yet, display the place for comment and save option by itself at the top?

I looked into the template, and there isn't that much to edit there.

Any pointers?

Thanks,
dc

Show Your Support

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

Comments
  #2  
Old 01-23-2009, 10:15 PM
stangger5's Avatar
stangger5 stangger5 is offline
 
Join Date: Jan 2005
Location: Online
Posts: 1,130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You`ll need to edit the skin_arcade.php and skin_v3Arcade files..

The page info your looking for is right below this:

Code:
function leaderstart($ginfo, $links) {
global $ibforums;
return <<<EOF
Reply With Quote
  #3  
Old 01-24-2009, 04:26 AM
doubleclick doubleclick is offline
 
Join Date: Jul 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That did the trick!

Many of my users weren't scrolling down to save their scores, which was generating some frustration with them. Now it's in their face.

Thanks for your help.
Reply With Quote
  #4  
Old 01-26-2009, 01:56 PM
doubleclick doubleclick is offline
 
Join Date: Jul 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yikes! I spoke too soon. I assumed the skin file would have comments describing the blocks, but the logic and display are shuffled together.

Since I'm not a coder, I can't figure out where one of these three parts begins and ends to move them. I'm sure it's easy to do if you know code, but I don't.

Can you the extra mile and tell me what the first and last lines of code for the sections I want to move?

After someone wins to make sure they don't miss the part about adding a comment and and saving their score, I'd like the display that follows to be:

1. Swap the locations of the "Game" table and the "Top Scores" table
2. Within the "Top Scores" table, swap the locations of the Winner table with the Top winner.

I would imagine that the question of editing the layout has come up before. Has anyone already created a version of the v3 skin that has comments outlining the layout for easy re-design?

Thanks,
DC
Reply With Quote
  #5  
Old 01-26-2009, 10:53 PM
stangger5's Avatar
stangger5 stangger5 is offline
 
Join Date: Jan 2005
Location: Online
Posts: 1,130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You do know that your score is already saved when you get to this page...

This page shows you the game ranking and lets you make a comment..
It has nothing to do with saving your score..
Reply With Quote
  #6  
Old 01-27-2009, 09:35 AM
doubleclick doubleclick is offline
 
Join Date: Jul 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well, as a matter of fact, I didn't.

They must have not clicked the submit score on the game itself.

Thanks stangger5
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 11:09 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
  • Page Generation 0.03675 seconds
  • Memory Usage 2,244KB
  • Queries Executed 19 (?)
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_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete