TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,993
  • Total Topics: 21,324
  • Online today: 388
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 386
  • Total: 386

error in code edit

Started by sammie99, October 04, 2006, 11:36:18 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sammie99

i am just following the code edit doc http://www.tinyportal.net/smf/index.php?topic=7884 here and there is an error in the code:
$boarddir/Themes/babylon/index.template.php

search for this:
   echo '
   </body>
</html>';

add this before:
// TinyPortal
         echo '</div>';
     if($context['TPortal']['fixed_width']!=0)
             echo '</td></tr></table>';
// end


all i can find on that page is this:
   echo '
      <div id="ajax_in_progress" style="display: none;', $context['browser']['is_ie'] && !$context['browser']['is_ie7'] ? 'position: absolute;' : '', '">', $txt['ajax_in_progress'], '</div>
   </body>
</html>';

the bold is extra can someone tell me what i need to do?

G6Cad

You just place the code right over the body tag

<div id="ajax_in_progress" style="display: none;', $context['browser']['is_ie'] && !$context['browser']['is_ie7'] ? 'position: absolute;' : '', '">', $txt['ajax_in_progress'], '</div>
The code you need to add here
</body>
</html>';


One esier way to do this is to use the premade files i have done and sended up in to the sticky post in the installations board ;)
Download the zip and extract it, then upload and replace the files with your old ones (going with this will erase some mods if you have other mods installed)


sammie99

this is a new install, it's not very clear on the steps to install all this.
i have only the smf and tp, nothing more added to them.
it's complex
sammie

G6Cad

If you have a clean install, use the files allready made in the sticky post in the installations forum, that way you dont have to add any code manually, kust upload and replace the files from the zip :)

bloc

This "ajax" code is specific to SMF 1.1RC3 and only there. The docs are not reflecting this yet..but TP mod files are.

This website is proudly hosted on Crocweb Cloud Website Hosting.