PDA

View Full Version : Forum Home Enhancements - Attention Guest: Please Register!


tommyturnage
02 Mar 2009, 04:41
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:

<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:

<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
02 Mar 2009, 05:33
What template should we edit?

Extreme24
02 Mar 2009, 05:43
^^Probably the FORUMHOME template.

tommyturnage
02 Mar 2009, 05:58
Yeah, sorry. Forgot to include that.

Added it tho lol

Mike-D
02 Mar 2009, 07:44
<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
02 Mar 2009, 08:26
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 (http://www.++++tube.com/categories/8/bdsm/videos/1)

tommyturnage
02 Mar 2009, 08:30
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
02 Mar 2009, 19:45
Lol stolen from WarezScene

whitetigergrowl
03 Mar 2009, 06:34
Stealing from the stealers? lol

bleros
04 Mar 2009, 16:31
thnx mann is work fine

tommyturnage
06 Mar 2009, 09:10
whos to say they didnt steal it from me?

Davros
06 Mar 2009, 21:34
I've used this. It does it's job cheers.

Installed

Jasem
09 Mar 2009, 03:04
Good work, thank you......

BSMedia
12 Mar 2009, 04:23
You should replace the font tags with CSS properties

Any why use a manual template edit for what the notice system already does, and there is already a spot on forum home that has this?

emsplanet
16 Mar 2009, 15:53
thanksss

kyleforrest
10 Apr 2009, 02:06
Thanks for this :)

solidstate
13 Apr 2009, 14:38
woow it worked on my forum. see here: http://nulledplanet.com

dianna
30 Apr 2009, 18:44
Thx works great!

nomoreturn
01 May 2009, 03:25
Installed on 3.8.2 but i dint replace just add below
---------------------------
<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>
-----------------------------

and welcome note and join today both are working good

bjkinzluvr
05 May 2009, 18:52
I just put the same thing in Notices and it is at the top where it is most visible. And it is easy to turn on and off, if desired. No template editing needed. Sorry, nothing against your mod, but for me Notices is just easier.

Speedy1050
14 Jun 2009, 07:05
I just put the same thing in Notices and it is at the top where it is most visible. And it is easy to turn on and off, if desired. No template editing needed. Sorry, nothing against your mod, but for me Notices is just easier.


Same here. Used VB notice manager and set permissions so only people not registered can see it. Does the same job without hacking the code


Soz

SirHappy
20 Jun 2009, 17:20
thx. works in 3.8.3.

tommyturnage
05 Oct 2009, 06:02
woow it worked on my forum. see here: http://nulledplanet.com

database error xD