News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Center blocks not showing on board or topic list

Started by mickjav, August 28, 2021, 02:40:58 PM

Previous topic - Next topic

mickjav

I can set it so the toyah image shows every ware just to see where it's missing?



mickjav




mickjav

Just set it to show All Actions and Boards only shows on center block of portal page bottom



Mick.

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?

mickjav

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




Mick.

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.

mickjav




mickjav

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++



Antechinus

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

Antechinus

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.

mickjav

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??



mickjav

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



Mick.

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.

mickjav




Mick.

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.

Mick.

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.

Antechinus

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.

mickjav

Just searched for // EzPortal and nothing found



Mick.

Know what? That dont matter. I looked at the code and its not what i was hoping.

Advertisement: