[BETA] Second WebSite v 1.0.3

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Post Reply
romihaitza
Registered User
Posts: 40
Joined: Fri Jul 25, 2003 5:51 pm
Location: Romania
Contact:

[BETA] Second WebSite v 1.0.3

Post by romihaitza »

Informations :

The first release (v 1.0.0) it is sended to Mods validations.

Latest version: 1.0.3B BETA

Testing info : I really appreciate some help in testing my mod. If you find bugs please let me know.

What this Mod do?
Whit this MOD you can let your users to add 2 websites in profile.

TODO List: {UPDATED :wink: } - Any suggestion welcome.

* EasyMod compatibility [DONE]
* Automatic installer for sql table alter.
* Adding second www button in Memberlist.[DONE]
* Adding second www button in Groups CP. .[DONE]
* Adding second website in Admin users management.
* Sorting by second website in memberlist.
* Adding second website in PM.
Last edited by romihaitza on Thu Jan 08, 2004 6:08 pm, edited 16 times in total.
All the best,
Mike

My latest MOD : Second WebSite

romihaitza
Registered User
Posts: 40
Joined: Fri Jul 25, 2003 5:51 pm
Location: Romania
Contact:

Post by romihaitza »

Updated TODO list today.
All the best,
Mike

My latest MOD : Second WebSite

romihaitza
Registered User
Posts: 40
Joined: Fri Jul 25, 2003 5:51 pm
Location: Romania
Contact:

Post by romihaitza »

History :

Code: Select all

############################################################## easymod
## MOD Title:  Second WebSite
## MOD Author: romihaitza < mihai@emma.ro > (Mihai Floran) http://www.phpbb.ro 
## MOD Description:  This MOD let your users to give a second website on your forum in profile.
## MOD Version: 1.0.3B
## 
## Installation Level: Intermediate 
## Installation Time:  10 Minutes 
## Files To Edit: (11)
##                   includes/usercp_register.php
##		     includes/usercp_viewprofile.php
##		     viewtopic.php
##                   memberlist.php
##		     groupcp.php
##		     templates/subSilver/groupcp_info_body.tpl
##		     templates/subSilver/groupcp_pending_info.tpl
##		     templates/subSilver/profile_view_body.tpl
##		     templates/subSilver/profile_add_body.tpl
##		     templates/subSilver/viewtopic_body.tpl
##		     templates/subSilver/memberlist_body.tpl
## Included Files:   n/a
############################################################## 
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the 
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code 
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered 
## in our MOD-Database, located at: http://www.phpbb.com/mods/ 
############################################################## 
## Author Notes: 
##  Do not forget to edit the templates modifications for all templates you may have.
##  You can add more websites in forum by using another number instead of 2 in modifications.
##  The MOD was tested whit 2.0.6 and EasyMod Alpha 3
############################################################## 
## MOD History: 
##
##   2004-01-08 - Version 1.0.3B
##	- Added www button in Group CP
##	- Bug fix from 1.0.3A
##
##   2004-01-07 - Version 1.0.3A
##	- Added www button in memberlist
##
##   2004-01-06 - Version 1.0.2
##      - Maked EasyMod compatible
## 
##   2004-01-06 - Version 1.0.1
##      - Bugs resolved
##
##   2004-01-05 - Version 1.0.0 
##      - First release 
## 
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
############################################################## 


# 
#-----[ SQL ]------------------------------------------ 
# 
ALTER TABLE phpbb_users ADD user_website2 varchar(100) default NULL  

# 
#-----[ OPEN ]------------------------------------------ 
# 
includes/usercp_register.php

# 
#-----[ FIND ]------------------------------------------ 
# 
$strip_var_list = array('username' =>

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
'website' => 'website',

# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------------ 
# 
'website2' => 'website2',

# 
#-----[ FIND ]------------------------------------------ 
# 
validate_optional_fields

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
$website

# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------------ 
# 
, $website2

# 
#-----[ FIND ]------------------------------------------ 
# 
$website = stripslashes($website);

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
$website2 = stripslashes($website2);

# 
#-----[ FIND ]------------------------------------------ 
# 
if ( $website != '' )
	{
		rawurlencode($website);
	}
# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
if ( $website2 != '' )
	{
		rawurlencode($website2);
	}

# 
#-----[ FIND ]------------------------------------------ 
# 
SET " . $username_sql . $passwd_sql . 

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
user_website = '" . str_replace("\'", "''", $website) . "'

# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------------ 
# 
, user_website2 = '" . str_replace("\'", "''", $website2) . "'

# 
#-----[ FIND ]------------------------------------------ 
# 
user_id, username, user_regdate,

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
user_website,

# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------------ 
# 
user_website2,

# 
#-----[ FIND ]------------------------------------------ 
# 
'WEB_SITE' => $website,

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
'WEB_SITE2' => $website2,

# 
#-----[ FIND ]------------------------------------------ 
# 
$website = stripslashes($website);

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
$website2 = stripslashes($website2);

# 
#-----[ FIND ]------------------------------------------ 
# 
$website = $userdata['user_website'];


# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
$website2 = $userdata['user_website2'];

# 
#-----[ FIND ]------------------------------------------ 
# 
display_avatar_gallery

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
$website,

# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------------ 
# 
$website2,

# 
#-----[ FIND ]------------------------------------------ 
# 
'WEBSITE' => $website,

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
'WEBSITE2' => $website2,

# 
#-----[ OPEN ]------------------------------------------ 
# 
includes/usercp_viewprofile.php

# 
#-----[ FIND ]------------------------------------------ 
# 
$www = ( $profiledata['user_website'] ) ? '<a href="' . $profiledata['user_website'] . '" target="_userwww">' . $profiledata['user_website'] . '</a>' : '&nbsp;';

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
$www2 = ( $profiledata['user_website2'] ) ? '<a href="' . $profiledata['user_website2'] . '" target="_userwww2">' . $profiledata['user_website2'] . '</a>' : '&nbsp;';

# 
#-----[ FIND ]------------------------------------------ 
# 
'WWW' => $www,

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
'WWW2' => $www2,

# 
#-----[ OPEN ]------------------------------------------ 
# 
viewtopic.php

# 
#-----[ FIND ]------------------------------------------ 
# 
$sql = "SELECT u.username,

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
u.user_from, u.user_website,

# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------------ 
# 
 u.user_website2,

# 
#-----[ FIND ]------------------------------------------ 
# 
$www_img = ( $postrow[$i]['user_website'] ) ? '<a href="' . $postrow[$i]['user_website'] . '" target="_userwww"><img src="' . $images['icon_www'] . '" alt="' . $lang['Visit_website'] . '" title="' . $lang['Visit_website'] . '" border="0" /></a>' : '';
# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
$www_img2 = ( $postrow[$i]['user_website2'] ) ? '<a href="' . $postrow[$i]['user_website2'] . '" target="_userwww2"><img src="' . $images['icon_www'] . '" alt="' . $lang['Visit_website'] . '" title="' . $lang['Visit_website'] . '" border="0" /></a>' : '';

# 
#-----[ FIND ]------------------------------------------ 
# 
$www = ( $postrow[$i]['user_website'] ) ? '<a href="' . $postrow[$i]['user_website'] . '" target="_userwww">' . $lang['Visit_website'] . '</a>' : '';

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
$www2 = ( $postrow[$i]['user_website2'] ) ? '<a href="' . $postrow[$i]['user_website2'] . '" target="_userwww2">' . $lang['Visit_website'] . '</a>' : '';

# 
#-----[ FIND ]------------------------------------------ 
# 
$www_img = '';

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
$www_img2 = '';

# 
#-----[ FIND ]------------------------------------------ 
# 
$www = '';

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
$www2 = '';

# 
#-----[ FIND ]------------------------------------------ 
# 
'WWW_IMG' => $www_img,

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
'WWW_IMG2' => $www_img2,

# 
#-----[ FIND ]------------------------------------------ 
# 
'WWW' => $www,

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
'WWW2' => $www2,

# 
#-----[ OPEN ]------------------------------------------ 
# 
memberlist.php

# 
#-----[ FIND ]------------------------------------------ 
# 
$sql = "SELECT username,

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
user_website,

# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------------ 
# 
 user_website2,

# 
#-----[ FIND ]------------------------------------------ 
# 
$www_img = ( $row['user_website'] ) ? '<a href="' . $row['user_website'] . '" target="_userwww"><img src="' . $images['icon_www'] . '" alt="' . $lang['Visit_website'] . '" title="' . $lang['Visit_website'] . '" border="0" /></a>' : '';
$www = ( $row['user_website'] ) ? '<a href="' . $row['user_website'] . '" target="_userwww">' . $lang['Visit_website'] . '</a>' : '';

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
$www_img2 = ( $row['user_website2'] ) ? '<a href="' . $row['user_website2'] . '" target="_userwww2"><img src="' . $images['icon_www'] . '" alt="' . $lang['Visit_website'] . '" title="' . $lang['Visit_website'] . '" border="0" /></a>' : '';
$www2 = ( $row['user_website2'] ) ? '<a href="' . $row['user_website2'] . '" target="_userwww2">' . $lang['Visit_website'] . '</a>' : '';

# 
#-----[ FIND ]------------------------------------------ 
# 
'WWW_IMG' => $www_img,

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
'WWW_IMG2' => $www_img2,

# 
#-----[ FIND ]------------------------------------------ 
#
'WWW' => $www,

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
'WWW2' => $www2,

# 
#-----[ OPEN ]------------------------------------------ 
# 
groupcp.php

# 
#-----[ FIND ]------------------------------------------ 
# 
function generate_user_info

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
&$www_img, &$www,

# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------------ 
# 
 &$www_img2, &$www2,

# 
#-----[ FIND ]------------------------------------------ 
# 
$www_img = ( $row['user_website'] ) ? '<a href="' . $row['user_website'] . '" target="_userwww"><img src="' . $images['icon_www'] . '" alt="' . $lang['Visit_website'] . '" title="' . $lang['Visit_website'] . '" border="0" /></a>' : '';
$www = ( $row['user_website'] ) ? '<a href="' . $row['user_website'] . '" target="_userwww">' . $lang['Visit_website'] . '</a>' : '';

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
$www_img2 = ( $row['user_website2'] ) ? '<a href="' . $row['user_website2'] . '" target="_userwww2"><img src="' . $images['icon_www'] . '" alt="' . $lang['Visit_website'] . '" title="' . $lang['Visit_website'] . '" border="0" /></a>' : '';
$www2 = ( $row['user_website2'] ) ? '<a href="' . $row['user_website2'] . '" target="_userwww2">' . $lang['Visit_website'] . '</a>' : '';

# 
#-----[ FIND ]------------------------------------------ 
# 
$sql = "SELECT username,

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
user_website,

# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------------ 
# 
 user_website2,

# 
#-----[ FIND ]------------------------------------------ 
# 
$sql = "SELECT u.username,

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
u.user_website,

# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------------ 
# 
 u.user_website2,

# 
#-----[ FIND ]------------------------------------------ 
# 
$sql = "SELECT u.username,

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
u.user_website,

# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------------ 
# 
 u.user_website2,

# 
#-----[ FIND ]------------------------------------------ 
# 
generate_user_info($group_moderator

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
$www_img, $www,

# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------------ 
# 
 $www_img2, $www2,

# 
#-----[ FIND ]------------------------------------------ 
# 
'MOD_WWW_IMG' => $www_img,
'MOD_WWW' => $www,

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
'MOD_WWW_IMG2' => $www_img2,
'MOD_WWW2' => $www2,

# 
#-----[ FIND ]------------------------------------------ 
# 
generate_user_info($group_members[$i], 

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
$www_img, $www,

# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------------ 
# 
 $www_img2, $www2,

# 
#-----[ FIND ]------------------------------------------ 
# 
'WWW_IMG' => $www_img,
'WWW' => $www,

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
'WWW_IMG2' => $www_img2,
'WWW2' => $www2,

# 
#-----[ FIND ]------------------------------------------ 
# 
generate_user_info($modgroup_pending_list[$i],

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
$www_img, $www,

# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------------ 
# 
 $www_img2, $www2,

# 
#-----[ FIND ]------------------------------------------ 
# 
'WWW_IMG' => $www_img,
'WWW' => $www,

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
'WWW_IMG2' => $www_img2,
'WWW2' => $www2,

# 
#-----[ OPEN ]------------------------------------------ 
# Do not forget to edit this for all templates you may have
#
templates/subSilver/groupcp_info_body.tpl

# 
#-----[ FIND ]------------------------------------------ 
# 
<td class="row1" align="center">{MOD_WWW_IMG}

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
{MOD_WWW_IMG}

# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------------ 
# 
&nbsp{MOD_WWW_IMG2}

# 
#-----[ FIND ]------------------------------------------ 
# 
<td class="{member_row.ROW_CLASS}" align="center"> {member_row.WWW_IMG}

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
{member_row.WWW_IMG}

# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------------ 
# 
&nbsp{member_row.WWW_IMG2}

# 
#-----[ OPEN ]------------------------------------------ 
# Do not forget to edit this for all templates you may have
#
templates/subSilver/groupcp_pending_info.tpl

# 
#-----[ FIND ]------------------------------------------ 
# 
<td class="{pending_members_row.ROW_CLASS}" align="center"><span class="gen">{pending_members_row.WWW_IMG}

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
{pending_members_row.WWW_IMG}

# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------------ 
# 
&nbsp{pending_members_row.WWW_IMG2}

# 
#-----[ OPEN ]------------------------------------------ 
# Do not forget to edit this for all templates you may have
#
templates/subSilver/memberlist_body.tpl

# 
#-----[ FIND ]------------------------------------------ 
#
<td class="{memberrow.ROW_CLASS}" align="center">&nbsp;{memberrow.WWW_IMG}

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
&nbsp;{memberrow.WWW_IMG}&nbsp;

# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------------ 
# 
{memberrow.WWW_IMG2}&nbsp;

# 
#-----[ OPEN ]------------------------------------------ 
# Do not forget to edit this for all templates you may have
#
templates/subSilver/profile_add_body.tpl

# 
#-----[ FIND ]------------------------------------------ 
# 
<input type="text" class="post"style="width: 200px"  name="website" size="25" maxlength="255" value="{WEBSITE}" />

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
<input type="text" class="post"style="width: 200px"  name="website2" size="25" maxlength="255" value="{WEBSITE2}" />

# 
#-----[ OPEN ]------------------------------------------ 
# Do not forget to edit this for all templates you may have
#
templates/subSilver/profile_view_body.tpl

# 
#-----[ FIND ]------------------------------------------ 
# 
<td><span class="gen"><b>{WWW}</b></span></td>

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
</b></span>

# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------------ 
#
 ; <span class="gen"><b>{WWW2}</b></span>

# 
#-----[ OPEN ]------------------------------------------ 
# Do not forget to edit this for all templates you may have
#
templates/subSilver/viewtopic_body.tpl

# 
#-----[ FIND ]------------------------------------------ 
# 
<td valign="middle" nowrap="nowrap">{postrow.PROFILE_IMG

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
{postrow.WWW_IMG}

# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------------ 
#
 {postrow.WWW_IMG2}

# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
# EoM 
Last edited by romihaitza on Sun Mar 07, 2004 1:42 pm, edited 3 times in total.
All the best,
Mike

My latest MOD : Second WebSite

romihaitza
Registered User
Posts: 40
Joined: Fri Jul 25, 2003 5:51 pm
Location: Romania
Contact:

Post by romihaitza »

TODO list updated today.

Version updated today to 1.0.3 A (beta testing version)

Version 1.0.3A is first of three 1.0.3 versions that will have new features.

Version 1.0.3A is NOT tested whit EasyMod ... only 1.0.2 stable version is. ( I really need some help )
All the best,
Mike

My latest MOD : Second WebSite

wildness on net
Registered User
Posts: 1
Joined: Wed Jan 07, 2004 6:09 pm

Post by wildness on net »

I tried your MOD 1.0.3 A on EasyMod and no errors found.

Anyway I saw that no change is in memberlist. Can be a bug?

romihaitza
Registered User
Posts: 40
Joined: Fri Jul 25, 2003 5:51 pm
Location: Romania
Contact:

Post by romihaitza »

Thank you very much for helping....

I tried too and found that EasyMod did not modified the template file for memberlist... I will search for the bug.
All the best,
Mike

My latest MOD : Second WebSite

romihaitza
Registered User
Posts: 40
Joined: Fri Jul 25, 2003 5:51 pm
Location: Romania
Contact:

Post by romihaitza »

I cannot understand why EasyMod is not creating this modifications and says that all it's ok ...

Code: Select all

# 
#-----[ OPEN ]------------------------------------------ 
# Do not forget to edit this for all templates you may have
#
templates/subSilver/memberlist_body.tpl

# 
#-----[ FIND ]------------------------------------------ 
#
<td class="{memberrow.ROW_CLASS}" align="center">&nbsp;{memberrow.WWW_IMG}

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
&nbsp;{memberrow.WWW_IMG}&nbsp;

# 
#-----[ IN-LINE, AFTER ADD ]------------------------------------------ 
# 
{memberrow.WWW_IMG2}&nbsp;
All the best,
Mike

My latest MOD : Second WebSite

romihaitza
Registered User
Posts: 40
Joined: Fri Jul 25, 2003 5:51 pm
Location: Romania
Contact:

Post by romihaitza »

Ok, I finded what it is wrong....

I used IN-LINE, AFTER ADD and that is not a correct command
must be replaced whit IN-LINE AFTER, ADD

Replace this :

Code: Select all

# 
#-----[ OPEN ]------------------------------------------ 
# Do not forget to edit this for all templates you may have 
# 
templates/subSilver/memberlist_body.tpl 

# 
#-----[ FIND ]------------------------------------------ 
# 
<td class="{memberrow.ROW_CLASS}" align="center">&nbsp;{memberrow.WWW_IMG} 

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
&nbsp;{memberrow.WWW_IMG}&nbsp; 

# 
#-----[ IN-LINE, AFTER ADD ]------------------------------------------ 
# 
{memberrow.WWW_IMG2}&nbsp;
whit this :

Code: Select all

# 
#-----[ OPEN ]------------------------------------------ 
# Do not forget to edit this for all templates you may have 
# 
templates/subSilver/memberlist_body.tpl 

# 
#-----[ FIND ]------------------------------------------ 
# 
<td class="{memberrow.ROW_CLASS}" align="center">&nbsp;{memberrow.WWW_IMG} 

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
&nbsp;{memberrow.WWW_IMG}&nbsp; 

# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------------ 
# 
{memberrow.WWW_IMG2}&nbsp;
The BUG fix will appear in the next 1.0.3 B version .
All the best,
Mike

My latest MOD : Second WebSite

romihaitza
Registered User
Posts: 40
Joined: Fri Jul 25, 2003 5:51 pm
Location: Romania
Contact:

Post by romihaitza »

Updated TODO list today.

New version released 1.0.3B Beta

- tested whit EasyMod
- fixed 1.0.3A bug
- added www button in group CP
All the best,
Mike

My latest MOD : Second WebSite

romihaitza
Registered User
Posts: 40
Joined: Fri Jul 25, 2003 5:51 pm
Location: Romania
Contact:

Post by romihaitza »

usercp_register.php BUG found in 1.0.3B after installing whit EasyMod.
All the best,
Mike

My latest MOD : Second WebSite

romihaitza
Registered User
Posts: 40
Joined: Fri Jul 25, 2003 5:51 pm
Location: Romania
Contact:

Bug found

Post by romihaitza »

I lost this part in last versions

In includes/usercp_register.php

Code: Select all

# 
#-----[ FIND ]------------------------------------------ 
# 
VALUES ($user_id, '" . str_replace("\'", "''", $username) . "', " . time() . ",

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
'" . str_replace("\'", "''", $website) . "',

# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------------ 
# 
 '" . str_replace("\'", "''", $website2) . "',
Bug fix will be added in 1.0.3 C (Final 1.0.3 version)
All the best,
Mike

My latest MOD : Second WebSite

romihaitza
Registered User
Posts: 40
Joined: Fri Jul 25, 2003 5:51 pm
Location: Romania
Contact:

Post by romihaitza »

The first release was rejected because I used:

Code: Select all

ALTER TABLE mod_users ADD user_website2 varchar(100) default NULL  
the correct code is:

Code: Select all

ALTER TABLE phpbb_users ADD user_website2 varchar(100) default NULL  
I will resend the latest version to MODs-Database.
All the best,
Mike

My latest MOD : Second WebSite

RainyLanie
Registered User
Posts: 9
Joined: Sat Oct 04, 2003 1:19 am

Post by RainyLanie »

Ooops, never mind, I should have taken that extra minute, I got it solved.

Post Reply

Return to “[2.0.x] MODs in Development”