vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   Modifying template (https://vborg.vbsupport.ru/showthread.php?t=202830)

doubleclick 01-23-2009 03:06 PM

Modifying template
 
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

stangger5 01-23-2009 10:15 PM

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


doubleclick 01-24-2009 04:26 AM

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.

doubleclick 01-26-2009 01:56 PM

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

stangger5 01-26-2009 10:53 PM

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

doubleclick 01-27-2009 09:35 AM

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

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

Thanks stangger5


All times are GMT. The time now is 04:46 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.01209 seconds
  • Memory Usage 1,716KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete