Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: mickjav on August 28, 2021, 02:40:58 PM

Title: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 02:40:58 PM
I don't know if this is a EZ Problem or not, I have tried changing the settings but I have not been able to find where the problem is.

I am using 2.0.18

The only thing I can think is, I did something when updating the CSS for the banner centring.

I don't think that could have caused it but still trying to understand CSS I would have thought it would be in one of the templates but again just learning PHP.

What I want is the image of Toyah we'll not that one lol to be able to show above the Topics list and then above the topic/replies.

https://www.databasedreams.co.uk/charts/toyah-wilcox/

Does anybody have any ideas I can try thanks mick
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 03:17:39 PM
When you're in the process of installing mods, it shows the option to install on other themes.
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 03:26:36 PM
Quote from: Mick. on August 28, 2021, 03:17:39 PMWhen you're in the process of installing mods, it shows the option to install on other themes.

Sorry mick I don't understand, This is a old problem I've been trying to find the cause of.

Adding another theme may solve it??
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 03:31:17 PM
Not necessarily. When you upload mod, it will show the option do also add it to other themes [tick the theme you're currently using]. Also, if the theme you're using has its own messageindex.template and boardindex templates, then you would have to tick that theme when installing mods. If you're theme doesn't have these files, don't worry about it since it uses those templates from default theme and should install
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 03:42:32 PM
Further more...I'm not familiar at all with ezportal but i would think it offers center html blocks top and bottom correct?
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 03:48:24 PM
Quote from: Mick. on August 28, 2021, 03:31:17 PMNot necessarily. When you upload mod, it will show the option do also add it to other themes [tick the theme you're currently using]. Also, if the theme you're using has its own messageindex.template and boardindex templates, then you would have to tick that theme when installing mods. If you're theme doesn't have these files, don't worry about it since it uses those templates from default theme and should install

Thanks Mick, think I understand now I'll download those files and backup then replace with a 2.0.18 theme hopefully that will correct it.

Ref: EZ It does as it did work, as remember doing it when it was a creataforum hosted forum

thanks mick
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 03:50:04 PM
Go your profile, and change your theme. Use Default and another custom theme and see if that block appears. If it doesnt, then it may be a mod issue but if it is working, then it's a theme issue more likely on messageindex template
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 03:54:07 PM
Quote from: Mick. on August 28, 2021, 03:50:04 PMGo your profile, and change your theme. Use Default and another custom theme and see if that block appears. If it doesnt, then it may be a mod issue but if it is working, then it's a theme issue more likely on message.index template

got it thanks
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 03:58:39 PM
Just checked when site was moved all the themes seem to have been missed except the default which is what I'm using.

I'll see if I can find a Theme to install but think I'll back the whole thing up first.

Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 03:59:19 PM
Quote from: mickjav on August 28, 2021, 03:58:39 PMJust checked when site was moved all the themes seem to have been missed except the default which is what I'm using.

I'll see if I can find a Theme to install but think I'll back the whole thing up first.


Was the block working on default theme?
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 04:01:25 PM
Quote from: Mick. on August 28, 2021, 03:59:19 PM
Quote from: mickjav on August 28, 2021, 03:58:39 PMJust checked when site was moved all the themes seem to have been missed except the default which is what I'm using.

I'll see if I can find a Theme to install but think I'll back the whole thing up first.


Was the block working on default theme?

I think so but can't be shore as was years ago.
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 04:03:08 PM
Quote from: mickjav on August 28, 2021, 04:01:25 PM
Quote from: Mick. on August 28, 2021, 03:59:19 PM
Quote from: mickjav on August 28, 2021, 03:58:39 PMJust checked when site was moved all the themes seem to have been missed except the default which is what I'm using.

I'll see if I can find a Theme to install but think I'll back the whole thing up first.


Was the block working on default theme?

I think so but can't be shore as was years ago.
What? Not sure of what?   Listen, Im online now im staying ON until we figure this out. Refresh the page and look for my post. Dont upload anything. Stop that.   
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 04:05:00 PM
Quote from: Mick. on August 28, 2021, 04:03:08 PM
Quote from: mickjav on August 28, 2021, 04:01:25 PM
Quote from: Mick. on August 28, 2021, 03:59:19 PM
Quote from: mickjav on August 28, 2021, 03:58:39 PMJust checked when site was moved all the themes seem to have been missed except the default which is what I'm using.

I'll see if I can find a Theme to install but think I'll back the whole thing up first.


Was the block working on default theme?

I think so but can't be shore as was years ago.
What? Not sure of what?   Listen, Im online now im staying ON until we figure this out. Refresh the page and look for my post. Dont upload anything. Stop that.   

Thanks just doownloading a freash 2.0.18 install will use the default them from that can I rename it?
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 04:06:00 PM
Now.... go to the default theme selected from your profile. Doing this, it does not affect your users. Theyre still on the custom one. Anyhow,...Activate a HTML block and put your picture or whatever. Look for it on the boardindex and where it's missing. The Message index. ....tell me what you see; nothing? Rabbits?
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 04:07:12 PM
Dude.
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 04:08:02 PM
There was no need to install fresh files. You dont even know where the culprit is.
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 04:09:14 PM
If you're doing everthing new, install your themes first. Then your mods.
Title: Re: Center blocks not showing on board or topic list
Post by: Antechinus on August 28, 2021, 04:11:20 PM
Quote from: Mick. on August 28, 2021, 04:03:08 PM]What? Not sure of what?   Listen, Im online now im staying ON until we figure this out.   
:D Don't mind me. I'm hanging around for the popcorn.
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 04:11:37 PM
Unrelated:::: Where's the shoutbox when you need one?  Ooooooo private, peer to peer, maybe by invite only. Bwwaahahahaha!!! System overload!!!!!  ;D
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 04:12:11 PM
Quote from: Antechinus on August 28, 2021, 04:11:20 PM
Quote from: Mick. on August 28, 2021, 04:03:08 PM]What? Not sure of what?   Listen, Im online now im staying ON until we figure this out.   
:D Don't mind me. I'm hanging around for the popcorn.
Bring Crayolas and paper
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 04:16:36 PM
I'm showing two but but they don't change on preview Taken screenshots

They look the same??
Title: Re: Center blocks not showing on board or topic list
Post by: Antechinus on August 28, 2021, 04:18:07 PM
The forum looks to have Pretty url's or something similar installed. Board index has a standard url, but the board in question does not. May or may not be relevant.
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 04:19:07 PM
Are they showing on Default theme? 3rd time I said this.
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 04:21:10 PM
Quote from: Antechinus on August 28, 2021, 04:18:07 PMThe forum looks to have Pretty url's or something similar installed. Board index has a standard url, but the board in question does not. May or may not be relevant.

Yes it uses pretty URL's didn't want to unistall until I understand better plus there are a sh*tload of links that use it and in a way I do like it sort off lol
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 04:21:53 PM
Quote from: Mick. on August 28, 2021, 04:19:07 PMAre they showing on Default theme? 3rd time I said this.

sorry yes it seems to be an edited version of the default theme
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 04:22:21 PM
Alright, stop.  I need to know what exactly you did. What fresh files if any? Be specific.
Title: Re: Center blocks not showing on board or topic list
Post by: Antechinus on August 28, 2021, 04:24:12 PM
Quote from: mickjav on August 28, 2021, 04:21:53 PM
Quote from: Mick. on August 28, 2021, 04:19:07 PMAre they showing on Default theme? 3rd time I said this.

sorry yes it seems to be an edited version of the default theme
Are the blocks showing on the default theme? Yes, or no?

Please stick to answering the question asked. It will make this a lot easier for everyone. You are mixing things up in your sentences. ;)
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 04:26:18 PM
Quote from: Mick. on August 28, 2021, 04:22:21 PMAlright, stop.  I need to know what exactly you did. What fresh files if any? Be specific.

Sorry mick as I said it was a creataforum forum I paid for it to be moved to a host he must have had to remove all my other themes as I did have 11, I don't thow what was done to get it working I do know there was a few errors he fixed for me.

I still trying top learn all this  :(
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 04:27:32 PM
Quote from: Antechinus on August 28, 2021, 04:24:12 PM
Quote from: mickjav on August 28, 2021, 04:21:53 PM
Quote from: Mick. on August 28, 2021, 04:19:07 PMAre they showing on Default theme? 3rd time I said this.

sorry yes it seems to be an edited version of the default theme
Are the blocks showing on the default theme? Yes, or no?

Please stick to answering the question asked. It will make this a lot easier for everyone. You are mixing things up in your sentences. ;)

It is the default theme so it would be yes I did post some images of what I have
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 04:28:43 PM
Quote from: Mick. on August 28, 2021, 04:22:21 PMAlright, stop.  I need to know what exactly you did. What fresh files if any? Be specific.

This was like this before the move as it's one reason I moved it as wasn't able to sorting as didn't have file access.
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 04:33:27 PM
Alright...

Let's try this.... On default theme you said that the html block is showing, correct? Ok. Good, that's good sign. Now, Let's figure out the message index page on your custom theme. Let's rename the messageindex.template.php something like messageindex.template.php77 or whatever. I use numbers, easy for me to remember.

Go to your forum and hard refresh your browser. You see the block on message index?
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 04:37:39 PM
Please don't tell me you're doing this from Admin in your forum.
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 04:37:47 PM
It says unable to load file
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 04:38:14 PM
No Im in my cpanel
Title: Re: Center blocks not showing on board or topic list
Post by: Antechinus on August 28, 2021, 04:38:55 PM
This is most likely a block permissions problem (ie: an admin setting).

Quote from: Mick. on August 28, 2021, 04:33:27 PMAlright...

Let's try this.... On default theme you said that the html block is showing, correct?
Nope. His default theme has been edited to hell and back, to make the forum default that guests see. IOW, the black and red theme is theme=1.

Changing template names on that will obviously give the error about unable to load file.
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 04:39:38 PM
Ok cool.

Yes, I saw that. I'm refreshing your page and see the changes.

Ok, rename it back to original.
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 04:40:09 PM
Quote from: Antechinus on August 28, 2021, 04:38:55 PMThis is most likely a block permissions problem (ie: an admin setting).

Quote from: Mick. on August 28, 2021, 04:33:27 PMAlright...

Let's try this.... On default theme you said that the html block is showing, correct?
Nope. His default theme has been edited to hell and back, to make the forum default that guests see. IOW, the black and red theme is theme=1.

Would it work installing a new theme?
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 04:40:27 PM
Quote from: Mick. on August 28, 2021, 04:39:38 PMOk cool.

Yes, I saw that. I'm refreshing your page and see the changes.

Ok, rename it back to original.
Done
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 04:40:35 PM
Quote from: Antechinus on August 28, 2021, 04:38:55 PMThis is most likely a block permissions problem (ie: an admin setting).

Quote from: Mick. on August 28, 2021, 04:33:27 PMAlright...

Let's try this.... On default theme you said that the html block is showing, correct?
Nope. His default theme has been edited to hell and back, to make the forum default that guests see. IOW, the black and red theme is theme=1.

Changing template names on that will obviously give the error about unable to load file.

Holy cow!!!!
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 04:41:55 PM
So anything you install goes directly to the blak/red theme?
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 04:42:16 PM
I can set it so the toyah image shows every ware just to see where it's missing?
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 04:42:48 PM
Quote from: Mick. on August 28, 2021, 04:41:55 PMSo anything you install goes directly to the blak/red theme?

All My mods yes
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 04:45:36 PM
Just set it to show All Actions and Boards only shows on center block of portal page bottom
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 04:46:19 PM
Hey I was looking at your raw page and didnt see any center blocks on there. Just the left ones.  Like @Antechinus said, it may be a permissions thing?
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 04:47:48 PM
Quote from: Mick. on August 28, 2021, 04:46:19 PMHey I was looking at your raw page and didnt see any center blocks on there. Just the left ones.  Like @Antechinus said, it may be a permissions thing?

Sorry lost now i'll check the view perms though
Title: Re: Center blocks not showing on board or topic list
Post by: Antechinus on August 28, 2021, 04:49:15 PM
Hey, I just ran that board through the W3C HTML validator. Interesting results: 60 Errors, 59 warning(s).

Anyway, the centre portal block is not in the markup at all.

http://validator.w3.org/check?uri=https%3A%2F%2Fwww.databasedreams.co.uk%2Fcharts%2Ftoyah-wilcox%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1&group=0&user-agent=W3C_Validator%2F1.3+http%3A%2F%2Fvalidator.w3.org%2Fservices
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 04:52:02 PM
Ok....Now that anything installs on your custom theme it's safe to say that your messageindex.template may be missing the Ad code for center blocks.
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 04:54:03 PM
Quote from: Antechinus on August 28, 2021, 04:49:15 PMHey, I just ran that board through the W3C HTML validator. Interesting results: 60 Errors, 59 warning(s).

Anyway, the centre portal block is not in the markup at all.

http://validator.w3.org/check?uri=https%3A%2F%2Fwww.databasedreams.co.uk%2Fcharts%2Ftoyah-wilcox%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1&group=0&user-agent=W3C_Validator%2F1.3+http%3A%2F%2Fvalidator.w3.org%2Fservices

Thanks Antechinus looks like I have more work ahead lol
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 04:55:01 PM
Quote from: Mick. on August 28, 2021, 04:52:02 PMOk....Now that anything installs on your custom theme it's safe to say that your messageindex.template may be missing the Ad code for center blocks.

I can check that if anybody knows the line before it, as I use Note++
Title: Re: Center blocks not showing on board or topic list
Post by: Antechinus on August 28, 2021, 04:56:02 PM
Quote from: Mick. on August 28, 2021, 04:52:02 PMOk....Now that anything installs on your custom theme it's safe to say that your messageindex.template may be missing the Ad code for center blocks.
EZ Portal does not require any template edits for installation. So no, that would not be the problem.

https://custom.simplemachines.org/index.php?mod=1461
Title: Re: Center blocks not showing on board or topic list
Post by: Antechinus on August 28, 2021, 04:57:24 PM
Quote from: mickjav on August 28, 2021, 04:54:03 PMThanks Antechinus looks like I have more work ahead lol
Most of those vaildation errors are very simple to fix. Basically, one error can generate multiple messages, so the number of things to fix is a lot less than 60.
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 04:58:21 PM
Quote from: Antechinus on August 28, 2021, 04:56:02 PM
Quote from: Mick. on August 28, 2021, 04:52:02 PMOk....Now that anything installs on your custom theme it's safe to say that your messageindex.template may be missing the Ad code for center blocks.
EZ Portal does not require any template edits for installation. So no, that would not be the problem.

https://custom.simplemachines.org/index.php?mod=1461

I'm new to all this but it uses hooks??
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 04:59:17 PM
Quote from: Antechinus on August 28, 2021, 04:57:24 PM
Quote from: mickjav on August 28, 2021, 04:54:03 PMThanks Antechinus looks like I have more work ahead lol
Most of those vaildation errors are very simple to fix. Basically, one error can generate multiple messages, so the number of things to fix is a lot less than 60.

Thanks I know as a lot of the block are html I added, I'll have to will go though them and check
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 04:59:38 PM
Quote from: Antechinus on August 28, 2021, 04:56:02 PM
Quote from: Mick. on August 28, 2021, 04:52:02 PMOk....Now that anything installs on your custom theme it's safe to say that your messageindex.template may be missing the Ad code for center blocks.
EZ Portal does not require any template edits for installation. So no, that would not be the problem.

https://custom.simplemachines.org/index.php?mod=1461
Yup. I just parsed it. Looks as tho it is modifying the boardindex but no messagae index. Two things; Boardindex is missing the edit or for sure a permissions issue.
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 05:01:26 PM
These are the perms for that block?
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 05:01:42 PM
You have this bit on BoardIndex.template?

// EzPortal
if (isset($_REQUEST['action']))
{
if ($_REQUEST['action'] == 'forum')
{
$context['robot_no_index'] = false;
}
}
// End Ezportal

// Retrieve the categories and boards.
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 05:03:03 PM
Quote from: mickjav on August 28, 2021, 05:01:26 PMThese are the perms for that block?
Yes they're fine settings. Lets continue. See my last post.
Title: Re: Center blocks not showing on board or topic list
Post by: Antechinus on August 28, 2021, 05:03:24 PM
Quote from: Mick. on August 28, 2021, 04:59:38 PMYup. I just parsed it. Looks as tho it is modifying the boardindex but no messagae index. Two things; Boardindex is missing the edit or for sure a permissions issue.
It's modifying BoardIndex.php in Sources, not the template. And if it was missing that edit the portal would not work at all on the forum home page. It works, so not the issue.
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 05:04:20 PM
Just searched for // EzPortal and nothing found
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 05:04:39 PM
Know what? That dont matter. I looked at the code and its not what i was hoping.
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 05:05:29 PM
@Ant.  Indeed.
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 05:05:54 PM
Yep found it in board index I'll compair
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 05:06:11 PM
Quote from: Mick. on August 28, 2021, 05:05:29 PM@Ant.  Indeed. Missed that! /Sources/BoardIndex.php
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 05:07:09 PM
Micjav,.....Forget looking for that bit.
Title: Re: Center blocks not showing on board or topic list
Post by: Antechinus on August 28, 2021, 05:07:39 PM
https://www.simplemachines.org/community/index.php?msg=4095765

The HTML content of that block is invalid. That may have some bearing on the problem.
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 05:08:03 PM
They look the same

// EzPortal
        if (isset($_REQUEST['action']))
        {
                if ($_REQUEST['action'] == 'forum')
                {
                    $context['robot_no_index'] = false;   
                }                   
        }
        // End Ezportal
       
        // Retrieve the categories and boards.
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 05:08:13 PM
Have you tried to uninstall the mod? Get warnings when doing so?
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 05:09:53 PM
Quote from: Antechinus on August 28, 2021, 05:07:39 PMhttps://www.simplemachines.org/community/index.php?msg=4095765

The HTML content of that block is invalid. That may have some bearing on the problem.

I'll remove it and add text instead
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 05:10:23 PM
Quote from: Mick. on August 28, 2021, 05:08:13 PMHave you tried to uninstall the mod? Get warnings when doing so?

Which mod mick?
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 05:12:19 PM
Quote from: Antechinus on August 28, 2021, 05:07:39 PMhttps://www.simplemachines.org/community/index.php?msg=4095765

The HTML content of that block is invalid. That may have some bearing on the problem.

Sorry Can't see where can you point it out so I can correct thanks mick
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 05:14:13 PM
Got to sort mrs dinner out in min so will have to do both ok
Title: Re: Center blocks not showing on board or topic list
Post by: Antechinus on August 28, 2021, 05:17:54 PM
Quote from: mickjav on August 28, 2021, 05:14:13 PMGot to sort mrs dinner out in min so will have to do both ok
It would help if you could use sentences that are not a nightmare to parse.

Anyway, block content. Try this:

<div class="centertext">
<img src="https://www.databasedreams.co.uk/charts/gallery/thumb_1060421184039.png" alt="" width="150" height="150" />
</div>
<span class="smalltext">
<img src="https://cdn.smfboards.com/caf/images/menu_icons/photo.png" alt="" />&nbsp;<a href="index.php?action=gallery;cat=20"><strong>Gallery</strong></a>
</span>
<hr />

Which will do the same thing, and is valid HTML. Might help. Can't hurt.
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 05:19:42 PM
Quote from: Antechinus on August 28, 2021, 05:17:54 PM
Quote from: mickjav on August 28, 2021, 05:14:13 PMGot to sort mrs dinner out in min so will have to do both ok
It would help if you could use sentences that are not a nightmare to parse.

Anyway, block content. Try this:

<div class="centertext">
<img src="https://www.databasedreams.co.uk/charts/gallery/thumb_1060421184039.png" alt="" width="150" height="150" />
</div>
<span class="smalltext">
<img src="https://cdn.smfboards.com/caf/images/menu_icons/photo.png" />&nbsp;<a href="index.php?action=gallery;cat=20"><strong>Gallery</strong></a>
</span>
<hr />

Which will do the same thing, and is valid HTML. Might help. Can't hurt.

Thanks Tech
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 05:23:21 PM
image to not showing

Bottom page

https://www.databasedreams.co.uk/charts/index.php
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 05:25:01 PM
You took the entire website with you and ezportal with smf combined? That's why you don't see ezportal in your mod list?
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 05:25:47 PM
Quote from: mickjav on August 28, 2021, 05:23:21 PMimage to not showing

Bottom page

https://www.databasedreams.co.uk/charts/index.php

This is the image addy https://www.databasedreams.co.uk/charts/gallery/thumb_1060421184039.png nothing there
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 05:26:13 PM
Quote from: Mick. on August 28, 2021, 05:25:01 PMYou took the entire website with you and ezportal with smf combined? That's why you don't see ezportal in your mod list?

It is there I you want me to uninstall it?
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 05:27:08 PM
Quote from: mickjav on August 28, 2021, 05:26:13 PM
Quote from: Mick. on August 28, 2021, 05:25:01 PMYou took the entire website with you and ezportal with smf combined? That's why you don't see ezportal in your mod list?

It is there I you want me to uninstall it?
No not really.
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 05:27:14 PM
Quote from: Mick. on August 28, 2021, 05:25:47 PM
Quote from: mickjav on August 28, 2021, 05:23:21 PMimage to not showing

Bottom page

https://www.databasedreams.co.uk/charts/index.php

This is the image addy https://www.databasedreams.co.uk/charts/gallery/thumb_1060421184039.png nothing there

I can sort that I think as a gallery image
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 05:27:45 PM
Quote from: Mick. on August 28, 2021, 05:27:08 PM
Quote from: mickjav on August 28, 2021, 05:26:13 PM
Quote from: Mick. on August 28, 2021, 05:25:01 PMYou took the entire website with you and ezportal with smf combined? That's why you don't see ezportal in your mod list?

It is there I you want me to uninstall it?
No not really.

I'll post the list give me two
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 05:28:27 PM
1.    Pretty URLs    2.4    [ Uninstall ] [ List Files ] [ Delete ]
2.    EzPortal    5.1    [ Uninstall ] [ List Files ] [ Delete ]
3.    SMF Gallery Pro    9.0beta2e    [ Uninstall ] [ List Files ] [ Delete ]
4.    Downloads System Pro    5.0.6    [ Uninstall ] [ List Files ] [ Delete ]
5.    Global Headers Footers    2.1a    [ Uninstall ] [ List Files ] [ Delete ]
6.    InLine Attachments    1.2.1    [ Uninstall ] [ List Files ] [ Delete ]
7.    Emoji Pro    1.0    [ Uninstall ] [ List Files ] [ Delete ]
8.    Related Topics    1.401    [ Uninstall ] [ List Files ] [ Delete ]
9.    Hashtags mod    1.0.3    [ Uninstall ] [ List Files ] [ Delete ]
10.    Users Online Today    2.1    [ Uninstall ] [ List Files ] [ Delete ]
11.    Yet Another YouTube BBCode Tag    4.14    [ Uninstall ] [ List Files ] [ Delete ]
12.    SMF Classifieds    5.1.6    [ Uninstall ] [ List Files ] [ Delete ]
13.    SMF Trader System    3.0    [ Uninstall ] [ List Files ] [ Delete ]
Title: Re: Center blocks not showing on board or topic list
Post by: Antechinus on August 28, 2021, 05:28:35 PM
Ah. Wrong image src. I thought the hyphen was just because the block input box was breaking the link to another line. This will work:

<div class="centertext">
    <img src="https://www.databasedreams.co.uk/charts/gallery/thumb_1-060421184039.png" alt="Toyah Icon" width="106" height="100" />
</div>
<span class="smalltext">
    <img src="https://cdn.smfboards.com/caf/images/menu_icons/photo.png" alt="" />&nbsp;<a href="index.php?action=gallery;cat=20"><strong>Gallery</strong></a>
</span>
<hr />
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 05:31:31 PM
Quote from: Mick. on August 28, 2021, 05:25:47 PM
Quote from: mickjav on August 28, 2021, 05:23:21 PMimage to not showing

Bottom page

https://www.databasedreams.co.uk/charts/index.php

This is the image addy https://www.databasedreams.co.uk/charts/gallery/thumb_1060421184039.png nothing there

Sorted
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 05:32:57 PM
We know the center blocks are screwy. Well, they're missing. I think this is a vbgamer issue. I can't tell what is modified. vbgamer has to know it.


Have your tried that other mod Global Headers Footers for the time being?
Title: Re: Center blocks not showing on board or topic list
Post by: Antechinus on August 28, 2021, 05:33:17 PM
OK, working now. Although I don't know why you are stretching a 100x94 image to 150x150. Still, it shows up as it should.
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 05:35:28 PM
Quote from: Mick. on August 28, 2021, 05:32:57 PMHave your tried that other mod Global Headers Footers for the time being?

I do use it but not for what I want is there a way??
Title: Re: Center blocks not showing on board or topic list
Post by: Antechinus on August 28, 2021, 05:36:27 PM
But that centre block was showing up a minute ago. What's the problem now?
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 05:37:51 PM
I don't think it's going to work how you want it. That's "global", shows everywhere.
Title: Re: Center blocks not showing on board or topic list
Post by: Antechinus on August 28, 2021, 05:39:26 PM
Guys: that centre block was showing up perfectly as a bottom block a few minutes ago. Why is there an issue?
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 05:40:25 PM
Nope just checked It only shows on the portal homepage can any body try see if they get same issue with EZ portal install.

If not I'll inslall another copy to play with
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 05:40:44 PM
Quote from: Antechinus on August 28, 2021, 05:39:26 PMGuys: that centre block was showing up perfectly as a bottom block a few minutes ago. Why is there an issue?
It was there. I saw it too;
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 05:42:16 PM
Quote from: Antechinus on August 28, 2021, 05:39:26 PMGuys: that centre block was showing up perfectly as a bottom block a few minutes ago. Why is there an issue?

it's only on the portal homepage it's showing
Title: Re: Center blocks not showing on board or topic list
Post by: Antechinus on August 28, 2021, 05:42:31 PM
Quote from: mickjav on August 28, 2021, 05:40:25 PMNope just checked It only shows on the portal homepage
Then it is a permissions issue. Does EZ Portal allow setting blocks by board, or by child board?
This really belongs in the support thread for EZ Portal.
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 05:44:52 PM
Just updated to show on top I'll look again thanks.

edit added a second block from home page set to show everyware no luck
Title: Re: Center blocks not showing on board or topic list
Post by: Antechinus on August 28, 2021, 05:46:33 PM
See down the bottom, where is says "Visible Areas - Update visible options"?
That is the bit you need to be messing with.

(https://www.simplemachines.org/community/index.php?action=dlattach;topic=578702.0;attach=274693;image)
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 05:50:40 PM
Good eye @Ant
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 05:52:05 PM
This is where it's set to show for that forum
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 06:08:48 PM
Just checked my test 2.1 RC4 install which works it shows the center block

http://www.databasedreams.co.uk/test_board/index.php?board=2.0
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 06:15:17 PM
Post on the ezPortal thread. Vbgamer should be able to tell code and placement. I'm afraid I can't help you further on the matter.
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 06:17:40 PM
Quote from: Mick. on August 28, 2021, 06:15:17 PMPost on the ezPortal thread. Vbgamer should be able to tell code and placement. I'm afraid I can't help you further on the matter.

OK Thanks for all your help I'll link to this topic on there unless a mod wants to move it as I messed up again lol
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 06:22:46 PM
Quote from: mickjav on August 28, 2021, 06:17:40 PM
Quote from: Mick. on August 28, 2021, 06:15:17 PMPost on the ezPortal thread. Vbgamer should be able to tell code and placement. I'm afraid I can't help you further on the matter.

OK Thanks for all your help I'll link to this topic on there unless a mod wants to move it as I messed up again lol
Copy your first post from here and paste it with new topic
Title: Re: Center blocks not showing on board or topic list
Post by: Mick. on August 28, 2021, 06:24:31 PM
Actually, ask him to supply the edits for message index. That they're missing? But break it down with him about everything we went thru. Chances are he's not going to read 6 pages here.
Title: Re: Center blocks not showing on board or topic list
Post by: mickjav on August 28, 2021, 06:28:01 PM
Quote from: Mick. on August 28, 2021, 06:24:31 PMActually, ask him to supply the edits for message index. That they're missing? But break it down with him about everything we went thru. Chances are he's not going to read 6 pages here.

Thanks will do have to be tomorrow now.

again thanks