Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jun 2008
Posts: 22
stranger
stranger
Joined: Jun 2008
Posts: 22
Hi there

How can I make the smilies in my forum appear bigger.
I have uploaded new smilies and I kept the names the same, for example, smile.gif or thumbs_up.gif.

The new smilies are a bit bigger.
So when they users select them, they appear in the same width, height the old ones did.

Any way I can set the smilie width, height in code?

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
just ftp'ing them on top of the originals won't work, because there is a calculated height x width when they are uploaded via the admin cpanel.

so you are inheriting the old width/height..

2 ways to proceed:

1) delete all smileys via admin cpanel and then upload them each again. new width/height will be calculated
2) run phpmyadmin (or equivalent) and massage the ubbt_GRAEMLINS table, modifying the GRAEMLIN_WIDTH and GRAEMLIN_HEIGHT to what they should be.

note: i'm not sure, but you may then have to also go to your admin cpanel afterwords and rebuild all posts and signatures, so the graemlins get 're-imaged'..

good luck smile

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
one further note.

IF you are 'lucky' and all your new graemlins are consistent in their size, you can go to your admin cpanel and run the following query..

SQL Query
update ubbt_GRAEMLINS set GRAEMLIN_WIDTH=ww, GRAEMLIN_HEIGHT=hh

where ww is width and hh is height (common to all)

Joined: Jun 2008
Posts: 22
stranger
stranger
Joined: Jun 2008
Posts: 22
Thanks for the help.

The Query you gave me, is not showing in the box?

When I delete all smilies in the cpanel and add them again, will they still appear at the right places in the posts afterwards?

When I rebuild the post and signatures, what will happen exactly? Will all the posts still be there?

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
not showing in the box ? have no idea what you mean..

1) yes they are preserved

2) yes, yes

Joined: Apr 2007
Posts: 120
member
member
Joined: Apr 2007
Posts: 120
Originally Posted by Sirdude
not showing in the box ? have no idea what you mean..


In IE7 the SQL query you posted doesn't show up. It is just a quote box with a horz slider but no code showing.

If you do a quickquote on your post you can see the query in the reply window (in IE7).


Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
update ubbt_GRAEMLINS set GRAEMLIN_WIDTH=ww, GRAEMLIN_HEIGHT=hh

^^ that is the query smile

Joined: Apr 2007
Posts: 120
member
member
Joined: Apr 2007
Posts: 120
yeah, I meant to write "...on the post..." instead of "...on your post..." since I figured you knew what it was! smile

Joined: Jun 2008
Posts: 22
stranger
stranger
Joined: Jun 2008
Posts: 22
Thanks for your help Sirdude


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (Ruben), 1,248 guests, and 268 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)