[8WR] Ultimate Random Header

[8WR] Ultimate Random Header 1.0.0

No permission to download
No... that image is clearly in the CSS. I specifically state in the usage notes:

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.

I never thought of that being CSS but when I look at it now I clearly see that it is. Sorry for wasting your time, I dropped it directly into the template and it works perfectly fine.
 
It doesn't say where exactly to put the link and are we supposed to edit the header.php file?

does it SAY to edit the header.php file?

The instructions are not simple

they couldn't be simpler.

upload the files. put the link somewhere (in a template). watch the image appear! it's not hard.

No... that image is clearly in the CSS. I specifically state in the usage notes:

ah. i believe i made that same mistake. maybe this explains why nodes wouldn't work? also, i'm guessing this wouldn't work in extra.css either...
 
But it doesn't say which template.

So where exactly do i put this

I simply added

Code:
<div class="headerfloat">
<img src="styles/header/header.php?node={$quickNavSelected}&user={$visitor.customFields.header}">
</div>

to my header.php template. I'm sure there is probably a better method of doing this but this worked for me. I just moved the header with css and my problems were solved!
 
Thank you for your help. I see the logo but it's not in the right place.

I decided to give up with this add-on and move on. It's too complicated for nobies and the developer doesn't help.

I gave this 1 star for terrible.
 
Thank you for your help. I see the logo but it's not in the right place.

I decided to give up with this add-on and move on. It's too complicated for nobies and the developer doesn't help.

I gave this 1 star for terrible.

You just need to move the image with CSS. It's VERY simple to put it in place but it varies skin to skin so no one solution is correct for all users.

For example my css I used looks something like this.

.headerfloat {
position: absolute;
left: 55%;
top: 50px;
}

but this only works for the skin I am using. Yours might need it to be top: 70px; or maybe left: 25%.
 
just thought i'd post this for anyone that needs it. i replaced:

Code:
styles/header/header.php?node={$quickNavSelected}&user={$visitor.customFields.header}

with

Code:
/styles/header/header.php?node=node-{$forum.node_id}&user={$visitor.customFields.header}

and included it in a template and it's now working as expected with nodes.
 
What was wrong with {$quickNavSelected}? When you are a node, the node_id is automatically put into quickNavSelected. The reason for using quickNavSelected is it lets you use the code in places which arent part of the node tree.
 
What was wrong with {$quickNavSelected}? When you are a node, the node_id is automatically put into quickNavSelected. The reason for using quickNavSelected is it lets you use the code in places which arent part of the node tree.

to be honest, that could probably work fine, i don't really know. i was responding to this after finding it in a google search and i remember that a while back i was having a problem with this script. it was so long ago i can't remember what the issue was. i was just posting this as the alternative that i came up with at the time that seemed to work.

i agree that if the default works for folks, they probably shouldn't mess with it.
 
I've been looking at my error logs for Apache. I have the following error.

Code:
PHP Notice:  Undefined variable: img in /var/www/SITE/public_html/styles/header/header.php on line 36, referer: http://SITE/
 
Thanks for the help Jaxel, you have an amazing add-on here and it gives tons of options for customizing forum. I recommend this to anyone who has a more complex , large active forum who want to switch up different sections of forum.

Also this should be a paid feature, just saying :)
 
I've been looking at my error logs for Apache. I have the following error.

Code:
PHP Notice:  Undefined variable: img in /var/www/SITE/public_html/styles/header/header.php on line 36, referer: http://SITE/
I've been getting the same thing (using Nginx though), line 35.
 
Hi, I'm trying to get the random (or any) to work again after moving my site to a new host and for some reason it's not working. If I navigate to https://simheads.com/styles/header/header.php I see a 16x16 blank (black) image in the inspector, but not my true image. If I remove all images I get the below error? Not sure what I'm missing as I just want the background of all pages to be my banners similare to your website.

1523372683131.webp
 
Top Bottom