Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[Monkey's Works] - Hey, guest! You should be a registered member! Details »»
[Monkey's Works] - Hey, guest! You should be a registered member!
Version: 1.00, by Triky Triky is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.6.8 Rating:
Released: 11-20-2007 Last Update: Never Installs: 21
Template Edits
Re-useable Code Translations  
No support by the author.

[Monkey's Works] - Hey, guest! You should be a registered member!
by Triky - Web City



Hi there, monkeys! With this template modification your forumhome will become a single message for guests and a login form for you not legged members. This will improve your registrations! It's just a template modification.

Preview:

GuestHomepage

Modification:

Quote:
Go to your FORUMHOME template
(AdminCp -> Styles & Templates -> Edit Templates -> FORUMHOME)

Add to the top:

Code:
<if condition="$show['guest']">
$stylevar[htmldoctype]
<html 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] - Welcome! Become an active member of $vboptions[bbtitle] right now!</phrase></title>
</head>
<body>



<!-- Guest Welcome Box -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
    <td class="tcat" style="text-align: center; font-size: 28px">$vboptions[bbtitle] Guest Homepage - You should be a registered member!</td>
</tr>
<tr>
<td class="alt2" style="text-align: center">
Add here your forum description! This is an online community. Our goal is let members have fun with games, funny discussions, etc. 
</td>
</tr>
<tr>
    <td class="alt1" style="text-align: center">

<table class="tborder" cellpadding="20" cellspacing="$stylevar[cellspacing]" border="0" width="80%" align="center">
<tr>
    <td class="tcat">
<div>Hey guest, welcome to the $vboptions[bbtitle]! This is our standard guest page. Before you can view our forums, you have to sign up with us. Ehy, don't worry, it takes just one minute and it's completely free! Try yourself: <br /><br />

<span style="font-size: 21px; font-weight: bold"><a href="register.php">Sign Up Now</a></span> 
<br /><br />
 By signing up you will see all our forums list and you will be able to edit your member profile, post threads, ask questions, chat with other members, communicate privately with other members, and much more!<br /><br />
 If you're already a $vboptions[bbtitle] member, please login with the form below!


<br /><br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="35%" align="center">
<tr>
    <td class="tcat" style="text-align: center">
<!-- login form -->
        <form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
        <script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
        <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
        <tr>
            <td class="smallfont"><label for="navbar_username"><strong>$vbphrase[username]</strong> </label></td>
            <td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
            <td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" /><strong>$vbphrase[remember_me]</strong></label></td>
        </tr>
        <tr>
            <td class="smallfont"><label for="navbar_password"><strong>$vbphrase[password]</strong></label></td>
            <td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
            <td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
        </tr>
        </table>
        <input type="hidden" name="s" value="$session[sessionhash]" />
        <input type="hidden" name="do" value="login" />        
        <input type="hidden" name="vb_login_md5password" />
        <input type="hidden" name="vb_login_md5password_utf" />
        </form>
        <!-- / login form -->
</td>
</tr>
</table>

<br />
<span class="smallfont">If you have any problems with the registration process or your account login, please contact us: <a href="sendmessage.php">Send Message</a>. 

<br /><br />

<!-- Community Statistics -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="35%" align="center">
<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>
</table>

<!-- / Community Statistics -->


</td>
</tr>
</table>

</div>
    </td>
</tr>
</table>
<!-- / Guest Welcome Box -->

</body>
</html>
<else />
Ok, now add to the end of your template:

Code:
</if>
Done!
Check the red code if you want to edit the message (and remember that I'm italian, so my english isn't so good )!
See you to the next little modification!

<!-- ------------------------------[Monkey's Works] - vBulletin.org Releases Archive---------------------------- -->

Modifications

<!-- / ----------------------------[Monkey's Works] - vBulletin.org Releases Archive---------------------------- -->

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 11-23-2007, 07:24 AM
Triky's Avatar
Triky Triky is offline
 
Join Date: Mar 2007
Location: [Italy]
Posts: 728
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh, then I don't know.. sorry.
Reply With Quote
  #13  
Old 12-03-2007, 09:38 PM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also that mod will only show spiders that are visiting, not actually let them access content from what i read of the hack description.

Nice mod, and try searching for a treat search engines as members mod, i remember seeing one a while ago.


edit: Found it. https://vborg.vbsupport.ru/showthrea...ngines+members
Reply With Quote
  #14  
Old 12-03-2007, 09:49 PM
Triky's Avatar
Triky Triky is offline
 
Join Date: Mar 2007
Location: [Italy]
Posts: 728
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yup, I seen that mod too.
Ok, founded: https://vborg.vbsupport.ru/showthread.php?t=108070.
Reply With Quote
  #15  
Old 12-05-2007, 12:47 PM
thefullmaza thefullmaza is offline
 
Join Date: Aug 2007
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice mod and thanks
Reply With Quote
  #16  
Old 12-05-2007, 03:17 PM
Triky's Avatar
Triky Triky is offline
 
Join Date: Mar 2007
Location: [Italy]
Posts: 728
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad you like it.
Reply With Quote
  #17  
Old 12-06-2007, 09:50 PM
pspmaster93 pspmaster93 is offline
 
Join Date: Aug 2007
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just a question. how do i make this appear for all the other pages, not JUST the index. say like /private.php and every other page it wont work for how do i make it work for every page
Reply With Quote
  #18  
Old 12-07-2007, 03:47 PM
Triky's Avatar
Triky Triky is offline
 
Join Date: Mar 2007
Location: [Italy]
Posts: 728
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pspmaster93 View Post
just a question. how do i make this appear for all the other pages, not JUST the index. say like /private.php and every other page it wont work for how do i make it work for every page
If you se it on other pages, so other .php files, then you wouldn't have these data:

Code:
 $vbphrase[threads]: $totalthreads,
                $vbphrase[posts]: $totalposts,
                $vbphrase[members]: $numbermembers
However, I really don't know how you could set it for the entire forum. I will try to think about it, then if I'll find something, I will post it. Sorry.
Reply With Quote
  #19  
Old 12-09-2007, 02:20 AM
thefullmaza thefullmaza is offline
 
Join Date: Aug 2007
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks and Demo
Reply With Quote
  #20  
Old 12-11-2007, 07:40 AM
Triky's Avatar
Triky Triky is offline
 
Join Date: Mar 2007
Location: [Italy]
Posts: 728
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by thefullmaza View Post
thanks and Demo
Maybe you have missed an </if>..
Remember to click Install.
Reply With Quote
  #21  
Old 12-18-2007, 07:59 PM
Jase2 Jase2 is offline
 
Join Date: Dec 2007
Location: USA
Posts: 1,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not much for this as there isn't much chance a guest will sign up if they can't even view your forums.

Regards Jason
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:52 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04641 seconds
  • Memory Usage 2,327KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete