[BETA] Friends Mod 0.1.0a

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.
jasonago
Registered User
Posts: 75
Joined: Fri Aug 05, 2005 6:47 am

Post by jasonago »

phonereviews wrote: Glad you're still working on it!

One bug I found:
When I delete a user with xuiinfo(if he defined it), the xuiinfo part doesn't get deleted. I use Admin Userlist mod to manage it and thought that it could be the mod that's not doing it...but when I checked using phpBB delete, what do you know, it still doesn't delete the xuiinfo! :!:

The problem is that when a new user registers and DOESN'T specify his own xuiinfo, the xuiinfo of the OLD user(with the same user_id that I'd deleted), carries forward to the new user! :!: :!: :!:


Ok, its been quite a time when i programmed fmod1 and I already forgotten some of its code but I think it is because there is no database query that deletes the xuiinfo record when the user is actually deleted...I'll check on that when I had time...
mushy
Registered User
Posts: 305
Joined: Sat Feb 15, 2003 1:07 am
Location: NJ, USA
Contact:

Post by mushy »

When is the new version is coming :(
esef
Registered User
Posts: 102
Joined: Fri Dec 17, 2004 7:40 pm
Contact:

Post by esef »

demo board looks tight.

been looking for something like this for a minute. any other demo sites w/ large forums?
emma1989
Registered User
Posts: 121
Joined: Sun Jan 28, 2007 11:51 am
Location: Croydon, London
Contact:

Re: [BETA] Friends Mod 0.1.0a

Post by emma1989 »

Hey guys :)
I'm not quite sure about this... but here goes :D

In the registration form we have the custom field.
Now when there is an error (e.g. with invalied email etc) the user is returned to the reg form. Most fields remain - except PASSWORD and EMAIL which are cleared for security reasons.

ALL of the CUSTOM fields created by this mod are cleared - all tick boxes and fields...

I know from looking in usercp_register.php fields are specified so that the fields contents can remain on being returned as a result of an error.

There is a section that looks like this:

Code: Select all

Select All
    if ( $error )
    {
       //
       // If an error occured we need to stripslashes on returned data
       //

Which makes sure the slashes are stripped, so the fields can be redisplayed in case of error AND clears the password field....

Then, the big $template->assign_vars block at the very bottom of the code fills in the form fields....

How can I make it so that the fields created by this mod REMAIN and are NOT CLEARED on Error?

Any help is much appreciated - thanks guys! :)
Emma - phpBB forum owner - consider me a "noob" :?

A good friend of mine is looking for phpBB Developers / Gurus for major new phpBB based project - check it out if you're interested! :)
emma1989
Registered User
Posts: 121
Joined: Sun Jan 28, 2007 11:51 am
Location: Croydon, London
Contact:

Re: [BETA] Friends Mod 0.1.0a

Post by emma1989 »

anyone?
Emma - phpBB forum owner - consider me a "noob" :?

A good friend of mine is looking for phpBB Developers / Gurus for major new phpBB based project - check it out if you're interested! :)
Veron
Registered User
Posts: 185
Joined: Fri Feb 24, 2006 6:14 pm
Location: Slovenia

Re: [BETA] Friends Mod 0.1.0a

Post by Veron »

is it possible that admin can delete some frineds of user's?
kapengbarako
Registered User
Posts: 44
Joined: Thu Jun 30, 2005 7:26 am
Contact:

Re: [BETA] Friends Mod 0.1.0a

Post by kapengbarako »

as of now the current version does not support this.
phpBB Network :: Pinoy Sites :: Isulong Web Directory :: Viral Videos

Forums are made to bring people together, not to divide them - kapengbarako
desibichoo
Registered User
Posts: 2
Joined: Thu Mar 08, 2007 1:38 am
Location: India
Contact:

Re: [BETA] Friends Mod 0.1.0a

Post by desibichoo »

hi guys
i just installed the friend mod manually [not using easyMod] everything went well but now when i tried to add a friend who is already a member in my site i got this Error


Code: Select all

                               database error

                                        DEBUG MODE

SQL Error : 1146 Table 'openboo_phpb1.PHPBB_USERS' doesn't exist

select * FROM phpbb_friends_pending, PHPBB_USERS WHERE phpbb_friends_pending.to_id = 2 AND phpbb_friends_pending.from_id = 3 AND PHPBB_USERS.user_id = phpbb_friends_pending.from_id

                                            Line : 53
                                    File : snw_add.php
 

so can u help me fix this thanx in advance..........
jasonago
Registered User
Posts: 75
Joined: Fri Aug 05, 2005 6:47 am

Re: [BETA] Friends Mod 0.1.0a

Post by jasonago »

Change the PHPBB_USERS constant to USERS_TABLE...
desibichoo
Registered User
Posts: 2
Joined: Thu Mar 08, 2007 1:38 am
Location: India
Contact:

Re: [BETA] Friends Mod 0.1.0a

Post by desibichoo »

hey thanx for the help i figured out what u said
Brinker8807
Registered User
Posts: 1
Joined: Wed Aug 01, 2007 3:14 am

Re: [BETA] Friends Mod 0.1.0a

Post by Brinker8807 »

Has anyone managed to get this mod to work with NulAvatar?
jazzking2001
Registered User
Posts: 424
Joined: Tue Jul 10, 2007 9:10 pm
Contact:

Re: [BETA] Friends Mod 0.1.0a

Post by jazzking2001 »

well i follow the install directions
i get this error message on the include/bbcode.php to mentioned in the install direction
Fatal error: Cannot redeclare load_bbcode_template() (previously declared in /hsphere/local/home/jazzking/shallowend.neocrisis.com/forums/includes/bbcode.php:45) in /hsphere/local/home/jazzking/shallowend.neocrisis.com/forums/includes/bbcode.php on line 43


i hope that you can help me solve this issue
this seems to be one hell of a sweet mod
Neocrisis.com- What will you find next
jazzking2001
Registered User
Posts: 424
Joined: Tue Jul 10, 2007 9:10 pm
Contact:

Re: [BETA] Friends Mod 0.1.0a

Post by jazzking2001 »

forget it i found a even better mod
no one will even reply 2 this post anyway
Neocrisis.com- What will you find next
User avatar
azra
Registered User
Posts: 325
Joined: Thu Apr 12, 2007 8:06 pm

Re: [BETA] Friends Mod 0.1.0a

Post by azra »

I have a lot of problems.

I will tell you the big problem:

On a user's profile, when I click add to my friends, I get this message:
database error

DEBUG MODE

SQL Error : 1146 Table 'shiasist_phpb1.PHPBB_USERS' doesn't exist

select * FROM phpbb_friends_pending, PHPBB_USERS WHERE phpbb_friends_pending.to_id = 3 AND phpbb_friends_pending.from_id = 17 AND PHPBB_USERS.user_id = phpbb_friends_pending.from_id

Line : 53
File : snw_add.php
There are alot of other problems. But I think i can fix those myself.

Please help me figure out how to fix this problem.

Thanks

I would really appreciate your help ASAP!!!
azra :D
emma1989
Registered User
Posts: 121
Joined: Sun Jan 28, 2007 11:51 am
Location: Croydon, London
Contact:

Re: [BETA] Friends Mod 0.1.0a

Post by emma1989 »

Hey guys :)
I'm not quite sure about this... but here goes :D

In the registration form we have the custom field.
Now when there is an error (e.g. with invalied email etc) the user is returned to the reg form. Most fields remain - except PASSWORD and EMAIL which are cleared for security reasons.

ALL of the CUSTOM fields created by this mod are cleared - all tick boxes and fields...

I know from looking in usercp_register.php fields are specified so that the fields contents can remain on being returned as a result of an error.

There is a section that looks like this:

Code: Select all

Select All
    if ( $error )
    {
       //
       // If an error occured we need to stripslashes on returned data
       //

Which makes sure the slashes are stripped, so the fields can be redisplayed in case of error AND clears the password field....

Then, the big $template->assign_vars block at the very bottom of the code fills in the form fields....

How can I make it so that the fields created by this mod REMAIN and are NOT CLEARED on Error?

Any help is much appreciated - thanks guys! :)
Emma - phpBB forum owner - consider me a "noob" :?

A good friend of mine is looking for phpBB Developers / Gurus for major new phpBB based project - check it out if you're interested! :)
Post Reply

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