XMB Forum Software

[New] Move text BELOW header in seperate tables.

Reesh - 5-6-2013 at 11:05 AM

Full Board URL:
XMB Version: 1.9.11

I am trying to move the table with admin link+login etc BELOW the header like the screen cap you can see in this post:

http://forums.xmbforum2.com/viewthread.php?tid=776788

I have installed a few hacks so I cannot just download the files attached in this post without having to reinstall everything.

Does anyone know how to do this without messing up my hacks?


I don't want it to look like this (see attachment)


Skjermbilde 2013-05-06 kl. 02.01.54.png - 55kB

Phil1ooo - 5-6-2013 at 10:11 PM

Hi

Do you mean something like this?

7-05-2013 8-08-49 AM.png - 63kB

Phil1ooo - 5-6-2013 at 10:40 PM

Or would you prefer something like this.

let me know which one and I'll tell how to do it.

Cheers

7-05-2013 8-37-42 AM.png - 68kB

Reesh - 5-6-2013 at 10:53 PM

Yes including the Last active text and everything below header. Nothing on the right side next to it :)

Phil1ooo - 5-6-2013 at 11:32 PM

This was just a sample on my own forum so I didn't remove any details I just gave you samples of where you might want it.

Is the YES for the first sample or the second sample?

Removing isn't hard.

From what your saying you want the second sample but with the active text (date etc) there and the links to search, faq, member list etc removed altogether. Correct?

Phil1ooo - 5-7-2013 at 12:49 AM

Something Like this.

I installed a test site so I'm not affecting my site.



7-05-2013 10-47-33 AM.png - 15kB

let me know what you want moved or removed from what you see.

Although the logo here is a small one it is made to fit the logo full width where it is now which is what you wanted.
The log in details are centred according the form board links displayed on your left.

Reesh - 5-7-2013 at 09:54 AM

Like this if possible? :)



headerpreview.png - 63kB

Reesh - 5-7-2013 at 09:58 AM

here is my header file :crazy:



Attachment: header.txt (947B)
This file has been downloaded 221 times


Phil1ooo - 5-7-2013 at 10:25 AM

Quote: Originally posted by Reesh  
Like this if possible? :)



That's basically what I had in the first one.

No problem I'll do it tomorrow for you I'll do it tomorrow for you.

Cheers

Reesh - 5-7-2013 at 10:25 AM

Also, is there a way of changing the folder.gif / red_folder.gif to be different on each forum? I'd like to have a different icon for each forum subject.
Give me your paypal address :)

Reesh - 5-7-2013 at 10:26 AM

Have you got the code for the first one you showed me? :)

Phil1ooo - 5-7-2013 at 12:58 PM

Quote: Originally posted by Reesh  
Have you got the code for the first one you showed me? :)


If you like I'll do 2 files or would you prefer the first one?

Phil1ooo - 5-7-2013 at 12:59 PM

Quote: Originally posted by Reesh  
Also, is there a way of changing the folder.gif / red_folder.gif to be different on each forum? I'd like to have a different icon for each forum subject.
Give me your paypal address :)

I'll have a look at that after the header file is done.

Phil1ooo - 5-7-2013 at 01:14 PM

Quote: Originally posted by Reesh  
here is my header file :crazy:



This is not the whole header code for your header file is it as on my end it doesn't look right.

The seacrbar is all out of wack.

If it is give me a link to your site so I can see it there please.

Reesh - 5-7-2013 at 02:09 PM

Here is header.php

Attachment: header.php (33kB)
This file has been downloaded 343 times


Phil1ooo - 5-7-2013 at 02:22 PM

Quote: Originally posted by Reesh  
Here is header.php


Wrong header Reesh. The Template header from your admin panel.

OK looking at your site which looks nice by the way, What exactly do you want added there?

1- The search bar
2 - The forum links which lead to boards (on your left)
3- The header with the menu tabs in it

I presume that once logged in we can see the log in details in the center there, Correct?

I also presume you want it there in 1 singe line or 2?


Let me know so I can work it out right.

Reesh - 5-7-2013 at 03:10 PM

Thanks :) If you view the forum now, you can see where it should be centered. It looks SO messy now. This is what my old board used to have, and I'm trying to get it to look like this, same setup.

Skjermbilde 2013-05-07 kl. 17.09.31.png - 38kB

Reesh - 5-7-2013 at 05:28 PM

Fixed it :)

Phil1ooo - 5-7-2013 at 09:44 PM

Quote: Originally posted by Reesh  
Fixed it :)


Meaning you don't need me to do the header file?

Reesh - 5-7-2013 at 09:55 PM

No, but I would love it if you know how to change the icons to be different next to every forum :)

Phil1ooo - 5-8-2013 at 02:59 AM

Quote: Originally posted by Reesh  
No, but I would love it if you know how to change the icons to be different next to every forum :)


Easy,,,go to your themes folder/images and change the image to the one you want giving it the same name as the one your replacing.


Reesh - 5-8-2013 at 03:14 AM

Aware of that, but I need one icon for EACH forum category... 10-15 different. Not just folder.gif and red_folder.gif, but folder1.gif-folder15.gif, get it? :)

lottos - 5-8-2013 at 03:33 AM

Leave those images for now.

To add an image for your chosen forum area, go into

Administration Panel -> Forums ->

Choose the forum you are editing

-> More Options

In the Description field, add an <img src> for the image you want.

Phil1ooo - 5-8-2013 at 09:21 AM

Quote: Originally posted by Reesh  
Aware of that, but I need one icon for EACH forum category... 10-15 different. Not just folder.gif and red_folder.gif, but folder1.gif-folder15.gif, get it? :)


Sorry misunderstood which icons.


Reesh - 5-8-2013 at 09:56 AM

The icons in the attachments should all be different. Is there any way?

Skjermbilde 2013-05-08 kl. 11.55.21.png - 21kB

Phil1ooo - 5-8-2013 at 09:29 PM

I am not sure where these are but I will have a look.
I'm sure Lottos would know.

I'll let you know as soon as I find it.


Phil1ooo - 5-8-2013 at 10:21 PM

OK here is what I have found. In the root in templates.xmb which can also be accessed from your admin panel in templates although I found that this file is much more detailed. There you will find the names to each file relating to your images (example) all the ones that start with ForumDisplay_Subforum and forumdisplay_thread.

But the same idea as I mentioned before about changing the images still stands for these but if you want a completely different image for each forum name then I'm afraid I'm not that good with coding to help you there. Sorry

lottos - 5-9-2013 at 11:09 AM

Technically it can be done (but my way outlined above is quick and easy and gives much the same result).

To get the desired result on the index page, you would need to:

Add a column to the forums table, perhaps called forumimage
Add the image location to each row on the forums table for each forum you want an image displayed for (easiest to do it via phpmyadmin to save having to alter yet another script).

Edit index.php, look for the $fquery select that selected c.name as cat_name, c.fid as cat_fid and simply add in the new c.forumimage
Edit the index_forum template to display the forum image



Phil1ooo - 5-9-2013 at 09:30 PM

Quote: Originally posted by lottos  
Technically it can be done (but my way outlined above is quick and easy and gives much the same result).

To get the desired result on the index page, you would need to:

Add a column to the forums table, perhaps called forumimage
Add the image location to each row on the forums table for each forum you want an image displayed for (easiest to do it via phpmyadmin to save having to alter yet another script).

Edit index.php, look for the $fquery select that selected c.name as cat_name, c.fid as cat_fid and simply add in the new c.forumimage
Edit the index_forum template to display the forum image


I tried the img code in the details section of the forum. It places an image to the end of the forum name or at the beginning depending on which you prefer.

You also have to remember that by doing a recode you won't get the images changing according to the forum status as there is more than 1 image available.


Phil1ooo - 5-10-2013 at 01:01 AM

Quote: Originally posted by Reesh  
The icons in the attachments should all be different. Is there any way?



What do you think of this idea?



10-05-2013 10-55-09 AM.png - 9kB

Reesh - 5-10-2013 at 02:49 AM

You are a genius!!! That is just what I'm looking for. How did you do it? (the print screen)

Phil1ooo - 5-10-2013 at 03:23 AM

Quote: Originally posted by Reesh  
You are a genius!!! That is just what I'm looking for. How did you do it? (the print screen)


This is just the start as although I'm no coder I am having a go at it.
Here is were I am up to but it doesn't display at front end yet.

Anyone who can help would be greatly appreciated.

Cheers



10-05-2013 1-22-30 PM.png - 40kB