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)

Ted S 05-05-2007 06:18 AM

New Release

I've added a much requested feature to let you turn the welcome headers on/off on thread and post pages when using this system in conjunction with the limited guest viewing system. By default, if you are using both systems, the welcome headers will not show up on these pages. If you wish to change this, you may do so in your Welcome Headers System options page. Keep in mind that if you have both systems enabled and do not use this option, it is possible for two messages to show up one after another on the same page.

To apply this upgrade just upload the new XML file from your ACP --> Product Manager. Be sure to allow overrides. No changes were made to the templates.

This upgrade is not security related and is optional.

Burley 05-05-2007 07:33 AM

That's the first place I looked :) But I have all messages enabled, however only the global announcement message is showing.

I've turned that one off now, but still "post more often" is not showing.
Also I changed the number of days before showing the message to "1", just to be sure. But no difference.

edit: I've upgraded to the latest version, no changes.

dizzy100 05-05-2007 08:16 AM

Ted the toggle for

Limited Guest Viewing Suppression
Disable welcome headers if limited guest viewing system is installed?


Is reversed. Caused me some confusion. Yes is no, no is yes :) Setting the option to no disabled the welcome headers for threads and posts, setting it to yes enables them :)

Ted S 05-05-2007 04:24 PM

Quote:

Originally Posted by dizzy100 (Post 1241792)
Ted the toggle for

Limited Guest Viewing Suppression
Disable welcome headers if limited guest viewing system is installed?


Is reversed. Caused me some confusion. Yes is no, no is yes :) Setting the option to no disabled the welcome headers for threads and posts, setting it to yes enables them :)

Good catch. I've fixed this and released 4.2.1. The only difference is the removal of a !.

Ted S 05-05-2007 04:25 PM

Quote:

Originally Posted by Burley (Post 1241777)
That's the first place I looked :) But I have all messages enabled, however only the global announcement message is showing.

I've turned that one off now, but still "post more often" is not showing.
Also I changed the number of days before showing the message to "1", just to be sure. But no difference.

edit: I've upgraded to the latest version, no changes.

Are you sure the account you're using hasn't posted in the last day?

Shazz 05-05-2007 06:41 PM

Upgraded :)

Burley 05-05-2007 07:48 PM

Quote:

Originally Posted by Ted S (Post 1241930)
Are you sure the account you're using hasn't posted in the last day?

definitly, I've tried multiple accounts.

It works when I'm a guest or have never posted. And it doesn't work when I've posted (even once).

Could there be another hack/mod which messes this up? I've tried different styles and it doesn't matter.

Ted S 05-05-2007 08:26 PM

In your welcome_headers template add the code

Code:

$wlhtime versus $bbuserinfo[lastpost]
And view any page as a member who hasn't posted in a while. Remove the code and let me know the output was.

The Scriblerian 05-06-2007 12:25 AM

I've installed and made sure everything was turned on and it still isn't working on my forum. Anyone have an idea why this would be? I can access the options in my adminCP and etc, but I just can't get it actually show up when I view as guest.

www.eragonforum.com

Burley 05-06-2007 06:29 AM

It showed the following;

versus 1178232570 for a user with 2000+ posts
versus 1177169820 for a user with 1 post

redlabour 05-06-2007 07:26 AM

Please send Updatemail next Time you update your Hack!

Ted S 05-06-2007 07:56 AM

Quote:

Originally Posted by Burley (Post 1242305)
It showed the following;

versus 1178232570 for a user with 2000+ posts
versus 1177169820 for a user with 1 post

It looks like something is stopping the global_start plugin from working. Check that the plugin is enabled and potentially try disabling other plugins on that same hook.

Burley 05-06-2007 09:01 AM

the welcome header plugin (Inactivity Timer [Optional]) which was using global_start was enabled.

I disabled all the other plugins which use that hook one by one (constantly checking for changes) and then I disabled them all. But, again no changes.

Wouldn't it be strange if another plugin prevents the hack from working when a registered member (which has posted) logs in, and doesn't prevent it from working when a guest or a member (who hasn't posted) logs in?

Also, would it be helpfull for you if you could login to my admincp to take a look yourself?

Ted S 05-06-2007 06:10 PM

Very strange indeed. I'm really not sure why the variable wouldn't end up getting passed to your pages when you disable all the other hacks. I'll have to look at some code and try to figure this out.

Burley 05-06-2007 06:41 PM

Thanks for all the help, let me know when/if you want to take a look in my forum

Ekka 05-06-2007 10:10 PM

Wow, got my working sweet now, rego's have jumped straight away, I also use the limited guest viewing option ... this is a great mod.:up:

The Scriblerian 05-06-2007 11:37 PM

I wonder if maybe I'm having the same problem?

Everything seems to be correct, but I still can't see it as a guest.

Ted S 05-07-2007 02:52 AM

Quote:

Originally Posted by The Scriblerian (Post 1242762)
I wonder if maybe I'm having the same problem?

Everything seems to be correct, but I still can't see it as a guest.


That's not the problem the other user is having. If the guest message isn't showing up than it's not in your template or the plugin is not enabled.

The Scriblerian 05-07-2007 08:42 PM

Hmm, I'm thinking it maybe the template. Would you care to take a look sometime?

SoftDux 05-09-2007 10:14 PM

how do I split the welcome box into two seperate sections, using a table? Which file do I need to edit?

Shazz 05-09-2007 11:17 PM

Quote:

Originally Posted by SoftDux (Post 1244630)
how do I split the welcome box into two seperate sections, using a table? Which file do I need to edit?

What do you mean by seperate sections? Just like 2 seperate paragraphs?
You can edit it by vB Options > Welcome Header

SoftDux 05-10-2007 07:08 AM

Quote:

Originally Posted by Shazz (Post 1244665)
What do you mean by seperate sections? Just like 2 seperate paragraphs?
You can edit it by vB Options > Welcome Header

Well, yes. I saw a code mod here, somewhere, that had a 200x200 google ads block in the left , and the welcome message on the right.

The problem is, if I do the same, it creates an long tables, about 200px wide to the left of it,

So, how would I split that block into two blocks?

newforum 05-10-2007 10:27 AM

Wow this one is really great it improves user registration process.

Ted S 05-11-2007 12:32 AM

Quote:

Originally Posted by SoftDux (Post 1244826)
The problem is, if I do the same, it creates an long tables, about 200px wide to the left of it,

So, how would I split that block into two blocks?


Edit the HTML code in the template welcome_headers.

BozzaJos 05-11-2007 10:58 AM

First of all, this is an awesome hack! I just know for sure that more people will sign up and that visitors are better informed with this hack of what they can expect from FMF and how usefull an account is. Thanks for making it Ted!

I've got one small problem tho and I hope you can help me with that. I was changing the welcome message, I wanted it to be kinda the same as in your screenshot (if that isn't allowed I'm sorry!). It's all good except for one thing. See the screenshot below:

http://img527.imageshack.us/img527/5...eheadernt4.png

The dots are outside the welcome block. On your screenshot it even got a space before it. Could you tell me how you fixed that? I just used the <li> html command.

Thanks in advance.

baze22 05-11-2007 02:03 PM

Very nice, thanks for your efforts!

Ted S 05-11-2007 11:45 PM

BozzaJos,

What's the HTML code you're using for the entire block?

Mrdby 05-12-2007 03:12 AM

its working fine for me

cyberbeggar 05-13-2007 10:14 AM

Can someone please tell me hpw to get this working on my vbadvanced portal it is working on all my other pages except the portal.

I have other forums and this works on the portals except for my Beaut Utes Portal

Please help, I know it is something simple, but can t work it out!

BozzaJos 05-13-2007 02:47 PM

Quote:

Originally Posted by Ted S (Post 1245956)
BozzaJos,

What's the HTML code you're using for the entire block?

Thanks for the quick response. This is my HTML code I'm using for the block:

Quote:

Welcome to the <strong>FMFormation</strong>, an Football Manager community where you can join over 21,000 FM fans from around the world discussing all things related to Football Manager. To gain full access to FMFormation you must <a href="{2}">register</a> for a <b>free</b> account. As a registered member you will be able to: <br /><br /> <li>Participate in over 4,500 topics and browse from over 21,000 posts.</li> <li>Discuss everything related to FM in our very own Shoutbox.</li> <li>Gain access to our top rated FMFormation's Database Update.</li><br /><br /> All this and much more is available to you absolutely free when you <a href="{2}">register</a> for an account, so <a href="{2}">sign up today</a>!<br /><br /> If you have any problems with the registration process or your account login, please <a href="{4}">contact</a> the FMFormation Support Team.
Thanks for helping me. My HTML knowledge isn't so advanced so it's more then likely that I have done something wrong hehe.

Ted S 05-13-2007 05:00 PM

I don't offer support for integrating with other hacks but if you search this thread you should find the answer to your question from another user.

Ted S 05-13-2007 05:01 PM

For a list you should be using the following structure:

Code:

<ul>
<li>Element 1</il>
<li>Element 2</il>
<il>Element 3</il>
</ul>


BozzaJos 05-13-2007 09:12 PM

Thank you very much Ted, that fixed the problem! This is really an awesome hack, I just know for sure it improves my community registration rates and also improves the activity on the forums. And that all thanks to you!

Alfa1 05-14-2007 04:44 PM

Does this version work on vb 3.6.6?

Stilgar 05-14-2007 04:46 PM

Yes, it works with 3.6.6. :)

Burley 05-14-2007 06:45 PM

Ted, have you had time to look at my problem jet?
let me know!

Ted S 05-15-2007 01:50 AM

Burley,

All I can figure is that something is bumping up against the plugin and stopping it from calculating the time. When I had you run that template change you should have seen an output like:

You should be seeing XXXX - YYYYY

But the XXXX part was blank, thus there is no time for the system to check against.

Try modifying the plugin for the hook global_start as follows:

Code:

$wlhtime = 5;
If this produces a result in the first part of the template change I provided a few posts back, then try using

Code:

$wlhtime = time();
If that too produces a result let me know.

Burley 05-15-2007 06:22 AM

Ok, I first inserted the $wlhtime = 5;, which gave me the following result; versus 1178232570
If I changed the code to $wlhtime = time(); it gave me exactly the same result

Ted S 05-16-2007 12:07 AM

So your plugin isn't being envoked at all. I've got absolutely no clue on that one.

Burley 05-16-2007 05:58 AM

Okay, after upgrading to 3.6.7 and re-upping my style my board seems to work like it supposed to.
Now, your code shows me

1179219745 versus 1178232570

Can you do anything with that?


All times are GMT. The time now is 10:54 AM.

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.01991 seconds
  • Memory Usage 1,826KB
  • 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
  • (10)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