Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 251
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 104
Total: 104

Author Topic: Classified name change  (Read 8187 times)

0 Members and 1 Guest are viewing this topic.

Offline Playertrade

  • Bad Emails DO NOT EMAIL
  • Member
  • *
  • Posts: 9
    • View Profile
Classified name change
« on: February 21, 2015, 06:30:37 pm »
Hello, i cant manage to rename Classified to "Market". I tried to find Modifications.english.php and do something in there but a iam a noob. What do i do?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Classified name change
« Reply #1 on: February 21, 2015, 07:06:36 pm »
For the menu icon it is in
themes/default/languages/modifications.english.php
Find and modify
Code: [Select]
$txt['smfclassifieds_menu'] = 'Classifieds';
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Playertrade

  • Bad Emails DO NOT EMAIL
  • Member
  • *
  • Posts: 9
    • View Profile
Re: Classified name change
« Reply #2 on: February 21, 2015, 07:28:59 pm »
Can i also edit board icons? I have done it in the "classified" menu, but not on the front page of my forum

Offline Playertrade

  • Bad Emails DO NOT EMAIL
  • Member
  • *
  • Posts: 9
    • View Profile
Re: Classified name change
« Reply #3 on: February 21, 2015, 07:29:10 pm »
Can i also edit board icons? I have done it in the "classified" menu, but not on the front page of my forum

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Classified name change
« Reply #4 on: February 21, 2015, 07:33:58 pm »
The board icons on the boardindex if you have classifieds interrogated there?
That would be in the BoardIndex.template.php in your themes/default folder
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Playertrade

  • Bad Emails DO NOT EMAIL
  • Member
  • *
  • Posts: 9
    • View Profile
Re: Classified name change
« Reply #5 on: February 21, 2015, 07:38:52 pm »
I also have 3
   Modifications.english 1.php     
     Modifications.english.php     
     Modifications.english.php~ 

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Classified name change
« Reply #6 on: February 21, 2015, 07:40:01 pm »
Just edit Modifications.english.php     
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Playertrade

  • Bad Emails DO NOT EMAIL
  • Member
  • *
  • Posts: 9
    • View Profile
Re: Classified name change
« Reply #7 on: February 21, 2015, 07:41:47 pm »
But in that one i cant find
$txt['smfclassifieds_menu'] = 'Classifieds';

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Classified name change
« Reply #8 on: February 21, 2015, 07:44:05 pm »
or check modifications.english-utf8.php
If not edit all three ass well.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Playertrade

  • Bad Emails DO NOT EMAIL
  • Member
  • *
  • Posts: 9
    • View Profile
Re: Classified name change
« Reply #9 on: February 21, 2015, 07:45:27 pm »
Yah got it fixed thanks. Can i also change the "Integrate with the Board Index of the forum" name?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Classified name change
« Reply #10 on: February 21, 2015, 11:14:40 pm »
The name not understanding but that edit is just made to the boardindex.template.php file.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Playertrade

  • Bad Emails DO NOT EMAIL
  • Member
  • *
  • Posts: 9
    • View Profile
Re: Classified name change
« Reply #11 on: February 22, 2015, 10:52:48 am »
// Loop though each Classifieds Category
   
      foreach ($context['classifieds_boards'] as $board)
         {
            echo '
         <tr class="windowbg2">
            <td class="icon windowbg" ' , !empty($board['subcats_linktree']) ? 'rowspan="2"' : '' , '><a href="', $scripturl, '?action=classifieds;cat=', $board['ID_CAT'], '">';

            // If the board is new, show a strong indicator.
            
               echo '
                  <img src="', $settings['images_url'], '/' .$context['theme_variant'], '/on2.png" alt="', $txt['new_posts'], '" title="', $txt['new_posts'], '" border="0" />';

         
            echo '</a>
            </td>
            <td class="info">
               <a class="subject" href="', $scripturl, '?action=classifieds;cat=', $board['ID_CAT'], '" name="class', $board['ID_CAT'], '">', parse_bbc($board['title']), '</a><br />
                  <p>', parse_bbc($board['description']) . '</p>';

      
            // Show some basic information about the number of posts, etc.
               echo '
            </td>
            <td class="stats windowbg"><p>
               ', comma_format($board['totallistings']), ' ', $txt['posts'], ' <br />
            </p></td>
            <td class="lastpost">
               ';

            /* The board's and children's 'last_post's have:
            time, timestamp (a number that represents the time.), id (of the post), topic (topic id.),
            link, href, subject, start (where they should go for the first unread post.),
            and member. (which has id, name, link, href, username in it.) */
            if (!empty($board['listingtitle']))
               echo '<p>
                  <strong>', $txt['last_post'], '</strong>  ', $txt['by'], ' <a href="', $scripturl, '?action=profile;u=', $board['ID_MEMBER'], '">', $board['realName'] , '</a><br />
                  ', $txt['in'], ' <a href="', $scripturl, '?action=classifieds;sa=view;id=', $board['ID_LISTING'], '">', $board['listingtitle'], '</a><br />
                  ', $txt['on'], ' ', timeformat($board['datelisted']) . '</p>';

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Classified name change
« Reply #12 on: February 22, 2015, 12:01:15 pm »
That's the code that loops though boardindex classifieds boards
The title of those boards is controlled in t he classifieds area.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Playertrade

  • Bad Emails DO NOT EMAIL
  • Member
  • *
  • Posts: 9
    • View Profile
Re: Classified name change
« Reply #13 on: February 22, 2015, 12:57:19 pm »
i mean this title:

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Classified name change
« Reply #14 on: February 22, 2015, 01:03:12 pm »
Code above that says
Code: [Select]
echo '
<tbody class="header">
<tr>
<td colspan="4"><div class="cat_bar">

<h3 class="catbg">
' . $txt['class_text_title'] .'
</h3>
</div>
</td>
</tr>
</tbody>
<tbody class="content"> ';
Replace
Code: [Select]
' . $txt['class_text_title'] .'
With the word you want.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
4 Replies
6818 Views
Last post May 13, 2008, 04:15:54 am
by musicman8oh8
8 Replies
6986 Views
Last post May 29, 2008, 10:31:09 pm
by jos
2 Replies
3900 Views
Last post July 05, 2008, 10:58:56 pm
by musicman8oh8
1 Replies
4135 Views
Last post April 09, 2009, 08:33:26 pm
by SMFHacks
1 Replies
4256 Views
Last post July 26, 2015, 08:01:43 pm
by SMFHacks

+- Recent Topics

Please Help! by SMFHacks
Today at 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

Powered by EzPortal