Back to vBulletin 4.x Template Modifications

Link Private Forums on Homepage to Thread instead of Error Message
Mod Version: 1.00, by addamroy

vB Version: 4.x.x Rating: (2 votes - 5.00 average) Installs: 7
Released: 29 Dec 2012 Last Update: Never Downloads: 0
Not Supported Template Edits Re-usable Code Translations  

I wanted to try this for my own forum and figured I'd share it here.

This mod will let you link private forums on forumhome to a specific thread for non paid members, instead of the 'you do not have permission to view' error message.

This is to increase revenue for your forum, by sending your forum visitors and members to your offer (a thread) when they try to access private content, instead of that annoying error page.

This is a really simple mod achievable via one simple template edit.

STEP 1 - Find the forumhome_forumbit_level2_post template via edit templates > Forum Home Templates.

Find the code below
Code:
<a href="{vb:link forum, {vb:raw forum}}">
You need to add some chunks of code around this to make this work.

Replace it with
Code:
<vb:if condition="$forum[forumid] == XXX">
<vb:if condition="$show['guest']">
<a href="{vb:link forum, {vb:raw forum}}">
<vb:elseif condition="!is_member_of($bbuserinfo, 1,2,3)" />
<a href="http://www.yourwebsite.com/your-thread-here">
<vb:else />
<a href="{vb:link forum, {vb:raw forum}}">
</vb:if>
<vb:else />
<a href="{vb:link forum, {vb:raw forum}}">
</vb:if>
Replace each instance of 1,2,3 above with the usergroup ids that DO HAVE ACCESS to your private forum.

Replace each instance of XXX with the forum id of the forum you want to link to a thread.

And naturally, replace http://www.yourwebsite.com/your-thread-here with the URL to the thread you want your private forum to link to.

Now members who don't have access to your private section, will be sent to a thread of your choice instead of seeing the no permission error message page. This should send more traffic to your offer page promoting your paid subscription resulting in more revenue for your website.

Check out my other Template Modifications for 4.x!

[Postbit-Legacy Hack] Attractive User Info Boxes for Posts

Sidebar Anywhere Enhancement - Custom Blocks Per Forum or Page

Change Thread Title Color for Specific Forums on Homepage

Change Background Color for Specific Forums on Homepage

Change Title Color of Specific Forums on Homepage

Thread Starter Image in Postbit for OP

CUSTOM BUTTONS that look like your forum!

Custom User Rank Box in Posts

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2024