Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 201
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 254
Total: 254

Author Topic: Classified name change  (Read 8168 times)

0 Members and 2 Guests 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: 16436
    • 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: 16436
    • 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: 16436
    • 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: 16436
    • 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: 16436
    • 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: 16436
    • 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: 16436
    • 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
6802 Views
Last post May 13, 2008, 04:15:54 am
by musicman8oh8
8 Replies
6970 Views
Last post May 29, 2008, 10:31:09 pm
by jos
2 Replies
3894 Views
Last post July 05, 2008, 10:58:56 pm
by musicman8oh8
1 Replies
4102 Views
Last post April 09, 2009, 08:33:26 pm
by SMFHacks
1 Replies
4242 Views
Last post July 26, 2015, 08:01:43 pm
by SMFHacks

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

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

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal