| Author |
Message |
IngerK
Wizard


Joined: Jan 19, 2006 Posts: 120 Location: Oslo, Norway
|
Posted: Sun Nov 25, 2007 4:30 pm Post subject: Gallery icon in profile |
|
|
I have a problem with gallery-icon in the profile. It works OK after installing the integration mod, but if I go to ACP -> styles -> imagesets -> update, the icon disappears again, and I have to add it in phpmyadmin...
I think a line in imageset.cfg will solve this problem? |
|
| Back to top |
|
|
AdBot
|
| Post subject: Gallery icon in profile |
|
|
|
|
|
| Back to top |
|
 |
jettyrat
Moderator


Joined: Nov 28, 2005 Posts: 1144
|
Posted: Mon Nov 26, 2007 12:30 pm Post subject: Re: Gallery icon in profile |
|
|
Were you able to make this work? I added these line to the imageset.cfg files, but the icons still disappear when refreshing the imageset in ACP...
Code: › #
#-----[ OPEN ]------------------------------------------
#
styles/prosilver/imageset/imageset.cfg
#
#-----[ FIND ]------------------------------------------
#
img_icon_user_warn = icon_user_warn.gif*20*20
#
#-----[ AFTER, ADD ]------------------------------------------
#
img_icon_user_gallery = icon_user_gallery.gif*20*25
#
#-----[ OPEN ]------------------------------------------
#
styles/prosilver/imageset/en/imageset.cfg
#
#-----[ FIND ]------------------------------------------
#
img_button_topic_reply = button_topic_reply.gif*25*96
#
#-----[ AFTER, ADD ]------------------------------------------
#
img_button_gallery = button_gallery.gif*18*59 |
|
| Back to top |
|
|
IngerK
Wizard


Joined: Jan 19, 2006 Posts: 120 Location: Oslo, Norway
|
Posted: Mon Nov 26, 2007 2:10 pm Post subject: Re: Gallery icon in profile |
|
|
You are right, I didn't try...
But now I have tried again - I had to edit includes/acp/acp_styles.php as well, and it works now. |
|
| Back to top |
|
|
jettyrat
Moderator


Joined: Nov 28, 2005 Posts: 1144
|
Posted: Mon Nov 26, 2007 4:15 pm Post subject: Re: Gallery icon in profile |
|
|
Cool - Thanks for working on that IngerK! I'll add to the growing list of fixes for 0.0.5
Here's the changes for anyone else that wants it. This makes the acp->styles->imageset->edit and refresh options work properly...
Core integration mods:Code: › #
#-----[ OPEN ]------------------------------------------
#
includes/acp/acp_styles.php
#
#-----[ IN-LINE FIND ]------------------------------------------
#
'button_topic_reply',
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
'button_gallery',
#
#-----[ IN-LINE FIND ]------------------------------------------
#
'icon_foe',
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
'icon_user_gallery',
Language mods:Code: › #
#-----[ OPEN ]------------------------------------------
#
language/en/acp/styles.php
#
#-----[ FIND ]------------------------------------------
#
'IMG_ICON_USER_WARN' => 'Warn user',
#
#-----[ AFTER, ADD ]------------------------------------------
#
'IMG_ICON_USER_GALLERY' => 'Gallery icon',
#
#-----[ FIND ]------------------------------------------
#
'IMG_BUTTON_TOPIC_REPLY' => 'Reply topic',
#
#-----[ AFTER, ADD ]------------------------------------------
#
'IMG_BUTTON_GALLERY' => 'Gallery button',
Prosilver mods:Code: › #
#-----[ OPEN ]------------------------------------------
#
styles/prosilver/imageset/imageset.cfg
#
#-----[ FIND ]------------------------------------------
#
img_icon_user_warn = icon_user_warn.gif*20*20
#
#-----[ AFTER, ADD ]------------------------------------------
#
img_icon_user_gallery = icon_user_gallery.gif*20*25
#
#-----[ OPEN ]------------------------------------------
#
styles/prosilver/imageset/en/imageset.cfg
#
#-----[ FIND ]------------------------------------------
#
img_button_topic_reply = button_topic_reply.gif*25*96
#
#-----[ AFTER, ADD ]------------------------------------------
#
img_button_gallery = button_gallery.gif*18*59
Subsilver2 mods:Code: › #
#-----[ OPEN ]------------------------------------------
#
styles/subsilver2/imageset/imageset.cfg
#
#-----[ FIND ]------------------------------------------
#
img_icon_topic_unapproved = icon_topic_unapproved.gif*18*19
#
#-----[ AFTER, ADD ]------------------------------------------
#
img_icon_user_gallery = button_gallery.gif*18*59
#
#-----[ OPEN ]------------------------------------------
#
styles/subsilver2/imageset/en/imageset.cfg
#
#-----[ FIND ]------------------------------------------
#
img_button_topic_reply = button_topic_reply.gif
#
#-----[ AFTER, ADD ]------------------------------------------
#
img_button_gallery = button_gallery.gif |
|
| Back to top |
|
|
mart29
Beginner


Joined: Dec 15, 2007 Posts: 7
|
Posted: Thu Dec 20, 2007 11:14 pm Post subject: Re: Gallery icon in profile |
|
|
hi, thanks for the reply, ive done those but it doesnt work, ive never had the pictures for the gallery come up once.
Can you tell me how you added the pictures through phpmyadmin? |
|
| Back to top |
|
|
IngerK
Wizard


Joined: Jan 19, 2006 Posts: 120 Location: Oslo, Norway
|
Posted: Fri Dec 21, 2007 3:33 am Post subject: Re: Gallery icon in profile |
|
|
mart29 wrote: › hi, thanks for the reply, ive done those but it doesnt work, ive never had the pictures for the gallery come up once.
Can you tell me how you added the pictures through phpmyadmin?
This is what I have in my table phpBB_styles_imageset_data:
icon_user_gallery icon_user_gallery.gif 20 25 1
icon_user_gallery icon_user_gallery.gif 20 25 2
(the last is for each style, I use 2) |
|
| Back to top |
|
|
jettyrat
Moderator


Joined: Nov 28, 2005 Posts: 1144
|
Posted: Fri Dec 21, 2007 11:02 am Post subject: Re: Gallery icon in profile |
|
|
Mart - the sql mods in prosilver_mods.txt and subsilver2_mods.txt should add this data to the table. You did execute the style sql code, right?
If I remember correctly, your forum was not showing the email or pm icons for users either, but it was showing the www icon for one user, which leads me to think something is messed up in the css somewhere because the page source showed the appropriate html code for the icons. |
|
| Back to top |
|
|
jettyrat
Moderator


Joined: Nov 28, 2005 Posts: 1144
|
Posted: Fri Dec 21, 2007 1:04 pm Post subject: Re: Gallery icon in profile |
|
|
Mart- I'm looking at your site with firebug and it appears the css for the gallery icons is either not there or is broken somehow.
You should double check the mods in these 2 files -
styles/prosilver/theme/buttons.css
styles/prosilver/theme/colours.css
Edit - nevermind. I grabbed to css files from your site and they appear to be fine as far as the mods go. Also, the image files are there as well if I link directly to them. Firebug shows the css missing from the page, but I don't see where the problem is!
Are you sure the sql has been run? |
|
| Back to top |
|
|
mart29
Beginner


Joined: Dec 15, 2007 Posts: 7
|
Posted: Sat Dec 22, 2007 5:09 pm Post subject: Re: Gallery icon in profile |
|
|
| hi, thanks again, yeah i ran the sql for sure, im going to reinstall from scratch again, i really dont know whats doing it and ive got to the point where im spending so much time checking i may as well do it all from scratch and see if that solves it, ill report back once ive finished and see if that does it, somehow i think its something to do with the database, but the sql code has definately been run, i dont know why i suspect the database, probably because im sure the coding is correct. thanks anyway, i will leave a comment in a day or two when its done to let you know either way. |
|
| Back to top |
|
|
anmolgill
Beginner


Joined: Jun 27, 2008 Posts: 5
|
Posted: Thu Jul 03, 2008 3:32 am Post subject: Re: Gallery icon in profile |
|
|
| how to make changes in vista theme of phbb ? |
|
| Back to top |
|
|
jettyrat
Moderator


Joined: Nov 28, 2005 Posts: 1144
|
|
| Back to top |
|
|
dagtm
Beginner


Joined: Oct 18, 2008 Posts: 7
|
Posted: Mon Oct 20, 2008 5:35 am Post subject: Re: Gallery icon in profile |
|
|
| now, I have same problem, css is there, mysql is ok but there are no icons |
|
| Back to top |
|
|
IngerK
Wizard


Joined: Jan 19, 2006 Posts: 120 Location: Oslo, Norway
|
Posted: Mon Oct 20, 2008 7:52 am Post subject: Re: Gallery icon in profile |
|
|
This problem was fixed long time ago.
You don't say much here to help us help you...
Which integration version?
Have you done integration for all languages in all styles? (don't forget more database changes for other languages/other styles)
Have you refreshed templates, imagesets and themes?
Have you cleared cache files?
have you cleared browser cookies? |
|
| Back to top |
|
|
dagtm
Beginner


Joined: Oct 18, 2008 Posts: 7
|
Posted: Tue Oct 21, 2008 2:17 am Post subject: Re: Gallery icon in profile |
|
|
| I have done everything as mart29, checked everything, done integration, have refreshed templates, cleared cache files, clearet browser cookies, and checked on multiple computers and web browsers |
|
| Back to top |
|
|
IngerK
Wizard


Joined: Jan 19, 2006 Posts: 120 Location: Oslo, Norway
|
Posted: Tue Oct 21, 2008 5:41 am Post subject: Re: Gallery icon in profile |
|
|
This was started a year ago and is a discussion about a bug/problem in the beta integration version for phpBB3. The problem we diskuss here is solved in new versions.
New problem - new topic. And please - don't post your question in two topics.  |
|
| Back to top |
|
|
|
|
|
|
|