Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12387
Latest: Altha
New This Month: 11
New This Week: 3
New Today: 0
Stats
Total Posts: 39888
Total Topics: 7022
Most Online Today: 78
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 53
Total: 53

Author Topic: installation instructions but the "find" stuff is not there  (Read 4147 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: 14953
    • 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: 14953
    • 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: 14953
    • 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: 14953
    • 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
6219 Views
Last post September 28, 2007, 11:46:07 am
by smalldonkey
2 Replies
5303 Views
Last post November 06, 2007, 08:55:18 pm
by dry3210
0 Replies
2122 Views
Last post November 02, 2010, 08:35:16 am
by spacecadet
4 Replies
7370 Views
Last post September 29, 2013, 12:48:41 pm
by dan4ever
4 Replies
1365 Views
Last post August 11, 2017, 10:12:59 am
by ted245

+- Recent Topics

prettyurls - TroubleShooting.wiki by Rock Lee
October 10, 2019, 11:37:09 am

Some issues with adding and editing a listing by ajac63
October 07, 2019, 04:16:40 am

Problem update 1.1.21 to 2.0.15 by Rock Lee
October 06, 2019, 06:09:16 pm

[Mod]SMF 2.0.x PHP 7.2 Support by sah62
October 04, 2019, 01:46:00 pm

Ideas by shuban
October 03, 2019, 10:19:06 pm

How to space icons and multiple reacts? by shadav
October 03, 2019, 04:20:07 pm

PrettyUrls SEO Pro by Rock Lee
October 01, 2019, 09:09:38 am

How to get search preciser by SMFHacks
September 23, 2019, 10:09:56 am

How to AVOID SEO Hit when Implementing PrettyURLs by SMFHacks
September 12, 2019, 08:50:42 pm

theme by SMFHacks
September 12, 2019, 07:10:51 am

Powered by EzPortal