Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12374
Latest: LevelLord
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 40213
Total Topics: 7083
Most Online Today: 122
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 34
Total: 35

Author Topic: installation instructions but the "find" stuff is not there  (Read 4367 times)

0 Members and 1 Guest are viewing this topic.

Offline G1

  • Full Member
  • ***
  • Posts: 132
    • View Profile
installation instructions but the "find" stuff is not there
« on: December 15, 2010, 06:23:38 pm »
ok so this is what frustrates me a lot and i always end up just installing it anyway and denying the fact that there were errors as long as it works, only to bite me in the ass eventually (had to reinstall the whole forum again now). when i see errors, i try to fix them with the "find" then replace or add after or before stuff but the thing is there are times what i need to fix cannot be found, also when i try to copy the texts to fix it, i end up pasting a ton of gibberish html looking that has the needed text written but comes with a ton of html gibberish alongside with it. this is an example


      Execute Modification    ./Themes/core/BoardIndex.template.php    Test failed
      1.    Replace    ./Themes/core/BoardIndex.template.php    Test failed

ok so im like, cool i'm told to find this

echo ' </table> </div>'; if ($context['user']['is_logged'])

this is the only thing i find (some text is similar but not identical at all)
  echo '
      <table cellspacing="1" class="bordercolor boardsframe">';

(i copy the text im supposed to find in the control-f command and search cant find the exact line) ?!?!?


the other problem is this: i finally find what im looking for and try to copy the highlighted text with the select command, try to  paste the "fix" then end up pasting this

// Classifieds Mod if ($modSettings['class_set_intergrate_boardindex'] == 1) { global $sourcedir; require_once($sourcedir . '/classifieds2.php'); LoadClassifiedsBoards(); echo ' <tbody class="header"> <tr> <td colspan="4" class="catbg"><span class="left"></span> ' . $txt['class_text_title'] .' </td> </tr> </tbody> <tbody class="content"> '; // 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'], '/on', $board['new'] ? '' : '2', '.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>'; echo ' </td> </tr>'; // Show the "Child Boards: ". (there's a link_children but we're going to bold the new ones...) if (!empty($board['subcats_linktree'])) { echo ' <tr> <td colspan="3" class="children windowbg"><strong>', $txt['class_sub_cats'], '</strong> ', $board['subcats_linktree'], ' </td> </tr>'; } } echo '</tbody> <tbody class="divider"> <tr> <td colspan="4"></td> </tr> </tbody>'; } // End Classifieds Mod echo ' </table> </div>'; if ($context['user']['is_logged'])


i dunno but it looks really bad to paste over a bunch of sensitve routines and subroutines.  please help anyone. im sure this is an easy thing to explain if you know how smf mods and edits are properly done. thank you.


some final notes about the conditions:

i am using rc4 curve default
i am confused whether i use legacy file manager in cpanel for fixes or just within the smf "modify themes" section
am i supposed to do fixes like these before or should i just install first, then do fixes

« Last Edit: December 15, 2010, 06:34:30 pm by ggman »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15106
    • View Profile
Re: installation instructions but the "find" stuff is not there
« Reply #1 on: December 15, 2010, 06:33:37 pm »
Are you using the core theme or the default theme?
If you are using just the default theme you can ignore core

For manual install instructions on custom themes I recommend using this
http://resourcez.biz/PackageParser/
over the built in package manager of SMF for formatting code anyway.
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 G1

  • Full Member
  • ***
  • Posts: 132
    • View Profile
Re: installation instructions but the "find" stuff is not there
« Reply #2 on: December 15, 2010, 06:36:34 pm »
im confused with what the difference is between a core, curve theme and default theme

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15106
    • View Profile
Re: installation instructions but the "find" stuff is not there
« Reply #3 on: December 15, 2010, 06:37:18 pm »
On SMF 2.0 the curve theme is the default theme

On SMF 1.1.x the core theme is the default theme.
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 G1

  • Full Member
  • ***
  • Posts: 132
    • View Profile
Re: installation instructions but the "find" stuff is not there
« Reply #4 on: December 15, 2010, 06:39:01 pm »
i c. so now since im using curve theme, i have to address this now?



i think i understand it a bit

core is not related to anything 2.0 so i ignore errors related to it when im using rc4.
curve theme to 2.0x  is what core theme is to 1.x = they are totally unrelated, and curve is just a prettier default theme from the older smf
« Last Edit: December 15, 2010, 06:42:43 pm by ggman »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15106
    • View Profile
Re: installation instructions but the "find" stuff is not there
« Reply #5 on: December 15, 2010, 06:42:42 pm »
No since it is a core error safe to ignore.
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 G1

  • Full Member
  • ***
  • Posts: 132
    • View Profile
Re: installation instructions but the "find" stuff is not there
« Reply #6 on: December 15, 2010, 06:49:56 pm »
lol im banned again at ezportal site, what is this recurring banning thing on me
i have 4.5 on my drive anyway but can u unban me again, i dunno whats wrong with the site

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15106
    • View Profile
Re: installation instructions but the "find" stuff is not there
« Reply #7 on: December 15, 2010, 06:59:41 pm »
pm me the ip could be common if ip is shared with spammers.
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
1 Replies
6503 Views
Last post September 28, 2007, 11:46:07 am
by smalldonkey
2 Replies
5545 Views
Last post November 06, 2007, 08:55:18 pm
by dry3210
0 Replies
2255 Views
Last post November 02, 2010, 08:35:16 am
by spacecadet
4 Replies
7640 Views
Last post September 29, 2013, 12:48:41 pm
by dan4ever
4 Replies
1592 Views
Last post August 11, 2017, 10:12:59 am
by ted245

+- Recent Topics

Download System Lite by Rock Lee
June 03, 2020, 07:34:24 pm

Font question by SMFHacks
May 27, 2020, 08:15:26 am

Error message with latest SMF 2.1 Github build by Hatshepsut
May 25, 2020, 01:43:26 am

smfblog not working on 2.0.17 by tech9
May 20, 2020, 01:44:34 pm

Copyright removal by stbc
May 18, 2020, 01:27:57 am

Mod Verified User i can't square the image by Rock Lee
May 07, 2020, 07:56:10 pm

SMF4Mobile 2.0 released for SMF 2.0.x by SMFHacks
May 06, 2020, 12:13:14 pm

SMF Social Login Pro - Discontinued? by Nicole
May 02, 2020, 05:47:04 pm

Likes by SMFHacks
April 30, 2020, 09:50:35 pm

Upgrade Issue - by SMFHacks
April 28, 2020, 12:40:13 pm

Powered by EzPortal