vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Board Optimization - Welcome headers - Improve community registration rates (https://vborg.vbsupport.ru/showthread.php?t=119572)

Merriweather 02-04-2007 04:31 PM

Quote:

Originally Posted by Bubble #5 (Post 1174464)
Wouldn't a standard announcement achieve the same thing? ;) It contains a global announcement option.

This hack changes the announcement based on the user and the user's activity, so I don't think it would be the same thing.

Ted S 02-04-2007 05:07 PM

Quote:

Originally Posted by Konstantinos (Post 1174185)
Can u add an option for those who havent purchased a paid subscription?

Open the template "welcome_headers" and scroll down until you find:

Code:

<!-- / hasnt posted lately message -->
<else />

Add the following after this:

Code:

<if condition="!is_member_of($bbuserinfo, XYZ)">
        <!-- supporting members -->
        <br />
        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
        <tr>
                <td class="alt1">
                        <phrase 1="$vboptions[bbtitle]" 2="payments.php" 3="$bbuserinfo[username]">
                        Hello $bbuserinfo[username]!<br \><br \>
                        While $vboptions[bbtitle] is offered as a free service, we rely on the donations of our supporting members.
                        There are a lot of advantages to being a supporting member that you may not know about.... All this for just $___ plus you'll
                        be helping to kee our site running!<br \><br \>
                        Ready to join? <a href="/payments.php">Sign up</a> as supporting member today!
                </td>
        </tr>
        </table>
        <!-- / supporting members -->
<else />

Then find the first </if> and add another </if> before it.

Change XYZ to your supporting member group, if there are multiple groups separate with a comma. You will also want to configure the text to make it relevant to your supporting member benefits.

I have also posted this as a plugin file, just install and override your existing file but note, this will remove any template changes you have made.

BrettMo 02-04-2007 07:03 PM

My first mod on the board that i have had up less than 24 hours. Installed without any issues. Thanks. :up:

Merriweather 02-04-2007 07:55 PM

Quote:

Originally Posted by Ted S (Post 1174587)
Open the template "welcome_headers" and scroll down until you find:

Code:

<!-- / hasnt posted lately message -->
<else />

Add the following after this:

Code:

<if condition="!is_member_of($bbuserinfo, XYZ)">
        <!-- supporting members -->
        <br />
        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
        <tr>
                <td class="alt1">
                        <phrase 1="$vboptions[bbtitle]" 2="payments.php" 3="$bbuserinfo[username]">
                        Hello $bbuserinfo[username]!<br \><br \>
                        While $vboptions[bbtitle] is offered as a free service, we rely on the donations of our supporting members.
                        There are a lot of advantages to being a supporting member that you may not know about.... All this for just $___ plus you'll
                        be helping to kee our site running!<br \><br \>
                        Ready to join? <a href="/payments.php">Sign up</a> as supporting member today!
                </td>
        </tr>
        </table>
        <!-- / supporting members -->
<else />

Then find the first </if> and add another </if> before it.

Change XYZ to your supporting member group, if there are multiple groups separate with a comma. You will also want to configure the text to make it relevant to your supporting member benefits.

I have also posted this as a plugin file, just install and override your existing file but note, this will remove any template changes you have made.


I get the following error when adding your above code as indicated:

Quote:

The following error occurred when attempting to evaluate this template:

The conditional on line 5 appears to be missing its end tag (</if>). The template will not function properly unless this is fixed.

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.

Merriweather 02-04-2007 08:01 PM

I added another </if> before <!-- // End Welcome Headers // --> and that let it go through, but nothing has changed for my free users.

I want my registered group to see a message about the benefits of subscribing. I replaced "XYZ" with 10,11,12 which are the IDs of my subscription groups. I then logged in as a user with a usergroup of 2 (registered, unpaid) and they still got the "you haven't posted in a while" message.

DasCool 02-04-2007 11:57 PM

How come I can't see the Welcome Header Interface in my admin CP and yes i have the product imported

Shazz 02-05-2007 12:01 AM

Quote:

Originally Posted by DasCool (Post 1174832)
How come I can't see the Welcome Header Interface in my admin CP and yes i have the product imported

can't see the interface?
Like its in vBoptions>

DasCool 02-05-2007 12:40 AM

Quote:

Originally Posted by Shazz (Post 1174833)
can't see the interface?
Like its in vBoptions>

ooooo never mind, i thought it would be a link on the side

Shazz 02-05-2007 12:53 AM

Quote:

Originally Posted by DasCool (Post 1174858)
ooooo never mind, i thought it would be a link on the side

Gald you found it..

midirtrider 02-05-2007 01:27 AM

Can someone help with making this appear on my CMPS home..

I have it installed and it works as soon as you click on the Forums index tab.. and you are on the forums index page..

but on the home page (vbadvanced cmps page) it does not show up..
is there a way to make a module and put this into it?

thanks in advance for the help..

BrettMo 02-05-2007 02:26 AM

So after first being happy with it, I decided to mess around with it some. I am using the modification http://www.vbadvanced.com/membersare...tid=4&pageid=1 to make a portal layout.

I wanted to include the message in the side bar instead of just the main page because I thought that it was taking up too much space at the top of the page. The first graphic is where the message box appears when there is not a message which is how I want the layout. The second one shows just a bit of the left hand side of the screen when a message appears. I cropped it but the message goes all the way across the page and messes up the whole page layout. I modified the xml file by removing all the "width="100%"" references and then reinstalled the mod. Same results -- all the way across the page. So I imagine you can't give specific fixes to make it work with that mod, but do you have any ideas of just how to change the width of the welcome box?

Anyone have any idea how to modify the program to make it only appear across part of the page?

(I first looked through most of this thread and searched it for the term width.)

Thanks.

BrettMo 02-05-2007 02:33 AM

Quote:

Originally Posted by midirtrider (Post 1174884)
Can someone help with making this appear on my CMPS home..

I have it installed and it works as soon as you click on the Forums index tab.. and you are on the forums index page..

but on the home page (vbadvanced cmps page) it does not show up..
is there a way to make a module and put this into it?

thanks in advance for the help..

Yes, you can make a module and put it in there, but you get the results that I posted above. Go to add module and add a template. Name the template something like adv_portal_WelcomeHeader. In the large box where you can add code, put $welcomeheaders. It displays the expected text but just not in the layout desired.

Ted S 02-05-2007 04:03 AM

Moving your message from the header to a sidebar defeats the purpose but I suppose it's possible. However, I don't have the time to support third party integrations. If you search this thread you will find some information on how to implement this with other portal products.

Ted S 02-05-2007 04:04 AM

Quote:

Originally Posted by Merriweather (Post 1174726)
I added another </if> before <!-- // End Welcome Headers // --> and that let it go through, but nothing has changed for my free users.

I want my registered group to see a message about the benefits of subscribing. I replaced "XYZ" with 10,11,12 which are the IDs of my subscription groups. I then logged in as a user with a usergroup of 2 (registered, unpaid) and they still got the "you haven't posted in a while" message.

The code I gave you shows the subscribe option last, so if another message comes up, it won't. You can move it around as you see fit.

Merriweather 02-05-2007 04:09 AM

I figured it out with some tweaking. Thanks. :)

jamsiejay 02-09-2007 12:10 PM

Hi,

I would like to know can anybody here show my how to modify the text to insert a button to the left of the text.

I want to include a registration image to the left of the texton the welcome headers.

djjeffa 02-11-2007 12:25 PM

How could I make the message bolder and maybe change the font colors?

jamsiejay 02-11-2007 12:50 PM

Quote:

Originally Posted by djjeffa (Post 1179855)
How could I make the message bolder and maybe change the font colors?

Hi,

You can see on my site http://www.widewebtalk.com i have put my keywords in bold and added some color also i have added an image to it.

You can just add the normal variables:

<STRONG><FONT color=#0000ff>Join</FONT></STRONG>
Our Site For <STRONG><FONT
color=#800000>Free</FONT></STRONG>

The above code looks like this

Join Our Site For Free

djjeffa 02-11-2007 01:36 PM

Quote:

Originally Posted by jamsiejay (Post 1179861)
Hi,

You can see on my site http://www.widewebtalk.com i have put my keywords in bold and added some color also i have added an image to it.

You can just add the normal variables:

<STRONG><FONT color=#0000ff>Join</FONT></STRONG>
Our Site For <STRONG><FONT
color=#800000>Free</FONT></STRONG>

The above code looks like this

Join Our Site For Free

to be honest i dont see this on your site?
where do I edit it?

Eq4bits 02-11-2007 01:42 PM

Go into vB Options
in the Options scroll down to 'Welcome Header Messages'
higlight that option and click the 'edit settings' button
then in the 'Enable Guest Message section just below "do you wish to display a message
to guest vistors? there is *another* little paragraph that says
"To edit the phrase for this message click here (enter your custom text in the translation box)"
"
click the 'click here' link and that opens to where you can edit the message with html

jamsiejay 02-11-2007 01:45 PM

Quote:

Originally Posted by djjeffa (Post 1179881)
to be honest i dont see this on your site?
where do I edit it?

Check my site again you will see the header messages there you can view the source code and see what i have done.

http://www.widewebtalk.com

djjeffa 02-12-2007 02:14 AM

Quote:

Originally Posted by jamsiejay (Post 1179894)
Check my site again you will see the header messages there you can view the source code and see what i have done.

http://www.widewebtalk.com

nice now its there lol
thanks guys

iamboard 02-12-2007 03:19 PM

Can I install this on the specific incremental VB version '3.6.0' without any problems. I have not updated my forums since 3.6.0 very first came out.

Thanks

Rick 02-12-2007 03:44 PM

Please take a look at www.drivingmeinsane.com/forums

I would like the square Google ad and the text to be side by side in cells. I tried it, but the formatting was all screwed up.

Any help would be greatly appreciated.

Thanks.

Ted S 02-13-2007 12:31 AM

Quote:

Originally Posted by iamboard (Post 1180688)
Can I install this on the specific incremental VB version '3.6.0' without any problems. I have not updated my forums since 3.6.0 very first came out.

Thanks

This plugin works on all 3.6.x versions.

Ted S 02-13-2007 12:32 AM

Quote:

Originally Posted by Rick (Post 1180713)
I would like the square Google ad and the text to be side by side in cells. I tried it, but the formatting was all screwed up.

If you are looking for help with html or tables I suggest you try one of the general programming forums where you can get assistance from more developers.

Rick 02-14-2007 09:35 PM

Quote:

Originally Posted by Ted S (Post 1181135)
If you are looking for help with html or tables I suggest you try one of the general programming forums where you can get assistance from more developers.

There is nothing about the table your hack produces that would be causing me trouble? I've been building pages for 12 years... This normally isn't a problem:confused:

Ted S 02-15-2007 05:59 PM

Quote:

Originally Posted by Rick (Post 1182755)
There is nothing about the table your hack produces that would be causing me trouble? I've been building pages for 12 years... This normally isn't a problem:confused:

The table is a plain and basic table using the same code that produces the other tables on the forum homepage. It's about as simple of html as you can get. If you want to look at the source, open the welcome_headers template.

wolf32 02-18-2007 12:52 AM

Got a problem. How do I left justify the text?

Link: www.u-connex.com/problem.JPEG

Thanks.

Merriweather 02-18-2007 01:24 AM

Wrap your text in <div align="left">blah blah blah</div>

wolf32 02-18-2007 02:52 AM

Quote:

Originally Posted by Merriweather (Post 1184990)
Wrap your text in <div align="left">blah blah blah</div>

Thank you . Any idea how i can fill the blank space next to the welcome box between the logo and forum?

Also, I want to place an ad in its place once a member has registered. Any suggestions?

Merriweather 02-18-2007 02:58 AM

Not sure what blank space you mean, but some basic HTML edits in your styles should allow you to further customize it. :)

wolf32 02-18-2007 04:12 AM

Quote:

Originally Posted by Merriweather (Post 1185046)
Not sure what blank space you mean, but some basic HTML edits in your styles should allow you to further customize it. :)


Know how to display an ad in place of the welcome header's box once registered? Or is this just basic HTML?

Ted S 02-18-2007 04:45 AM

This is all basic html, if you need a refresher check out www.w3schools.com.

lazyseller 02-19-2007 11:45 AM

Is there a way to put $welcomeheaders in the postbit ? im trying to put it after the 1st post...

Been Told 02-19-2007 03:29 PM

This has to be one of the most usefull hacks I will ever install! Amazing! Thank you so much :) :) :)
You can even make it multi-lingual!
What a nice early birthday present! :D :up:

Ted S 02-19-2007 04:38 PM

Quote:

Originally Posted by lazyseller (Post 1185916)
Is there a way to put $welcomeheaders in the postbit ? im trying to put it after the 1st post...

Not with the current code although you could certainly modify it to do this.

Dream 02-19-2007 10:36 PM

This is a great mod, I had 20 people register only today, though only one passed the email confirmation trial lol :P

Im worried with vBSEO though, does this mod lowers my rating on search engines?

Ted S 02-19-2007 11:15 PM

If you setup this mod to work as an image, rather than text it will have virtually no SE impact. Otherwise vbSEO recommends you please it under your navbar rather than above it.

SMO 02-20-2007 05:14 PM

How do I properly uninstall this feature?


I went thru the normal procedures by going to the "manage products" and uninstalling the mod however it left this on my site.

Quote:

Welcome to the [ARG:3 UNDEFINED] website and forums

you can see it on my site

I went to the templates I changed as well in the instructions and it seems to be normal


All times are GMT. The time now is 06:17 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02499 seconds
  • Memory Usage 1,850KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete