SMF Arcade

Started by niko, October 01, 2004, 02:45:55 PM

Previous topic - Next topic

Bigguy

No I didn't tell you to remove the help button I told you to COPY the help button code below itself and change the action and the text string.

NoelF1

it still didnt work! :(

check out the attachment... thats how it's looking :(

Bigguy

Did you add the text line in the index.english.php file. ???

NoelF1

Quote from: Bigguy on December 22, 2007, 04:55:02 PM
Did you add the text line in the index.english.php file. ???
darn lol i didnt

now i added it to the modifications.english.php and added

//Arcade

$txt[1190] = 'Arcade',

and worked perfectly! thanks again mate!

just came a small curiosity to my mind...

how can i put a button and link it to a site like http://yourname.com [nofollow] and open in _blank type? can i do something like that into the navbar?

Bigguy

This is how you would do it on the default theme:

// Show a [new] button.
      echo ($current_action == 'newaction' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'newaction' ? 'active_back' : 'back' , '">
               <a href="http://www.yourlinkhere.com">linktext</a>
            </td>' , $current_action == 'newaction' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


replace:

http://www.yourlinkhere.com

with your link

and

linktext

With what you want shown for the link.


Bigguy

For your theme:

   // Show the [help] button.
   echo '
               <a href="http://www.yourlinkhere.com"' : '' , '>Linktext</a>&nbsp;|';

I THINK

NoelF1

Quote from: Bigguy on December 22, 2007, 05:14:37 PM
This is how you would do it on the default theme:

// Show a [new] button.
      echo ($current_action == 'newaction' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'newaction' ? 'active_back' : 'back' , '">
               <a href="http://www.yourlinkhere.com">linktext</a>
            </td>' , $current_action == 'newaction' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


replace:

http://www.yourlinkhere.com [nofollow]

with your link

and

linktext

With what you want shown for the link.


so does that work on all themes?

thanks for the info buddy! learned a lot! this thing would help for all other mods! :D

Bigguy

This should work for your theme, not sure though if I have it right.

Quote from: Bigguy on December 22, 2007, 05:17:02 PM
For your theme:

   // Show the [help] button.
   echo '
               <a href="http://www.yourlinkhere.com"' : '' , '>Linktext</a>&nbsp;|';

I THINK

geo32101

Quote from: geo32101 on December 22, 2007, 12:07:21 AM
Quote from: rider on December 22, 2007, 12:02:56 AM
Quote from: geo32101 on December 21, 2007, 11:16:12 PM
When I try to install the arcade I get this-
FTP Information Required-
Some of the files the package manager needs to modify are not writable. This needs to be changed by logging into FTP and using it to chmod or create the files and folders. Your FTP information may be temporarily cached for proper operation of the package manager.

I fill it out, but nothing happens,why?
Try this before installing the arcade,goto admin>packages>options>choose make all files writable and then install the arcade.
Then this comes out again-
Some of the files the package manager needs to modify are not writable. This needs to be changed by logging into FTP and using it to chmod or create the files and folders. Your FTP information may be temporarily cached for proper operation of the package manager.

I fill it out and nothing happens.
Help please.

TrueSatan

If you are using an SEO mod that may be causing the problem...try removing such mods.

geo32101

Quote from: TrueSatan on December 22, 2007, 07:20:29 PM
If you are using an SEO mod that may be causing the problem...try removing such mods.
Me?
What's a SEO Mod?

Bigguy

geo32101: Try making a "temp" folder (no quotes) in the packages directory and chmodding it to 777

then try to re-install the arcade. See if that helps.

TrueSatan

Quote from: geo32101 on December 23, 2007, 12:22:55 AM
Quote from: TrueSatan on December 22, 2007, 07:20:29 PM
If you are using an SEO mod that may be causing the problem...try removing such mods.
Me?
What's a SEO Mod?

Search Engine Optimisation

tertunc

Server is hacked .............


geo32101

Quote from: Bigguy on December 23, 2007, 02:52:02 AM
geo32101: Try making a "temp" folder (no quotes) in the packages directory and chmodding it to 777

then try to re-install the arcade. See if that helps.
It doesnt let me make the folder.

TrueSatan

Quote from: geo32101 on December 23, 2007, 05:33:41 PM
Quote from: Bigguy on December 23, 2007, 02:52:02 AM
geo32101: Try making a "temp" folder (no quotes) in the packages directory and chmodding it to 777

then try to re-install the arcade. See if that helps.
It doesnt let me make the folder.

If your hosting won't allow you to create a new directory then you need to contact your host...they may have your file ownership set incorrectly.

geo32101

Quote from: TrueSatan on December 23, 2007, 06:19:48 PM
Quote from: geo32101 on December 23, 2007, 05:33:41 PM
Quote from: Bigguy on December 23, 2007, 02:52:02 AM
geo32101: Try making a "temp" folder (no quotes) in the packages directory and chmodding it to 777

then try to re-install the arcade. See if that helps.
It doesnt let me make the folder.

If your hosting won't allow you to create a new directory then you need to contact your host...they may have your file ownership set incorrectly.
I can make folders,files, directories, and stuff but not that directory.

geo32101

Quote from: geo32101 on December 23, 2007, 06:30:38 PM
Quote from: TrueSatan on December 23, 2007, 06:19:48 PM
Quote from: geo32101 on December 23, 2007, 05:33:41 PM
Quote from: Bigguy on December 23, 2007, 02:52:02 AM
geo32101: Try making a "temp" folder (no quotes) in the packages directory and chmodding it to 777

then try to re-install the arcade. See if that helps.
It doesnt let me make the folder.

If your hosting won't allow you to create a new directory then you need to contact your host...they may have your file ownership set incorrectly.
I can make folders,files, directories, and stuff but not that directory.
Never mind, I did it, now what?

TrueSatan

Go back to Bigguy's advice that you quoted above and try to re-install the arcade.

Advertisement: