vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Forum Home Enhancements - Attention Guest: Please Register! (https://vborg.vbsupport.ru/showthread.php?t=207066)

tommyturnage 03-01-2009 10:00 PM

Attention Guest: Please Register!
 
1 Attachment(s)
This is a simple notice for guests to register. Its on a table by itself like a notice.

Please Click Installed. My First "Mod" :D

Open FORUMHOME

Find:
Code:

<if condition="$show['guest']">
<!-- guest welcome message -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
    <td class="tcat"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
</tr>
<tr>
    <td class="alt1">
        <phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
    </td>
</tr>
</table>
<!-- / guest welcome message -->
<br />
</if>

Replace With:
Code:

<if condition="$show['guest']">
 <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>

<td class="tcat" width="100%">
<div style="text-align: center;">
Join Today!
</div>
</td>

</tr>

<tr>

<td class="alt1" width="100%">
<div class="smallfont">
<center>
<a href="http://www.yoursite/forum/register.php"><FONT SIZE=4>Attention Guest: Please Register!</FONT></a>
<BR>
This enables access to exclusive features such as viewing over 23,000 downloads, posting, and joining our 10,000 strong community!
</center>
</div>
</td>

</tr>
</table>
</if>
<BR>

Change The Words In Red To Whatever You Want
Change The Link In Blue To Your Own Link

itsheinz 03-02-2009 03:33 AM

What template should we edit?

Extreme24 03-02-2009 03:43 AM

^^Probably the FORUMHOME template.

tommyturnage 03-02-2009 03:58 AM

Yeah, sorry. Forgot to include that.

Added it tho lol

Mike-D 03-02-2009 05:44 AM

Quote:

Originally Posted by tommyturnage
<if condition="$show['guest']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>

<td class="tcat" width="100%">
<div style="text-align: center;">
Join Today!
</div>
</td>

</tr>

<tr>

<td class="alt1" width="100%">
<div class="smallfont">
<center>
<a href="http://www.yoursite/forum/register.php"><FONT SIZE=4>Attention Guest: Please Register!</FONT></a>
<BR>
This enables access to exclusive features such as viewing over 23,000 downloads, posting, and joining our 10,000 strong community!
</center>
</div>
</td>

</tr>
</table>
</if>
<BR>

You should use Phrases! That's what Phrases are for. Also <BR> Tags are obsolete. In this case you should use the <br /> Tag instead of the old ones ;)

Sweeks 03-02-2009 06:26 AM

Quote:

Originally Posted by Mike-D (Post 1758238)
You should use Phrases! That's what Phrases are for. Also <BR> Tags are obsolete. In this case you should use the Tag instead of the old ones ;)

Youre forgetting styling the text with CSS too.
________
Bdsm xxx

tommyturnage 03-02-2009 06:30 AM

Ehh its the first thing I have ever really made up on my own so yea it needs work.

But I thought it was cool so I posted it

solution24 03-02-2009 05:45 PM

Lol stolen from WarezScene

whitetigergrowl 03-03-2009 04:34 AM

Stealing from the stealers? lol

bleros 03-04-2009 02:31 PM

thnx mann is work fine


All times are GMT. The time now is 12:46 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.01007 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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