EzPortal - Portal Software for Forums

EzPortal - Made to Fit Your SMF Forum - Glad You Found Us!
+- +-

UserBox

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Recent Posts

New built in translations for six langauges! by EzPortal
March 26, 2024, 11:15:32 pm

Smiley missing in shoutbox 2.1.4 by hustreamload
July 26, 2023, 08:14:02 am

Re: Theme Select Box question? by Shades
March 15, 2023, 06:49:49 pm

Re: Theme Select Box question? by Shades
March 09, 2023, 02:09:24 pm

Re: Theme Select Box question? by Shades
March 09, 2023, 01:55:53 pm

Re: Theme Select Box question? by EzPortal
March 09, 2023, 01:47:42 pm

Re: Theme Select Box question? by Shades
March 09, 2023, 01:34:07 pm

Re: Theme Select Box question? by EzPortal
March 09, 2023, 12:20:17 pm

+- HTML Menu


Sample HTML Block Usage - You May Custom Code it, as needed!

Recent Topics ezBlock

New built in translations for six langauges! by EzPortal
March 26, 2024, 11:15:32 pm

Smiley missing in shoutbox 2.1.4 by hustreamload
July 26, 2023, 08:14:02 am

Theme Select Box question? by Shades
March 15, 2023, 06:49:49 pm

Where is the facebook button color? by EzPortal
February 28, 2023, 06:45:09 pm

Display on Mobile - SMF 2.1.3 and EZ 5.5.2 by BugginIn
December 29, 2022, 04:07:13 pm

Blocks Help by Riggs1973
November 20, 2022, 12:59:30 pm

Surface ol lite theme release Free! by Steffen K.
November 18, 2022, 03:57:24 am

Undefined index: href by EzPortal
October 04, 2022, 08:49:59 pm

SMF-ezportal_column_5.cache): failed to open stream: No such file or directory by EzPortal
June 04, 2022, 11:40:13 am

Arcade block error: failed to open stream: No such file or directory by Shades
May 20, 2022, 02:47:13 pm

Author Topic: Create Custom Buttons  (Read 6707 times)

0 Members and 1 Guest are viewing this topic.

Offline ohioreef

  • Posts: 6
  • Karma: 0
Create Custom Buttons
« on: January 28, 2009, 06:44:36 pm »
Would it be possible to incorporate the ability to create custom buttons for the navigation bar?

Offline EzPortal

  • Administrator
  • *****
  • Posts: 1299
  • Karma: 67
Re: Create Custom Buttons
« Reply #1 on: January 28, 2009, 07:06:03 pm »
I could do it for the default theme.
Th current issue for SMF 1.1.x only would work on the default theme.
Like ezPortal? Support me at https://www.patreon.com/vbgamer45/

Offline bcpurleigh

  • Posts: 4
  • Karma: 0
  • Gender: Male
Re: Create Custom Buttons
« Reply #2 on: February 17, 2009, 05:08:33 am »
hey man. It would be possible... I made a forum button for a custom script. and that was kinda simple...

the code for it is:

  // Show the [Forum] button
  echo  '
              <td class="mainnav"><a href="', $scripturl,  '?action=forum">' , $txt['ezp_forum_tab']  , '</a></td>';

All you would have to do is find where all the numbers are kept like '$txt [119] (mod) and put in your own custom number and then change $txt [119] to $txt [your new number]

hope i helped


i found the place i was talking about! its inside "languages/ThemeStrings.english.php"

im going to make my own to prove it to yoo for those who cant be assed to do it

I did it... : www.beatthecreditcrunch.co.cc then click on sponsor. it takes you to my homepage

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
5920 Views
Last post February 17, 2009, 05:53:11 am
by bcpurleigh
3 Replies
9017 Views
Last post May 18, 2009, 10:56:13 pm
by fisho
5 Replies
14005 Views
Last post June 04, 2010, 09:13:38 pm
by JoeMumme
2 Replies
10438 Views
Last post March 02, 2013, 02:48:26 pm
by denden60
1 Replies
13983 Views
Last post April 29, 2013, 01:13:53 pm
by EzPortal

+-SMF Gallery

Quick Menu


Powered by EzPortal