Coinbase

Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
General Support / Re: Ad Placement Between Categories
« Last post by jgwise on August 02, 2017, 02:40:21 pm »
I uploaded and got this error when I tried to open forum:

Template Parse Error!
There was a problem loading the /Themes/core/BoardIndex.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.


Parse error: syntax error, unexpected end of file in .../Themes/core/BoardIndex.template.php on line 420


411:          <div class="infocenter_section">
412:             <h4 class="titlebg">', $txt['online_users'], '</h4>
413:             <div class="windowbg">
414:                <p class="section">
415:                   ', $context['show_who'] ? '<a href="' . $scripturl . '?action=who' . '">' : '', '<img src="', $settings['images_url'], '/icons/online.gif', '" alt="', $txt['online_users'], '" />', $context['show_who'] ? '</a>' : '', '
416:                </p>
417:                <div class="windowbg2 sectionbody">
418:                   ', $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '', comma_format($context['num_guests']), ' ', $context['num_guests'] == 1 ? $txt['guest'] : $txt['guests'], ', ' . comma_format($context['num_users_online']), ' ', $context['num_users_online'] == 1 ? $txt['user'] : $txt['users'];
419:
420:    // H
22
General Support / Re: Ad Placement Between Categories
« Last post by vbgamer45 on August 02, 2017, 02:22:11 pm »
Try these files
23
General Support / Re: Ad Placement Between Categories
« Last post by jgwise on August 02, 2017, 02:13:40 pm »
Any insight on my issue?
24
General Support / Re: Ad Placement Between Categories
« Last post by jgwise on August 01, 2017, 10:58:14 pm »
So I did a fresh install of SMF 2.0.14 on my test server and modified the files according to the Parser.

The ad that I wanted between the Categories is showing up on top of the Categories. But I still could not find the <tbody class="divider"> section to add the code under.

I also need to have the QueryString.php edited to fix the overlap on the bottom since I have done the fresh install.

Sorry...not trying to be a pain...just trying to get the ad setup so I can move this out to live server. Thank you for your help. Once I get this live will make donation for all the trouble.   :)
25
General Support / Re: Ad Placement Between Categories
« Last post by jgwise on August 01, 2017, 10:57:51 pm »
When I run the PARSER...it says in the file $themedir/BoardIndex.template.php to edit two codes...

I found the first one and added it...but the second one, I can't find the line of code that I am supposed to paste after (the DIVIDER CLASS). It says...

FIND:

<tbody class="divider">
            <tr>
               <td colspan="4"></td>
            </tr>
         </tbody>';

THEN PASTE AFTER:

   echo '<tbody><tr><td colspan="4">';
   //Display ads Between cats
   if (function_exists("show_category"))
   {
      $ads = show_category($category['id']);
      if(!empty($ads))
         if($ads['type']==0)
            echo $ads['content'];
         else
            eval($ads['content']);
      unset($ads);
   }
   echo '         </td></tr></tbody>';
26
General Support / Re: Ad Placement Between Categories
« Last post by vbgamer45 on August 01, 2017, 04:47:35 pm »
The .zip file for ad management
27
General Support / Re: Ad Placement Between Categories
« Last post by jgwise on August 01, 2017, 04:45:56 pm »
What file am I uploading to the parser? Sorry new to this...
28
General Support / Re: Ad Placement Between Categories
« Last post by vbgamer45 on August 01, 2017, 03:52:06 pm »
Check that you made the edits to your theme. For that to work it edits the boardindex.template.php file.

To find the edits upload the mod to http://www.smfhacks.com/smf-package-parser.html
29
General Support / Re: Ad Placement Between Categories
« Last post by jgwise on August 01, 2017, 11:39:30 am »
Here is screenshot
30
General Support / Re: Ad Placement Between Categories
« Last post by jgwise on August 01, 2017, 08:32:30 am »
Any idea on why this is not working? I put the "1,2" as instructed in the box...but the ad is not showing...I am using the Core Theme, so no mods or anything that should conflict. Any ideas?
Pages: 1 2 [3] 4 5 ... 10