Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12414
Latest: mtnclb69
New This Month: 3
New This Week: 0
New Today: 0
Stats
Total Posts: 40848
Total Topics: 7158
Most Online Today: 81
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 34
Total: 34

Author Topic: Classified name change  (Read 6190 times)

0 Members and 1 Guest are viewing this topic.

Offline Playertrade

  • Bad Emails DO NOT EMAIL
  • Newbie
  • *
  • 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: 15404
    • 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
  • Newbie
  • *
  • 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
  • Newbie
  • *
  • 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: 15404
    • 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
  • Newbie
  • *
  • 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: 15404
    • 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
  • Newbie
  • *
  • 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: 15404
    • 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
  • Newbie
  • *
  • 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: 15404
    • 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
  • Newbie
  • *
  • 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: 15404
    • 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
  • Newbie
  • *
  • 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: 15404
    • 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
2 Replies
3195 Views
Last post July 05, 2008, 10:58:56 pm
by musicman8oh8
1 Replies
2952 Views
Last post April 09, 2009, 08:33:26 pm
by SMFHacks
2 Replies
4905 Views
Last post June 11, 2011, 06:28:32 pm
by bruno
3 Replies
2522 Views
Last post June 18, 2011, 02:04:11 pm
by bruno
1 Replies
2604 Views
Last post July 26, 2015, 08:01:43 pm
by SMFHacks

+- Recent Topics

From SMF Gallery Lite to SMF Gallery Pro by SMFHacks
Today at 12:30:14 pm

looking for SMF mods by cloudsurph
April 13, 2021, 11:59:07 am

siapamoyanganda.com/familyforum/ by SMFHacks
April 12, 2021, 07:55:58 am

Problem with SimpleAudioVideoEmbedder by Panoulis64
April 08, 2021, 09:08:58 am

An error occurred! You must select a photo. by SMFHacks
April 01, 2021, 11:49:48 am

embed video in forum theme by SMFHacks
April 01, 2021, 11:49:15 am

Just bought Awesome Post Ratings by replayuk
March 28, 2021, 03:38:52 am

Errors when creating a category & terms by SMFHacks
March 24, 2021, 08:23:38 pm

Wanted trade option by SMFHacks
March 23, 2021, 05:07:15 pm

Arcade system dead or re-incarnation. by SMFHacks
March 19, 2021, 09:32:57 am

Powered by EzPortal