vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Mini Mods - Welcome headers - Improve community registration rates (https://vborg.vbsupport.ru/showthread.php?t=165519)

Bubble #5 02-09-2008 04:34 PM

Quote:

Originally Posted by Ted S (Post 1404633)
I'm just stoaked to see the addition of notices into the default vbulletin system...

Yes that's nice but there is no mention or documentation of the feature in the vB manual :(

Taragon 02-19-2008 08:43 PM

First of course, thanks!

Could someone help me to setup this perhaps?
Currently I’m using the ‘Welcome headers’ system to add a general notice for all registered members.

Would it be possible to overrule that notice when a registered member hasn’t been posting/visiting X time ago?
Or perhaps if it would be possible to add a second notice bar (one SEO friendly, one not (in this case for announcements, etc.))

Also, in this case using this as a general notice manager, would it be possible to select more than one usergroup?
As an admin I’m mainly in the administrators usergroup, and therefore will never see any of the ‘registered usergroup’ notices.

(It could be I had to ask that last question to the vbulletin.com dev team instead)

Edit:

About the 1st question, it looks like I've figured it out.
It would be great if both 'Notice 'Never Posted' and 'Post More Often' has not already been displayed on the page' could be selected.

Thanks again!

superthang 02-19-2008 09:14 PM

very useful for lazy people like me.
5 stars+

Ted S 02-19-2008 11:11 PM

superthang,

The notices system is a native vBulletin 3.7 feature so any comments on the functionality of thats system should be directed to vbulletin.com's feedback forum. The welcome headers system is just a set of default notices to get you started but I encourage you to add more of your own and tweak the rules to match your needs!

Magnum164 02-23-2008 05:01 PM

This was originally posted on the 3.6 mod should have been this one.

Just installed this and it appears the unregistered user message is showing under the Guest message even though the defualt is checked not to show.

This may be a bug with VB itself.


Quote:

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.
Hello Unregistered,
Our records indicate that you have never posted to our site before! Why not make your first post today by saying hello to our community in our Introductions forum.

Why not start with your first post today and become an active part of YOUR SITE NAME now

Myra 03-04-2008 09:01 AM

I want to have an global announcement only viewed to all registered users on the forum home every time they visit the index page. How do I do that?

Ted S 03-04-2008 02:36 PM

Quote:

Originally Posted by Myra (Post 1456594)
I want to have an global announcement only viewed to all registered users on the forum home every time they visit the index page. How do I do that?

I'm not certain you can accomplish that exact goal with the notices system. You can however set a message to only show to members of the group registered which is close.

Myra 03-05-2008 12:34 PM

I'm still using the old version 3.6.x of the mod. Can I somehow alter the templates to show only on forum home?

Ted S 03-05-2008 02:15 PM

Sure. You'd just insert the code into the forumhome template instead of the header template. Keep in mind that the entire idea of welcome headers is to appear throughout the site... people don't just view one page of a site.

Jase2 03-15-2008 11:31 PM

Hi Ted.

I installed this, but have recently uninstalled it. Now, I just get a notice box when you view my forums as a guest, with no contents. Any ideas how I can remove it?

www.techsupportteam.org

Regards Jason :)

Ted S 03-16-2008 12:14 AM

Quote:

Originally Posted by Jase2 (Post 1465729)
Hi Ted.

I installed this, but have recently uninstalled it. Now, I just get a notice box when you view my forums as a guest, with no contents. Any ideas how I can remove it?

www.techsupportteam.org

Regards Jason :)

Your site is showing the default vb welcome message. This is not related to Welcome Headers and can be removed from your forumhome template. For more on this check out vbulletin.com

Jase2 03-16-2008 12:19 AM

No, it isn't. It's showing a notices box above the default vB welcome message -- just above the gallery photos.

Regards Jason :)

jim6763nva 03-16-2008 02:05 PM

Many thanks from Jim and TalkVirginia for all the hard work you put into your addons!
Keep up the awesome work!

Jim

Ted S 03-16-2008 05:15 PM

Quote:

Originally Posted by Jase2 (Post 1465753)
No, it isn't. It's showing a notices box above the default vB welcome message -- just above the gallery photos.

Regards Jason :)

Not with your default skin... if the plugin is uninstalled or disabled then the messages won't show up.

Jase2 03-16-2008 09:20 PM

Yes, I've fixed it Ted. I think this was a nice hack for older versions, but I believe you can do the same with the default welcome header in 3.7, hence the reason I uninstalled it. :)

Regards Jason :)

Gosef 03-22-2008 12:18 PM

thank you a lot

snunhuck 03-27-2008 09:24 AM

hmm, it doesn't work with one of my styles: vBSEO 1.0

Ted S 03-27-2008 02:46 PM

Quote:

Originally Posted by snunhuck (Post 1475720)
hmm, it doesn't work with one of my styles: vBSEO 1.0

If you want assistance you'll need to be a little more descriptive... saying it "doesn't work" doesn't tell me much...

snunhuck 03-29-2008 05:26 PM

Actually, it works now... :) How would one edit the margin width as it seems a bit squashed in the middle.

Ted S 03-29-2008 08:25 PM

Edit the template welcome_headers as you see fit.

snunhuck 03-30-2008 05:28 PM

Thanks :)

InjuryTime 03-31-2008 12:03 PM

Great add-on. Installed.
Just a small note.

The link to contact us is slightly incorrect in the guest message.
It's linking to send_message.php instead of sendmessage.php

Sinply edit out the underscore in the notices manager (guest message).

hrk 04-06-2008 11:11 AM

HI.

i followed all steps and manage to set to other templates except one.
ok. i did copy the working template header into non-working but still can see, even the default vb mesaage.
what can be the problem ?

pls guide.

Ted S 04-06-2008 07:53 PM

Quote:

Originally Posted by hrk (Post 1484281)
HI.

i followed all steps and manage to set to other templates except one.
ok. i did copy the working template header into non-working but still can see, even the default vb mesaage.
what can be the problem ?

pls guide.

Your question is unclear. What have you done and what is happening?

CoryHawk 04-06-2008 09:22 PM

Could anyone give me a starting point or help to find how to scale down the notices box for my template?

It stretches the entire length of the table and I would like to center it with some space.

You can see what I mean at http://forums.prisonofficer.org

Ted S 04-06-2008 09:26 PM

Quote:

Originally Posted by CoryHawk (Post 1484700)
Could anyone give me a starting point or help to find how to scale down the notices box for my template?

It stretches the entire length of the table and I would like to center it with some space.

You can edit the boxes by changing the HTML in the template welcome_headers (you'll want to change the width to accomplish this goal). If you don't know HTML and want to more advance things head over to www.w3schools.com for the basics.

CoryHawk 04-06-2008 09:39 PM

I did a search in all templates for "welcome_headers" and it returned no results.

In Products/Plugins it is loaded however.

Welcome Headers 5.0.1 Boost registration and activity rates with more visible guest welcome and member status messages.

Am I looking in the wrong place?

Ted S 04-06-2008 10:36 PM

Are you searching by name?

CoryHawk 04-06-2008 11:02 PM

I am "Searching for Text".. I have tried checking "Search Titles Only" and still nothing.

Sigh.. I just want to change the pesky 100% to a 90 :(

Ted S 04-06-2008 11:12 PM

Forget searching and just browse your current templates. Go to the list, click any record once then press "w" to be taken to items starting with that letter.

CoryHawk 04-06-2008 11:33 PM

I do not have a welcome_headers template in ANY of my styles.

I uninstalled and reimported the product file (and it added a 3-4 "notices" in the Notice manager") but I can't find that template to edit.

Ted S 04-06-2008 11:37 PM

My mistake... Didn't realize this was the 3.7 version of this thread. The notices template is a default part of vbulletin 3.7 and not something this hack effects.

Look for the code:

Code:

<if condition="$show['notices']">
 <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
 <tr>
  <td class="thead">$vbphrase[notices]</td>
 </tr>
 <tr>
  <td class="alt1">$notices</td>
 </tr>
 </table>
 <br />
</if>

In the navbar template and change as desired.

hrk 04-06-2008 11:37 PM

Quote:

Originally Posted by Ted S (Post 1484637)
Your question is unclear. What have you done and what is happening?

Hi. Ted.

thank you for your time.
ive followed exactly what you mention in steps however i could not get it work on one of my templates

the header template is :(after removing the required lines)

Code:

$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
        <!-- no cache headers -->
        <meta http-equiv="Pragma" content="no-cache" />
        <meta http-equiv="Expires" content="-1" />
        <meta http-equiv="Cache-Control" content="no-cache" />
        <!-- end no cache headers -->
        $headinclude
        <title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
</head>
<body>
$header
$navbar



<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
        <tr align="center">
          <td class="thead">&nbsp;</td>
          <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
          <td class="thead" width="175">$vbphrase[last_post]</td>
          <td class="thead">$vbphrase[threads]</td>
          <td class="thead">$vbphrase[posts]</td>
          <if condition="$vboptions['showmoderatorcolumn']">
          <td class="thead">$vbphrase[moderator]</td>
          </if>
        </tr>
</thead>
$forumbits
<tbody>
        <tr>
                <td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>
                        <a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
                        <if condition="$vboptions['forumleaders']">&nbsp; &nbsp;
                        <a href="showgroups.php$session[sessionurl_q]">$vbphrase[view_forum_leaders]</a></if>
                </strong></div></td>
        </tr>
</tbody>
</table>
$forumhome_markread_script
<!-- /main -->

<br />
$ad_location[ad_forumhome_afterforums]
<br />

<!-- what's going on box -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
        <tr>
                <td class="tcat" colspan="2">$vbphrase[whats_going_on]</td>
        </tr>
</thead>
<if condition="$show['loggedinusers']">
<!-- logged-in users -->
<tbody>
        <tr>
                <td class="thead" colspan="2">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
                        <a href="online.php$session[sessionurl_q]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
        <tr>
                <td class="alt2"><a href="online.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
                <td class="alt1" width="100%">
                        <div class="smallfont">
                                <div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
                                <div>$activeusers</div>
                        </div>
                </td>
        </tr>
</tbody>
<!-- end logged-in users -->
</if>
<tbody>
        <tr>
                <td class="thead" colspan="2">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
                        <phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
        <tr>
                <td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td>
                <td class="alt1" width="100%">
                <div class="smallfont">
                        <div>
                                $vbphrase[threads]: $totalthreads,
                                $vbphrase[posts]: $totalposts,
                                $vbphrase[members]: $numbermembers<if condition="$show['activemembers']">,
                                        <span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span>
                                </if>
                        </div>
                        <div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
                </div>
                </td>
        </tr>
</tbody>
<if condition="$show['birthdays']">
<!-- today's birthdays -->
<tbody>
        <tr>
                <td class="thead" colspan="2">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a>
                        $vbphrase[todays_birthdays]
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
        <tr>
                <td class="alt2"><a href="calendar.php?$session[sessionurl]do=getday&amp;day=$today&amp;sb=1"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" border="0" /></a></td>
                <td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td>
        </tr>
</tbody>
<!-- end today's birthdays -->
</if>
<if condition="$show['upcomingevents']">
<tbody>
        <tr>
                <td class="thead" colspan="2">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
                        <if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if>
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
        <tr>
                <td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>
                <td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
        </tr>
</tbody>
</if>
</table>
<br />
<!-- end what's going on box -->

<!-- icons and login code -->
<table cellpadding="0" cellspacing="2" border="0" width="100%">
<tr valign="bottom">
        <td>
                <table cellpadding="2" cellspacing="0" border="0">
                <tr>
                        <td><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /></td>
                        <td class="smallfont">&nbsp; $vbphrase[forum_contains_new_posts]</td>
                </tr>
                <tr>
                        <td><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /></td>
                        <td class="smallfont">&nbsp; $vbphrase[forum_contains_no_new_posts]</td>
                </tr>
                <if condition="$vboptions['showlocks']">
                <tr>
                        <td><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /></td>
                        <td class="smallfont">&nbsp; $vbphrase[forum_is_closed_for_posting]</td>
                </tr>
                </if>
                </table>
        </td>
        <if condition="!$show['guest']">
                <!-- member logout -->
                <td align="$stylevar[right]"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]"  onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></td>
                <!-- end member logout -->
        </if>
</tr>
</table>
<!-- / icons and login code -->

$footer
</body>
</html>

ive set the Notices at the backed set for Administrator to display guest message. but could not show either.

thank you.

Ted S 04-07-2008 12:23 AM

HRK,

If you are using the 3.7 version of this addon there is no reason to remove any lines of code and doing so may cause the addon to not work. In 3.7 the notices are a default feature and this addon just inputs a predefined set to get you started.

hrk 04-07-2008 12:33 AM

Quote:

Originally Posted by Ted S (Post 1484818)
HRK,

If you are using the 3.7 version of this addon there is no reason to remove any lines of code and doing so may cause the addon to not work. In 3.7 the notices are a default feature and this addon just inputs a predefined set to get you started.

Hi Ted,

so in summary you are asking those using vb3.7 b not to remove the line of codes.?

the package contain a readme file which state

Code:

vB Version: 3.7.x

  1.  From your Admin Control Panel expand the "Styles and Templates" option.

  2. Click the "Style Manager" link and then select "Edit Templates" for the style you wish to first edit (you will need to repeat steps 1 & 2 for every parent style you have).

  3. Select the FORUMHOME template.

      Scroll about 20 lines until you find the code:

     

       
PHP Code:

       

               

               
               

                       
<if condition="$show['guest']">
      <!-- 
guest welcome message -->
      <
tr>
      <
td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
      </
tr>
      <
tr>
      <
td class="alt1" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">
      <
phrase 1="faq.php$session[sessionurl_q]2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
      </
td>
      </
tr>
      <!-- / 
guest welcome message -->
      </if> 



               

               

               

       

      Remove this entire block of code. This will remove your current and default welcome headers making room for your enhanced headers.

      Save and close the template.

:)


thanks

Ted S 04-07-2008 12:54 AM

Removing the default message is fine if your templates have one but you need to leave the notices call in place. If you are using an old template from the 3.6x series or earlier and have not reverted it, you will need to add in the notices call.

hrk 04-07-2008 01:09 AM

Hi ted,
the funny thing is i have a "default" template that work fine.
i tried to copy over the FORUMHOME codes to my other template. that doesnt get it to work either.

pls let me know if u like to drop by and take a look. i would appreciate any kind of assistance here to get this working.

thank you

my vb version :3.7 clean installed upgraded from vb3.6.8 before.

Ted S 04-07-2008 01:24 AM

Right. You have a default template with the 3.7 code in it and other templates without it. You'll need to copy the new notices code into those templates to get them to work. Bare in mind that forumhome controls one page only and is not where the notices system lies. That should be your navbar/ header template.

hrk 04-07-2008 01:48 AM

hi ted.

i got it solved ,
i was running the template with ExamDiff and found the diff and adjust accordingly.
it was some at navbar and some at header template.
thank you for your assistance.

Southernphuk 04-20-2008 07:47 AM

I'm going to pull a dingleberry by probably asking an obvious question but ...

I've been on some sites where the guest message travels with the length of the page. Bit of an 'annoyance' factor encouraging you to sign up. How, if at all, would I be able to set something like that up?

I made the assumption about this hack but you know what they say about assuming anything ..

Oh, and really, really waiting for the guest limited views update to 3.7.


All times are GMT. The time now is 05:56 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.01400 seconds
  • Memory Usage 1,887KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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