Jump to content

Recommended Posts

Posted

any can help me i use smf forum i instal mod Aeva Media i want make creat button Media when click goes here

http://warez33.x10hosting.com/forums/index.php?action=media;sa=album;in=1

 

I cant see where the buttons goes.

But you must to be scripter to do such a change.

Posted

I cant see where the buttons goes.

But you must to be scripter to do such a change.

wher can add on index.php or index.template.php ?

Posted

I think index.template  

Open it

Search for

 if ($context['current_action'] == 'search2')

     $current_action = 'search';

Add after that this

if ($context['current_action'] == 'Button name')

     $current_action = 'shop';

Search For

// Show the [help] button.

                             echo '<li><a' , $current_action=='help' ? ' class="current"' : '' , ' href="', $scripturl, '?action=help"><span>' , $txt[119] , '</span></a></li>';

 

Add this after that

// Show the [button Name] button.

                             echo '<li><a' , $current_action=='Button name' ? ' class="current"' : '' , ' href="', $scripturl, '?action=shop"><span>Shop</span></a></li>';

 

Posted

Search index.php for this:

<li><a  href="http://warez33.x10hosting.com/forums/index.php?action=register"><span>Register</span></a></li>

 

And below that add this line

 

 

<li><a  href="http://warez33.x10hosting.com/forums/index.php?action=media"><span>Media</span></a></li>

 

 

 

Posted

Search index.php for this:

<li><a  href="http://warez33.x10hosting.com/forums/index.php?action=register"><span>Register</span></a></li>

 

And below that add this line

 

 

<li><a  href="http://warez33.x10hosting.com/forums/index.php?action=media"><span>Media</span></a></li>

 

 

 

 

He won't really archive anything by doing that.The link should be there, but the function won't work.Is this a mod or something? :S

Posted

He won't really archive anything by doing that.The link should be there, but the function won't work.Is this a mod or something? :S

he added the mod but there wasnt any button so he have to create one himself

 

its a simple redirect link, isn't it? D:

Posted

Yeah I just think that he has to add:

 

if ($context['current_action'] == 'Button name')
      $current_action = 'shop';

 

this too in index.template.I'm not sure though.Isn't there any guide or something, installing that mod?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...