News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Web 2.0

Started by intFUSE, August 31, 2008, 07:49:40 AM

Previous topic - Next topic

Hoochie Coochie Man

Quote from: Teddddd on September 13, 2008, 04:36:11 PM
Quote from: Hoochie Coochie Man on September 13, 2008, 09:39:45 AM
Quote from: Teddddd on September 12, 2008, 11:35:13 PM
I just have a quick easy question- I have the SMF Arcade mod installed. How can I make a tab at the top for the arcade?

index.template.php
Find:
// How about the [search] button?

Add before:
// How about the [arcade] button?
echo'
<a href="', $scripturl, '?action=arcade">' , $txt['arcade'] , '</a>';


Thank you for the help, but it didn't work. :C

I put it in exactly where you said.

If you didn't install arcade mod, then ofcourse it won't work.
So, there is no other way!
İnadına SMF 1.1.X

Teddddd

Hm, that's weird. This is my chunk of code:

Quote// Show the [home] button.
   echo'
               <a href="', $scripturl, '">' , $txt[103] , '</a>';

   // Show the [help] button.
   echo'
               <a href="', $scripturl, '?action=help">' , $txt[119] , '</a>';

// How about the [arcade] button?
      echo'
               <a href="', $scripturl, '?action=arcade">' , $txt['arcade'] , '</a>';   

   // How about the [search] button?
   if ($context['allow_search'])
      echo'
               <a href="', $scripturl, '?action=search">' , $txt[182] , '</a>';


This is the correct placement, right?

Hoochie Coochie Man

İnadına SMF 1.1.X

Teddddd

Tried it again, still did not work. :(

I don't know much about coding, but:

Quote// How about the [arcade] button?
      echo '
               <a href="', $scripturl, '?action=arcade">' , $txt['arcade'] , '</a>';

Where it says
Quote$txt['arcade'],
all the other links on the top menu have a number instead of text. For instance, search has 182, help has 119, etc. Would it work to put a number in there instead of arcade?

Assimo

#24
Have you remembered to add the arcade translation strings in modifications.english.php in the languages folder?

Teddddd

Quote from: ssimo on September 14, 2008, 03:11:42 PM
Have you remembered to add the arcede translation strings in modifications.english.php in the languages folder?

No, I didn't know I had to do that. How do I do it?

Assimo

simply copy the strings from the default theme folder, same file

Assimo

#27
Some problems are solved:

For this:


copy Recent.template.php from Default to Web theme folder and modify:
  <div class="tborder"><div class="titlebg2">
      <table cellpadding="8" cellspacing="0" width="55%">
         <tr>
            <td align="left" style="padding-top: 2ex;" class="smalltext">', !empty($modSettings['enableParticipation']) ? '
               <img src="' . $settings['images_url'] . '/topic/my_normal_post.gif" alt="" align="middle" /> ' . $txt['participation_caption'] . '<br />' : '', '


to


  <div class="tborder"><div class="titlebg5">
       <table cellpadding="8" cellspacing="0" width="55%">
          <tr>
             <td align="left" style="padding-top: 2ex;" class="smalltext">', !empty($modSettings['enableParticipation']) ? '
                <img src="' . $settings['images_url'] . '/topic/my_normal_post.gif" alt="" align="middle" /> ' . $txt['participation_caption'] . '<br />' : '', '


For this:

[nofollow]
I've copied some SMF orangie image files, and changed some "white" in "black" in the css file.
The files are:
all the maintab.*
all the mirrortab.*
all the modtab.*

MiNiBuDa

Help me!!! In V3 of this Theme there isn't button for report to moderator.

Any solution ???

Thank you.

Teddddd

Quote from: ssimo on September 15, 2008, 03:02:16 AM
simply copy the strings from the default theme folder, same file

Thank you, worked perfectly!


One more small problem. Does anybody know how to switch the "topics" and "posts" columns at the top? The titles are reversed.

Assimo

#30
Find:
            <td class="titlebg" valign="middle" align="center" width="5%">
            </td>         
            <td class="titlebg" valign="middle" align="center" width="59%">
               <span class="smalltext"><b>'. $txt[20].'</b></span>
            </td>
            <td class="titlebg" valign="middle" align="center" width="20%">
               <span class="smalltext"><b>'. $txt[22].'</b></span>
            </td><td class="titlebg" valign="middle" align="center" width="8%">
                <span class="smalltext"><b>'. $txt[21].'</b></span>
             </td>
          <td class="titlebg" valign="middle" align="center" width="8%">
                <span class="smalltext"><b>'. $txt[330].'</b></span>
             </td>

and replace with

    <td class="titlebg" valign="middle" align="center" width="5%">
             </td>         
             <td class="titlebg" valign="middle" align="center" width="59%">
                <span class="smalltext"><b>'. $txt[20].'</b></span>
             </td>
             <td class="titlebg" valign="middle" align="center" width="20%">
                <span class="smalltext"><b>'. $txt[22].'</b></span>
             </td><td class="titlebg" valign="middle" align="center" width="8%">
                 <span class="smalltext"><b>'. $txt[330].'</b></span>
              </td>
           <td class="titlebg" valign="middle" align="center" width="8%">
                 <span class="smalltext"><b>'. $txt[21].'</b></span>
              </td>


This code is here more than once in the file! (and, if I remember, more then in only one file.)

Teddddd

Perfect, thank you so much! I only found it once in the file, and only in that one file, but it worked out perfectly, so it's all good. Thanks again.

wallaha

Hi.Ty for this great theme.But unfortunately ad mod cant install on it.I tryed with manual install but it failed.Please help me about this issue.

TY...

Renegades

Quote from: Brkn* on August 31, 2008, 07:49:40 AM
Pity your website is not in English and trying to click on any demo link on your website gets me straight back to where I was ...

I appears to be a SMF bug since over 50% of sites I visit show the same symptoms ...

NOT CONVINCING AT ALL BUT SCARING ME OFF! !! ! !! !!!  !   !!! ! ! !

and seeing that 80% of you designer professionals haven't posted here for more than 120 days tells me to RUN OFF !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

wickedstangs

#34
Hello, I am trying to add a link to the forum, How can I do that? Tried post #18 and still no joy..

Thank You

www.rcing.net

Advertisement: