Userbars

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Extensions Robot
Extensions Robot
Extensions Robot
Posts: 28269
Joined: Sat Aug 16, 2003 7:36 am

Userbars

Post by Extensions Robot »

Modification name: Userbars
Author: zuker
Modification description: Mod adds the ability to let your users add an UserBar to their profile and/or signature.
They can link-off the userbar or Upload it.
Admin can set a gallery of Userbars and allow users use them.
That userbar will be shown below signature on viewtopic if the user wants.
Modification version: 1.0.0
Tested on phpBB version: See below

Download file: UserBars.zip
File size: 30564 Bytes

Modification overview page: View


Selected tags:
  1. category
    1. Add-Ons
  2. complexity
    1. SQL Schema Changes
    2. SQL Data Changes
    3. Template Changes
    4. Language Changes
    5. File Edits
  3. time
    1. ~ 15 Minutes
  4. phpbb
    1. 2.0.22
Support for this modification needs to be asked within this topic. The phpBB Team is not responsible or required to give anyone support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB MODifications Team may not be able to provide support.

This MOD has only been tested by the phpBB MOD Team with the phpBB version listed in the topic. It may not work in any other versions of phpBB.
(this is a non-active account manager for the phpBB Extension Customisations Team)
TerraFrost
Former Team Member
Posts: 5957
Joined: Sun Dec 26, 2004 3:40 am
Location: Austin, TX

Userbars

Post by TerraFrost »

Modification validated/released

Notes:
User avatar
zuker
Registered User
Posts: 214
Joined: Tue Jun 27, 2006 2:30 pm
Location: BA
Contact:

Re: Userbars

Post by zuker »

thanks for validating my mod :mrgreen:
User avatar
Cama
Registered User
Posts: 21
Joined: Sun Sep 16, 2007 9:39 pm

Re: Userbars

Post by Cama »

Hi.
Help me to solve a problem with mod.
The post of the user for which is available userbar in the message. After it there is a post of the user at which is not present userbar, but there is a signature and is switched on in the message. As a result userbar the previous orator it was displayed in the message of the subsequent after its signature And so on, same userbar It is displayed in the subsequent posts of users at which the signature in the message is switched on only. Has reconsidered all code - errors at editing are not present. :cry:
Sorry for bad English...
User avatar
zuker
Registered User
Posts: 214
Joined: Tue Jun 27, 2006 2:30 pm
Location: BA
Contact:

Re: Userbars

Post by zuker »

i can't understand the error :S. Please use breaks in the message!
if you speak spanish pm in spanish without care ;)
User avatar
Cama
Registered User
Posts: 21
Joined: Sun Sep 16, 2007 9:39 pm

Re: Userbars

Post by Cama »

zuker wrote:i can't understand the error :S. Please use breaks in the message!
if you speak spanish pm in spanish without care ;)
:D
Sorry autotranslit :)
Si en el primer mensaje al usuario es incluido userbar, por el puesto más abajo este userbar será visible también, si al autor del mensaje siguiente es incluida solamente la firma.
Sorry :oops:
User avatar
zuker
Registered User
Posts: 214
Joined: Tue Jun 27, 2006 2:30 pm
Location: BA
Contact:

Re: Userbars

Post by zuker »

If u don't speak fluent spanish and use translators it's the same.
I understand english, but sometimes translated things by google are wrong
User avatar
Cama
Registered User
Posts: 21
Joined: Sun Sep 16, 2007 9:39 pm

Re: Userbars

Post by Cama »

At a mod there is an error.
Does not suffice $userbar_img = '';

Code: Select all


# fix by Палыч
#---[FIND]---- 
   // 
   // Userbar Sig by Zuker 
   // 
#---[AFTER, ADD]---- 
$userbar_img = '';
Now works correctly
User avatar
Cama
Registered User
Posts: 21
Joined: Sun Sep 16, 2007 9:39 pm

Re: Userbars

Post by Cama »

zuker
Changes in a file usercp_register, have led to impossibility of moving on pages of avatars. Where that still the error, or does not suffice changes.

At attempt of moving from the first page of gallery of avatars on another, we appear in management of a profile, with the message on top - You must fill in the required fields
User avatar
zuker
Registered User
Posts: 214
Joined: Tue Jun 27, 2006 2:30 pm
Location: BA
Contact:

Re: Userbars

Post by zuker »

Cama wrote:At a mod there is an error.
Does not suffice $userbar_img = '';

Code: Select all


# fix by Палыч
#---[FIND]---- 
   // 
   // Userbar Sig by Zuker 
   // 
#---[AFTER, ADD]---- 
$userbar_img = '';
Now works correctly
that's weird, the mod was validated and was running fine. I'll check
User avatar
Cama
Registered User
Posts: 21
Joined: Sun Sep 16, 2007 9:39 pm

Re: Userbars

Post by Cama »

Mod has the conflict to gallery аvatar.
You must fill in the required fields
User avatar
gordon-creAtive
Registered User
Posts: 23
Joined: Sat Jun 23, 2007 9:42 pm
Contact:

Avatar conflict

Post by gordon-creAtive »

I already found what the problem is:
usercp_register.php calls the function dispaly_avatar_gallery with a $attachuserbar parameter, but inside usercp_avatar.php in the functions parameter list, there's the parameter missing - so the following variables are filled with wrong values, wrong hidden fields are created, which lead to the "You must fill in all fields" error, after changing the gallery category. I tried to fix it, but now, avatar-gallery isn't working at all, even with my backups (!!!)
ImageImageImageImageImage
User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21152
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Userbars

Post by RMcGirr83 »

there appear to be no edits done to includes/usercp_avatar.php...you can try this to see if it corrects the problem

OPEN

includes/usercp_avatar.php

FIND

Code: Select all

&$allowhtml, 
AFTER ADD

Code: Select all

 &$attachuserbar,
FIND

Code: Select all

$params = array('coppa', 'user_id', 'username', 'email', 'current_email', 'cur_password', 'new_password', 'password_confirm', 'icq', 'aim', 'msn', 'yim', 'website', 'location', 'occupation', 'interests', 'signature', 'viewemail', 'notifypm', 'popup_pm', 'notifyreply', 'attachsig', 'allowhtml', 
AFTER ADD

Code: Select all

 'attachuserbar',
EoM

PS Make a back up of your usercp_avatar.php file first ;)
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions | My extensions are updated regularly on github
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored
User avatar
Cama
Registered User
Posts: 21
Joined: Sun Sep 16, 2007 9:39 pm

Re: Userbars

Post by Cama »

A final code fix?
linda81
Registered User
Posts: 8
Joined: Wed Aug 01, 2007 7:30 pm

Re: Userbars

Post by linda81 »

Hi!Can you help me with removing it under the signature? Thank you!
When i click the "ok" button in the userbar gallery my theme jumps over to subsilver and the local time jumps some hours forward. Is it because i need to run the new sql file for 1.0.1?
Post Reply

Return to “[2.0.x] MOD Database Releases”