Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Mar 2000
Posts: 528
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 528
Odd one here, I went in and changed one or two small items, but cannot see what I affected. I pasted other unregisterednav.tmpl files over this one, and still does not work. Here is the error and code, anyone see anything wrong?


Parse error: parse error, unexpected '<' in /home/....../forum/templates/default/ubbt_unregisterednav.tmpl on line 4

<!-- <? //UBBTREMARK -->
// File Version 6.5

<!-- echo <<<UBBTPRINT -->
$tbopen
<tr>
<td align="left" class="menubar" width="30%" valign="bottom">
{$ubbt_lang['NOT_LOGGED']}
[<a href="$phpurl/login.php?Cat=$Cat">{$ubbt_lang['BUTT_LOGIN']}</a>]
</td>
<td align="center" class="menubar" width="70%">
<a href="$phpurl/$FrontPage.php{$var_start}Cat{$var_eq}$Cat">{$ubbt_lang['FORUM_IND']}</a>
·
<a href="$phpurl/newuser.php?Cat=$Cat">{$ubbt_lang['NEW_USER']}</a>
·
<a href="$phpurl/faq.php?Cat=$Cat">{$ubbt_lang['FAQ_TEXT']}</a>
·
<a href="$phpurl/calendar.php?Cat=$Cat">{$ubbt_lang['CALENDAR']}</a>
$members_link
</td>
</tr>
$tbclose
<br />
<!-- UBBTPRINT; -->
<!-- /* UBBTREMARK */ ?> -->

Sponsored Links
Joined: Jun 2001
Posts: 356
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 356
[<a href="$phpurl/login.php?Cat=$Cat">{$ubbt_lang['BUTT_LOGIN']}</a>]

should that [ be in there at the beginning?



edit, i do believe it should

Last edited by monkeyra; 04/07/2005 12:09 PM.
Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
Do you try to edit the template with the build in editor ? Why is the header outcomment ? It should look like :

Code
<? //UBBTREMARK<br />// File Version 6.5.1.1<br /><br />echo <<<UBBTPRINT<br />$tbopen<br /><tr><br /><td align="left" class="menubar" width="30%" valign="bottom"><br />{$ubbt_lang['NOT_LOGGED']}<br />[<a href="$phpurl/login.php?Cat=$Cat">{$ubbt_lang['BUTT_LOGIN']}</a>]<br /></td>


copy the file from your original archive and try again.

Joined: Mar 2000
Posts: 528
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 528
Aye, I had used the online editor...not sure what the issue was as I have used it for quite a while on numerous sites now.

It's corrected and functioning - but ironically I did not change anything. Just waited an hour, went back to it, and uploaded it again (for the umpteenth time).

Joined: May 2001
Posts: 550
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 550
Strange, because you have the

echo <<<UBBTPRINT

commented out in your file....

Sponsored Links
Joined: Mar 2000
Posts: 528
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 528
When I go into my Template Editor (using 6.5) it shows it this way...I copied and pasted from there.

Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
its temporary outcommentet and should be changed if you leave the editor. This can be found somewhere in the documentation of UBBt. I read it there. But in the past there was in one version a little bug in there. Then the editor leave some slashes inside the template.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)