Coinbase

Author Topic: NetBiz Theme Error  (Read 4268 times)

0 Members and 1 Guest are viewing this topic.

Offline RebelRose

  • Newbie
  • *
  • Posts: 9
    • RebelRose Networks
    • Email
NetBiz Theme Error
« on: November 14, 2006, 12:14:32 am »
I was trying to install the ad management mod and got this error:

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in .../Themes/netbiz11RC3_TP/index.template.php on line 218

209: document.onmouseup=disableclick
210: else if (document.layers)
211: associateimages()
212: </script>
213: </head>
214:
215: //Display ads on the top of the page
216:    $ads = show_topofpageAds();   
217:    if(!empty($ads))
218:       if($ads['type']==0)219:          echo $ads['content'];
220:       else
221:          eval($ads['content']);   
222:    unset($ads

Help Please

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: NetBiz Theme Error
« Reply #1 on: November 14, 2006, 12:18:19 am »
Can you post your index.template.php file here please and I will take a look. :)

Offline RebelRose

  • Newbie
  • *
  • Posts: 9
    • RebelRose Networks
    • Email
Re: NetBiz Theme Error
« Reply #2 on: November 14, 2006, 12:19:49 am »
Here you go


Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: NetBiz Theme Error
« Reply #3 on: November 14, 2006, 12:38:25 am »
try this.

Offline RebelRose

  • Newbie
  • *
  • Posts: 9
    • RebelRose Networks
    • Email
Re: NetBiz Theme Error
« Reply #4 on: November 14, 2006, 12:42:24 am »
That didn't work got this:

Parse error: syntax error, unexpected '<' in .../Themes/netbiz11RC3_TP/index.template.php on line 628

619:       }
620:       elseif (!isset($buttons[$key]) || $force_reset)
621:          $buttons[$key] = '<a href="' . $value['url'] . '" ' .( isset($value['custom']) ? $value['custom'] : '') . '>' . $txt[$value['text']] . '</a>';
622:
623:       $button_strip[$key] = $buttons[$key];
624:    }
625:
626:    if (empty($button_strip))
627:       return '<td> ';
628: </td>';629:
630:    echo '
631:       <td class="', $direction == 'top' ? 'main' : 'mirror', 'tab_' , $context['right_to_left'] ? 'last' : 'first' , '"> </td>
632:       <td class="', $direction == 'top' ? 'main' : 'mirror', 'tab_back">', implode('  |  ', $button_strip) , '</td>


here is one no code changed for this mod

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: NetBiz Theme Error
« Reply #5 on: November 14, 2006, 12:46:44 am »
Ok there is no welcome area ad placement here but try this:

Offline RebelRose

  • Newbie
  • *
  • Posts: 9
    • RebelRose Networks
    • Email
Re: NetBiz Theme Error
« Reply #6 on: November 14, 2006, 01:03:16 am »
Cool we got it BigGuy thanks

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: NetBiz Theme Error
« Reply #7 on: November 14, 2006, 09:34:41 am »
Anytime, glad to help.

SMF Ads Support Forum

Re: NetBiz Theme Error
« Reply #7 on: November 14, 2006, 09:34:41 am »
.

 

.