This isn't a modification request. It's a question regarding how to link back to the forum home page when a user clicks on the logo. This forum logo links back to vbmods.rocks when you click on it, but on my forum when you click the logo you're taken to the image. I'm sorry if this is in the wrong place and if I'm even allowed to ask this here but if anyone can help I'd really appreciate it. Thank you.
Announcement
Collapse
No announcement yet.
Header/logo link
Collapse
X
-
Did you modify the "header" template and change the logo URL?Helpful? Donate. Thanks!
Fast VPS Host for vBulletin:
A2 Hosting & IONOS
- Top
- Translate
- Bottom
-
In header template search for the following around line 306
PHP Code:<a href="{vb:raw baseurl}/"><img src="{vb:stylevar titleimage}" data-orig-src="{vb:stylevar titleimage}" alt="{vb:phrase logo}" title="{vb:phrase powered_by_vbulletin_title}" /></a>
Change {vb:raw baseurl}/ to your desired url.
- Top
- Translate
- Bottom
Comment
-
You don't actually need to edit the url in the header template if you want the logo to link to the homepage which the default header template does.Helpful? Donate. Thanks!
Fast VPS Host for vBulletin:
A2 Hosting & IONOS
- Top
- Translate
- Bottom
Comment
-
Originally posted by William View PostIn header template search for the following around line 306
PHP Code:<a href="{vb:raw baseurl}/"><img src="{vb:stylevar titleimage}" data-orig-src="{vb:stylevar titleimage}" alt="{vb:phrase logo}" title="{vb:phrase powered_by_vbulletin_title}" /></a>
Change {vb:raw baseurl}/ to your desired url.
- Top
- Translate
- Bottom
Comment
-
The default code for the logo in the header is actually:
Code:<div class="site-logo header-edit-box"> <a href="[COLOR=#FF0000]<vb:if condition="$vboptions['titleimageurl']">[/COLOR][COLOR=#0000FF]{vb:raw vboptions.titleimageurl}[/COLOR][COLOR=#FF0000]<vb:else />[/COLOR][COLOR=#0000FF]{vb:raw baseurl}[/COLOR][COLOR=#FF0000]/</vb:if>[/COLOR]"><img src="{vb:stylevar titleimage}" data-orig-src="{vb:stylevar titleimage}" alt="{vb:phrase logo}" title="{vb:phrase powered_by_vbulletin_title}" /></a> </div>
You don't have to change anything in that template. Maybe you've set titleimageurl option somewhere in AdminCP? I don't know what and where that option is.Helpful? Donate. Thanks!
Fast VPS Host for vBulletin:
A2 Hosting & IONOS
- Top
- Translate
- Bottom
- Likes 1
Comment
-
Originally posted by glennrocksvb View PostThe default code for the logo in the header is actually:
Code:<div class="site-logo header-edit-box"> <a href="[COLOR=#FF0000]<vb:if condition="$vboptions['titleimageurl']">[/COLOR][COLOR=#0000FF]{vb:raw vboptions.titleimageurl}[/COLOR][COLOR=#FF0000]<vb:else />[/COLOR][COLOR=#0000FF]{vb:raw baseurl}[/COLOR][COLOR=#FF0000]/</vb:if>[/COLOR]"><img src="{vb:stylevar titleimage}" data-orig-src="{vb:stylevar titleimage}" alt="{vb:phrase logo}" title="{vb:phrase powered_by_vbulletin_title}" /></a> </div>
You don't have to change anything in that template. Maybe you've set titleimageurl option somewhere in AdminCP? I don't know what and where that option is.
- Top
- Translate
- Bottom
Comment
-
That's it! The Header Logo URL.Helpful? Donate. Thanks!
Fast VPS Host for vBulletin:
A2 Hosting & IONOS
- Top
- Translate
- Bottom
Comment
Users Viewing This Page
Collapse
There is 1 user viewing this forum topic.
- Guest
Latest Posts
Collapse
-
Reply to Topic Starter Ribbon for vBCloudby glennrocksvbThanks for reporting. I'll bookmark this post and check the issue.04-22-2024, 06:40 PM
Comment