Guest Registration Table hack

Mods etc.

Moderator: Integra Moderator

Guest Registration Table hack

PostAuthor: dan0042 » Sun Apr 08, 2007 2:58 pm

Your phpBB Version: 2.0.
phpBB Type: Integramod 141
MODs: No
Your knowledge: Beginner
Board URL: [url]http://[/url]

PHP Version:
MySQL Version:


What was done before the problem appeared?



What was done to try to solve the problem?




De.scription and Message

###########################Fromalk's Guest Registration Table hack!########################
##
## Author: Fromalk aka Seijnhaeve Stijn
## Hack name: Guest Registration Table
## Version: 1.0.0
## Project start date: 02/06/2004
## Project release date: 02/06/2004
## Installation level: Beginner
##
###########################################################################################
###########################Version Info####################################################
## Version 1.0.0:
## Version 1.0.0 of the guest registration table was the first version ever released.
## It was succesfully tested on a phpBB 2.0.8a board with a subSilver layout!
## This is hack is pure basic and will be updated to have more functions later on!
###########################################################################################
###########################What do's it do?################################################
##
## This hack will provide guest users a table at the head of each table in which they
## are asked politely to register! I decided to make this hack after seing a lot of
## my forum's members having trouble with the registration pop up since it cept on
## popping up and therefor anoy a lot of people! Or they had popup killers installed
## so that the pop up didn't actually pop up!
###########################################################################################
############################Support########################################################
##
## If you can't set the hack up right you might go and have a look at
## http://www.fromalk.be/support/ where I suggest you sign up in the community, since
## my knowledge base is still very small!
###########################################################################################
############################Install:#######################################################
##
##
## Step 1: Take a back up of your forum!
##
################[open: Templates/current-template/overall_header.tpl ]#####################
##
################[Find]#####################################################################
## around line 23 Note there can also be numbers between the { }
##
body {
background-color: {T_BODY_BGCOLOR};
scrollbar-face-color: {T_TR_COLOR2};
scrollbar-highlight-color: {T_TD_COLOR2};
scrollbar-shadow-color: {T_TR_COLOR2};
scrollbar-3dlight-color: {T_TR_COLOR3};
scrollbar-arrow-color: {T_BODY_LINK};
scrollbar-track-color: {T_TR_COLOR1};
scrollbar-darkshadow-color: {T_TH_COLOR1};
}

##
###############[After add]##################################################################
## Note after the }
##

td.registertable
{
border:1px groove #006699;
background-color: {T_TR_COLOR3};
}
p.register
{
margin-top:0px;
margin-bottom:0px;
margin-left:5px;
font-size:12px;
}

##
##############[open: language/current-language/lang_main.php]###############################
##Note do this for all your installed languages!
##

##
##############[Find]########################################################################
## around line 203
//
// Index page
//

##
##############[After add]###################################################################
##
$lang['Welcome_to'] = '>> Welcome to';
$lang['guest_register_table'] = 'Please register an account so that I can provide you better services and you become part of my community! You can register by clicking the register button at the top of the page';

##
##############[Open:index.php]##############################################################
##

##
##############[Find:]#######################################################################
## Around line 263
$template->set_filenames(array(
'body' => 'index_body.tpl')
);

##
##############[In line before add]##########################################################
##
$template->assign_vars(array(
'L_WELCOME_REGISTER' => $lang['Welcome_to'],
'L_GUEST_REGISTER' => $lang['guest_register_table'])
);
##
##############[Open:template/current-template/index_body.tpl]##############################
## Insert this on the first line there is:
<BEGIN>
<table>
<tr>
<td><b>{L_WELCOME_REGISTER} {SITENAME}!</b><br><p>{L_GUEST_REGISTER}</p></td>
</tr>
</table>
<br>
<END>


###########################################################################################
Last edited by dan0042 on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
:#: <img>
User avatar
dan0042
Integra Member
Integra Member
 
Posts: 170
Likes: 0 post
Liked in: 0 post
Joined: Fri Apr 21, 2006 3:06 pm
Cash on hand: 0.00

Return to IntegraMOD Modifications

Who is online

Registered users: Bing [Bot], Google [Bot], Helter, Majestic-12 [Bot]