Go Back   vBulletin Modification Discussions > vBulletin Discusions > vBulletin Modifications
Home Register FAQ Members List Calendar Mark Forums Read
vBSEO Info Tags

About This Page: This is a discussion on Need Help with a V3 arcade Mod within the vBulletin Modifications forums, part of the vBulletin Discusions category, at vBulletin Modification Discussions. I downloaded and installed the Champion Podium Mod for the arcade and it works fine. Only problem is the color on the podiums for the winners names needs to be changed. How and where do I do this? I have


Reply
 
LinkBack Thread Tools
Old 01-08-2007, 05:07 PM   #1 (permalink)
Junior Member
 
Join Date: Dec 2006
Posts: 6
Evil Dave is on a distinguished road
iTrader: (0)
Question Need Help with a V3 arcade Mod

I downloaded and installed the Champion Podium Mod for the arcade and it works fine. Only problem is the color on the podiums for the winners names needs to be changed. How and where do I do this? I have searched everywhere for the line to edit the color of the text, but cannot find it.

Can anyone Help?? I tried to get help on the V3ARCADE website but nobody is responding, and I don't think there is any support there anymore.

Thanks

Evil Dave

kritterkots@aol.com
evildaveliveson@yahoo.com
Evil Dave is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links

Old 01-08-2007, 05:24 PM   #2 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,194
Code Monkey is on a distinguished road
iTrader: (0)
Do you have a link to where this mod is displayed?
__________________
Please do not PM me unless it's personal. General vBulletin or mod questions by PM will be ignored.

Try the vBSEO Demo

Click here for Instant Community
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-08-2007, 06:16 PM   #3 (permalink)
Junior Member
 
Join Date: Dec 2006
Posts: 6
Evil Dave is on a distinguished road
iTrader: (0)
Quote:
Originally Posted by Code Monkey View Post
Do you have a link to where this mod is displayed?

Yes the link is evildaveshouseofhorror.com/forums/arcade.php

Please bear with the speed of the site we have been having some problems with the host.

Thanks

Evil Dave

p.s. I did a search in all the templates and in the arcade.php file and couldnt find it. Maybe I was just looking at the wrong thing.
Evil Dave is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-08-2007, 06:27 PM   #4 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,194
Code Monkey is on a distinguished road
iTrader: (0)
They have hardcoded that ugly yellow background into the template.

Code:
<td style="border-left: thin solid rgb(0, 0, 0); border-right: thin solid rgb(0, 0, 0);" bgcolor="#ffffcc" height="40">evildave </td>
Just do a search for the following in all the templates that came with it and delete every instance.

Code:
bgcolor="#ffffcc"
__________________
Please do not PM me unless it's personal. General vBulletin or mod questions by PM will be ignored.

Try the vBSEO Demo

Click here for Instant Community
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-08-2007, 06:30 PM   #5 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,194
Code Monkey is on a distinguished road
iTrader: (0)
Or change the background color to something that goes with the text more if you want that podium look. The text is default vBulletin. You can overide it but I would suggest changing that ugly yellow first.
__________________
Please do not PM me unless it's personal. General vBulletin or mod questions by PM will be ignored.

Try the vBSEO Demo

Click here for Instant Community
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-08-2007, 06:39 PM   #6 (permalink)
Junior Member
 
Join Date: Dec 2006
Posts: 6
Evil Dave is on a distinguished road
iTrader: (0)
Ok I will give it a try

Thanks Very Much for your help

Dave
Evil Dave is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-08-2007, 06:43 PM   #7 (permalink)
Junior Member
 
Join Date: Dec 2006
Posts: 6
Evil Dave is on a distinguished road
iTrader: (0)
Quote:
Originally Posted by Code Monkey View Post
They have hardcoded that ugly yellow background into the template.

Code:
<td style="border-left: thin solid rgb(0, 0, 0); border-right: thin solid rgb(0, 0, 0);" bgcolor="#ffffcc" height="40">evildave </td>
Just do a search for the following in all the templates that came with it and delete every instance.

Code:
bgcolor="#ffffcc"

I tried that and no go. It is not finding it anywhere. When I got it, the instructions told me to edit the Arcade.php File which I did, and the Arcade Main template which I did. For some reason its not pulling up the code I need to edit it.

Any other Ideas?

Thanks
Dave
Evil Dave is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-08-2007, 06:43 PM   #8 (permalink)
Junior Member
 
Join Date: Dec 2006
Posts: 6
Evil Dave is on a distinguished road
iTrader: (0)
Code:
INSTRUCTIONS

Arcade - Awards Podium ||
||  By: Mariusvr          ||
\\========================//

#########################
###### Description ######
#########################

This modification displays the arcade Awards Podium on your arcade index.



###################
###### To Do ######
###################

Products to import: (1)
Upload images: (7)
Files to edit: (1) - arcade.php
Templates to edit: (1) - arcade_main



################################
###### Products To Import ######
################################

Go to:
Admin CP -> Plugin System -> Manage Products -> [Add/Import Product]

Import the "product-v3aAwards.xml" file.


###########################
###### Upload Images ######
###########################

Upload the images in the ZIP file to the {your_forum}/images/arcade directory


###########################
###### Files To Edit ######
###########################

In arcade.php find:

    ($hook = vBulletinHook::fetch_hook('arcade_main_complete')) ? eval($hook) : false;



Above it add:

    // Arcade Awards Podium)
    if ($vbulletin->options['dispawards'] == '1')
    {
        $champs = $db->query_read("SELECT user.username, count(games.highscorerid) as prices, user.userid  FROM " . TABLE_PREFIX . "arcade_games AS games LEFT JOIN " . TABLE_PREFIX . "user AS user ON user.userid = games.highscorerid WHERE user.userid IS NOT NULL GROUP BY user.username ORDER BY prices DESC LIMIT 0 , 5");
        $champ1 = array(); $champ2 = array(); $champ3 = array();
        While ($champ = $db->fetch_array($champs)) 
        {
            array_push($champ1, $champ['username']);
            array_push($champ2, $champ['userid']);
               array_push($champ3, $champ['prices']);
        };
    }


###############################
###### Templates To Edit ######
###############################

In arcade_main find:

<table cellpadding="0" cellspacing="0" align="center"><tr><td>
    <div id="tabs" class="alt1">
        <table cellpadding="2" cellspacing="0" style="margin: 0px 2px 0px 2px"><tr>
                $gamecategories
        </tr></table>
    </div>
</td></tr></table>



Above it add:

<!-- arcade awards podium -->
<if condition="$vboptions['dispawards'] == '1'">

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
            
<tr align="center" valign="middle">
<td width="140" height="40" align="left" nowrap="nowrap" class="thead">
<img src="$vboptions[arcadeimages]/no1.gif"  class="inlineimg" border="0" /> Champion:</td>

<td width="35%" height="40" align="left" class="alt1"><span class="smallfont"><a href="member.php?u=$champ2[0]"><strong>$champ1[0]</strong></a> with $champ3[0] titles</span></td>
<td height="40" class="alt1">&nbsp;</td>
    <td height="40" style="border-bottom-width:thin; border-bottom-style:solid; border-bottom-color:#000000" class="alt1"><img src="$vboptions[arcadeimages]/podium_1.gif" ></td>
    <td height="40" class="alt1" >&nbsp;</td>
</tr>

<tr align="center" valign="middle">
<td width="140" height="40" align="left" nowrap="nowrap" class="thead">
<img src="$vboptions[arcadeimages]/no2.gif" class="inlineimg" border="0" /> Runner-up:</td>

<td width="35%" height="40" align="left" class="alt1"><span class="smallfont"><a href="member.php?u=$champ2[1]"><strong>$champ1[1]</strong></a> with $champ3[1] titles</span></td>
    <td height="40" class="alt1" style="border-bottom-width:thin; border-bottom-style:solid; border-bottom-color:#000000 "><img src="$vboptions[arcadeimages]/podium_2.gif" ></td>
    <td height="40" bgcolor="#FFFFCC" style="border-right-width:thin; border-right-style:solid; border-right-color:#000000; border-left-width:thin; border-left-style:solid; border-left-color:#000000 ">$champ1[0] </td>
    <td height="40" class="alt1">&nbsp;</td>
</tr>

<tr align="center" valign="middle" class="alt1">
  <td width="140" height="40" align="left" nowrap="nowrap" class="thead"><img src="$vboptions[arcadeimages]/no3.gif"  class="inlineimg" border="0" /> Third Place::</td>
  <td height="40" align="left" class="alt1"><span class="smallfont"><a href="member.php?u=$champ2[2]"><strong>$champ1[2]</strong></a> with $champ3[2] titles</span></td>
    <td height="40" bgcolor="#FFFFCC" style="border-left-width:thin; border-left-style:solid; border-left-color:#000000 ">$champ1[1] </td>
    <td height="40" bgcolor="#FFFFCC" style="border-right-width:thin; border-right-style:solid; border-right-color:#000000;">&nbsp;</td>
    <td height="40" style="border-bottom-width:thin; border-bottom-style:solid; border-bottom-color:#000000 "><img src="$vboptions[arcadeimages]/podium_3.gif" ></td>
</tr>
<tr align="center" valign="middle">
<td width="140" height="40" align="left" nowrap="nowrap" class="thead"><img src="$vboptions[arcadeimages]/no4.gif" class="inlineimg" border="0" /> Wanna-be:</td>

<td width="35%" height="40" align="left" class="alt1"><span class="smallfont"><a href="member.php?u=$champ2[3]"><strong>$champ1[3]</strong></a> with $champ3[3] titles</span></td>
    <td height="40" bgcolor="#FFFFCC" style="border-bottom-width:thin; border-bottom-style:solid; border-bottom-color:#000000 ; border-left-width:thin; border-left-style:solid; border-left-color:#000000 "><div align="center"></div></td>
    <td height="40" bgcolor="#FFFFCC" style="border-bottom-width:thin; border-bottom-style:solid; border-bottom-color:#000000 "><div align="center"></div></td>
    <td height="40" bgcolor="#FFFFCC" style="border-bottom-width:thin; border-bottom-style:solid; border-bottom-color:#000000;border-right-width:thin; border-right-style:solid; border-right-color:#000000; "><div align="center">$champ1[2] </div></td>
</tr>
</table>
<else />
<br />
</if>

<!-- / arcade awards podium -->





###################
###### Enjoy ######
###################
Evil Dave is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-08-2007, 06:51 PM   #9 (permalink)
Junior Member
 
Join Date: Dec 2006
Posts: 6
Evil Dave is on a distinguished road
iTrader: (0)
Ok it worked with my name, background is now black. Tried to search for it again and it didnt come up. so how do I change the other parts of the podium to a different color?

thanks
Evil Dave is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-08-2007, 07:48 PM   #10 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,194
Code Monkey is on a distinguished road
iTrader: (0)
Looks to me like you got it. The same template is most likely used for each square. Though changing them to black made them blend with the outer border. You may want to play with the color till you like one and it still has a definitive border.
__________________
Please do not PM me unless it's personal. General vBulletin or mod questions by PM will be ignored.

Try the vBSEO Demo

Click here for Instant Community
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply
Tags: , ,





Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


A vBSkinworks Design Recoded By vBModder.
All Code Distributed On This Site is © 2006 by it's author.
Search Engine Optimization by vBSEO 3.1.0

All times are GMT -7. The time now is 07:17 AM.
Online Users 84
Registered 0
Guests 84
Members 3145
Active Members 229
Threads 1583
Posts 7000
Top poster: Code Monkey (2194)
Welcome to our newest member, skopy
Most users ever online was 235, 04-11-2007 at 08:59 AM.
Speak Out! vBulletin gets the web talking!


vBulletin Setup SEO

vBulletin graphics resource images