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
When you're in the process of installing mods, it shows the option to install on other themes.
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??
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
Further more...I'm not familiar at all with ezportal but i would think it offers center html blocks top and bottom correct?
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
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
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
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.
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?
Quote from: Mick. on August 28, 2021, 03:59:19 PMQuote 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.
Quote from: mickjav on August 28, 2021, 04:01:25 PMQuote from: Mick. on August 28, 2021, 03:59:19 PMQuote 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.
Quote from: Mick. on August 28, 2021, 04:03:08 PMQuote from: mickjav on August 28, 2021, 04:01:25 PMQuote from: Mick. on August 28, 2021, 03:59:19 PMQuote 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?
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?
Dude.
There was no need to install fresh files. You dont even know where the culprit is.
If you're doing everthing new, install your themes first. Then your mods.
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.
Unrelated:::: Where's the shoutbox when you need one? Ooooooo private, peer to peer, maybe by invite only. Bwwaahahahaha!!! System overload!!!!! ;D
Quote from: Antechinus on August 28, 2021, 04:11:20 PMQuote 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
I'm showing two but but they don't change on preview Taken screenshots
They look the same??
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.
Are they showing on Default theme? 3rd time I said this.
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
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
Alright, stop. I need to know what exactly you did. What fresh files if any? Be specific.
Quote from: mickjav on August 28, 2021, 04:21:53 PMQuote 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. ;)
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 :(
Quote from: Antechinus on August 28, 2021, 04:24:12 PMQuote from: mickjav on August 28, 2021, 04:21:53 PMQuote 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
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.
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?
Please don't tell me you're doing this from Admin in your forum.
It says unable to load file
No Im in my cpanel
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.
Ok cool.
Yes, I saw that. I'm refreshing your page and see the changes.
Ok, rename it back to original.
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?
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
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!!!!
So anything you install goes directly to the blak/red theme?
I can set it so the toyah image shows every ware just to see where it's missing?
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
Just set it to show All Actions and Boards only shows on center block of portal page bottom
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?
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
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
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.
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
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++
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
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.
Quote from: Antechinus on August 28, 2021, 04:56:02 PMQuote 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??
Quote from: Antechinus on August 28, 2021, 04:57:24 PMQuote 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
Quote from: Antechinus on August 28, 2021, 04:56:02 PMQuote 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.
These are the perms for that block?
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.
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.
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.
Just searched for // EzPortal and nothing found
Know what? That dont matter. I looked at the code and its not what i was hoping.
@Ant. Indeed.
Yep found it in board index I'll compair
Quote from: Mick. on August 28, 2021, 05:05:29 PM@Ant. Indeed. Missed that! /Sources/BoardIndex.php
Micjav,.....Forget looking for that bit.
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.
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.
Have you tried to uninstall the mod? Get warnings when doing so?
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
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?
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
Got to sort mrs dinner out in min so will have to do both ok
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="" /> <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.
Quote from: Antechinus on August 28, 2021, 05:17:54 PMQuote 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" /> <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
image to not showing
Bottom page
https://www.databasedreams.co.uk/charts/index.php
You took the entire website with you and ezportal with smf combined? That's why you don't see ezportal in your mod list?
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
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?
Quote from: mickjav on August 28, 2021, 05:26:13 PMQuote 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.
Quote from: Mick. on August 28, 2021, 05:25:47 PMQuote 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
Quote from: Mick. on August 28, 2021, 05:27:08 PMQuote from: mickjav on August 28, 2021, 05:26:13 PMQuote 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
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 ]
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="" /> <a href="index.php?action=gallery;cat=20"><strong>Gallery</strong></a>
</span>
<hr />
Quote from: Mick. on August 28, 2021, 05:25:47 PMQuote 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
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?
OK, working now. Although I don't know why you are stretching a 100x94 image to 150x150. Still, it shows up as it should.
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??
But that centre block was showing up a minute ago. What's the problem now?
I don't think it's going to work how you want it. That's "global", shows everywhere.
Guys: that centre block was showing up perfectly as a bottom block a few minutes ago. Why is there an issue?
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
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;
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
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.
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
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)
Good eye @Ant
This is where it's set to show for that forum
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
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.
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
Quote from: mickjav on August 28, 2021, 06:17:40 PMQuote 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
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.
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