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: 297
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 283
Total: 284

Author Topic: installation instructions but the "find" stuff is not there  (Read 6133 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: 16436
    • 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: 16436
    • 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: 16436
    • 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: 16436
    • 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
4415 Views
Last post May 21, 2007, 06:37:59 pm
by SMFHacks
1 Replies
8882 Views
Last post September 28, 2007, 11:46:07 am
by smalldonkey
2 Replies
8183 Views
Last post November 06, 2007, 08:55:18 pm
by dry3210
4 Replies
10665 Views
Last post September 29, 2013, 12:48:41 pm
by dan4ever
4 Replies
3626 Views
Last post August 11, 2017, 10:12:59 am
by ted245

+- 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