Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12411
Latest: PabloWatts
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 39948
Total Topics: 7033
Most Online Today: 60
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 37
Total: 37

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

+- Recent Topics

hashTags only used by admins, but visible to everyone? by SMFHacks
December 04, 2019, 11:08:35 am

Responsive Layout by Matthias
November 30, 2019, 03:05:57 pm

Secure connection failed Pretty Url Pro by Rock Lee
November 26, 2019, 10:44:23 am

Black Friday Sale Week 2019 by SMFHacks
November 23, 2019, 04:47:56 pm

German Translation missing in SMF 2.1R1 by SMFHacks
November 19, 2019, 02:38:42 pm

Unread items issue by SMFHacks
November 19, 2019, 10:07:32 am

Update detect mobile mode PHP5 to PHP7 by Rock Lee
November 16, 2019, 07:18:13 pm

PHP error by davejo
November 12, 2019, 12:09:47 pm

Message Editor Pro Issues by SMFHacks
November 06, 2019, 09:58:33 pm

most popular categories doesnt work by fussilet
November 02, 2019, 02:51:42 pm

Powered by EzPortal