Uutiset:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu
Advertisement:

Text at the top

Aloittaja Maniakc, tammikuu 26, 2007, 07:54:44 AP

« edellinen - seuraava »

Maniakc

Theres text at the top of my forums from different packages that didnt install properly, how do I get rid of this?
$txt['gvideo'] = 'Google Video'; $txt['gvideo'] = 'Google Video'; $txt['redirected_click'] = '1 redirected click'; $txt['redirected_clicks'] = ' redirected clicks'; $txt['redirect_count_clicks'] = 'Count all clicks?'; $txt['redirect_count_clicks_desc'] = 'This will keep track of how many times the board redirects your users'; $txt['redirect_enable'] = 'Make this board a redirection board'; $txt['redirect_enable_desc'] = 'This will redirect any user attempting to access this board to a URL of your choice'; $txt['redirect_location'] = 'URL to redirect user to'; $txt['redirect_hide_columns'] = 'Hide "posts" and "topics" for redirection boards'; $txt['redirect_no_child'] = 'Redirection boards can\\'t have child boards!'; $txt['redirect_no_url'] = 'Redirection boards must have a URL!'; $txt['redirect_reset_clicks'] = 'Reset click count'; $txt['redirect_reset_clicks_desc'] = 'This will reset the click count to 0.'; $txt['redirect_target'] = 'Target for the URL'; $txt['redirect_target_desc'] = 'The target for the redirection link (ie _blank)';

http://wiifamily.net/images/weirdtext.bmp

I also created another forum with the same DB to see if it happened to this one too, and the text is on the top of this second one also, idk how to fix it, help would be much appreciated.

Maniakc


Oldiesmann

This is a known bug with the package manager. For some reason, telling it to search for the end of the file sometimes causes it to put things literally at the end of the file (ie after the closing PHP tag).

To fix it, edit Themes/default/Modifications.english.php and move the closing PHP tag ("?>") to the last line of the file. That will make the text go away.
Michael Eshom
Christian Metal Fans

Maniakc

#3
I dont have a Modifications.english.php file in my default theme's folder :o

Ok, I found it and edited it! Thanks So Much! Now I know what to do if that happens again!

Advertisement: