Index showing up as the link instead of "Index"I'm not s..."> Index showing up as the link instead of "Index"I'm not s...">
 
Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Mar 2003
Posts: 118
Journeyman
Journeyman
Offline
Joined: Mar 2003
Posts: 118
I get this

Code
 Forums" border="0" width="19" height="15" style="vertical-align: text-top" /> Index  


showing up as the link instead of "Index"

I'm not sure exactly where I accidently made that happen and I can't seem to see exactly where to fix it.

The link still works properly, however.

Anyone have an idea?

Thanks.

Sponsored Links
Joined: Aug 2000
Posts: 1,609
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,609
It's probably a template file that you need to fix. If you're using stock templates then you can just re-upload a fresh copy of the file. I'm guessing you're talking about postlist.php? If that's the case then you should upload /ubbthreads/templates/default/postlist.tmpl.

The code in question is:
Code
 <br /><img src="{$config['images']}/all.gif" alt="{$ubbt_lang['FORUM_IND']}" border="0" {$images['all']} $imagestyle /> <br />


That's what it is supposed to look like in its stock form. The 19x15 that you are seeing are the dimensions for the triangle next to Index. Looks like your tag is prematurely closed.

Joined: Aug 2000
Posts: 1,609
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,609
The problem MAY be in your /ubbthreads/languages/english/generic.php file. This is where $ubbt_lang['FORUM_IND'] is located which is the point in the tmpl file that is causing the error. Although, I don't know if code in language files render or not. Also, the stock FORUM_IND is Main Index and yours looks like it ends with Forums. Weirdness.

Joined: Aug 2000
Posts: 1,609
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,609
Okay, ignore all of that. I just looked at your code. You have:

Code
<img src="/ubbthreads/images/all.gif" alt="<font size="1">Forums</font>" border="0" width="19" height="15" style="vertical-align: text-top" />


and the output needs to be:

Code
<img src="/ubbthreads/images/all.gif" alt="Forums" border="0" width="19" height="15" style="vertical-align: text-top" />


It looks like your generic.php file in your languages folder contains:

Code
<font size="1">Forums</font>


I would suggest taking out the HTML.

Joined: Mar 2003
Posts: 118
Journeyman
Journeyman
Offline
Joined: Mar 2003
Posts: 118
That was it. I had put the HTML in there to make the top menu fonts a little smaller. I guess I should just do that in the CSS file since it would be easier that way also.


Thanks for the help.

Sponsored Links

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
Posts: 70
Joined: January 2007
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 20240506)