TinyPortal

Development => Support => Topic started by: sparky33 on February 16, 2007, 05:27:12 AM

Title: Help with forum layout
Post by: sparky33 on February 16, 2007, 05:27:12 AM
SMF 1.1.1
TinyPortal v0.9.7
Dilber

I've just installed TP with dilber theme and I'm having a problem (it's not theme related) The boards are too wide, pushing the forum over the edge when you have the side blocks enabled, this can be seen by the fact you have a scroll bar on the bottom, and the header of the forum is the right width.

This is a forum I've been helping out on, and I use the same set up but for me it's fine, I've cross referenced the settings and they are all the same, you can see the problem here http://www.ndex.org/index.php

Please help, this is doing my nut in.
Title: Re: Help with forum layout
Post by: Shadow on February 16, 2007, 05:35:26 AM
Did you install the correct version of theme?   You need to install a TP Version theme not a SMF Version.  Just asking!
Title: Re: Help with forum layout
Post by: sparky33 on February 16, 2007, 05:44:02 AM
I would imagine it's the correct one, I got it from TP website and crips own thread, plus it's the same file I used ti intall on my own site.
Title: Re: Help with forum layout
Post by: Shadow on February 16, 2007, 05:49:18 AM
Well, All theme's from her is TP theme's to install into any forum's..

But it's still odd the forum look like that.  Why don't you unstall TP then install TP back into your forum to see if that would help.

Also you can try to use a diff theme to see if a diff theme doing the same thing....
Title: Re: Help with forum layout
Post by: sparky33 on February 16, 2007, 05:54:24 AM
It's doing the same in the default theme too
Title: Re: Help with forum layout
Post by: Shadow on February 16, 2007, 05:57:31 AM
Alright, Try to unstall TP and get a new TP from here and see if this would help....If not you might have to replace some file's or do something eles...
Title: Re: Help with forum layout
Post by: sparky33 on February 16, 2007, 05:59:49 AM
I just uninstalled and all the buttons disappeared, I was only able to rescue it by using the back button and then re-installing
Title: Re: Help with forum layout
Post by: Shadow on February 16, 2007, 06:20:14 AM
Any luck? This isn't good at all.  Maybe a bug in TP.  I see it's didn't help at none.  Umm, This is odd.

Maybe one of your mod's is casuing this problem but i don't know. 

What your Forum Error Log say?
Title: Re: Help with forum layout
Post by: sparky33 on February 16, 2007, 06:25:57 AM
8: Use of undefined constant smfgallery_menu - assumed 'smfgallery_menu'
File: /home/ndex/public_html/Themes/default/Register.template.php (main_above sub template - eval?)
Line: 755

8: Use of undefined constant smfgallery_menu - assumed 'smfgallery_menu'
File: /home/ndex/public_html/Themes/dilbermc/BoardIndex.template.php (main_above sub template - eval?)
Line: 755
Title: Re: Help with forum layout
Post by: Shadow on February 16, 2007, 06:35:36 AM
Try to replace the file's.  Upload fresh new file's and replace them. Also you can try to unstall the smfgallery mod if you want.
Title: Re: Help with forum layout
Post by: sparky33 on February 16, 2007, 06:51:58 AM
 Type Action Description
1. Execute Modification ./Themes/default/languages/Modifications.english.php Test failed
2. Execute Modification ./Themes/default/languages/Who.english.php Test successful
3. Execute Modification ./index.php Test successful
4. Execute Modification ./Themes/default/index.template.php Test failed
5. Execute Modification ./Sources/Subs.php Test failed
6. Execute Modification ./Sources/ManagePermissions.php Test failed
7. Delete File ./Sources/Gallery.php 
8. Delete File ./Themes/default/Gallery.template.php 
9. Delete File ./Themes/default/languages/Gallery.english.php 
10. Delete File ./Themes/default/languages/Gallery.english-utf8.php
Title: Re: Help with forum layout
Post by: Shadow on February 16, 2007, 06:59:33 AM
You few topic's they might help you some.

Topic One -- Mod's Or Package's Keep Failing Testing

Topic Link Read More (http://www.shadowskingdom.com/index.php?topic=349.0)

You have to unstall them the same way you install them into your forum.  You have to unstall them on the default theme
Title: Re: Help with forum layout
Post by: sparky33 on February 16, 2007, 07:05:16 AM
It's failing in the default theme too
Title: Re: Help with forum layout
Post by: Shadow on February 16, 2007, 07:08:55 AM
Did you read that topic link i give you?

You have to unstall the mod's the same way you install them into your forum...

You might have to do some edit to the file's keep failing on the tested. 
Title: Re: Help with forum layout
Post by: sparky33 on February 16, 2007, 07:41:36 AM
I've decided to uninstall all the mods and then reupload the failed files, only thing is, i cant uninstall TP, if I do, i lose the complete button row
Title: Re: Help with forum layout
Post by: Shadow on February 16, 2007, 07:44:54 AM
I hope TP is the first mod you install into your forum. 

I hope this fix the problem...
Title: Re: Help with forum layout
Post by: sparky33 on February 16, 2007, 07:46:58 AM
I can't uninstall TP
Title: Re: Help with forum layout
Post by: Shadow on February 16, 2007, 07:48:29 AM
I didn't said that.  I said i hope TP is the first mod you install it into your forum.

Did you done a backup before this problem begin?
Title: Re: Help with forum layout
Post by: sparky33 on February 16, 2007, 08:00:35 AM
No, but like I said, i can't uninstall TP, if I do, I lose the button row.
Title: Re: Help with forum layout
Post by: pvcblue on February 16, 2007, 08:07:48 AM
Sparky when installing and uninstalling MODs pay close attention to what the installer tells you, if the MOD is failing on the defualt php files such as index or ssi or boardindex, either do not install them or install manually as something you may have installed earlier has changed the code where the new MOD cannot read it correctly. This also goes for uninstalling. Now if it is a language file or a theme that you do not have installed or use, and is is failing on those types of files, it should be safe to install or uninstall.
Title: Re: Help with forum layout
Post by: sparky33 on February 16, 2007, 08:13:16 AM
I've fixed it now, but there is still the worrying thing, that when i uninstall TP it removed the button row.
Title: Re: Help with forum layout
Post by: Shadow on February 16, 2007, 11:46:29 AM
What do you mean you lost the button?
Title: Re: Help with forum layout
Post by: sparky33 on February 16, 2007, 03:38:41 PM
the whole button row disappears
Title: Re: Help with forum layout
Post by: Shadow on February 16, 2007, 07:19:23 PM
Oh, Isn't good at all then.

Well, I guess leave TP install on your forum then. 
Title: Re: Help with forum layout
Post by: Crip on February 16, 2007, 07:22:29 PM
DilberMC has been update and a bug fixed, download the new zip..tis better..
Title: Re: Help with forum layout
Post by: Shadow on February 16, 2007, 07:27:52 PM
It's doing the samething to all of his theme's on his forum.  Make it look odd...

I hope that would sovled the problem he is having....
Title: Re: Help with forum layout
Post by: sparky33 on February 16, 2007, 09:10:13 PM
Quote from: crÏŠp on February 16, 2007, 07:22:29 PM
DilberMC has been update and a bug fixed, download the new zip..tis better..
Where can I download the updated version, as the one at the top of the thread is from October?
Title: Re: Help with forum layout
Post by: brianjw on February 16, 2007, 09:17:38 PM
Look here:
Forum>>TP Theme Support>>Crip Board>>(2 Choices: use the search to find the theme or browse the board until found)

Hope that helps :D
Brianjw
Title: Re: Help with forum layout
Post by: IchBin on February 16, 2007, 09:46:19 PM
I also updated it in the download section.
Title: Re: Help with forum layout
Post by: Shadow on February 16, 2007, 10:16:38 PM
A out of date theme make the forum look like that?
Title: Re: Help with forum layout
Post by: sparky33 on February 17, 2007, 06:22:02 PM
It's the Dec 11th one I'm using.
Title: Re: Help with forum layout
Post by: IchBin on February 17, 2007, 06:30:00 PM
Yes, you should download and install the theme again. It has been updated since then.
Title: Re: Help with forum layout
Post by: sparky33 on February 17, 2007, 07:30:38 PM
the only one I can find is this http://www.tinyportal.net/index.php?action=tpmod;dl=item503 which is dated Dec 11th
Title: Re: Help with forum layout
Post by: IchBin on February 17, 2007, 09:40:35 PM
Yes, I just replaced the download in the tp-downloads folder. It was updated last week, but the change wasn't reflected in the date. Not sure I can change that. But if you downloaded it sooner than last week then just download that one again.
Title: Re: Help with forum layout
Post by: sparky33 on February 17, 2007, 10:06:40 PM
OK  :up:
Title: Re: Help with forum layout
Post by: sparky33 on February 17, 2007, 10:15:04 PM
Well that is something I wish I hadn't done, it's just wiped out hours and hours of work (all the manual modifications required to get features and mods to work), I uploaded the latest version, looked at it and realised I would have to do all the work again, so deleted the newly uploaded version, and it wiped out all my modifications I'd made, so now I have to do it all over again.
Title: Re: Help with forum layout
Post by: sparky33 on February 17, 2007, 11:13:03 PM
Well my forum is a total mess now, so need to do a complete back up, but no idea how?
Title: Re: Help with forum layout
Post by: IchBin on February 18, 2007, 12:46:08 AM
Did you have a backup from before you started installing the theme? You should always backup right before you start messing with the files or database.
Title: Re: Help with forum layout
Post by: sparky33 on February 18, 2007, 12:58:12 AM
I usually do, but all seemed to be installing ok, now I've got no forum at all, take a look www.coupe-club.org.uk.

I have a full back up created via the forum maintenance in admin on the forum, but no idea how to do a restore??
Title: Re: Help with forum layout
Post by: Shadow on February 18, 2007, 03:55:24 AM
Alright, Here what i get.

Here the error i see...

Fatal error: Call to undefined function: tp_loadtheme() in /home/fhlinux178/c/coupe-club.org.uk/user/htdocs/smf/Sources/Load.php on line 1138

I read his topic on SMF Helper.  And he is asking about a full backup.  Jump1979man told him how to do a FULL BACKUP all that.

QuoteTo ask how to restore a backup is a pretty simple thing to accomplish therefore if you ask how to restore a backup then one can only logically assume that you dont even know how to create a backup.... right on

You cannot assume someone is going to hold your hand and do everything for you.  When you get an answer about going to do it through your Cpanel and you still dont know how to do it then you ask what is cpanel or where in cpanel do I go?

You dont act like a baby and say I am just going to scrap it......because frankly I dont care if you do and neither does anyone else. right on

Now if you want to ask questions and get answers then fine continue to do that but we obviously have no idea how much knowledge you have on the subject.

Generally if you know how to make a backup then you also know how to restore one.

Why dont you try and give us more info on what you know and what your config is....maybe what your server admin software is....

generally you can also google how to restore backups....

if you saved the backup through smf then you just restore it through smf the same way..and is this a database backup or a file backup?Huh?

Give more info and youll get better responses. Awesome

I'm sorry if i am out of line a bit on this post....
Title: Re: Help with forum layout
Post by: G6Cad on February 18, 2007, 04:08:36 PM
Please read this thread, it have the answers you need.

http://www.tinyportal.net/index.php?topic=11556.0
Title: Re: Help with forum layout
Post by: brianjw on February 18, 2007, 11:53:30 PM
I looked on your site and you are using a tinyportal theme but don't have TP installed because of that error at the bottom ;)
Title: Re: Help with forum layout
Post by: sparky33 on February 20, 2007, 03:01:03 AM
This is posted on SMF, TP and Crip board as it is relevent and linked to all three.

Here is the catalogue of events that lead to my forum being totally detroyed, and now weeks of work having to be redone, ok, all the important info is still there, but now I have to rebuild the structure of the forum.

It was installing SMF Links and Gallery that set it all off, they didn't show in admin, just blank spaces where they should have been so I uninstalled, and the blanks remained, ..it then turned out there was an update of dilber that fixed a bug or two..so I tried that...when I installed it I realized it was a fresh theme install, so not "modified" (I thought it would just work as an upgrade) so naturally I thought it would be ok to uninstall it, how wrong, it took out all the modifications and still the gaps remained in admin..so I thought..ok, uninstall and reinstall TP...that was when it all fell appart.

As you can see, I didn't make any errors myself and there were no warnings or failed tests either.

I managed to bring it back, but not as it was.....but there must be an easier way.

I used all the files from the packages back up folder, just chose one from before the problems started, so uploaded and over wrote the originals, that put it all back online, but that was only the half of it.

All the modifications in my non default theme were gone. to be on the safe side, I uninstalled all my modifications to see if there were any file problems, and of course there were, so I've spent 12 hrs checking, and removing code manually, before then re-installing the modifications "cleanly"

Still a couple of problems I can't seem to fix though...I can't uninstall Tiny Portal, at least not without doing it all manually, it takes ages for the status bar to get to half way then I get "page cannot be displayed", I know TP isn't right as I've got 3 sets of TP hide left/right panel buttons. (it was uninstalling TP that actually took the forum completely down in the first place)

The other problem is with my ad management, after the back up files were installed, the ads were showing, but I had no adman' admin , and in packages it was showing as not installed, so I clicked on install thinking it would just fix the error, instead it added the package twice, so I uninstalled, then I added the admin section manually, and it's all working, however packages still gives me the option to install.

Is there anyway to simply restore a forum to a previous date, without all this, you know, similar to windows restore. I wrongly thought that was the idea of the back up in admin on SMF, I thought that was what this was for:

Forum Maintenance - Backup Database
Save the table structure.
Save the table data. (the important stuff.)
Title: Re: Help with forum layout
Post by: IchBin on February 20, 2007, 05:24:00 PM
There's no need to cross post Sparky.

http://www.tinyportal.net/index.php?topic=13460.msg111769#msg111769