XF 2.2 Redirection in a Forum Post?

Steve Freides

Active member
Licensed customer
I would like to create a forum post with a title like "Click Here To Go There" and that functions like a redirector post.

I'm imagine I would need something like

Code:
<meta data-fr-http-equiv="Refresh" content="0; url='https://<my_forum_home/forums/there/'" />

1. Is this possible?

2. If so, please give a sample syntax since the example I gave doesn't work.

Thanks in advance for your replies.

-S-
 
If you want it to take up as little space as possible and be directly above the thread list then use the ad position:

1638401969051.webp

Just wrap the content in a conditional statement to only show in that node.
 
If you want it to take up as little space as possible and be directly above the thread list then use the ad position:

View attachment 261249

Just wrap the content in a conditional statement to only show in that node.
How do I do this? "Ad position" of what - is this a thread I create, something I create in the ACP, etc.? We have never used this and I can't find anything like this.

Thanks.

-S-
 
I would recommend reading the manual and HYS forum.

Most features and functionality are explained there.

It's more or less a requisite for someone who is the administrator of a site.


 
I would recommend reading the manual and HYS forum.

Most features and functionality are explained there.

It's more or less a requisite for someone who is the administrator of a site.


We have a funny division of labor - I am de facto admin but de jury super moderator, and we have a developer who handled the install and does all the custom work.

I appreciate your suggestion and your links and I will dive right in asap, likely over the weekend.

-S-
 
In the meatime, the ad function is at admin.php?advertising/

Create a new ad in that position with the URL and wrap it in a conditional statement for the node ID.
Off the top of my head it should be something like:

HTML:
<xf:if is="$__globals.forum.node_id == 1">
    URL here
</xf:if>
 
I found the ad function, created one, but it doesn't appear anywhere.

I open the docs. I searched for "advertising" - no matches. How might I find out, without reading from cover to cover, about node IDs and also about what those various positions mean.

Thank you.

-S-
 
Back
Top Bottom